{"id":24434023,"url":"https://github.com/itspriddle/gem-create","last_synced_at":"2025-04-23T04:51:21.142Z","repository":{"id":2804392,"uuid":"3805198","full_name":"itspriddle/gem-create","owner":"itspriddle","description":"gem create: create a new gem","archived":false,"fork":false,"pushed_at":"2012-03-30T14:07:37.000Z","size":127,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T12:16:55.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itspriddle.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-23T04:09:33.000Z","updated_at":"2021-04-04T10:10:09.000Z","dependencies_parsed_at":"2022-09-10T14:01:47.900Z","dependency_job_id":null,"html_url":"https://github.com/itspriddle/gem-create","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgem-create","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgem-create/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgem-create/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgem-create/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itspriddle","download_url":"https://codeload.github.com/itspriddle/gem-create/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372947,"owners_count":21419722,"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":"2025-01-20T16:52:44.346Z","updated_at":"2025-04-23T04:51:21.125Z","avatar_url":"https://github.com/itspriddle.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gem-create [![`gem-create` Build Status][Build Icon]][Build Status]\n\n\u003e This is my gem template. There are many like it, but this one is mine.\n\n`gem-create` is a RubyGems plugin. It provides a `gem create` command which\ncan be used to generate a skeleton for working on a new RubyGem.\n\n[Build Icon]: https://secure.travis-ci.org/itspriddle/gem-create.png?branch=master\n[Build Status]: http://travis-ci.org/itspriddle/gem-create\n\n## Setup\n\nFirst, install the gem:\n\n    gem install gem-create\n\nNext, create a data file. By default this is in `~/.gem/skel.yml`. This file\ncontains variables that will be available in your template files. It **must**\nbe a valid YAML file.\n\nThe following default variables are available in addition to any supplied in\nyour data file:\n\n    name      # the name of the gem (eg: my_gem)\n    gem_class # the class name of the gem (eg: MyGem)\n\nSee `spec/fixtures/skel.yml` in this repo for an example data file.\n\nNext, create your gem skeleton. By default this is in `~/.gem/skel`. This\ndirectory contains files/directories that will be copied when creating a new\ngem. Files are rendered via ERB and may utilize the variables set in your data\nfile (eg: `\u003c%= github_name %\u003e`).\n\nAny file/directory with `%gem_name%` in it's path will be renamed when the new\ngem is created. Eg (assume `gem create my_new_gem`):\n\n    some/%gem_name% =\u003e some/my_new_gem\n    some/gem_name   =\u003e some/gem_name\n\nSee `spec/fixtures/skel` in this repo for an example gem skeleton.\n\n## Usage\n\n    Usage: gem create GEM_NAME [options]\n\n      Options:\n        -f, --force                      Overwrite existing files\n        -d, --destination-directory DIR  Destination directory,\n                                         $PWD/GEM_NAME by default\n\n\n      Skeleton Options:\n            --template-directory DIR     A custom template directory to use\n            --data-file PATH             Path to a YAML file containing\n                                         variables that will be available\n                                         in all template files\n\n\n      Common Options:\n        -h, --help                       Get help on this command\n        -V, --[no-]verbose               Set the verbose level of output\n        -q, --quiet                      Silence commands\n            --config-file FILE           Use this config file instead of default\n            --backtrace                  Show stack backtrace on errors\n            --debug                      Turn on Ruby debugging\n\n\n      Summary:\n        Creates a new RubyGem skeleton\n\n      Defaults:\n        --template-directory ~/.gem/skel --data-file ~/.gem/skel.yml\n\n## Customization\n\nIf `~/.gem/skel` and `~/.gem/skel.yml` don't work for you, you can customize\nthem in `~/.gemrc`:\n\n    create: --template-directory ~/code/gem-template --data-file ~/code/gem-template-data.yml\n\n## Development\n\n`gem-create` depends on rake and minitest for testing.\n\n    git clone git://github.com/itspriddle/gem-create\n    cd gem-create\n    bundle install\n    bundle exec rake spec\n\n## Note on Patches/Pull Requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a future version\n  unintentionally.\n* Commit, do not bump version. (If you want to have your own version, that is\n  fine but bump version in a commit by itself I can ignore when I pull).\n* Send me a pull request. Bonus points for topic branches.\n\n## Copyright\n\nCopyright (c) 2012 Joshua Priddle. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitspriddle%2Fgem-create","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitspriddle%2Fgem-create","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitspriddle%2Fgem-create/lists"}