ianwhite / resources_controller
- Source
- Commits
- Network (10)
- Issues (1)
- Downloads (0)
- Wiki (2)
- Graphs
-
Tree:
f20fa7e
resources_controller / garlic_example.rb
| b972d156 » | ianwhite | 2008-04-26 | 1 | # This is for running specs against target versions of rails | |
| 1e20108d » | ianwhite | 2008-04-26 | 2 | # | |
| 60688dd7 » | ianwhite | 2008-04-28 | 3 | # To use do | |
| 4 | # - cp garlic_example.rb garlic.rb | ||||
| b972d156 » | ianwhite | 2008-04-26 | 5 | # - rake get_garlic | |
| 6 | # - [optional] edit this file to point the repos at your local clones of | ||||
| 7 | # rails, rspec, and rspec-rails | ||||
| 8 | # - rake garlic:all | ||||
| 1e20108d » | ianwhite | 2008-04-26 | 9 | # | |
| 10 | # All of the work and dependencies will be created in the galric dir, and the | ||||
| 11 | # garlic dir can safely be deleted at any point | ||||
| 12 | |||||
| 13 | garlic do | ||||
| 14 | repo 'rails', :url => 'git://github.com/rails/rails'#, :local => "~/dev/vendor/rails" | ||||
| f20fa7e2 » | ianwhite | 2008-09-03 | 15 | ||
| 16 | # using ianwhite/rspec-rails as it has some patches that are not yet applied in dchelimsky/rspec-rails | ||||
| 17 | repo 'rspec', :url => 'git://github.com/ianwhite/rspec' | ||||
| 18 | repo 'rspec-rails', :url => 'git://github.com/ianwhite/rspec-rails' | ||||
| 19 | |||||
| 65e0b588 » | ianwhite | 2008-04-27 | 20 | repo 'resources_controller', :path => '.' | |
| 1e20108d » | ianwhite | 2008-04-26 | 21 | ||
| 22 | target 'edge' | ||||
| 23 | target '2.0-stable', :branch => 'origin/2-0-stable' | ||||
| 6ebe7745 » | ianwhite | 2008-09-01 | 24 | target '2.1-stable', :branch => 'origin/2-1-stable' | |
| 4e5acfd6 » | ianwhite | 2008-05-22 | 25 | target '2.0.3', :tag => 'v2.0.3' | |
| 6ebe7745 » | ianwhite | 2008-09-01 | 26 | target '2.1.0', :tag => 'v2.1.0' | |
| 1e20108d » | ianwhite | 2008-04-26 | 27 | ||
| 28 | all_targets do | ||||
| 29 | prepare do | ||||
| 65e0b588 » | ianwhite | 2008-04-27 | 30 | plugin 'resources_controller', :clone => true | |
| 1e20108d » | ianwhite | 2008-04-26 | 31 | plugin 'rspec' | |
| 32 | plugin('rspec-rails') { sh "script/generate rspec -f" } | ||||
| 33 | end | ||||
| 34 | |||||
| 35 | run do | ||||
| 36 | cd("vendor/plugins/resources_controller") { sh "rake spec:rcov:verify" } | ||||
| 37 | end | ||||
| 38 | end | ||||
| 6ebe7745 » | ianwhite | 2008-09-01 | 39 | end | |
