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.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/{README.rdoc → README.md} +43 -12
  3. data/RELEASE-NOTES.md +24 -0
  4. data/Rakefile +8 -1
  5. data/lib/generators/simply_mongo/install/install_generator.rb +28 -5
  6. data/lib/generators/simply_mongo/install/templates/mongo.rb +1 -1
  7. data/lib/generators/simply_mongo/install/templates/mongo.yml +11 -7
  8. data/lib/simply_mongo/version.rb +1 -1
  9. data/lib/simply_mongo.rb +1 -0
  10. data/lib/tasks/simply_mongo.rake +7 -0
  11. data/test/enterprise/Gemfile +7 -13
  12. data/test/enterprise/Gemfile.lock +87 -87
  13. data/test/enterprise/app/assets/javascripts/enterprises.js.coffee +1 -1
  14. data/test/enterprise/app/controllers/enterprises_controller.rb +2 -2
  15. data/test/enterprise/bin/bundle +3 -0
  16. data/test/enterprise/bin/rails +4 -0
  17. data/test/enterprise/bin/rake +4 -0
  18. data/test/enterprise/config/application.rb +7 -16
  19. data/test/enterprise/config/database.yml +0 -0
  20. data/test/enterprise/config/environment.rb +2 -0
  21. data/test/enterprise/config/environments/development.rb +1 -9
  22. data/test/enterprise/config/environments/production.rb +3 -1
  23. data/test/enterprise/config/environments/test.rb +1 -2
  24. data/test/enterprise/config/initializers/mongo.rb +1 -1
  25. data/test/enterprise/config/initializers/secret_token.rb +1 -0
  26. data/test/enterprise/config/mongo.yml +14 -10
  27. data/test/enterprise/log/development.log +3768 -690
  28. data/test/enterprise/log/install.log +393 -0
  29. data/test/enterprise/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
  30. data/test/enterprise/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +0 -0
  31. metadata +87 -41
  32. data/lib/tasks/simply_mongo_tasks.rake +0 -4
  33. data/test/cmd_line_client/Enterprise.json +0 -30
  34. data/test/cmd_line_client/client.rb +0 -128
  35. data/test/enterprise/script/rails +0 -6
  36. 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
- # :safe (Boolean, Hash) — default: false — Set the default safe-mode options propogated to
6
- # DB objects instantiated off of this Connection. This default can
7
- # be overridden upon instantiation of any DB by explicity setting a :safe value on initialization.
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: dyntech-dev
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: dyntech-test
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: dyntech
46
+ database: simply-mongo
42
47
  host: localhost
43
48
  port: 27017
44
49
  options:
45
- safe: true