public
Rubygem
Description: include Enumerable
Homepage: http://defunkt.github.com/ambition
Clone URL: git://github.com/defunkt/ambition.git
Added a banner.

Moved the adapter templates into own folder for cleanliness.

[Dr Nic]
defunkt (author)
Tue Jan 29 20:19:41 -0800 2008
commit  0c3a15893f4c6cc06d9e21f2ede7d561a982aecd
tree    b8fbeb8eda3e2623c2087bb1968a1297b3a5567f
parent  413041aa04138207190d22016abf2b1bb31e2270
...
29
30
31
32
 
33
34
35
...
52
53
54
55
 
56
57
58
...
29
30
31
 
32
33
34
35
...
52
53
54
 
55
56
57
58
0
@@ -29,7 +29,7 @@ class AmbitionAdapterGenerator < RubiGen::Base
0
       adapter_path = "lib/ambition/adapters/#{adapter_name}"
0
 
0
       %w( base query select slice sort ).each do |file|
0
-        m.template "lib/#{file}.rb.erb", "#{adapter_path}/#{file}.rb"
0
+        m.template "lib/adapter/#{file}.rb.erb", "#{adapter_path}/#{file}.rb"
0
       end
0
 
0
       m.template 'lib/init.rb.erb', "#{adapter_path}.rb"
0
@@ -52,7 +52,7 @@ class AmbitionAdapterGenerator < RubiGen::Base
0
 
0
 protected
0
   def banner
0
-    "Coming soon"
0
+    "Usage: ambition_adapter adapter_name"
0
   end
0
 
0
   def add_options!(opts)

Comments