moromi-aws-sns 0.9.0 → 0.10.0

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: 7411d2d932b5104455138591c283f22701a26bc6
4
- data.tar.gz: c4c309aca0efaf83f95d59ab7ac13a5ac74e9025
3
+ metadata.gz: 3baab0c1c05d47236977a93d32462c195497be00
4
+ data.tar.gz: b9947afddc979487d1ceb5c4654b2256e79c2cfb
5
5
  SHA512:
6
- metadata.gz: 954c3ba7299d5e8b1a3b9e219f5ea3f8c0d421f71f843d83dbbc02d166bd60a2a62e0c4de2dfb3d75cdf06d78504aa92dae405180219f459ac59f01b96813d79
7
- data.tar.gz: a97062edbc599ef4c9a9eadab178b6feef3bfccf0b9227287b4dfce46bb7966b587513eb49bf68cb6b3d829a4a803e207ea412bb9b8607543dacbd7b73cf8153
6
+ metadata.gz: f360b9ad84439904b3101fd04f8717daf6d74b715e066209642b39abaa050c750c36239b59b16b5d816ca357dab9c39f377e0d0e254e5a36958c624ed70e4abe
7
+ data.tar.gz: 76b14ec220be6e4eb11f6ad9a9807051ecc03e4fb8d882643b2560cd99d7aa40954e1aee212a7fde8229edbea92b6a81f0bb37f541e2582634f8ac7e4587e21d
@@ -31,10 +31,10 @@ module Moromi
31
31
 
32
32
  def self.build_from_hash(hash)
33
33
  apns_klass = hash.dig(:apns, :name)&.safe_constantize
34
- apns = apns_klass&.build_from_hash(hash.dig(:apns, :data))
34
+ apns = apns_klass&.build_from_hash(hash.dig(:apns, :data).deep_symbolize_keys)
35
35
 
36
36
  gcm_klass = hash.dig(:gcm, :name)&.safe_constantize
37
- gcm = gcm_klass&.build_from_hash(hash.dig(:gcm, :data))
37
+ gcm = gcm_klass&.build_from_hash(hash.dig(:gcm, :data).deep_symbolize_keys)
38
38
 
39
39
  new(apns: apns, gcm: gcm)
40
40
  end
@@ -1,7 +1,7 @@
1
1
  module Moromi
2
2
  module Aws
3
3
  module Sns
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moromi-aws-sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi