pusher-platform 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pusher-platform/authenticator.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: 63984ba20221658d47ae460cee603acfbe67c078
|
|
4
|
+
data.tar.gz: 4aa031d194b01cfbda401e82885395149f4a0e47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35d023ae46b9585beff39fa91b8fe19994ad65f1bd07ecd3885e633bd039ad5b1171cea2c99e0ad9a98e3c7586f878ab03e00892b2b4241ba143f9a9057b1bb7
|
|
7
|
+
data.tar.gz: 5dbb406726b120cac32bc862d46dcd20b8e427a6f27976805e50320afd05198feef72c5aa7dcb27751fc9ed9028e4c25c1dd7572d430dcbfbf96b6277b4897d6
|
|
@@ -40,7 +40,7 @@ module Pusher
|
|
|
40
40
|
app: @instance_id,
|
|
41
41
|
iss: "api_keys/#{@key_id}",
|
|
42
42
|
iat: now - TOKEN_LEEWAY,
|
|
43
|
-
exp: now + TOKEN_EXPIRY + TOKEN_LEEWAY,
|
|
43
|
+
exp: now + TOKEN_EXPIRY - TOKEN_LEEWAY # TODO: Change to + TOKEN_LEEWAY soon, but for now max exp is 86400
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
claims.merge!({ sub: options[:user_id] }) unless options[:user_id].nil?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pusher-platform
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pusher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: excon
|