public
Description: rails plugin that enables inheritance of views along a controller class heirachy
Homepage: http://ianwhite.github.com/inherit_views
Clone URL: git://github.com/ianwhite/inherit_views.git
garlic_example now handles the diffs between the master and rails-2.0-2.1 branch
ianwhite (author)
Sat Sep 20 22:51:26 -0700 2008
commit  cef35b9ac923527394931aa13251724a1e87f53a
tree    bb4baae33e109ff0f92b1516a905db179b988071
parent  2c3e0de0cf8c8b53bf8730d76ce75aac1bd07322
...
17
18
19
20
21
22
23
 
 
 
 
 
 
 
 
24
25
26
27
 
28
29
 
 
 
 
 
 
 
 
 
 
30
31
32
33
34
35
 
 
 
 
 
 
 
 
 
36
37
38
39
40
41
42
43
44
45
46
47
48
 
 
49
50
51
52
53
54
55
 
 
 
 
56
57
58
...
17
18
19
 
 
 
 
20
21
22
23
24
25
26
27
28
29
30
 
31
32
 
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
 
 
 
 
 
 
 
64
65
66
67
 
 
 
 
 
68
69
70
71
72
73
74
0
@@ -17,42 +17,58 @@ garlic do
0
 
0
   # repo, give a url, specify :local to use a local repo (faster
0
   # and will still update from the origin url)
0
-  repo 'rails', :url => 'git://github.com/rails/rails' #,  :local => "~/dev/vendor/rails"
0
-  # using own clone of rspec, until aliased-render-partial gets fixed.
0
-  repo 'rspec', :url => 'git://github.com/ianwhite/rspec' #, :local => "~/dev/ianwhite/spec"
0
-  repo 'rspec-rails', :url => 'git://github.com/ianwhite/rspec-rails'#, :local => "~/dev/ianwhite/spec"
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/spec"
0
+  repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails' , :local => "~/dev/vendor/spec"
0
+  
0
+  # these are for testing rails-2.0-2.1 branch
0
+  repo 'ianwhite-rspec', :url => 'git://github.com/ianwhite/rspec' , :local => "~/dev/ianwhite/spec"
0
+  repo 'ianwhite-rspec-rails', :url => 'git://github.com/ianwhite/rspec-rails' , :local => "~/dev/ianwhite/spec"
0
+  
0
   repo 'inherit_views', :path => '.'
0
 
0
   # for target, default repo is 'rails', default branch is 'master'
0
-  target 'edge' do
0
+  target 'edge', :branch => 'origin/master' do
0
     prepare do
0
-      plugin 'inherit_views', :clone => true
0
+      plugin 'inherit_views', :branch => 'origin/master', :clone => true
0
+      plugin 'rspec'
0
+      plugin 'rspec-rails' do
0
+        sh "script/generate rspec -f"
0
+      end
0
+      run do
0
+        cd "vendor/plugins/inherit_views" do
0
+          sh "rake spec:rcov:verify"
0
+        end
0
+      end
0
     end
0
   end
0
   
0
   target '2.0-stable', :branch => 'origin/2-0-stable' do
0
     prepare do
0
       plugin 'inherit_views', :branch => 'origin/rails-2.0-2.1', :clone => true
0
+      plugin 'ianwhite-rspec', :as => 'rspec'
0
+      plugin 'ianwhite-rspec-rails', :as => 'rspec-rails' do
0
+        sh "script/generate rspec -f"
0
+      end
0
+      run do
0
+        cd "vendor/plugins/inherit_views" do
0
+          sh "rake spec"
0
+        end
0
+      end
0
     end
0
   end
0
   
0
   target '2.1-stable', :branch => 'origin/2-1-stable' do
0
     prepare do
0
       plugin 'inherit_views', :branch => 'origin/rails-2.0-2.1', :clone => true
0
-    end
0
-  end
0
-
0
-  all_targets do
0
-    prepare do
0
-      plugin 'rspec'
0
-      plugin 'rspec-rails' do
0
+      plugin 'ianwhite-rspec', :as => 'rspec'
0
+      plugin 'ianwhite-rspec-rails', :as => 'rspec-rails' do
0
         sh "script/generate rspec -f"
0
       end
0
-    end
0
-  
0
-    run do
0
-      cd "vendor/plugins/inherit_views" do
0
-        sh "rake spec:rcov:verify"
0
+      run do
0
+        cd "vendor/plugins/inherit_views" do
0
+          sh "rake spec"
0
+        end
0
       end
0
     end
0
   end

Comments