Skip to content

Commit

Permalink
Add config files using generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiren authored and Jiren committed Aug 23, 2010
1 parent 7ec206f commit d9f16d4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 25 deletions.
@@ -1,8 +1,9 @@
class SplatGenerator < Rails::Generator::Base

def manifest
record do |m|
m.file 'config/splat.yml', 'config/facebooker.yml'
m.file 'config/vendors.yml', 'config/vendors.yml'
m.file 'splat.yml', 'config/splat.yml'
m.file 'vendors.yml', 'config/vendors.yml'
end
end

Expand Down
Expand Up @@ -26,7 +26,3 @@ default:
use_default_insertion: true
default_insertion: ""

bogus_gateway:
provider_url: "http//test.com"
username: test
password: test
File renamed without changes.
2 changes: 2 additions & 0 deletions init.rb
@@ -0,0 +1,2 @@

require File.dirname(__FILE__) + '/lib/splat'
12 changes: 0 additions & 12 deletions install.rb

This file was deleted.

11 changes: 4 additions & 7 deletions splat.gemspec
Expand Up @@ -37,13 +37,10 @@ Gem::Specification.new do |s|
"VERSION",
"test/helper.rb",
"test/test_splat.rb",
"generators",
"generators/splat_generator.rb",
"generators/templates",
"generators/templates/config",
"generators/templates/config/splat.yml",
"generators/templates/config/vendors.yml",
"install.rb",
"generators/splat_config/splat_generator.rb",
"generators/splat_config/templates/splat.yml",
"generators/splat_config/templates/vendors.yml",
"init.rb",
"lib/splat/configuration.rb",
"lib/splat/error.rb",
"lib/splat/gateway.rb",
Expand Down

0 comments on commit d9f16d4

Please sign in to comment.