cassandra-driver 2.1.0 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +1 -1
- data/lib/cassandra/table.rb +2 -1
- data/lib/cassandra/version.rb +1 -1
- metadata +28 -28
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzczYWNmN2Y4ZDU2Y2E0OTViZjg2ZjZkNGE3ZTcyZTYwOGI1ZDNjYg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 82484a248c774fb09f97821fbc7d845b477a489a
|
4
|
+
data.tar.gz: df86252abdbbc3b787a9cd7b86bccba031a8ad4b
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MTExYmU1M2ZjZDVkYzU0OGU4NjgyMDAyY2RhZjVhOGNkZjYyZTg3YTBhNmQ1
|
11
|
-
MzcwYzA3NGU4YzhkN2Y3MWM1ZGIyZjM0OTU0ZjJhZWRjMzA0ZGI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MjZhNjYwMzg2MGRlZjQzNDhkNjQ3NjYxODU3ZjBiYzk2NGY2Y2I1NWJjMTA2
|
14
|
-
YzBmNDJhZDE4MjY5YmQ1MWRiYjk5MDU1MTg3MGNkMGM0ZWM1YTEyZjMyMzVm
|
15
|
-
YjgxNjMzZmRhNzJhMDM0MGM2OTJiYzNiOTY5ZWNmY2I5NmE1M2Q=
|
6
|
+
metadata.gz: 9676f9667b7c063e9bd605db2694ee5f24243ef7871beb7db7f7adc430f96619d2f3e37c303c6d5335e7d5bb5549654f4680e984cc8d182027ad837ec0c8c6fc
|
7
|
+
data.tar.gz: d2fa9bdfa0c07e78dea808a6736026bc02de2b5137dff0bd0109f2bad373b409520d5bcbdfffa2167540296ee9a3dc9edb15edb3a0b2361df239ac4e8fc9ebea
|
data/README.md
CHANGED
@@ -91,7 +91,7 @@ __Note__: if you want to use compression you should also install [snappy](http:/
|
|
91
91
|
|
92
92
|
Some of the new features added to the driver have unfortunately led to changes in the original cql-rb API. In the examples directory, you can find [an example of how to wrap the ruby driver to achieve almost complete interface parity with cql-rb](https://github.com/datastax/ruby-driver/blob/master/examples/cql-rb-wrapper.rb) to assist you with gradual upgrade.
|
93
93
|
|
94
|
-
## What's new in v2.1.
|
94
|
+
## What's new in v2.1.3
|
95
95
|
|
96
96
|
Features:
|
97
97
|
|
data/lib/cassandra/table.rb
CHANGED
@@ -280,7 +280,7 @@ module Cassandra
|
|
280
280
|
buf ||= Protocol::CqlByteBuffer.new
|
281
281
|
buffer ||= Protocol::CqlByteBuffer.new
|
282
282
|
|
283
|
-
if @
|
283
|
+
if @release_version > '2.1'
|
284
284
|
Protocol::Coder.write_value_v3(buf, values[column_name], column.type)
|
285
285
|
else
|
286
286
|
Protocol::Coder.write_value_v1(buf, values[column_name], column.type)
|
@@ -319,6 +319,7 @@ module Cassandra
|
|
319
319
|
end
|
320
320
|
end
|
321
321
|
|
322
|
+
# @private
|
322
323
|
NULL_BYTE = "\x00".freeze
|
323
324
|
|
324
325
|
attr_reader :partition_key, :clustering_columns, :clustering_order
|
data/lib/cassandra/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassandra-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo Hultberg
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ione
|
@@ -63,19 +63,13 @@ extensions:
|
|
63
63
|
extra_rdoc_files:
|
64
64
|
- README.md
|
65
65
|
files:
|
66
|
-
- .yardopts
|
67
|
-
- README.md
|
68
|
-
- ext/cassandra_murmur3/cassandra_murmur3.c
|
69
|
-
- ext/cassandra_murmur3/extconf.rb
|
70
|
-
- lib/cassandra.rb
|
71
|
-
- lib/cassandra/address_resolution.rb
|
72
|
-
- lib/cassandra/address_resolution/policies.rb
|
73
66
|
- lib/cassandra/address_resolution/policies/ec2_multi_region.rb
|
74
67
|
- lib/cassandra/address_resolution/policies/none.rb
|
75
|
-
- lib/cassandra/
|
76
|
-
- lib/cassandra/
|
68
|
+
- lib/cassandra/address_resolution/policies.rb
|
69
|
+
- lib/cassandra/address_resolution.rb
|
77
70
|
- lib/cassandra/auth/providers/password.rb
|
78
|
-
- lib/cassandra/
|
71
|
+
- lib/cassandra/auth/providers.rb
|
72
|
+
- lib/cassandra/auth.rb
|
79
73
|
- lib/cassandra/cluster/client.rb
|
80
74
|
- lib/cassandra/cluster/connection_pool.rb
|
81
75
|
- lib/cassandra/cluster/connector.rb
|
@@ -84,20 +78,21 @@ files:
|
|
84
78
|
- lib/cassandra/cluster/metadata.rb
|
85
79
|
- lib/cassandra/cluster/options.rb
|
86
80
|
- lib/cassandra/cluster/registry.rb
|
87
|
-
- lib/cassandra/cluster/schema.rb
|
88
|
-
- lib/cassandra/cluster/schema/partitioners.rb
|
89
81
|
- lib/cassandra/cluster/schema/partitioners/murmur3.rb
|
90
82
|
- lib/cassandra/cluster/schema/partitioners/ordered.rb
|
91
83
|
- lib/cassandra/cluster/schema/partitioners/random.rb
|
92
|
-
- lib/cassandra/cluster/schema/
|
84
|
+
- lib/cassandra/cluster/schema/partitioners.rb
|
93
85
|
- lib/cassandra/cluster/schema/replication_strategies/network_topology.rb
|
94
86
|
- lib/cassandra/cluster/schema/replication_strategies/none.rb
|
95
87
|
- lib/cassandra/cluster/schema/replication_strategies/simple.rb
|
88
|
+
- lib/cassandra/cluster/schema/replication_strategies.rb
|
96
89
|
- lib/cassandra/cluster/schema/type_parser.rb
|
90
|
+
- lib/cassandra/cluster/schema.rb
|
91
|
+
- lib/cassandra/cluster.rb
|
97
92
|
- lib/cassandra/column.rb
|
98
|
-
- lib/cassandra/compression.rb
|
99
93
|
- lib/cassandra/compression/compressors/lz4.rb
|
100
94
|
- lib/cassandra/compression/compressors/snappy.rb
|
95
|
+
- lib/cassandra/compression.rb
|
101
96
|
- lib/cassandra/driver.rb
|
102
97
|
- lib/cassandra/errors.rb
|
103
98
|
- lib/cassandra/execution/info.rb
|
@@ -108,14 +103,13 @@ files:
|
|
108
103
|
- lib/cassandra/host.rb
|
109
104
|
- lib/cassandra/keyspace.rb
|
110
105
|
- lib/cassandra/listener.rb
|
111
|
-
- lib/cassandra/load_balancing.rb
|
112
|
-
- lib/cassandra/load_balancing/policies.rb
|
113
106
|
- lib/cassandra/load_balancing/policies/dc_aware_round_robin.rb
|
114
107
|
- lib/cassandra/load_balancing/policies/round_robin.rb
|
115
108
|
- lib/cassandra/load_balancing/policies/token_aware.rb
|
116
109
|
- lib/cassandra/load_balancing/policies/white_list.rb
|
110
|
+
- lib/cassandra/load_balancing/policies.rb
|
111
|
+
- lib/cassandra/load_balancing.rb
|
117
112
|
- lib/cassandra/null_logger.rb
|
118
|
-
- lib/cassandra/protocol.rb
|
119
113
|
- lib/cassandra/protocol/coder.rb
|
120
114
|
- lib/cassandra/protocol/cql_byte_buffer.rb
|
121
115
|
- lib/cassandra/protocol/cql_protocol_handler.rb
|
@@ -155,33 +149,39 @@ files:
|
|
155
149
|
- lib/cassandra/protocol/responses/write_timeout_error_response.rb
|
156
150
|
- lib/cassandra/protocol/v1.rb
|
157
151
|
- lib/cassandra/protocol/v3.rb
|
158
|
-
- lib/cassandra/
|
159
|
-
- lib/cassandra/reconnection/policies.rb
|
152
|
+
- lib/cassandra/protocol.rb
|
160
153
|
- lib/cassandra/reconnection/policies/constant.rb
|
161
154
|
- lib/cassandra/reconnection/policies/exponential.rb
|
155
|
+
- lib/cassandra/reconnection/policies.rb
|
156
|
+
- lib/cassandra/reconnection.rb
|
162
157
|
- lib/cassandra/result.rb
|
163
|
-
- lib/cassandra/retry.rb
|
164
|
-
- lib/cassandra/retry/policies.rb
|
165
158
|
- lib/cassandra/retry/policies/default.rb
|
166
159
|
- lib/cassandra/retry/policies/downgrading_consistency.rb
|
167
160
|
- lib/cassandra/retry/policies/fallthrough.rb
|
161
|
+
- lib/cassandra/retry/policies.rb
|
162
|
+
- lib/cassandra/retry.rb
|
168
163
|
- lib/cassandra/session.rb
|
169
164
|
- lib/cassandra/statement.rb
|
170
|
-
- lib/cassandra/statements.rb
|
171
165
|
- lib/cassandra/statements/batch.rb
|
172
166
|
- lib/cassandra/statements/bound.rb
|
173
167
|
- lib/cassandra/statements/prepared.rb
|
174
168
|
- lib/cassandra/statements/simple.rb
|
175
169
|
- lib/cassandra/statements/void.rb
|
170
|
+
- lib/cassandra/statements.rb
|
176
171
|
- lib/cassandra/table.rb
|
177
172
|
- lib/cassandra/time_uuid.rb
|
178
173
|
- lib/cassandra/tuple.rb
|
179
174
|
- lib/cassandra/types.rb
|
180
175
|
- lib/cassandra/udt.rb
|
181
176
|
- lib/cassandra/util.rb
|
182
|
-
- lib/cassandra/uuid.rb
|
183
177
|
- lib/cassandra/uuid/generator.rb
|
178
|
+
- lib/cassandra/uuid.rb
|
184
179
|
- lib/cassandra/version.rb
|
180
|
+
- lib/cassandra.rb
|
181
|
+
- README.md
|
182
|
+
- .yardopts
|
183
|
+
- ext/cassandra_murmur3/extconf.rb
|
184
|
+
- ext/cassandra_murmur3/cassandra_murmur3.c
|
185
185
|
homepage: http://datastax.github.io/ruby-driver
|
186
186
|
licenses:
|
187
187
|
- Apache License 2.0
|
@@ -197,17 +197,17 @@ require_paths:
|
|
197
197
|
- lib
|
198
198
|
required_ruby_version: !ruby/object:Gem::Requirement
|
199
199
|
requirements:
|
200
|
-
- -
|
200
|
+
- - '>='
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: 1.9.3
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
|
-
- -
|
205
|
+
- - '>='
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: '0'
|
208
208
|
requirements: []
|
209
209
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.
|
210
|
+
rubygems_version: 2.0.14
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Datastax Ruby Driver for Apache Cassandra
|