cloud_five_push 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/cloud_five_push/version.rb +1 -1
- data/lib/cloud_five_push.rb +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64f5693c96e7e96fcee16132939f4ded91a66250
|
|
4
|
+
data.tar.gz: 05a51721a90751a5b308aa561888cad6d29f590a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fd82b899f638447e42341a2c3123b01a43fffa7a49e23e8ca867650cf23bf1ea2dbd442eb39a31468735b3f7f97e3b386a8b80a66829d9c21e7b7dc3a97c531
|
|
7
|
+
data.tar.gz: bd466c5b130ca3f0bc7341a0cd1a43b445f7af82502016f792dac4386f8078d49f27f4623ce26d7c048c537baf80be50963a3ebc29dedd77a245103a94c62cdb
|
data/README.md
CHANGED
|
@@ -61,7 +61,7 @@ By default, all iOS notifications will be sent through the production APNs. To
|
|
|
61
61
|
# set this globally, good for use in a local development server
|
|
62
62
|
CloudFivePush.aps_environment = :development
|
|
63
63
|
|
|
64
|
-
# or set it
|
|
64
|
+
# or set it one-off
|
|
65
65
|
notification = CloudFivePush::Notification.new
|
|
66
66
|
notification.alert = "testing, testing, 1 2 3"
|
|
67
67
|
notification.aps_environment = :development
|
data/lib/cloud_five_push.rb
CHANGED
|
@@ -25,7 +25,6 @@ module CloudFivePush
|
|
|
25
25
|
notification.broadcast = true
|
|
26
26
|
notification.alert = alert
|
|
27
27
|
notification.scheduled_at = scheduled_at
|
|
28
|
-
notification.aps_environment = @aps_environment
|
|
29
28
|
notification.notify!
|
|
30
29
|
end
|
|
31
30
|
|
|
@@ -34,7 +33,6 @@ module CloudFivePush
|
|
|
34
33
|
notification.alert = alert
|
|
35
34
|
notification.user_identifiers = user_identifiers
|
|
36
35
|
notification.scheduled_at = scheduled_at
|
|
37
|
-
notification.aps_environment = @aps_environment
|
|
38
36
|
notification.notify!
|
|
39
37
|
end
|
|
40
38
|
end
|