Skip to content

Commit

Permalink
Added a banner.
Browse files Browse the repository at this point in the history
Moved the adapter templates into own folder for cleanliness.

[Dr Nic]
  • Loading branch information
defunkt committed Jan 30, 2008
1 parent 413041a commit 0c3a158
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app_generators/ambition_adapter/ambition_adapter_generator.rb
Expand Up @@ -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"
Expand All @@ -52,7 +52,7 @@ def manifest

protected
def banner
"Coming soon"
"Usage: ambition_adapter adapter_name"
end

def add_options!(opts)
Expand Down

0 comments on commit 0c3a158

Please sign in to comment.