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 +4 -4
- data/lib/doorkeeper-rethinkdb/version.rb +1 -1
- data/lib/support/orm/rethinkdb/access_token.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fcc89f7d8c37a83f6bc7f24966f5a8c7a6aa0f7826e7049547be63cd4673875
|
4
|
+
data.tar.gz: b2d7ea4c7dae6d208c197b6c0607188cae4089cbdfbf60ac6c90e0a84f67c6d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51a262be17006ff77dff46431be8f96619e7b3b76c5aaca1a86127f4f58fa848a30eac75c8994e53d1b9bdd8e0993ae7c6f7dca71a346dc105308dd4aae1cfdc
|
7
|
+
data.tar.gz: 6a847442a51e36bd38cec5b436c0f2afeeb533003c4090fd2b83af8560b51bdd45c4a6dfaffbe7d74319166dda9b676482ef289cae4105b073a883d24c0cd081
|
@@ -41,11 +41,12 @@ module Doorkeeper
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def revoked_at
|
44
|
-
|
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
|