ocean-dynamo 0.7.3 → 0.7.4

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: f418dfa278f8ffe7bf0cb301c225f88c308cefe0
4
- data.tar.gz: 28ce6d6994c0a7d00853528317f93ddc7696997b
3
+ metadata.gz: 1d8cb43670b0a2cb8ece82990e32f69a7cba4a0c
4
+ data.tar.gz: b8bd1b152271301e668e0afd757f42c7cf7fd707
5
5
  SHA512:
6
- metadata.gz: 5e834a46af4e8d65eeae8d67fa458d38f20c47b457f02c1eb0780d8c9f41b970405e57f6af9b70bd778715f0466f7c52f94102a4c55476fbc464d7644169be90
7
- data.tar.gz: 9aec3d03f7e3587c768a7bec76048930ee9aa801932cc6ee6a8d0352a80d641a48d2af48c2a0c4856ee28391bf4f93accc1d99ac9830914aae15eb19c8ecc628
6
+ metadata.gz: dc8d6bcfb5ae2629e6f26b0fa9724c2e13f968ac961e1ccb7b18446c9e893f48dcadeab505d91349407b51fdf08fa04f5a9eee7d06f099e5d0817d6554b64101
7
+ data.tar.gz: 89b36f8c68311ede6a11c35ce94bfb634c310b1653f3fb5a6ddab81eabaef721d3facddddb933a6c9257c14154fd40de0187425f24e51e86a4060afb71ffef5e
@@ -312,7 +312,7 @@ module OceanDynamo
312
312
  def dynamo_deserialize_attributes(hash) # :nodoc:
313
313
  result = Hash.new
314
314
  fields.each do |attribute, metadata|
315
- next if metadata[:no_save]
315
+ next if metadata['no_save']
316
316
  result[attribute] = deserialize_attribute(hash[attribute], metadata)
317
317
  end
318
318
  assign_attributes(result)
@@ -320,8 +320,8 @@ module OceanDynamo
320
320
 
321
321
 
322
322
  def serialize_attribute(attribute, value, metadata=fields[attribute],
323
- target_class: metadata[:target_class],
324
- type: metadata[:type])
323
+ target_class: metadata['target_class'],
324
+ type: metadata['type'])
325
325
  return nil if value == nil
326
326
  case type
327
327
  when :reference
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-10 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.2.2
210
+ rubygems_version: 2.4.6
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: OceanDynamo is a massively scalable Amazon DynamoDB near drop-in replacement