apns_gatling 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7fcd01204b0843e249983f293fed891516c2b1ac
4
+ data.tar.gz: 93a44a765b925442c7a57b8ba45bee5f5038a2fb
5
+ SHA512:
6
+ metadata.gz: cc6404cc32db0863b656084b2c0530cf768225e38f5b49e539151f84864799c0327ce7a49915747f12b5bfe2a144e6d7c7321565581326341bb43ae3c690c5f1
7
+ data.tar.gz: 632e7558e5ea4acdedb694c59f4ff1ae97870751ec4ee70e91587871eddab64354e2126b3f33c7f95d553015a7d8c0fda998c824afd8d9cab7cc2e51b7944572
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.2.3
5
+ before_install: gem install bundler -v 1.13.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://gems.ruby-china.org'
2
+
3
+ # Specify your gem's dependencies in apns_gatling.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Cloud
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # ApnsGatling
2
+
3
+ ApnsGatling is a token based authenitcation APNs HTTP/2 gem.
4
+ [Communicating with APNs via HTTP2](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) is the specification.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'apns_gatling'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install apns_gatling
21
+
22
+ ## Usage
23
+
24
+ ```
25
+ require 'apns_gatling'
26
+ require 'openssl'
27
+
28
+ team_id = '<Your team id>'
29
+ auth_key_id = '<Your auth key id>'
30
+ auth_key_file = '<Your p8 cert file>'
31
+ ecdsa_key = OpenSSL::PKey::EC.new File.read auth_key_file
32
+
33
+ def message(body)
34
+ msg = ApnsGatling::Message.new '<device token>'
35
+ msg.alert = {title: "test", body: body}
36
+ msg.topic = '<Your App bundle ID>'
37
+ msg
38
+ end
39
+
40
+ client = ApnsGatling::Client.new team_id, auth_key_id, ecdsa_key, true
41
+
42
+ 6.times do |i|
43
+ puts "num #{i}"
44
+ client.push(message("test #{i}")) do |r|
45
+ puts "num #{i} success: #{r.ok?}, error: #{r.error}"
46
+ end
47
+ end
48
+
49
+ client.join
50
+ ```
51
+
52
+ ## Development
53
+
54
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
55
+
56
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
57
+
58
+ ## Contributing
59
+
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Codezerker/apns_gatling.
61
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'apns_gatling/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "apns_gatling"
8
+ spec.version = ApnsGatling::VERSION
9
+ spec.licenses = ["MIT"]
10
+ spec.authors = ["Cloud"]
11
+ spec.email = ["cloudcry@gmail.com"]
12
+
13
+ spec.summary = %q{A Ruby Token Based Authentication APNs HTTP/2 gem.}
14
+ spec.description = %q{ApnsGatling is a token based authenitcation APNs HTTP/2 gem. }
15
+ spec.homepage = "https://github.com/cloudorz/apns_gatling"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency "http-2", "~> 0.8.3"
25
+ spec.add_dependency "jwt", "~> 1.5"
26
+ spec.add_dependency "json", "~> 2.0"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.13"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "minitest", "~> 5.0"
31
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "apns_gatling"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,25 @@
1
+ require 'apns_gatling'
2
+ require 'openssl'
3
+
4
+ team_id = '8PJZBHFZQF'
5
+ auth_key_id = 'AKE6P98TYE'
6
+ auth_key_file = './APNSAuthKey_AKE6P98TYE.p8'
7
+ ecdsa_key = OpenSSL::PKey::EC.new File.read auth_key_file
8
+
9
+ def message(body)
10
+ msg = ApnsGatling::Message.new '4f078418a622070830f4a93d4fa2f53ae23f960cb6131888694de453abf5e694'
11
+ msg.alert = {title: "test", body: body}
12
+ msg.topic = 'com.liulishuo.PhonicsCourseDemo'
13
+ msg
14
+ end
15
+
16
+ client = ApnsGatling::Client.new team_id, auth_key_id, ecdsa_key, true
17
+
18
+ 6.times do |i|
19
+ puts "num #{i}"
20
+ client.push(message("test #{i}")) do |r|
21
+ puts "num #{i} success: #{r.ok?}, error: #{r.error}"
22
+ end
23
+ end
24
+
25
+ client.join
@@ -0,0 +1,10 @@
1
+ require "apns_gatling/version"
2
+ require "apns_gatling/apns_client"
3
+ require "apns_gatling/jwt_token"
4
+ require "apns_gatling/message"
5
+ require "apns_gatling/request"
6
+ require "apns_gatling/response"
7
+
8
+ module ApnsGatling
9
+ # Your code goes here...
10
+ end
@@ -0,0 +1,185 @@
1
+ require 'openssl'
2
+ require 'http/2'
3
+ require 'socket'
4
+
5
+ module ApnsGatling
6
+ APPLE_DEVELOPMENT_SERVER = "api.development.push.apple.com"
7
+ APPLE_PRODUCTION_SERVER = "api.push.apple.com"
8
+
9
+ class Client
10
+ DRAFT = 'h2'.freeze
11
+
12
+ attr_reader :token_maker, :token, :sandbox
13
+
14
+ def initialize(team_id, auth_key_id, ecdsa_key, sandbox = false)
15
+ @token_maker = Token.new(team_id, auth_key_id, ecdsa_key)
16
+ @sandbox = sandbox
17
+ @mutex = Mutex.new
18
+ @cv = ConditionVariable.new
19
+ init_vars
20
+ end
21
+
22
+ def init_vars
23
+ @mutex.synchronize do
24
+ @socket.close if @socket && !@socket.closed?
25
+ @socket = nil
26
+ @socket_thread = nil
27
+ @first_data_sent = false
28
+ @token_generated_at = 0
29
+ @blocking = true
30
+ end
31
+ end
32
+
33
+ def provider_token
34
+ timestamp = Time.new.to_i
35
+ if timestamp - @token_generated_at > 3550
36
+ @mutex.synchronize do
37
+ @token_generated_at = timestamp
38
+ @token = @token_maker.new_token
39
+ end
40
+ @token
41
+ else
42
+ @token
43
+ end
44
+ end
45
+
46
+ def host
47
+ if sandbox
48
+ APPLE_DEVELOPMENT_SERVER
49
+ else
50
+ APPLE_PRODUCTION_SERVER
51
+ end
52
+ end
53
+
54
+ # push message
55
+ def push(message)
56
+ request = Request.new(message, provider_token, host)
57
+ response = Response.new
58
+ ensure_socket_open
59
+
60
+ begin
61
+ stream = connection.new_stream
62
+ rescue StandardError => e
63
+ close
64
+ raise e
65
+ end
66
+
67
+ stream.on(:close) do
68
+ @mutex.synchronize do
69
+ @token_generated_at = 0 if response.status == '403' && response.error[:reason] == 'ExpiredProviderToken'
70
+ if @blocking
71
+ @blocking = false
72
+ @cv.signal
73
+ end
74
+ end
75
+ yield response
76
+ end
77
+
78
+ stream.on(:headers) do |h|
79
+ hs = Hash[*h.flatten]
80
+ response.headers.merge!(hs)
81
+ end
82
+
83
+ stream.on(:data) do |d|
84
+ response.data << d
85
+ end
86
+
87
+ stream.headers(request.headers, end_stream: false)
88
+ stream.data(request.data)
89
+ @mutex.synchronize { @cv.wait(@mutex, 60) } if @blocking
90
+ end
91
+
92
+ # connection
93
+ def connection
94
+ @connection ||= HTTP2::Client.new.tap do |conn|
95
+ conn.on(:frame) do |bytes|
96
+ @mutex.synchronize do
97
+ @socket.write bytes
98
+ @socket.flush
99
+ @first_data_sent = true
100
+ end
101
+ end
102
+ end
103
+ end
104
+
105
+ # scoket
106
+ def ensure_socket_open
107
+ @mutex.synchronize do
108
+ return if @socket_thread
109
+ @socket = new_socket
110
+ @socket_thread = Thread.new do
111
+ begin
112
+ socket_loop
113
+ rescue EOFError
114
+ init_vars
115
+ raise SocketError.new('Socket was remotely closed')
116
+ rescue Exception => e
117
+ init_vars
118
+ raise e
119
+ end
120
+ end.tap { |t| t.abort_on_exception = true }
121
+ end
122
+ end
123
+
124
+ def new_socket
125
+ ctx = OpenSSL::SSL::SSLContext.new
126
+ ctx.verify_mode = OpenSSL::SSL::VERIFY_NONE
127
+
128
+ # For ALPN support, Ruby >= 2.3 and OpenSSL >= 1.0.2 are required
129
+ ctx.alpn_protocols = [DRAFT]
130
+ ctx.alpn_select_cb = lambda do |protocols|
131
+ DRAFT if protocols.include? DRAFT
132
+ end
133
+
134
+ tcp = TCPSocket.new(host, 443)
135
+ socket = OpenSSL::SSL::SSLSocket.new(tcp, ctx)
136
+ socket.sync_close = true
137
+ socket.hostname = host
138
+ socket.connect
139
+
140
+ if socket.alpn_protocol != DRAFT
141
+ puts "Failed to negotiate #{DRAFT} via ALPN"
142
+ exit
143
+ end
144
+ socket
145
+ end
146
+
147
+ def ensure_sent_before_receiving
148
+ while !@first_data_sent
149
+ sleep 0.01
150
+ end
151
+ end
152
+
153
+ def socket_loop
154
+ ensure_sent_before_receiving
155
+ loop do
156
+ begin
157
+ data = @socket.read_nonblock(1024)
158
+ connection << data # in
159
+ rescue IO::WaitReadable
160
+ IO.select([@socket])
161
+ retry
162
+ rescue IO::WaitWritable
163
+ IO.select(nil, [@socket])
164
+ retry
165
+ end
166
+ end
167
+ end
168
+
169
+ def close
170
+ exit_thread(@socket_thread)
171
+ init_vars
172
+ end
173
+
174
+ def exit_thread(thread)
175
+ return unless thread
176
+ thread.exit
177
+ thread.join
178
+ end
179
+
180
+ def join
181
+ @socket_thread.join if @socket_thread
182
+ end
183
+ end
184
+ end
185
+
@@ -0,0 +1,19 @@
1
+ require 'jwt'
2
+
3
+ module ApnsGatling
4
+ class Token
5
+ attr_reader :team_id, :auth_key_id, :ecdsa_key
6
+
7
+ def initialize(team_id, auth_key_id, ecdsa_key)
8
+ @team_id = team_id
9
+ @auth_key_id = auth_key_id
10
+ @ecdsa_key = ecdsa_key
11
+ end
12
+
13
+ def new_token
14
+ payload = {iss: @team_id, iat: Time.now.to_i}
15
+ header = {kid: @auth_key_id}
16
+ JWT.encode payload, @ecdsa_key, 'ES256', header
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,41 @@
1
+ require 'json'
2
+ require 'securerandom'
3
+
4
+ module ApnsGatling
5
+ class Message
6
+ # see: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
7
+ MAXIMUM_PAYLOAD_SIZE = 4096
8
+
9
+ attr_reader :token
10
+ attr_accessor :alert, :badge, :sound, :content_available, :category, :custom_payload, :thread_id
11
+ attr_accessor :apns_id, :expiration, :priority, :topic, :apns_collapse_id
12
+
13
+ def initialize(token)
14
+ @token = token
15
+ @apns_id = SecureRandom.uuid
16
+ end
17
+
18
+ def payload_data
19
+ payload.to_json.force_encoding(Encoding::BINARY)
20
+ end
21
+
22
+ def valid?
23
+ data.bytesize <= MAXIMUM_PAYLOAD_SIZE
24
+ end
25
+
26
+ def payload
27
+ aps = {}
28
+
29
+ aps.merge!(alert: alert) if alert
30
+ aps.merge!(badge: badge) if badge
31
+ aps.merge!(sound: sound) if sound
32
+ aps.merge!(category: category) if category
33
+ aps.merge!('content-available' => content_available) if content_available
34
+ aps.merge!('thread-id' => thread_id) if thread_id
35
+
36
+ message = {aps: aps}
37
+ message.merge!(custom_payload) if custom_payload
38
+ message
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,28 @@
1
+ module ApnsGatling
2
+ class Request
3
+ attr_reader :host, :path, :auth_token, :headers, :data
4
+
5
+ def initialize(message, auth_token, host)
6
+ path = "/3/device/#{message.token}"
7
+ @path = path
8
+ @auth_token = auth_token
9
+ @headers = headers_from message, auth_token, host, path
10
+ @data = message.payload_data
11
+ end
12
+
13
+ private
14
+ def headers_from(message, auth_token, host, path)
15
+ headers = {':scheme' => 'https',
16
+ ':method' => 'POST',
17
+ 'host' => host,
18
+ ':path' => path,
19
+ 'authorization' => "bearer #{auth_token}"}
20
+ headers.merge!('apns-id' => message.apns_id) if message.apns_id
21
+ headers.merge!('apns-expiration' => message.expiration.to_s) if message.expiration
22
+ headers.merge!('apqs-priority' => message.priority.to_s) if message.priority
23
+ headers.merge!('apns-topic' => message.topic) if message.topic
24
+ headers.merge!('apns-collapse-id' => message.apns_collapse_id) if message.apns_collapse_id
25
+ headers
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,38 @@
1
+ require 'json'
2
+
3
+ module ApnsGatling
4
+ class Response
5
+ # See: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html
6
+ attr_accessor :headers, :data
7
+
8
+ def initialize()
9
+ @headers = {}
10
+ @data = ''
11
+ end
12
+
13
+ def status
14
+ @headers[':status'] if @headers
15
+ end
16
+
17
+ def ok?
18
+ status == '200'
19
+ end
20
+
21
+ def parse_data
22
+ JSON.parse(@data) rescue @data
23
+ end
24
+
25
+ def error
26
+ if status != '200'
27
+ e = {}
28
+ e.merge!(status: @headers[':status']) if @headers[':status']
29
+ e.merge!('apns-id' => @headers['apns-id']) if @headers['apns-id']
30
+ data = parse_data
31
+ puts "data: #{data} raw #{@data}"
32
+ e.merge!(reason: data[:reason]) if data[:reason]
33
+ e.merge!(timestamp: data[:timestamp]) if data[:timestamp]
34
+ e
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,3 @@
1
+ module ApnsGatling
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: apns_gatling
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Cloud
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: http-2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.8.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: jwt
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.5'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.13'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.13'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.0'
97
+ description: 'ApnsGatling is a token based authenitcation APNs HTTP/2 gem. '
98
+ email:
99
+ - cloudcry@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".travis.yml"
106
+ - Gemfile
107
+ - LICENSE
108
+ - README.md
109
+ - Rakefile
110
+ - apns_gatling.gemspec
111
+ - bin/console
112
+ - bin/setup
113
+ - examples/push_message.rb
114
+ - lib/apns_gatling.rb
115
+ - lib/apns_gatling/apns_client.rb
116
+ - lib/apns_gatling/jwt_token.rb
117
+ - lib/apns_gatling/message.rb
118
+ - lib/apns_gatling/request.rb
119
+ - lib/apns_gatling/response.rb
120
+ - lib/apns_gatling/version.rb
121
+ homepage: https://github.com/cloudorz/apns_gatling
122
+ licenses:
123
+ - MIT
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 2.5.1
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: A Ruby Token Based Authentication APNs HTTP/2 gem.
145
+ test_files: []