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 +4 -4
- data/lib/moromi/aws/sns/message/apns.rb +3 -1
- data/lib/moromi/aws/sns/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e05640c122172894ce9ece2ce55a4423c6a07e0
|
4
|
+
data.tar.gz: 46f9d345ae9f7effa2659b4c4000c8939ba180b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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-
|
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
|