aws-sdk-dynamodb 1.0.0.rc3 → 1.0.0.rc4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5dc1d10e7fb1085a42090a816554a54053f4485
|
4
|
+
data.tar.gz: b3710b32a319153237f1fc84ce7dd0ee31e80d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4de91605ff66eaeaacc1645f1d0e58abc137717ecd35807f697205a08bf574eba558e264d6b9de9b43158d2cc8a97c0c699ab5511447c89def332d3e85b8128
|
7
|
+
data.tar.gz: 32b6d5253ad07dff0265123b06d2377b77526cb34884c9c57f618ee8f887a7b74f829fc650fb0940e56101a3ee469f319e9d56696ec2288a7493a6b4929dc38a
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
require 'aws-sdk-dynamodb/plugins/extended_retries.rb'
|
@@ -48,6 +49,7 @@ module Aws::DynamoDB
|
|
48
49
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
50
|
add_plugin(Aws::Plugins::StubResponses)
|
50
51
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
52
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
51
53
|
add_plugin(Aws::Plugins::SignatureV4)
|
52
54
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
53
55
|
add_plugin(Aws::DynamoDB::Plugins::ExtendedRetries)
|
@@ -3541,7 +3543,7 @@ module Aws::DynamoDB
|
|
3541
3543
|
params: params,
|
3542
3544
|
config: config)
|
3543
3545
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
3544
|
-
context[:gem_version] = '1.0.0.
|
3546
|
+
context[:gem_version] = '1.0.0.rc4'
|
3545
3547
|
Seahorse::Client::Request.new(handlers, context)
|
3546
3548
|
end
|
3547
3549
|
|
@@ -162,10 +162,9 @@ their types specified, e.g. `{ s: 'abc' }` instead of simply
|
|
162
162
|
def structure(ref, values)
|
163
163
|
shape = ref.shape
|
164
164
|
if values.is_a?(Struct)
|
165
|
-
values.members.each do |key|
|
166
|
-
|
165
|
+
values.members.each.with_object(values.class.new) do |key, st|
|
166
|
+
st[key] = translate(shape.member(key), values[key])
|
167
167
|
end
|
168
|
-
values
|
169
168
|
elsif values.is_a?(Hash)
|
170
169
|
values.each.with_object({}) do |(key, value), hash|
|
171
170
|
hash[key] = translate(shape.member(key), value)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dynamodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|