mongo_mapper_connector 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,6 +6,6 @@ Just define your environment variables:
6
6
 
7
7
  MONGO_HOST - Production mongo host, such as 'localhost' (defaults to localhost on development/test)
8
8
  MONGO_PORT - Such as '27017' (defaults to 27017 on development/test)
9
- MONGO_DB_PREFIX - If this is 'ferret', your databases will be 'ferret-development', 'ferret-production'...
9
+ MONGO_PREFIX - If this is 'ferret', your databases will be 'ferret-development', 'ferret-production'...
10
10
  MONGO_USERNAME - Username for production database
11
11
  MONGO_PASSWORD - Password for production database.
@@ -5,6 +5,6 @@ MongoMapper.connection =
5
5
  Mongo::Connection.new 'localhost', 27017, :logger => Rails.logger
6
6
  end
7
7
 
8
- MongoMapper.database = [ENV['MONGO_DB_PREFIX'], Rails.env].join '-'
8
+ MongoMapper.database = [ENV['MONGO_PREFIX'], Rails.env].join '-'
9
9
 
10
10
  MongoMapper.database.authenticate(ENV['MONGO_USERNAME'], ENV['MONGO_PASSWORD']) if Rails.env.production?
@@ -1,3 +1,3 @@
1
1
  module MongoMapperConnector
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_connector
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Hanks