em_apn_manager 0.1.1 → 0.1.2
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/VERSION +1 -1
- data/em_apn_manager.gemspec +2 -2
- data/lib/em_apn_manager/cli.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: 22a2d78ae92c5bcc1203c78f879a0d288a7839dd
|
|
4
|
+
data.tar.gz: ca280d0f6bf0635a5a484bf03008e09645d66ca3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6485873de80a8434fff09065a9330769f2645fa42b1eeed444d5e28ee219d89584a9ffeba6fe06542ed89b4b4293d1741d0695bcb059da188ac949a0d032bec4
|
|
7
|
+
data.tar.gz: ef740e88117264f454b6b98c82a69f8626fc0d159cd743d9d9dfd7e492968453050b6ade226b756e9bde8b80d46afba44d59f759caeae308e086433bd09907cf
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/em_apn_manager.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "em_apn_manager"
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Michael He"]
|
|
12
|
-
s.date = "2013-07-
|
|
12
|
+
s.date = "2013-07-18"
|
|
13
13
|
s.description = "EventMachine multiple APNs connections Management Solution. You can use multiple cert and connection to apple's APNs server."
|
|
14
14
|
s.email = "m.he@skillupjapan.co.jp"
|
|
15
15
|
s.executables = ["em_apn_manager"]
|
data/lib/em_apn_manager/cli.rb
CHANGED
|
@@ -66,7 +66,7 @@ module EventMachine
|
|
|
66
66
|
def push_test_message
|
|
67
67
|
10.times do |i|
|
|
68
68
|
EM::ApnManager.push_notification({
|
|
69
|
-
env:
|
|
69
|
+
env: @environment,
|
|
70
70
|
cert: File.read(ENV["APN_CERT"]), # test cert
|
|
71
71
|
token: ["0F93C49EAAF3544B5218D2BAE893608C515F69B445279AB2B17511C37046C52B", "D42A6795D0C6C0E5F3CC762F905C3654D2A07E72D64CDEC1E2F74AC43C4CC440"].sample,
|
|
72
72
|
message: "Hahahaha I am going to spam you. #{i}-#{rand * 100}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: em_apn_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael He
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: eventmachine
|