sessionm-cassandra_object 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,11 @@ module CassandraObject
24
24
  if @@schema
25
25
  conn.instance_variable_set '@schema', @@schema
26
26
  else
27
- @@schema = conn.schema
27
+ begin
28
+ @@schema = conn.schema
29
+ rescue CassandraThrift::InvalidRequestException => e
30
+ # initially the schema doesn't exists
31
+ end
28
32
  end
29
33
  end
30
34
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sessionm-cassandra_object'
5
- s.version = '2.4.3'
5
+ s.version = '2.4.4'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 4
8
- - 3
9
- version: 2.4.3
8
+ - 4
9
+ version: 2.4.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Koziarski
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-05-20 00:00:00 -04:00
19
+ date: 2013-05-21 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency