aws-sdk-dynamodb 1.0.0.rc6 → 1.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/attribute_value.rb +2 -0
- data/lib/aws-sdk-dynamodb/client.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aeb9c5aed2cd54b2dab70e50107cdb54e0eb1e5
|
4
|
+
data.tar.gz: d289333afc178d7b470c6e66e94a38b5472cd6a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6197ccc18d58b8677a99325ae3a1d5e652a72d5277fcecfc3e4b52b25576ebf6c35649d2a3bde4a44f247edf54a9647b4f277fd7137597e80813fc147932f9
|
7
|
+
data.tar.gz: 8fffb70ad7d22036e9074103df7c0ce16e3203ec70b48e61c4c21248d036173ec1af2cbe4a35b1586dd57a63ca8a9ccef215b317eef04b184cc7e71f932b2798
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
private
|
52
52
|
|
53
53
|
def format_set(set)
|
54
|
+
return { es: [] } if set.empty?
|
54
55
|
case set.first
|
55
56
|
when String, Symbol then { ss: set.map(&:to_s) }
|
56
57
|
when STRINGY_TEST then { ss: set.map(&:to_str) }
|
@@ -82,6 +83,7 @@ module Aws
|
|
82
83
|
when :ss then Set.new(value)
|
83
84
|
when :ns then Set.new(value.map { |n| BigDecimal.new(n) })
|
84
85
|
when :bs then Set.new(value.map { |b| StringIO.new(b) })
|
86
|
+
when :es then Set.new
|
85
87
|
else
|
86
88
|
raise ArgumentError, "unhandled type #{type.inspect}"
|
87
89
|
end
|
@@ -3543,7 +3543,7 @@ module Aws::DynamoDB
|
|
3543
3543
|
params: params,
|
3544
3544
|
config: config)
|
3545
3545
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
3546
|
-
context[:gem_version] = '1.0.0.
|
3546
|
+
context[:gem_version] = '1.0.0.rc7'
|
3547
3547
|
Seahorse::Client::Request.new(handlers, context)
|
3548
3548
|
end
|
3549
3549
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
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.rc7
|
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-05-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc12
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc12
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|