Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Gem skeleton maker, with rspec setup

tree: e3defad5f3

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

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:

  • .rvmrc (which is ignored in .gitignore)
  • .rvmrc.template
  • .gemspec file: This is not new, But I add rspec related gems and code quality control gems:
    • rspec
    • guard-spork
    • guard-rspec
    • cane
    • simplecov
    • growl-rspec
  • Guardfile, containing the rspec and spork 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
Something went wrong with that request. Please try again.