cassandra_migrations 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d089b09a2a03caa0cb2787d2de0e8d2f2db278bc
|
4
|
+
data.tar.gz: a1f2fbc186ff690aa33c58306f6d193c19fb3643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2606317f233f502898569d15903ad5816b106e69cd1d29831677a8215bf38cc0d20bffe8fe4bb76df13619e2728ae796751b9b0246acd3039f469b7c9411ee3
|
7
|
+
data.tar.gz: 36bae513a0ae96563a2c989148baaa24c9d6bde62baba44fa0fcb03cd2f9a12f286dd37bfb3ba30b1b44c99e40059a6e34870a185faf171a99acbc7797ee42a9
|
@@ -34,7 +34,13 @@ end
|
|
34
34
|
|
35
35
|
class Client
|
36
36
|
def self.connect(options)
|
37
|
-
|
37
|
+
if defined?(Spring)
|
38
|
+
Spring.after_fork do
|
39
|
+
@cluster = Cassandra.cluster(options)
|
40
|
+
end
|
41
|
+
else
|
42
|
+
@cluster = Cassandra.cluster(options)
|
43
|
+
end
|
38
44
|
self.new(@cluster)
|
39
45
|
end
|
40
46
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassandra_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrique Gubert
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cassandra-driver
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 2.1.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 2.1.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|