Extracting a gem - SumitBisht/checklist_and_guides GitHub Wiki

Extracting a Gem

bundle gem <gem name> # to create a gem project

echo "--color" > .rspec

edit .gemspec
edit lib//version.rb # semver.com
create LICENSE
create README.md # readme driven development

add development dependencies

-- # install rspec files
-- # add rspec rake task

- # supermodel : to test active model
- # with model : to test active record

extending models with realties : blog post engine yard

add github repo
add CHANGELOG
rake release # rubygems.org

Aditions

  • travis-ci.org

      .travis.yml
    
  • rubydoc.info

  • relish - with cucumber

  • the ruby toolbox

⚠️ **GitHub.com Fallback** ⚠️