gru 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gru/configuration.rb +1 -1
- data/lib/gru/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: febb844260397f2cbbe090597ce29c0cb6bf0b42
|
4
|
+
data.tar.gz: 600d3ef622ff93e126b108c39ddb5a073a006571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46bccc09774b494bf0744b066b38b8da227473438dfc48eb2f6dd482607a0ac2937a57e2a6e4f1ba998facc88b5db8845eb9077e6be4b4b14bf2853a43dbe416
|
7
|
+
data.tar.gz: 78a8c2d04647667671a9171f3d65be1eceb2ff019b90c502162bc2db2795382b072ac8093caa84c588bf7f1ce7318bfbf28812266398a5dd130239a858a2d378
|
data/lib/gru/configuration.rb
CHANGED
@@ -10,7 +10,7 @@ module Gru
|
|
10
10
|
@rebalance_flag = settings.delete(:rebalance_flag) || false
|
11
11
|
@cluster_name = settings.delete(:cluster_name) || 'default'
|
12
12
|
@environment_name = settings.delete(:environment_name) || 'default'
|
13
|
-
client = initialize_client(settings.delete(:
|
13
|
+
client = initialize_client(settings.delete(:client_settings))
|
14
14
|
@adapter = Gru::Adapters::RedisAdapter.new(client,self)
|
15
15
|
if @cluster_maximums.nil?
|
16
16
|
raise ArgumentError "Need at least a cluster configuration"
|
data/lib/gru/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey Gillis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|