Skip to content
Browse files

Added a banner.

Moved the adapter templates into own folder for cleanliness.

[Dr Nic]
  • Loading branch information...
1 parent 413041a commit 0c3a15893f4c6cc06d9e21f2ede7d561a982aecd @defunkt committed Jan 29, 2008
View
4 app_generators/ambition_adapter/ambition_adapter_generator.rb
@@ -29,7 +29,7 @@ def manifest
adapter_path = "lib/ambition/adapters/#{adapter_name}"
%w( base query select slice sort ).each do |file|
- m.template "lib/#{file}.rb.erb", "#{adapter_path}/#{file}.rb"
+ m.template "lib/adapter/#{file}.rb.erb", "#{adapter_path}/#{file}.rb"
end
m.template 'lib/init.rb.erb', "#{adapter_path}.rb"
@@ -52,7 +52,7 @@ def manifest
protected
def banner
- "Coming soon"
+ "Usage: ambition_adapter adapter_name"
end
def add_options!(opts)
View
0 ...mbition_adapter/templates/lib/base.rb.erb → ...adapter/templates/lib/adapter/base.rb.erb
File renamed without changes.
View
0 ...bition_adapter/templates/lib/query.rb.erb → ...dapter/templates/lib/adapter/query.rb.erb
File renamed without changes.
View
0 ...ition_adapter/templates/lib/select.rb.erb → ...apter/templates/lib/adapter/select.rb.erb
File renamed without changes.
View
0 ...bition_adapter/templates/lib/slice.rb.erb → ...dapter/templates/lib/adapter/slice.rb.erb
File renamed without changes.
View
0 ...mbition_adapter/templates/lib/sort.rb.erb → ...adapter/templates/lib/adapter/sort.rb.erb
File renamed without changes.

0 comments on commit 0c3a158

Please sign in to comment.
Something went wrong with that request. Please try again.