pntfr 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/pntfr/version.rb +2 -4
- data/lib/pntfr/virtual_session/ios.rb +2 -2
- data/test/pntfr/virtual_session/ios_test.rb +4 -3
- 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: 81121c5693dc0883a2cc0ac54c11b5e463d5c38f
|
4
|
+
data.tar.gz: 78fe7b37a43277c09b070fe57ea31476f9f355fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3edc5e879d1f19dddad721ebe06c5256d666a997d9e20e6efc0e08f84cf526d28cb62a8352bfbfaf358a9b69e97248680406e0b93d98f65d448e3c1b5f0419bf
|
7
|
+
data.tar.gz: f00892e3d4d9f97447bf947c43162320c992a43ebb56da5874e48c0ccfffef6fb4c5e20896a24205504965de37a75d11334437d03964e2294e448a99a4a75605
|
data/README.md
CHANGED
@@ -74,7 +74,7 @@ vsession.notify
|
|
74
74
|
# send notifications with custom content (an extra optional parameter to #msg)
|
75
75
|
vsession= Pntfr::Notifier.to(session)
|
76
76
|
vsession.msg(
|
77
|
-
{:title => '
|
77
|
+
{:title => 'Short Title'},
|
78
78
|
{
|
79
79
|
:extra1 => 'extra one',
|
80
80
|
:extra_2 => 'extra 2',
|
data/lib/pntfr/version.rb
CHANGED
@@ -54,9 +54,10 @@ module Pntfr
|
|
54
54
|
refute_nil ios_notifs, "A notification should have been delivered for #{@push_id}"
|
55
55
|
ios_notif= ios_notifs.last
|
56
56
|
assert_equal 'Test Title', ios_notif[:alert]
|
57
|
-
|
58
|
-
assert_equal 'extra
|
59
|
-
assert_equal
|
57
|
+
other= ios_notif[:other]
|
58
|
+
assert_equal 'extra one', other[:'acme-extra1']
|
59
|
+
assert_equal 'extra 2', other[:'acme-extra_2']
|
60
|
+
assert_equal({lastkey: 'last value'}, other[:'acme-last-extra'])
|
60
61
|
end
|
61
62
|
end
|
62
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pntfr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apns
|