gotime-cassandra_object 4.7.0 → 4.7.1

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 = '4.7.0'
5
+ s.version = '4.7.1'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
  s.authors = ["Michael Koziarski", "gotime"]
@@ -98,10 +98,8 @@ module CassandraObject
98
98
  end
99
99
 
100
100
  def typecast_attributes(object, attributes)
101
- #attributes = attributes.symbolize_keys
102
- Hash[attribute_definitions.map { |k, attribute_definition|
103
- [k.to_s, attribute_definition.instantiate(object, attributes[k.to_sym])]
104
- }]
101
+ attributes = attributes.symbolize_keys
102
+ Hash[attribute_definitions.map { |k, attribute_definition| [k.to_s, attribute_definition.instantiate(object, attributes[k])] }]
105
103
  end
106
104
 
107
105
  def write_option_string(ignore_batching = false)
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: 4.7.0
4
+ version: 4.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: