simpleapikeyengine 0.0.6 → 0.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8070d5d66770bf384b261321ccf434bc83ca6ec7
|
4
|
+
data.tar.gz: a48cd9e4a9eede6fbb6f92a78beb1bd85eb4ecc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783b22cc87e54a08050a913a70802a6917311d07fc5e51c616aa69afa0311e8214098c9cfe95efdf8ab2531f79bd49745a22e7496c75b9010dbed1dc232f91a6
|
7
|
+
data.tar.gz: 4da1741a188c6c4b06534eea73ed19d33eab80efd0ab7d1a6aa51983b383518a71252009728df5cea7e48d1a7cfa85707a92174d221a0831e8bb5da47465264d
|
@@ -31,7 +31,7 @@ module SimpleApiKeyEngine::Providers
|
|
31
31
|
end
|
32
32
|
authentication.token = auth_hash[:credentials][:token]
|
33
33
|
authentication.expires_at = auth_hash[:credentials][:expires] ?
|
34
|
-
auth_hash[:credentials][:expires_at] : nil
|
34
|
+
Time.at(auth_hash[:credentials][:expires_at]) : nil
|
35
35
|
authentication.auth_hash = auth_hash
|
36
36
|
authentication.save!
|
37
37
|
return authentication
|