{"id":21519356,"url":"https://github.com/alexwayfer/gem_toys","last_synced_at":"2025-04-09T22:09:14.474Z","repository":{"id":39657675,"uuid":"277612327","full_name":"AlexWayfer/gem_toys","owner":"AlexWayfer","description":"Toys template for gems, like building, releasing, etc.","archived":false,"fork":false,"pushed_at":"2025-04-04T12:50:22.000Z","size":204,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T22:09:08.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexWayfer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-06T17:56:34.000Z","updated_at":"2024-01-17T13:37:38.000Z","dependencies_parsed_at":"2023-02-13T22:00:29.133Z","dependency_job_id":"4db21422-cf13-45ad-a4ef-19e1a820a1a0","html_url":"https://github.com/AlexWayfer/gem_toys","commit_stats":{"total_commits":147,"total_committers":2,"mean_commits":73.5,"dds":0.2857142857142857,"last_synced_commit":"770de8a215d5cd22a75689535e392b240078c974"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fgem_toys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fgem_toys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fgem_toys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fgem_toys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexWayfer","download_url":"https://codeload.github.com/AlexWayfer/gem_toys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119294,"owners_count":21050755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:57:32.182Z","updated_at":"2025-04-09T22:09:14.453Z","avatar_url":"https://github.com/AlexWayfer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gem Toys\n\n[![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/gem_toys?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/gem_toys)\n[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/gem_toys/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/gem_toys)\n[![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/gem_toys.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/gem_toys)\n[![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/gem_toys)\n[![Inline docs](https://inch-ci.org/github/AlexWayfer/gem_toys.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/gem_toys)\n[![license](https://img.shields.io/github/license/AlexWayfer/gem_toys.svg?style=flat-square)](https://github.com/AlexWayfer/gem_toys/blob/main/LICENSE.txt)\n[![Gem](https://img.shields.io/gem/v/gem_toys.svg?style=flat-square)](https://rubygems.org/gems/gem_toys)\n\n[Toys](https://github.com/dazuma/toys) template for gems, like building, releasing, etc.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'gem_toys'\n```\n\nAnd then execute:\n\n```shell\nbundle install\n```\n\nOr install it yourself as:\n\n```shell\ngem install gem_toys\n```\n\n## Usage\n\n```ruby\n# .toys.rb\nrequire 'gem_toys'\nexpand GemToys::Template,\n  ## default is `CHANGELOG.md`\n  changelog_file_name: 'ChangeLog.md',\n  ## default is `## Unreleased`\n  unreleased_title: '## main (unreleased)',\n  ## default is `\"lib/#{project_name_with_slashes_instead_dashes}/version.rb\"`\n  version_file_path: 'lib/my-awesome_gem.rb',\n  ## default is `v`, so tags are like `v4.1.0`\n  version_tag_prefix: ''\n\n# `gem` namespace created, aliases are optional, but handful\nalias_tool :g, :gem\n```\n\n### Build\n\n`toys gem build` builds a gem with the current version and move it to the `pkg/` directory.\n\n### Install\n\n`toys gem install` [builds](#build) a gem and install it locally.\n\n### Release\n\n`toys gem release` does:\n\n1.  Update `lib/*gem_name*/version.rb` file.\n    Can be refined with `:version_file_path` option on `expand`.\n2.  Insert Markdown title with changes from `## Unreleased` in a `CHANGELOG.md` file.\n    Can be refined with `:unreleased_title` option on `expand`.\n3.  [Builds](#build) a gem.\n4.  Ask you for manual check, if you want (print anything of OK).\n    You also can change manually a content of `CHANGELOG.md`, for example, before committing.\n5.  Commit these files.\n6.  Tag this commit with `vX.Y.Z`.\n7.  Push git commit and tag.\n8.  Push the new gem.\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies.\n\nThen, run `toys rspec` to run the tests.\n\nTo install this gem onto your local machine, run `toys gem install`.\n\nTo release a new version, run `toys gem release %version%`. See how it works [here](#release).\n\n## Contributing\n\nBug reports and pull requests are welcome on [GitHub](https://github.com/AlexWayfer/gem_toys).\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwayfer%2Fgem_toys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexwayfer%2Fgem_toys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwayfer%2Fgem_toys/lists"}