public
Description: response for lets you decorate your actions respond_to blocks
Homepage: http://blog.ardes.com/response_for
Clone URL: git://github.com/ianwhite/response_for.git
Click here to lend your support to: response_for and make a donation at www.pledgie.com !
Availing response_for of new garlic gem
ianwhite (author)
Sat Nov 01 03:25:25 -0700 2008
commit  91ec8f54598abaf2f884af6fe4e38e2b0c9c5801
tree    141b1d64a3ed66902314f5f030a8d4bb0988f863
parent  1378228e60ddb211ca4f53ed69d20b547baae798
...
1
2
3
 
...
1
2
 
3
0
@@ -1,3 +1,3 @@
0
 .DS_Store
0
 doc/*
0
-.garlic_work
0
+.garlic
...
5
6
7
8
 
9
10
11
...
71
72
73
74
75
76
77
78
 
79
80
81
...
5
6
7
 
8
9
10
11
...
71
72
73
 
 
 
 
 
74
75
76
77
0
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base) and !$LOAD_PATH.includ
0
 require 'spec/rake/spectask'
0
 require 'spec/rake/verify_rcov'
0
 require 'rake/rdoctask'
0
-begin; require 'garlic/tasks'; rescue LoadError; end
0
+require 'garlic/tasks'
0
 
0
 plugin_name = 'response_for'
0
 
0
@@ -71,11 +71,7 @@ end
0
 task :cruise do
0
   # run the garlic task, capture the output, if succesful make the docs and copy them to ardes
0
   begin
0
-    `cp garlic_example.rb garlic.rb`
0
-    `rake get_garlic`
0
-    `cd garlic; git pull`
0
-    `rake garlic:clean`
0
-    sh "rake garlic:all"
0
+    sh "garlic:all"
0
     sh "rake garlic:run_targets TARGET=edge > garlic_report.txt"
0
     
0
     # send abridged report
...
 
 
 
 
1
2
3
4
5
 
 
 
6
7
8
...
1
2
3
4
5
6
 
 
 
7
8
9
10
11
12
0
@@ -1,8 +1,12 @@
0
+# to avail youself of garlic:
0
+#   sudo gem install ianwhite-garlic --source http://gems.github.com
0
+#   rake garlic:all
0
+
0
 garlic do
0
   # requried repositories
0
-  repo 'rails', :url => 'git://github.com/rails/rails', :local => '~/dev/vendor/rails'
0
-  repo 'rspec', :url => 'git://github.com/dchelimsky/rspec', :local => '~/dev/vendor/rspec'
0
-  repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails', :local => '~/dev/vendor/rspec-rails'
0
+  repo 'rails', :url => 'git://github.com/rails/rails'
0
+  repo 'rspec', :url => 'git://github.com/dchelimsky/rspec'
0
+  repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails'
0
   repo 'response_for', :path => '.'
0
 
0
   # our targets

Comments