simply_mongo 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/{README.rdoc → README.md} +43 -12
- data/RELEASE-NOTES.md +24 -0
- data/Rakefile +8 -1
- data/lib/generators/simply_mongo/install/install_generator.rb +28 -5
- data/lib/generators/simply_mongo/install/templates/mongo.rb +1 -1
- data/lib/generators/simply_mongo/install/templates/mongo.yml +11 -7
- data/lib/simply_mongo/version.rb +1 -1
- data/lib/simply_mongo.rb +1 -0
- data/lib/tasks/simply_mongo.rake +7 -0
- data/test/enterprise/Gemfile +7 -13
- data/test/enterprise/Gemfile.lock +87 -87
- data/test/enterprise/app/assets/javascripts/enterprises.js.coffee +1 -1
- data/test/enterprise/app/controllers/enterprises_controller.rb +2 -2
- data/test/enterprise/bin/bundle +3 -0
- data/test/enterprise/bin/rails +4 -0
- data/test/enterprise/bin/rake +4 -0
- data/test/enterprise/config/application.rb +7 -16
- data/test/enterprise/config/database.yml +0 -0
- data/test/enterprise/config/environment.rb +2 -0
- data/test/enterprise/config/environments/development.rb +1 -9
- data/test/enterprise/config/environments/production.rb +3 -1
- data/test/enterprise/config/environments/test.rb +1 -2
- data/test/enterprise/config/initializers/mongo.rb +1 -1
- data/test/enterprise/config/initializers/secret_token.rb +1 -0
- data/test/enterprise/config/mongo.yml +14 -10
- data/test/enterprise/log/development.log +3768 -690
- data/test/enterprise/log/install.log +393 -0
- data/test/enterprise/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
- data/test/enterprise/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +0 -0
- metadata +87 -41
- data/lib/tasks/simply_mongo_tasks.rake +0 -4
- data/test/cmd_line_client/Enterprise.json +0 -30
- data/test/cmd_line_client/client.rb +0 -128
- data/test/enterprise/script/rails +0 -6
- data/test/enterprise/tmp/pids/server.pid +0 -1
@@ -2,9 +2,17 @@
|
|
2
2
|
# Simply Mongo Driver Specification
|
3
3
|
#
|
4
4
|
# OPTIONS:
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
5
|
+
#
|
6
|
+
# Notes about write concern options:
|
7
|
+
# Write concern options are propagated to objects instantiated from this MongoClient.
|
8
|
+
# These defaults can be overridden upon instantiation of any object by explicitly setting an options hash
|
9
|
+
# on initialization.
|
10
|
+
#
|
11
|
+
# :w [String, Integer, Symbol] - default: 1 - Set default number of nodes to which a write should be acknowledged
|
12
|
+
# :j [Boolean] - default false - Set journal acknowledgement
|
13
|
+
# :wtimeout [Integer] - defualt: nil - Set replica set acknowledgement timeout
|
14
|
+
# :fsync [Boolean] - default false - Set fsync acknowledgement.
|
15
|
+
#
|
8
16
|
# :slave_ok (Boolean) — default: false — Must be set to true when connecting to a single, slave node.
|
9
17
|
# :logger (Logger, #debug) — default: nil — A Logger instance for debugging driver ops.
|
10
18
|
# Note that logging negatively impacts performance; therefore, it should not be
|
@@ -21,25 +29,21 @@
|
|
21
29
|
|
22
30
|
development:
|
23
31
|
adapter: mongodb
|
24
|
-
database:
|
32
|
+
database: simply-mongo-dev
|
25
33
|
host: localhost
|
26
34
|
port: 27017
|
27
35
|
options:
|
28
|
-
safe: true
|
29
|
-
|
30
36
|
|
31
37
|
test:
|
32
38
|
adapter: mongodb
|
33
|
-
database:
|
39
|
+
database: simply-mongo-test
|
34
40
|
host: localhost
|
35
41
|
port: 27017
|
36
42
|
options:
|
37
|
-
safe: true
|
38
43
|
|
39
44
|
production:
|
40
45
|
adapter: mongodb
|
41
|
-
database:
|
46
|
+
database: simply-mongo
|
42
47
|
host: localhost
|
43
48
|
port: 27017
|
44
49
|
options:
|
45
|
-
safe: true
|