firebase_id_token 2.0.0 → 2.1.0

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: 1e5b2468c3db9ec6664df7b3513b3a79d8c246f0
4
- data.tar.gz: 885685d227198e9e0e2c01996a42ed895b539b85
3
+ metadata.gz: 0d14c27dff87b5602a51374a5291936930123f95
4
+ data.tar.gz: 30a6543fa47b16e57938870cd5fe05e5bc4185f4
5
5
  SHA512:
6
- metadata.gz: 890f5b46721bff50af9333edc91922f074d23371aa8a1361e21bf0cf34111fbd03b7b58f98cbd4d8c8146a45798c65784adfc39448664b4d03a3a95390ed13f7
7
- data.tar.gz: 651bc1ec53dc1f6b129850d1b3165cfb1ff85c5c39e3a8fd9f89b9b0d9ac72b7092611bc2a1436936f8c40fd644fb2542f067f68be1db7539579361e64c9431c
6
+ metadata.gz: 1261b3093357e85c09cc111f38e8697c481eabbb63dbe0198b47ab7abad0762b9798ff6ab1cb19e4aef18a294a14fbf5bb4bcba0af0ce830b5ab27e03db9a4a3
7
+ data.tar.gz: aa1703f61a43c68e699f9de83ac5ae855913f23056eac160658a0f49ba3959071dce13d87d5fa64b81e1a2a67f89fad08db1ae373a79a2ff51f858de7541684f
data/README.md CHANGED
@@ -29,7 +29,7 @@ gem install firebase_id_token
29
29
 
30
30
  or in your Gemfile
31
31
  ```
32
- gem 'firebase_id_token', '~> 2.0.0'
32
+ gem 'firebase_id_token', '~> 2.1.0'
33
33
  ```
34
34
  then
35
35
  ```
@@ -94,7 +94,7 @@ module FirebaseIdToken
94
94
 
95
95
  def still_valid?(payload)
96
96
  payload['exp'].to_i > Time.now.to_i &&
97
- payload['iat'].to_i < Time.now.to_i
97
+ payload['iat'].to_i <= Time.now.to_i
98
98
  end
99
99
 
100
100
  def issuer_authorized?(payload)
@@ -1,3 +1,3 @@
1
1
  module FirebaseIdToken
2
- VERSION = '2.0.0'
2
+ VERSION = '2.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebase_id_token
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Schuindt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-09 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
- rubygems_version: 2.6.11
233
+ rubygems_version: 2.6.14
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: A Firebase ID Token verifier.