superstore 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/superstore/adapters/cassandra_adapter.rb +9 -1
- data/superstore.gemspec +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: e7890297946bbb7455906b799256f2693c16e36d
|
4
|
+
data.tar.gz: 0c93ae922bf85404b277073e654a4cc5b6e1dc99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25e0235eea40f69582d18836e89a71d3eea9094c976837148582e828d787b99be6286c91c0a83f94cc8c461f899a1721569a73215a0a5e237875c76dbf7df856
|
7
|
+
data.tar.gz: a86e16dd548140efe2fc3403e51d7e8351dafa0188978e238d289c1c628cdc9a014fe4786ce8dafd6e4684a7c196650bd98748ea7c8acceff0d7d6ca0f1583a2
|
@@ -62,7 +62,15 @@ module Superstore
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def servers
|
65
|
-
|
65
|
+
@servers ||= begin
|
66
|
+
if config[:servers].is_a?(String)
|
67
|
+
config[:servers].split(',')
|
68
|
+
elsif config[:servers].is_a?(Array)
|
69
|
+
config[:servers]
|
70
|
+
else
|
71
|
+
"127.0.0.1:9160"
|
72
|
+
end
|
73
|
+
end
|
66
74
|
end
|
67
75
|
|
68
76
|
def execute(statement)
|
data/superstore.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Koziarski
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|