ianwhite / resources_controller

resources_controller rails plugin: rc makes RESTful controllers fun

This URL has Read+Write access

resources_controller / garlic_example.rb
b972d156 » ianwhite 2008-04-26 Added get_garlic rake task,... 1 # This is for running specs against target versions of rails
1e20108d » ianwhite 2008-04-26 Removing garlic submodule, ... 2 #
60688dd7 » ianwhite 2008-04-28 garlic.rb now ignored, so l... 3 # To use do
4 # - cp garlic_example.rb garlic.rb
b972d156 » ianwhite 2008-04-26 Added get_garlic rake task,... 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 Removing garlic submodule, ... 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 Fixing typo in garlic_examp... 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 Updating garlic config 20 repo 'resources_controller', :path => '.'
1e20108d » ianwhite 2008-04-26 Removing garlic submodule, ... 21
22 target 'edge'
23 target '2.0-stable', :branch => 'origin/2-0-stable'
6ebe7745 » ianwhite 2008-09-01 Updating garlic targets 24 target '2.1-stable', :branch => 'origin/2-1-stable'
4e5acfd6 » ianwhite 2008-05-22 Updated garlic targets, no ... 25 target '2.0.3', :tag => 'v2.0.3'
6ebe7745 » ianwhite 2008-09-01 Updating garlic targets 26 target '2.1.0', :tag => 'v2.1.0'
1e20108d » ianwhite 2008-04-26 Removing garlic submodule, ... 27
28 all_targets do
29 prepare do
65e0b588 » ianwhite 2008-04-27 Updating garlic config 30 plugin 'resources_controller', :clone => true
1e20108d » ianwhite 2008-04-26 Removing garlic submodule, ... 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 Updating garlic targets 39 end