extendi-cassandra_object 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/extendi-cassandra_object.gemspec +1 -1
- metadata +3 -4
- data/lib/initializers/cassandra.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea6a4cf7c3c50e1471cbe7198fe589a8ddcb03468b3d4a2ce249d88105500e80
|
4
|
+
data.tar.gz: 751ee52cb07097cd923424b087eee4c30c14d3eeb123d10f619a46aae7029cba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88221d784e551881b6210cbecaed1debff7cc9d6b12daa43620ad8fc2c53e88d9ef0069210492ab871d62537ea17a360e71866063a58ebb7839a1923466f2d8
|
7
|
+
data.tar.gz: 176f681c1291e68070be00fbce165ee332cf7e786947345459b7cd07c6c3a30f8c5ebe0f5ecdda74285804e0841b8f2275cc633c757919098003edc3ff9aac32
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extendi-cassandra_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Duccio Giovannelli
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -132,7 +132,6 @@ files:
|
|
132
132
|
- lib/cassandra_object/types/time_type.rb
|
133
133
|
- lib/cassandra_object/types/type_helper.rb
|
134
134
|
- lib/cassandra_object/validations.rb
|
135
|
-
- lib/initializers/cassandra.rb
|
136
135
|
- lib/initializers/reconnection.rb
|
137
136
|
- test/support/cassandra.rb
|
138
137
|
- test/support/issue.rb
|
@@ -200,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
199
|
version: 1.3.5
|
201
200
|
requirements: []
|
202
201
|
rubyforge_project:
|
203
|
-
rubygems_version: 2.
|
202
|
+
rubygems_version: 2.7.6
|
204
203
|
signing_key:
|
205
204
|
specification_version: 4
|
206
205
|
summary: Cassandra ActiveModel
|
@@ -1,13 +0,0 @@
|
|
1
|
-
## TODO: remove this patch when datastax/ruby-driver release 3.2.3 is out
|
2
|
-
require 'ione'
|
3
|
-
require 'cassandra'
|
4
|
-
|
5
|
-
class Cassandra::Protocol::CqlProtocolHandler
|
6
|
-
class RequestPromise < Ione::Promise
|
7
|
-
old_constructor = instance_method(:initialize)
|
8
|
-
define_method(:initialize) do |request, timeout, scheduler|
|
9
|
-
@timer = nil
|
10
|
-
old_constructor.bind(self).(request, timeout, scheduler)
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|