quandl_cassandra 1.1.3 → 1.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0ea7008c85dfdf613b3c4a832caebb39612d9e5
|
4
|
+
data.tar.gz: 601fd551e63a0fe03f81717860856234e1de5ae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f33f521644c7c2d46e407b7d9de0066b4c420a755bcf932b5e911f85fd0bed72124d91bd3c4c54d8120a597141464c878727aeea02a8c2600405f4ffe6366d
|
7
|
+
data.tar.gz: fee4eecf940a3eeceb6b82409a8c11f473b3822f9c30585188292991a3893839166d5118937ed93bc1a7771257ba7752db165d7ea77bd6a8878930ef46b45688
|
@@ -26,6 +26,8 @@ module Quandl::Cassandra::Base::Connection
|
|
26
26
|
with_connection do |c|
|
27
27
|
c.async.execute( statement, query_consistency )
|
28
28
|
end
|
29
|
+
rescue Cql::QueryError => e
|
30
|
+
raise "#{e.class} #{e.message} '#{statement}'"
|
29
31
|
end
|
30
32
|
|
31
33
|
def execute(statement, qconsistency = nil)
|
@@ -33,6 +35,8 @@ module Quandl::Cassandra::Base::Connection
|
|
33
35
|
with_connection do |c|
|
34
36
|
c.execute( statement, qconsistency )
|
35
37
|
end
|
38
|
+
rescue Cql::QueryError => e
|
39
|
+
raise "#{e.class} #{e.message} '#{statement}'"
|
36
40
|
end
|
37
41
|
|
38
42
|
def with_connection(&block)
|
data/quandl_cassandra.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
|
29
29
|
s.add_runtime_dependency "facter", "~> 1.7.3"
|
30
30
|
s.add_runtime_dependency "scope_composer", "~> 0.4"
|
31
|
-
s.add_runtime_dependency "quandl_data", "~> 1.
|
31
|
+
s.add_runtime_dependency "quandl_data", "~> 1.2"
|
32
32
|
s.add_runtime_dependency 'cql-rb', '~> 1.1'
|
33
33
|
|
34
34
|
end
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Hilscher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - ~>
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '1.
|
145
|
+
version: '1.2'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - ~>
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '1.
|
152
|
+
version: '1.2'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: cql-rb
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|