GemSkeleton
This gem provide a command for making a rubygem skeleton.
It basically copied from bundle gem
code and add some more templates and here is extra file list:
- .ruby-version(which is ignored in .gitignore)
- .ruby-version.template
- .gemspec file: This is not new, But I add rspec related gems:
- rspec
- Guardfile, containing the rspec configurations
- spec/spec_helper.rb
- tasks/rspec.rb - the rspec task file
- tasks/ci.rb - the tasks for running ci task on a continuous integration server
- .rspec - rspec confiuration file
Installation
Add this line to your application's Gemfile:
gem 'gem_skeleton'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gem_skeleton
Usage
$ gem_skeleton make your-gem-name
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request