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 +4 -4
- data/lib/ocean-dynamo/persistence.rb +3 -3
- data/lib/ocean-dynamo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d8cb43670b0a2cb8ece82990e32f69a7cba4a0c
|
4
|
+
data.tar.gz: b8bd1b152271301e668e0afd757f42c7cf7fd707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[
|
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[
|
324
|
-
type: metadata[
|
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
|
data/lib/ocean-dynamo/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|