Common CI tasks for Ruby (Rails, Sinatra, Gem) projects
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tasks
.gitignore
.rvmrc
Gemfile
Rakefile
Readme.md
ci_tasks.gemspec

Readme.md

Using

add following in the development, test group in Gemfile

gem 'rack-test'

Add Tasks via Rakefile

require 'ci_tasks'
require 'ci_tasks/metric_fu/sinatra'

Add to spec_helper.rb require 'ci_tasks/simplecov/sinatra'

For Rails use the rails version of the files at

require 'ci_tasks/simplecov/rails'
require 'ci_tasks/metric_fu/rails'

Build

Update Gemversion in version.rb, Ensure all files are commited and run rake build Sample push to gemserver

gem inabox pkg/ci-tasks-0.0.1.gem --host http://gemserver.dev