aws-sdk-dynamodb-attribute-deserializer 1.0 → 1.0.2

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
  SHA256:
3
- metadata.gz: dd1a922865e0a638e8cf4c682a8dd9738bade3f8173b4d3e750b83116cf3e9fb
4
- data.tar.gz: c73c72546ba98aa0124f80cc41f8fcd9a821b6d3c6c467144aa3e4ef2255d015
3
+ metadata.gz: 85b1d39e60dfe058779e9bfb930f8561b22a799dbc6b9e26c0eeb11fe336010e
4
+ data.tar.gz: 6b9cc8102f477e78f9f94f15d6ef29da09f585aca1d202f11cc5ba20b79656af
5
5
  SHA512:
6
- metadata.gz: 77276857ff8f7914e2c4f1036711705fd9836fbc864bf2b6f98b8c24ca60ad294a24427d56ccf17c28c2e54ab91b5d5bd147f1da45714a3b6fad762df97a27c9
7
- data.tar.gz: c12d8e795ce3e2976f3fbe4f9029884bda984e621bba1c835e3adf22f62981f16496bb6ea284a7c43a92b3eb8274b9e8446400d816e727f122ee0f10e7b5e78b
6
+ metadata.gz: 74b9f295d6c4083ed6bcd8d54a6595a46f38fa0b80b818fec2bcbae5a1ece8b793421ea3785a56254e6f7f748aec8abb029ea5d04cb694d8b236d7d4a358756b
7
+ data.tar.gz: 36f424a3fbec85352934ad101e47dbc336a22630a51c88329eccf8c40cf4dff7e5dfbffc80107f023fc4d9c6d808eee15118599f550cbf136ae897d45f729511
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws-sdk-dynamodb-attribute-deserializer (1.0)
4
+ aws-sdk-dynamodb-attribute-deserializer (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "aws-sdk-dynamodb-attribute-deserializer"
5
- spec.version = '1.0'
5
+ spec.version = '1.0.2'
6
6
  spec.authors = ["Julien D."]
7
7
  spec.email = ["julien@pocketsizesun.com"]
8
8
 
@@ -26,9 +26,9 @@ module Aws
26
26
  when 'M'
27
27
  value.transform_values { |item| translate(item) }
28
28
  when 'S' then value.to_s
29
- when 'B' then Base64.decode64(value)
29
+ when 'B' then StringIO.new(Base64.decode64(value))
30
30
  when 'BS'
31
- Set.new(value.map { |item| Base64.decode64(item) })
31
+ Set.new(value.map { |item| StringIO.new(Base64.decode64(item)) })
32
32
  when 'NULL' then nil
33
33
  when 'BOOL' then value
34
34
  else value
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb-attribute-deserializer
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien D.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-06 00:00:00.000000000 Z
11
+ date: 2021-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec