webpush 0.2.4 → 0.2.5

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: 327df58a3284d7ae6b9e1296a8304bbcc7dfe48d
4
- data.tar.gz: a490881c7bb7b66199fb27aba08df243668e0511
3
+ metadata.gz: 7b8ab0b45116811a01dc8d7cd726639b4b4f5781
4
+ data.tar.gz: f684010fd4cd1f75d91affaa73728ba9a45b705e
5
5
  SHA512:
6
- metadata.gz: 4d7781b4565e05c2abe288512a1fbd004ac4bbadff9b202bf9195ee20cd3ee4b2e483ce4b32d2bf3015d048c95dcfd4aed339685edfc18a59f97afefe7236259
7
- data.tar.gz: facec335b1c5149d9225066261729b0c53ec242fc1d42c97963c24606e6d59364f5981172e86bc594713189c2516a1ada292b0512b4c891d26b7f1575f8913a3
6
+ metadata.gz: d4c143e92b6b95a6030cca488c2b270cd348a12332b22eaacb987346b9cffc373523b860a434ea9756519df68576a42521ab37663d8084a62ab22c38406f743a
7
+ data.tar.gz: 48baaa4360ce374f4f2f171bae6235d76e978e1e2db6ca622893058d01e7a7cf4513cf856d19c91dbf8f66638874d3a25ff0a61a435204dac86406f780280471
@@ -62,7 +62,7 @@ module Webpush
62
62
  end
63
63
 
64
64
  def api_key?
65
- !(api_key.nil? || api_key.empty?) && @endpoint =~ /\Ahttps:\/\/.+\.googleapis\.com/
65
+ !(api_key.nil? || api_key.empty?) && @endpoint =~ /\Ahttps:\/\/(android|gcm-http)\.googleapis\.com/
66
66
  end
67
67
 
68
68
  def encrypted_payload?
@@ -1,3 +1,3 @@
1
1
  module Webpush
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
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.4
4
+ version: 0.2.5
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-08-29 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hkdf