apnotic 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e819dc8b9f538c61c2876e8deb3000bdb6b820de
4
- data.tar.gz: 4c2a910e1aa3bd76c17b0ad98f62e1218aab6e37
3
+ metadata.gz: 20a8727763ec52680b30ae403937985782a3236b
4
+ data.tar.gz: 00a14e20fdf015c1910813437dfc645a54ee00d7
5
5
  SHA512:
6
- metadata.gz: 7a6eb9d13c540844c1e418ad9aa23fa59d6de6544be30d729a6ed7da5fdc33c3eb92faa311119dd63bbf2ceb038878be549d3061083a6bb4f492f265b4c4515f
7
- data.tar.gz: 77e5a570f05064ea7f88fd3b53dde64ad39ca64e669f1fda11a8f7de331be7deb4b06d7746583d3c62bf191151fae90cce5cb28916029a40deca765c982308c5
6
+ metadata.gz: 55a24710ad55e02622be61b3e4d83f21f434c49b2b26bcfb801d4e901c2b5e242a3aa1dd15d7cea2dfda72c91cabe9aa36e8ddb58f42f4b1c1c9023ce0077e34
7
+ data.tar.gz: 8d35924ba86ca7dedba2717eef099fd486c7e0ced1ea4b2d8f316c82535b1a5facb43632be6fdb6638f86192a6bbdad292555756f28c4535f9661f7eb79c0d8c
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "net-http2", "~> 0.13.0"
21
+ spec.add_dependency "net-http2", ">= 0.13.3", "< 2"
22
22
  spec.add_dependency "connection_pool", "~> 2.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
@@ -14,8 +14,8 @@ module Apnotic
14
14
  def build_headers_for(notification)
15
15
  h = {}
16
16
  h.merge!('apns-id' => notification.apns_id) if notification.apns_id
17
- h.merge!('apns-expiration' => notification.expiration) if notification.expiration
18
- h.merge!('apns-priority' => notification.priority) if notification.priority
17
+ h.merge!('apns-expiration' => notification.expiration.to_s) if notification.expiration
18
+ h.merge!('apns-priority' => notification.priority.to_s) if notification.priority
19
19
  h.merge!('apns-topic' => notification.topic) if notification.topic
20
20
  h.merge!('apns-collapse-id' => notification.apns_collapse_id) if notification.apns_collapse_id
21
21
  h
@@ -1,3 +1,3 @@
1
1
  module Apnotic
2
- VERSION = "0.10.2"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apnotic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Ostinelli
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-12 00:00:00.000000000 Z
11
+ date: 2016-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.13.3
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.13.0
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.13.3
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.13.0
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: connection_pool
29
35
  requirement: !ruby/object:Gem::Requirement