quandl_cassandra 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bc0df0f0c07647fb15007367377eee4c6efb2da
4
- data.tar.gz: abe1ccba0e20931b726ec78f6fabf44a3f8b98b8
3
+ metadata.gz: 2dd6a558f3dc6ddc1ee7262b88b83593469cd951
4
+ data.tar.gz: 4c81fb39da744e0515fac16950cb5fa6411d45f5
5
5
  SHA512:
6
- metadata.gz: 79053352a9eb6de2a90157d7edacbb4f408b89bcbd1d942862d6e22d1f0a63b8a0d920c336e1f4cec118ee68b4e54a3a49207245a74171aff5ef78806cbad091
7
- data.tar.gz: 928f509e3427721a9384bfad9df01dfe4ccc6d5da21c7bf83d94db6e637c8717de27821da4e1130e278d7f391357855ee6a2e544b725b4f6caa2a7adac32d53c
6
+ metadata.gz: ff6e14326f938ba7d69cdde784467ea48af02d245aba51a02fa2f176818138d67def93a23efcccccfbc8f20aa3d5c750e43ad0c6c82c1b257c8029d08518f340
7
+ data.tar.gz: 0fa35d79bf3401eedbb9d96ff26c3be7aa5f571e5c3d25be4b858d98d6cf6ed5e3a0f279f4cf7d60ba90292d80bf00fe2bb15a908cd574e8acf2968d6534c257
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -67,7 +67,7 @@ module Quandl::Cassandra::Base::Schema
67
67
  SELECT * FROM system.schema_columnfamilies WHERE
68
68
  keyspace_name='#{Quandl::Cassandra.configuration.keyspace}'
69
69
  AND columnfamily_name = '#{table_name}'
70
- }).first
70
+ }, 'ONE').first
71
71
  end
72
72
 
73
73
  private
@@ -5,10 +5,10 @@ Quandl::Cassandra.configure do |c|
5
5
  end
6
6
 
7
7
  # check for keyspace
8
- keyspace_exists = Quandl::Cassandra::Base.execute("SELECT * FROM system.schema_keyspaces WHERE keyspace_name = 'quandl_cassandra_test';")
8
+ keyspace_exists = Quandl::Cassandra::Base.execute("SELECT * FROM system.schema_keyspaces WHERE keyspace_name = 'quandl_cassandra_test';", 'one')
9
9
 
10
10
  # create keyspace if not exists
11
- Quandl::Cassandra::Base.execute("CREATE KEYSPACE quandl_cassandra_test WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor': 1};") unless keyspace_exists
11
+ Quandl::Cassandra::Base.execute("CREATE KEYSPACE quandl_cassandra_test WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor': 1};", 'one') unless keyspace_exists
12
12
 
13
13
  # reconnect to keyspace
14
14
  Quandl::Cassandra.configuration.keyspace = 'quandl_cassandra_test'
@@ -20,7 +20,7 @@ begin
20
20
  id uuid PRIMARY KEY,
21
21
  content text,
22
22
  author varchar,
23
- updated_at timestamp );")
23
+ updated_at timestamp );", 'one')
24
24
  rescue
25
25
  end
26
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_cassandra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-06 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake