cql-rb 1.1.0.pre3 → 1.1.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/cql/client.rb +9 -5
- data/lib/cql/client/asynchronous_client.rb +105 -192
- data/lib/cql/client/asynchronous_prepared_statement.rb +51 -9
- data/lib/cql/client/connection_helper.rb +155 -0
- data/lib/cql/client/connection_manager.rb +56 -0
- data/lib/cql/client/keyspace_changer.rb +27 -0
- data/lib/cql/client/null_logger.rb +21 -0
- data/lib/cql/client/request_runner.rb +5 -3
- data/lib/cql/client/synchronous_client.rb +5 -5
- data/lib/cql/client/synchronous_prepared_statement.rb +4 -8
- data/lib/cql/future.rb +320 -210
- data/lib/cql/io/connection.rb +5 -5
- data/lib/cql/io/io_reactor.rb +21 -23
- data/lib/cql/protocol/cql_protocol_handler.rb +69 -38
- data/lib/cql/protocol/encoding.rb +5 -1
- data/lib/cql/protocol/requests/register_request.rb +2 -0
- data/lib/cql/protocol/type_converter.rb +1 -0
- data/lib/cql/version.rb +1 -1
- data/spec/cql/client/asynchronous_client_spec.rb +368 -175
- data/spec/cql/client/asynchronous_prepared_statement_spec.rb +132 -22
- data/spec/cql/client/connection_helper_spec.rb +335 -0
- data/spec/cql/client/connection_manager_spec.rb +118 -0
- data/spec/cql/client/keyspace_changer_spec.rb +50 -0
- data/spec/cql/client/request_runner_spec.rb +12 -12
- data/spec/cql/client/synchronous_client_spec.rb +15 -15
- data/spec/cql/client/synchronous_prepared_statement_spec.rb +15 -11
- data/spec/cql/future_spec.rb +529 -301
- data/spec/cql/io/connection_spec.rb +12 -12
- data/spec/cql/io/io_reactor_spec.rb +61 -61
- data/spec/cql/protocol/cql_protocol_handler_spec.rb +26 -12
- data/spec/cql/protocol/encoding_spec.rb +5 -0
- data/spec/cql/protocol/type_converter_spec.rb +1 -1
- data/spec/cql/time_uuid_spec.rb +7 -7
- data/spec/integration/client_spec.rb +2 -2
- data/spec/integration/io_spec.rb +20 -20
- data/spec/integration/protocol_spec.rb +17 -17
- data/spec/integration/regression_spec.rb +6 -0
- data/spec/integration/uuid_spec.rb +4 -0
- data/spec/support/fake_io_reactor.rb +38 -8
- data/spec/support/fake_server.rb +3 -3
- metadata +12 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cql-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.pre6
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A pure Ruby CQL3 driver for Cassandra
|
15
15
|
email:
|
@@ -22,6 +22,10 @@ files:
|
|
22
22
|
- lib/cql/client/asynchronous_client.rb
|
23
23
|
- lib/cql/client/asynchronous_prepared_statement.rb
|
24
24
|
- lib/cql/client/column_metadata.rb
|
25
|
+
- lib/cql/client/connection_helper.rb
|
26
|
+
- lib/cql/client/connection_manager.rb
|
27
|
+
- lib/cql/client/keyspace_changer.rb
|
28
|
+
- lib/cql/client/null_logger.rb
|
25
29
|
- lib/cql/client/query_result.rb
|
26
30
|
- lib/cql/client/request_runner.rb
|
27
31
|
- lib/cql/client/result_metadata.rb
|
@@ -72,6 +76,9 @@ files:
|
|
72
76
|
- spec/cql/client/asynchronous_client_spec.rb
|
73
77
|
- spec/cql/client/asynchronous_prepared_statement_spec.rb
|
74
78
|
- spec/cql/client/column_metadata_spec.rb
|
79
|
+
- spec/cql/client/connection_helper_spec.rb
|
80
|
+
- spec/cql/client/connection_manager_spec.rb
|
81
|
+
- spec/cql/client/keyspace_changer_spec.rb
|
75
82
|
- spec/cql/client/request_runner_spec.rb
|
76
83
|
- spec/cql/client/synchronous_client_spec.rb
|
77
84
|
- spec/cql/client/synchronous_prepared_statement_spec.rb
|
@@ -134,6 +141,9 @@ test_files:
|
|
134
141
|
- spec/cql/client/asynchronous_client_spec.rb
|
135
142
|
- spec/cql/client/asynchronous_prepared_statement_spec.rb
|
136
143
|
- spec/cql/client/column_metadata_spec.rb
|
144
|
+
- spec/cql/client/connection_helper_spec.rb
|
145
|
+
- spec/cql/client/connection_manager_spec.rb
|
146
|
+
- spec/cql/client/keyspace_changer_spec.rb
|
137
147
|
- spec/cql/client/request_runner_spec.rb
|
138
148
|
- spec/cql/client/synchronous_client_spec.rb
|
139
149
|
- spec/cql/client/synchronous_prepared_statement_spec.rb
|