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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e953b3c824daee3dcc0f07104b619bde19b87c94
4
- data.tar.gz: 514a2b64a435383854756ef2f0e639ef952bdfd2
3
+ metadata.gz: 327df58a3284d7ae6b9e1296a8304bbcc7dfe48d
4
+ data.tar.gz: a490881c7bb7b66199fb27aba08df243668e0511
5
5
  SHA512:
6
- metadata.gz: ac855621814b93e3a0cb7dc858f137a6d83e38e3949507ed60444cc2b4402d34afc593007baedb7bcd1a0e03548ede1ed51965dfd3c2bf82e51eba58436a6393
7
- data.tar.gz: a5f40a0682ce56be44f09533825dcf45bc41c10931df064b8c21bb7a87afb5d2557c1e522830c03d086df7171b12ed27dca86975f97d760321eecd18de4ed385
6
+ metadata.gz: 4d7781b4565e05c2abe288512a1fbd004ac4bbadff9b202bf9195ee20cd3ee4b2e483ce4b32d2bf3015d048c95dcfd4aed339685edfc18a59f97afefe7236259
7
+ data.tar.gz: facec335b1c5149d9225066261729b0c53ec242fc1d42c97963c24606e6d59364f5981172e86bc594713189c2516a1ada292b0512b4c891d26b7f1575f8913a3
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Webpush
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
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-06-19 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hkdf