gotime-cassandra_object 2.12.2 → 2.12.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'gotime-cassandra_object'
5
- s.version = '2.12.2'
5
+ s.version = '2.12.3'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
  s.authors = ["Michael Koziarski", "gotime"]
@@ -4,7 +4,9 @@ module CassandraObject
4
4
  include ActiveModel::AttributeMethods
5
5
 
6
6
  included do
7
- attribute_method_suffix("", "=")
7
+ if ActiveModel::VERSION::STRING < '3.2'
8
+ attribute_method_suffix("", "=")
9
+ end
8
10
 
9
11
  # (Alias for the protected read_attribute method).
10
12
  def [](attr_name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotime-cassandra_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.2
4
+ version: 2.12.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: