webpush 0.3.7 → 0.3.8

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
- SHA256:
3
- metadata.gz: 1a7dfdadec9ade5140f48e4b7643202630c9e14700e8366011464b0c6d3bfade
4
- data.tar.gz: 6e8bed89a1abd252c703f1f79e865e23d69a5cd6e973709bd1e86d85977fb893
2
+ SHA1:
3
+ metadata.gz: e513fc59cd8322f780954d7ade13d9b5c9c5e480
4
+ data.tar.gz: c12815199e3cd627869e2292fab29f234baa2611
5
5
  SHA512:
6
- metadata.gz: bf031e189b8d2637968605500b14abd1c3941f1ff8229ebf2131e5e6c4343badff7295f308c5a192fcccfeca90ad696873f891f47ead43fd3398057333786ce2
7
- data.tar.gz: 3b3097ce59cb726d4009cb8dc5e7c5b17a330b4cd8a5f97a9dd424c337f91a1c3570d5ef9459e69be3a5f61cbf42eee8536b110716d373744df78e7ae74da741
6
+ metadata.gz: 0b9233e5a9ed959fdcc4f7513b80195c55f56de6f9009b59be55bddf67174b77702470438dd04ae6827410dcc276601a58604ed42907f9fd481f25a4f5daa17d
7
+ data.tar.gz: e86db0d9b0e30039ca67ae534b794c5408c7d4231c532f57948df3271dfdbe9676df84928fd8797aae96ee82405a09a16606a5edbb036361994ba6ab73a1fbf5
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.3.7](https://github.com/zaru/webpush/tree/v0.3.7) (2019-03-06)
4
+ [Full Changelog](https://github.com/zaru/webpush/compare/v0.3.6...v0.3.7)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Add PEM support to import / export keys [\#65](https://github.com/zaru/webpush/pull/65) ([collimarco](https://github.com/collimarco))
9
+
3
10
  ## [v0.3.6](https://github.com/zaru/webpush/tree/v0.3.6) (2019-01-09)
4
11
  [Full Changelog](https://github.com/zaru/webpush/compare/v0.3.5...v0.3.6)
5
12
 
@@ -59,7 +59,7 @@ module Webpush
59
59
  end
60
60
 
61
61
  if api_key?
62
- headers["Authorization"] = api_key
62
+ headers["Authorization"] = "key=#{api_key}"
63
63
  elsif vapid?
64
64
  vapid_headers = build_vapid_headers
65
65
  headers["Authorization"] = vapid_headers["Authorization"]
@@ -1,3 +1,3 @@
1
1
  module Webpush
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
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.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - zaru@sakuraba
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-06 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hkdf
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.7.6
172
+ rubygems_version: 2.5.2
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Encryption Utilities for Web Push payload.