signpost-rails 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/signpost/rails/authentication.rb +2 -2
- data/lib/signpost/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54191fa9981ccb1c2a131e7c7dea04dde3de6a74
|
4
|
+
data.tar.gz: 44aee79782070cac96ce53fb634a58bc1ac9931c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e22c2773f8f4535dae260ee3459d79d64fcc42ba2cf7d13dc7b4f495d6c315d2919d4752cbac4bf2845ce6a8147eb60cb2dc64fed08768de29218088289711c0
|
7
|
+
data.tar.gz: d05c5d31f8a38ba5f3409cc40295fed5805240809321be3e9e542c2f4225c4af63b5301edc0cf5c630a54db30debfe4b54e94fd24efa940c114c86afff332a5e
|
@@ -21,10 +21,10 @@ module SignPost
|
|
21
21
|
|
22
22
|
def authorized_keys
|
23
23
|
# If cached for less than 5 mins, then return the cache
|
24
|
-
::Rails.logger.
|
24
|
+
::Rails.logger.info "Users: #{signpost_users}"
|
25
25
|
|
26
26
|
if signpost_users && (Time.now - signpost_users[:cached_at]) < 5 * 60
|
27
|
-
::Rails.logger.
|
27
|
+
::Rails.logger.info "Passing cached entry for authorized keys"
|
28
28
|
return signpost_users[:authorized_keys_path]
|
29
29
|
end
|
30
30
|
keys = SignPost::Rails::Authentication.fetch_method.call
|