sessionm-cassandra_object 4.0.25 → 4.0.26

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: a54d7f272faba060a558554103a88d93b2ee71d7
4
- data.tar.gz: 3106dcca29174adffd804c530f3e173451f5d7a7
3
+ metadata.gz: c95d37c29798d4b4b4a205482e29246e5704fe10
4
+ data.tar.gz: 99e1416d2948790d7afa64b111321349f3c1c440
5
5
  SHA512:
6
- metadata.gz: dec4f379e1723a60413663106cd88febf0bcb5f158c8c85578667d5c1947459691a29cc5ece1e1f48617a49f98d2effb0c962a7dd3e625bcc7636e888e8228b7
7
- data.tar.gz: 4f47257c7f06c55465d4ebb4af69f4aa8dad457cc58a213180ff7e0b232fa4e48df2fbf07d01f02a38ac40fbf1ae91df49691f25fe7cdc17e2bb5f238609fd9d
6
+ metadata.gz: 66d3159473f341ec86f13c8e51b9c9951feb0a23ee24c2e3fda3504a1740320322798252528fae9ec76a16fabf864648a4ecb92ec18bbf9c446167e384e4cb60
7
+ data.tar.gz: 61a629a5df9908850bdcaba861044a745d9873e250a28c7e40e9fce33e253f48e9e0822e88699cef0c64cdea809b60d52f27fabdd502a9ad08a4071bc6cbcb4d
@@ -269,6 +269,7 @@ module CassandraObject
269
269
  if reload
270
270
  remove_instance_variable(:@schema_cache) if instance_variable_defined?(:@schema_cache)
271
271
  remove_instance_variable(:@column_families) if instance_variable_defined?(:@column_families)
272
+ self.cluster.refresh_schema
272
273
  end
273
274
  end
274
275
 
@@ -299,9 +300,7 @@ CREATE TABLE "#{column_family.name}" (
299
300
  CQL
300
301
 
301
302
  self.execute(query)
302
-
303
- self.column_families[column_family.name.to_s] = column_family
304
- self.cluster.refresh_schema
303
+ self.schema(true)
305
304
  end
306
305
 
307
306
  def key_type(column_family)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sessionm-cassandra_object'
5
- s.version = '4.0.25'
5
+ s.version = '4.0.26'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sessionm-cassandra_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.25
4
+ version: 4.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-12 00:00:00.000000000 Z
12
+ date: 2017-12-04 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Cassandra ActiveModel
15
15
  email: doug@sessionm.com
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.4.8
154
+ rubygems_version: 2.4.6
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Cassandra ActiveModel