mongo_mapper_generators 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module MongoMapperGenerators
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
 
4
4
  # nothing to see here, the real action is under rails_generators
5
5
  end
@@ -11,7 +11,7 @@ class MongoInitializerGenerator < Rails::Generator::Base
11
11
  m.directory 'config'
12
12
  m.directory 'config/initializers'
13
13
 
14
- m.template 'database.yml', "config/database.yml", :collision => :force
14
+ m.template 'database.yml', "config/mongodb.yml"
15
15
  m.template 'initializer.rb', "config/initializers/mongomapper.rb"
16
16
  end
17
17
  end
@@ -8,7 +8,7 @@ class TestMongoMapperGenerators < GeneratorTestCase
8
8
  end
9
9
 
10
10
  should_generate_file 'config/initializers/mongomapper.rb'
11
- should_generate_file 'config/database.yml'
11
+ should_generate_file 'config/mongodb.yml'
12
12
  end
13
13
 
14
14
  context "running the mongo_model generator" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Agalloco
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-10 00:00:00 -05:00
12
+ date: 2010-02-12 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency