mink 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/bin/mink CHANGED
@@ -10,7 +10,7 @@ module Mink
10
10
  module Bin
11
11
  extend self
12
12
 
13
- VALID_CONFIGS = ["replicas", "shards"]
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
- replicas Default config for a replica set with replica sets as shards
104
- shards Default config for a stand-alone replica set
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
@@ -12,7 +12,7 @@ require 'mink/managers/auth_repl_set_manager'
12
12
  require 'mink/managers/sharding_manager'
13
13
 
14
14
  module Mink
15
- VERSION = "0.1.1"
15
+ VERSION = "0.1.2"
16
16
  end
17
17
 
18
18
  if Config::CONFIG['host_os'] =~ /mswin|windows/i
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.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: