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 +4 -4
- data/VERSION +1 -1
- data/lib/quandl/cassandra/base/schema.rb +1 -1
- data/spec/config/cassandra.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dd6a558f3dc6ddc1ee7262b88b83593469cd951
|
4
|
+
data.tar.gz: 4c81fb39da744e0515fac16950cb5fa6411d45f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff6e14326f938ba7d69cdde784467ea48af02d245aba51a02fa2f176818138d67def93a23efcccccfbc8f20aa3d5c750e43ad0c6c82c1b257c8029d08518f340
|
7
|
+
data.tar.gz: 0fa35d79bf3401eedbb9d96ff26c3be7aa5f571e5c3d25be4b858d98d6cf6ed5e3a0f279f4cf7d60ba90292d80bf00fe2bb15a908cd574e8acf2968d6534c257
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.1
|
data/spec/config/cassandra.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|