cassandra-cql 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,8 @@ module CassandraCQL
28
28
  }.merge(options)
29
29
 
30
30
  @thrift_client_options = {
31
- :exception_class_overrides => CassandraCQL::Thrift::InvalidRequestException
31
+ :exception_class_overrides => CassandraCQL::Thrift::InvalidRequestException,
32
+ :connect_timeout => 5
32
33
  }.merge(thrift_client_options)
33
34
 
34
35
  @keyspace = @options[:keyspace]
@@ -15,5 +15,5 @@ limitations under the License.
15
15
  =end
16
16
 
17
17
  module CassandraCQL
18
- VERSION = "1.1.0"
18
+ VERSION = "1.1.1"
19
19
  end
@@ -22,7 +22,7 @@ def yaml_fixture(file)
22
22
  end
23
23
 
24
24
  def setup_cassandra_connection
25
- connection = CassandraCQL::Database.new(["127.0.0.1:9160"], {}, :retries => 5, :timeout => 1, :connect_timeout => 5)
25
+ connection = CassandraCQL::Database.new(["127.0.0.1:9160"], {}, :retries => 5, :timeout => 1)
26
26
  if !connection.keyspaces.map(&:name).include?("CassandraCQLTestKeyspace")
27
27
  connection.execute("CREATE KEYSPACE CassandraCQLTestKeyspace WITH strategy_class='org.apache.cassandra.locator.SimpleStrategy' AND strategy_options:replication_factor=1")
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassandra-cql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
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: 2012-09-17 00:00:00.000000000 Z
12
+ date: 2012-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -211,7 +211,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: -2295217361893387719
214
+ hash: 161187349336626850
215
215
  required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  none: false
217
217
  requirements: