Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (32 sloc) 1.21 kb
# This is for running specs against target versions of rails
#
# To use do
# - cp garlic_example.rb garlic.rb
# - rake get_garlic
# - [optional] edit this file to point the repos at your local clones of
# rails, rspec, and rspec-rails
# - rake garlic:all
#
# All of the work and dependencies will be created in the galric dir, and the
# garlic dir can safely be deleted at any point
garlic do
repo 'rails', :url => 'git://github.com/rails/rails'#, :local => "~/dev/vendor/rails"
repo 'rspec', :url => 'git://github.com/dchelimsky/rspec'#, :local => "~/dev/vendor/rspec"
repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails'#, :local => "~/dev/vendor/rspec-rails"
repo 'resources_controller', :path => '.'
target 'edge'
target '2.0-stable', :branch => 'origin/2-0-stable'
target '2.0.2', :tag => 'v2.0.2'
target '2.0.3', :tag => 'v2.0.3'
target '2.1-RC1', :tag => 'v2.1.0_RC1'
all_targets do
prepare do
plugin 'resources_controller', :clone => true
plugin 'rspec'
plugin('rspec-rails') { sh "script/generate rspec -f" }
end
run do
cd("vendor/plugins/resources_controller") { sh "rake spec:rcov:verify" }
end
end
end
Jump to Line
Something went wrong with that request. Please try again.