apns_simple 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/apns_simple/notification.rb +1 -1
- data/lib/apns_simple/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af84d5bd9fa18a32957e9eb0008b56ed89a9bda3
|
4
|
+
data.tar.gz: 7a119bf86cc8bb29c224e85f0f2dd20432914491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0256e15adc51a8feda1f0eef23bd6d861da6b13badf79c4c5bafeac68970814304b68bafb9488914dff331ad1f01cfeaa7ca919ad3843b177aaa565d212dcd2c
|
7
|
+
data.tar.gz: a8dd256f9aaeae21b8bb9d380856ff81a7f8793ffbe5bfaef82abe7d5131b226f65214c7e5a0d52a200af740db3e768f32cd851ed75c9f0166937300b68f1da7
|
data/.gitignore
CHANGED
@@ -19,7 +19,7 @@ module ApnsSimple
|
|
19
19
|
payload[:aps][:alert] = alert if alert
|
20
20
|
payload[:aps][:badge] = badge if badge
|
21
21
|
payload[:aps][:sound] = sound if sound
|
22
|
-
payload[:aps][
|
22
|
+
payload[:aps]['content-available'] = 1 if content_available
|
23
23
|
|
24
24
|
packed_message = payload.to_json.gsub(/\\u([\da-fA-F]{4})/) {|m| [$1].pack("H*").unpack("n*").pack("U*")}
|
25
25
|
packed_token = [token.gsub(/[\s|<|>]/,'')].pack('H*')
|
data/lib/apns_simple/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apns_simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Voronkov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.4.
|
83
|
+
rubygems_version: 2.4.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Simple Apple Push Notifications sender
|