cql-rb 1.0.0.pre4 → 1.0.0.pre5

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,14 +14,14 @@ describe 'Regressions' do
14
14
  end
15
15
 
16
16
  before do
17
- client.start!
17
+ client.connect
18
18
  client.execute(%(CREATE KEYSPACE cql_rb_client_spec WITH REPLICATION = {'CLASS': 'SimpleStrategy', 'replication_factor': 1}))
19
19
  client.use('cql_rb_client_spec')
20
20
  end
21
21
 
22
22
  after do
23
23
  client.execute('DROP KEYSPACE cql_rb_client_spec')
24
- client.shutdown!
24
+ client.close
25
25
  end
26
26
 
27
27
  it 'handles multibyte characters in prepared statements' do
@@ -6,6 +6,12 @@ require 'cql'
6
6
 
7
7
  ENV['CASSANDRA_HOST'] ||= 'localhost'
8
8
 
9
+ SimpleCov.start do
10
+ add_group 'Source', 'lib'
11
+ add_group 'Unit tests', 'spec/cql'
12
+ add_group 'Integration tests', 'spec/integration'
13
+ add_group 'Test support', 'spec/support'
14
+ end
9
15
 
10
16
  require 'support/bytes_helper'
11
17
  require 'support/await_helper'
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.0.0.pre4
4
+ version: 1.0.0.pre5
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-03-30 00:00:00.000000000 Z
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A pure Ruby CQL3 driver for Cassandra
15
15
  email:
@@ -21,6 +21,7 @@ files:
21
21
  - lib/cql/client.rb
22
22
  - lib/cql/future.rb
23
23
  - lib/cql/io/io_reactor.rb
24
+ - lib/cql/io/node_connection.rb
24
25
  - lib/cql/io.rb
25
26
  - lib/cql/protocol/decoding.rb
26
27
  - lib/cql/protocol/encoding.rb