cassandra-driver 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/lib/cassandra/auth/providers/password.rb +4 -7
- data/lib/cassandra/version.rb +1 -1
- metadata +28 -28
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjMzNDljMDNmMDQyMjA0ZjY2N2MzMjY1MTFkODQ4M2NiZjUzYjVlZg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NjliN2EzYjcxYjg3NjkxOGNkNGYxYTczMzRmNWIzZjg4MmM3ODc0OA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Y2E0MzFkY2RhYzE5YmFiNmU4YjI5MGQ4YzNlNDQ4NTY1MjZmMjZjMDdiMzc5
|
10
|
+
OWY5YzE5NDdmNzE5NWIzYTE3MTNiNzBjM2FmZDk1NzU2NzYwNTU1NDY0ZjU3
|
11
|
+
MmIxOGI2NmQ1ZDA1ZGQyNDAwNTRhMWE2NzU0YWU2MWQ3NTNkMDY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ODAwMjY5NTlmZjBhYjZkMGQ0MjQxNjQ5NzNmZjRlYzIyYjViZWVlZDBmNGJj
|
14
|
+
YzBlMmViNTUwZDJhOTE0N2JlNzE0OTI4ZTM0ZWI1OGQ2NWFjZTc2NWI5ZTJi
|
15
|
+
NmI1ZGIxYzUyMmU2YmNmMWU5ZmIxNGNiYTFkZTI4MWI4MjVhZGQ=
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ This driver is based on [the cql-rb gem](https://github.com/iconara/cql-rb) by [
|
|
27
27
|
|
28
28
|
[Check out the slides from Ruby Driver Explained](https://speakerdeck.com/avalanche123/ruby-driver-explained) for a detailed overview of the Ruby Driver architecture.
|
29
29
|
|
30
|
-
##
|
30
|
+
## Compatibility
|
31
31
|
|
32
32
|
This driver works exclusively with the Cassandra Query Language v3 (CQL3) and Cassandra's native protocol. The current version works with:
|
33
33
|
|
@@ -53,14 +53,11 @@ module Cassandra
|
|
53
53
|
@password = password
|
54
54
|
end
|
55
55
|
|
56
|
-
# Returns a Password Authenticator
|
57
|
-
# @param authentication_class [String]
|
58
|
-
# @return [Cassandra::Auth::Authenticator]
|
59
|
-
# @return [nil] for all other values of `authentication_class`
|
56
|
+
# Returns a Password Authenticator
|
57
|
+
# @param authentication_class [String] ignored
|
58
|
+
# @return [Cassandra::Auth::Authenticator]
|
60
59
|
def create_authenticator(authentication_class)
|
61
|
-
|
62
|
-
Authenticator.new(@username, @password)
|
63
|
-
end
|
60
|
+
Authenticator.new(@username, @password)
|
64
61
|
end
|
65
62
|
|
66
63
|
private
|
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.6
|
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:
|
12
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ione
|
@@ -63,13 +63,19 @@ 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
|
66
73
|
- lib/cassandra/address_resolution/policies/ec2_multi_region.rb
|
67
74
|
- lib/cassandra/address_resolution/policies/none.rb
|
68
|
-
- lib/cassandra/address_resolution/policies.rb
|
69
|
-
- lib/cassandra/address_resolution.rb
|
70
|
-
- lib/cassandra/auth/providers/password.rb
|
71
|
-
- lib/cassandra/auth/providers.rb
|
72
75
|
- lib/cassandra/auth.rb
|
76
|
+
- lib/cassandra/auth/providers.rb
|
77
|
+
- lib/cassandra/auth/providers/password.rb
|
78
|
+
- lib/cassandra/cluster.rb
|
73
79
|
- lib/cassandra/cluster/client.rb
|
74
80
|
- lib/cassandra/cluster/connection_pool.rb
|
75
81
|
- lib/cassandra/cluster/connector.rb
|
@@ -78,21 +84,20 @@ files:
|
|
78
84
|
- lib/cassandra/cluster/metadata.rb
|
79
85
|
- lib/cassandra/cluster/options.rb
|
80
86
|
- lib/cassandra/cluster/registry.rb
|
87
|
+
- lib/cassandra/cluster/schema.rb
|
88
|
+
- lib/cassandra/cluster/schema/partitioners.rb
|
81
89
|
- lib/cassandra/cluster/schema/partitioners/murmur3.rb
|
82
90
|
- lib/cassandra/cluster/schema/partitioners/ordered.rb
|
83
91
|
- lib/cassandra/cluster/schema/partitioners/random.rb
|
84
|
-
- lib/cassandra/cluster/schema/
|
92
|
+
- lib/cassandra/cluster/schema/replication_strategies.rb
|
85
93
|
- lib/cassandra/cluster/schema/replication_strategies/network_topology.rb
|
86
94
|
- lib/cassandra/cluster/schema/replication_strategies/none.rb
|
87
95
|
- lib/cassandra/cluster/schema/replication_strategies/simple.rb
|
88
|
-
- lib/cassandra/cluster/schema/replication_strategies.rb
|
89
96
|
- lib/cassandra/cluster/schema/type_parser.rb
|
90
|
-
- lib/cassandra/cluster/schema.rb
|
91
|
-
- lib/cassandra/cluster.rb
|
92
97
|
- lib/cassandra/column.rb
|
98
|
+
- lib/cassandra/compression.rb
|
93
99
|
- lib/cassandra/compression/compressors/lz4.rb
|
94
100
|
- lib/cassandra/compression/compressors/snappy.rb
|
95
|
-
- lib/cassandra/compression.rb
|
96
101
|
- lib/cassandra/driver.rb
|
97
102
|
- lib/cassandra/errors.rb
|
98
103
|
- lib/cassandra/execution/info.rb
|
@@ -103,13 +108,14 @@ files:
|
|
103
108
|
- lib/cassandra/host.rb
|
104
109
|
- lib/cassandra/keyspace.rb
|
105
110
|
- lib/cassandra/listener.rb
|
111
|
+
- lib/cassandra/load_balancing.rb
|
112
|
+
- lib/cassandra/load_balancing/policies.rb
|
106
113
|
- lib/cassandra/load_balancing/policies/dc_aware_round_robin.rb
|
107
114
|
- lib/cassandra/load_balancing/policies/round_robin.rb
|
108
115
|
- lib/cassandra/load_balancing/policies/token_aware.rb
|
109
116
|
- lib/cassandra/load_balancing/policies/white_list.rb
|
110
|
-
- lib/cassandra/load_balancing/policies.rb
|
111
|
-
- lib/cassandra/load_balancing.rb
|
112
117
|
- lib/cassandra/null_logger.rb
|
118
|
+
- lib/cassandra/protocol.rb
|
113
119
|
- lib/cassandra/protocol/coder.rb
|
114
120
|
- lib/cassandra/protocol/cql_byte_buffer.rb
|
115
121
|
- lib/cassandra/protocol/cql_protocol_handler.rb
|
@@ -149,40 +155,34 @@ files:
|
|
149
155
|
- lib/cassandra/protocol/responses/write_timeout_error_response.rb
|
150
156
|
- lib/cassandra/protocol/v1.rb
|
151
157
|
- lib/cassandra/protocol/v3.rb
|
152
|
-
- lib/cassandra/
|
158
|
+
- lib/cassandra/reconnection.rb
|
159
|
+
- lib/cassandra/reconnection/policies.rb
|
153
160
|
- lib/cassandra/reconnection/policies/constant.rb
|
154
161
|
- lib/cassandra/reconnection/policies/exponential.rb
|
155
|
-
- lib/cassandra/reconnection/policies.rb
|
156
|
-
- lib/cassandra/reconnection.rb
|
157
162
|
- lib/cassandra/result.rb
|
163
|
+
- lib/cassandra/retry.rb
|
164
|
+
- lib/cassandra/retry/policies.rb
|
158
165
|
- lib/cassandra/retry/policies/default.rb
|
159
166
|
- lib/cassandra/retry/policies/downgrading_consistency.rb
|
160
167
|
- lib/cassandra/retry/policies/fallthrough.rb
|
161
|
-
- lib/cassandra/retry/policies.rb
|
162
|
-
- lib/cassandra/retry.rb
|
163
168
|
- lib/cassandra/session.rb
|
164
169
|
- lib/cassandra/statement.rb
|
170
|
+
- lib/cassandra/statements.rb
|
165
171
|
- lib/cassandra/statements/batch.rb
|
166
172
|
- lib/cassandra/statements/bound.rb
|
167
173
|
- lib/cassandra/statements/prepared.rb
|
168
174
|
- lib/cassandra/statements/simple.rb
|
169
175
|
- lib/cassandra/statements/void.rb
|
170
|
-
- lib/cassandra/statements.rb
|
171
176
|
- lib/cassandra/table.rb
|
172
177
|
- lib/cassandra/time_uuid.rb
|
173
178
|
- lib/cassandra/tuple.rb
|
174
179
|
- lib/cassandra/types.rb
|
175
180
|
- lib/cassandra/udt.rb
|
176
181
|
- lib/cassandra/util.rb
|
177
|
-
- lib/cassandra/uuid/generator.rb
|
178
182
|
- lib/cassandra/uuid.rb
|
183
|
+
- lib/cassandra/uuid/generator.rb
|
179
184
|
- lib/cassandra/version.rb
|
180
|
-
- lib/cassandra.rb
|
181
185
|
- lib/datastax/cassandra.rb
|
182
|
-
- README.md
|
183
|
-
- .yardopts
|
184
|
-
- ext/cassandra_murmur3/extconf.rb
|
185
|
-
- ext/cassandra_murmur3/cassandra_murmur3.c
|
186
186
|
homepage: http://datastax.github.io/ruby-driver
|
187
187
|
licenses:
|
188
188
|
- Apache License 2.0
|
@@ -198,17 +198,17 @@ require_paths:
|
|
198
198
|
- lib
|
199
199
|
required_ruby_version: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
|
-
- - '>='
|
201
|
+
- - ! '>='
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: 1.9.3
|
204
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - '>='
|
206
|
+
- - ! '>='
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
210
|
rubyforge_project:
|
211
|
-
rubygems_version: 2.0
|
211
|
+
rubygems_version: 2.5.0
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: Datastax Ruby Driver for Apache Cassandra
|