mink 0.1.1 → 0.1.2
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.
- data/bin/mink +3 -3
- data/lib/mink.rb +1 -1
- data/templates/{replicas.yml → rs.yml} +0 -0
- metadata +4 -4
data/bin/mink
CHANGED
|
@@ -10,7 +10,7 @@ module Mink
|
|
|
10
10
|
module Bin
|
|
11
11
|
extend self
|
|
12
12
|
|
|
13
|
-
VALID_CONFIGS = ["
|
|
13
|
+
VALID_CONFIGS = ["rs", "shards"]
|
|
14
14
|
TEMPLATE_BASE = File.join(File.dirname(__FILE__), '..', 'templates')
|
|
15
15
|
CONFIG_NAME = "mink.yml"
|
|
16
16
|
|
|
@@ -100,8 +100,8 @@ but definitely NOT FOR PRODUCTION USE.
|
|
|
100
100
|
|
|
101
101
|
make Creates a default config file for the specified cluster type. You have two choices:
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
shards
|
|
103
|
+
rs Default config for a stand-alone replica set
|
|
104
|
+
shards Default config for a sharded cluster with replica sets as shards
|
|
105
105
|
|
|
106
106
|
init Starts the MongoDB cluster whose configuration is specified in
|
|
107
107
|
the mink.yml config file from the current directory.
|
data/lib/mink.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mink
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Kyle Banker
|
|
@@ -51,8 +51,8 @@ files:
|
|
|
51
51
|
- lib/mink/managers/repl_set_manager.rb
|
|
52
52
|
- lib/mink/managers/auth_repl_set_manager.rb
|
|
53
53
|
- lib/mink/managers/sharding_manager.rb
|
|
54
|
+
- templates/rs.yml
|
|
54
55
|
- templates/shards.yml
|
|
55
|
-
- templates/replicas.yml
|
|
56
56
|
- bin/mink
|
|
57
57
|
has_rdoc: false
|
|
58
58
|
homepage:
|