mongo_mapper_generators 1.0.4 → 1.0.5

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.4'
2
+ VERSION = '1.0.5'
3
3
 
4
4
  # nothing to see here, the real action is under rails_generators
5
5
  end
@@ -1,4 +1,4 @@
1
- config = YAML.load_file(File.join(Rails.root,'config','database.yml'))[Rails.env]
1
+ config = YAML.load_file(File.join(Rails.root,'config','mongodb.yml'))[Rails.env]
2
2
 
3
3
  MongoMapper.connection = Mongo::Connection.new(config['host'], config['port'], {
4
4
  :logger => Rails.logger
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.4
4
+ version: 1.0.5
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-12 00:00:00 -05:00
12
+ date: 2010-02-13 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency