moromi-aws-sns 0.10.0 → 0.11.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: 3baab0c1c05d47236977a93d32462c195497be00
4
- data.tar.gz: b9947afddc979487d1ceb5c4654b2256e79c2cfb
3
+ metadata.gz: 1e05640c122172894ce9ece2ce55a4423c6a07e0
4
+ data.tar.gz: 46f9d345ae9f7effa2659b4c4000c8939ba180b3
5
5
  SHA512:
6
- metadata.gz: f360b9ad84439904b3101fd04f8717daf6d74b715e066209642b39abaa050c750c36239b59b16b5d816ca357dab9c39f377e0d0e254e5a36958c624ed70e4abe
7
- data.tar.gz: 76b14ec220be6e4eb11f6ad9a9807051ecc03e4fb8d882643b2560cd99d7aa40954e1aee212a7fde8229edbea92b6a81f0bb37f541e2582634f8ac7e4587e21d
6
+ metadata.gz: a7cda9d8976602947f041d40881914b0203c25cca42e72f015d09e8a804705477858f82c3ef1406a5808311c294578c220d2c8298ef1156f5e7b06aeebf2d25a
7
+ data.tar.gz: 4fe8dd6b75105bd64063795c4aecfe3d1375433364a53587a52f0035b241a97daea83d841080841eb933b95a0e80d384ccbe1a1640efb80f1e66c068bde7bd14
@@ -42,7 +42,9 @@ module Moromi
42
42
 
43
43
  def to_message_json
44
44
  aps = to_hash
45
- %i[custom_data type].each { |k| aps.delete(k) }
45
+ %i[custom_data type content_available mutable_content].each { |k| aps.delete(k) }
46
+ aps['content-available'] = @content_available
47
+ aps['mutable-content'] = @mutable_content
46
48
  @custom_data.merge({aps: aps}).to_json
47
49
  end
48
50
 
@@ -1,7 +1,7 @@
1
1
  module Moromi
2
2
  module Aws
3
3
  module Sns
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moromi-aws-sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-04 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sns