webpush 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webpush/request.rb +0 -6
- data/lib/webpush/version.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: 327df58a3284d7ae6b9e1296a8304bbcc7dfe48d
|
4
|
+
data.tar.gz: a490881c7bb7b66199fb27aba08df243668e0511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d7781b4565e05c2abe288512a1fbd004ac4bbadff9b202bf9195ee20cd3ee4b2e483ce4b32d2bf3015d048c95dcfd4aed339685edfc18a59f97afefe7236259
|
7
|
+
data.tar.gz: facec335b1c5149d9225066261729b0c53ec242fc1d42c97963c24606e6d59364f5981172e86bc594713189c2516a1ada292b0512b4c891d26b7f1575f8913a3
|
data/lib/webpush/request.rb
CHANGED
@@ -17,12 +17,6 @@ module Webpush
|
|
17
17
|
uri = URI.parse(@endpoint)
|
18
18
|
http = Net::HTTP.new(uri.host, uri.port)
|
19
19
|
http.use_ssl = true
|
20
|
-
if @options[:cert_store]
|
21
|
-
http.cert_store = @options[:cert_store]
|
22
|
-
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
23
|
-
else
|
24
|
-
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
25
|
-
end
|
26
20
|
req = Net::HTTP::Post.new(uri.request_uri, headers)
|
27
21
|
req.body = body
|
28
22
|
resp = http.request(req)
|
data/lib/webpush/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zaru@sakuraba
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hkdf
|