doorkeeper-rethinkdb 1.1.4 → 1.1.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
  SHA256:
3
- metadata.gz: ec14a5bedfd83c255894b243da28a0f7b20abd7942d68e0a05e09eaa713da64e
4
- data.tar.gz: 3b53a2a927edf87506875e0495beda93f13f7aee66738ef313245fee74d5baec
3
+ metadata.gz: 4fcc89f7d8c37a83f6bc7f24966f5a8c7a6aa0f7826e7049547be63cd4673875
4
+ data.tar.gz: b2d7ea4c7dae6d208c197b6c0607188cae4089cbdfbf60ac6c90e0a84f67c6d3
5
5
  SHA512:
6
- metadata.gz: d259a1ba170598687201e577fcff8b511b185acc28e3dfb5d898e7381295dd88cb62c523e6196215174b07c06618ceaf4b8765440e04788b098aecd42593e62a
7
- data.tar.gz: 597464e5acff23f072ff5ba1975f6812f6795e5153583c99cd991e381b139129fe64213e3c36f960751a1ffc6fce2b1b163d1cd5a5719f5258a902c971e72da9
6
+ metadata.gz: 51a262be17006ff77dff46431be8f96619e7b3b76c5aaca1a86127f4f58fa848a30eac75c8994e53d1b9bdd8e0993ae7c6f7dca71a346dc105308dd4aae1cfdc
7
+ data.tar.gz: 6a847442a51e36bd38cec5b436c0f2afeeb533003c4090fd2b83af8560b51bdd45c4a6dfaffbe7d74319166dda9b676482ef289cae4105b073a883d24c0cd081
@@ -1,3 +1,3 @@
1
1
  module DoorkeeperRethinkdb
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
@@ -41,11 +41,12 @@ module Doorkeeper
41
41
  end
42
42
 
43
43
  def revoked_at
44
- Time.at(self.revoked_time)
44
+ time = self.revoked_time
45
+ Time.at(time) if time
45
46
  end
46
47
 
47
48
  def revoked_at=(time)
48
- self.revoked_time = time.to_i
49
+ self.revoked_time = time ? time.to_i : nil
49
50
  end
50
51
 
51
52
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper-rethinkdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach