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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request