webpush 0.2.0 → 0.2.1
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 +3 -4
- 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: e92718d71c8af0814d94b05cd58c9f8cd33fe3d3
|
4
|
+
data.tar.gz: eb98e753a92b2ff88b1da5d11d2e1dac76ca1468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22a36f491c7f711ca571679b822a7a21f2f5e31f51cee5e42e9cc0a1f5eae149ce822a25b6ee44d34e5437c880bce1a6223718274620a8ad6e93fa785aca76c6
|
7
|
+
data.tar.gz: 07bca2ecbcd96810d91320559e922a0ad3c690ab5917f0aeacf7883c92b24257a0058c0feb365a226b2412b1671c974f8f1ab1c879a8664a632555438967376f
|
data/lib/webpush/request.rb
CHANGED
@@ -13,10 +13,9 @@ module Webpush
|
|
13
13
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
14
14
|
req = Net::HTTP::Post.new(uri.request_uri, headers)
|
15
15
|
req.body = body
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
false
|
16
|
+
http.request(req)
|
17
|
+
rescue => e
|
18
|
+
raise e
|
20
19
|
end
|
21
20
|
|
22
21
|
def headers
|
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.1
|
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-05-
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hkdf
|