auth_passport_checkpoint 0.0.17.4 → 0.0.17.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDdiNTMyZGJlNGU3MWRlMWRjZGExMjgxMGEwMmI0YzZmYjg5NWZhMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDg1NTBjYWIwOGQ2MzA0N2E5NzZhNjZkZDZjYTlhNDBkY2ZmZTQ0MA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODg1NThjZTNkNzRhMjQ5MmY2NmQzYjAyNzUxMzcxY2UzNjlmMjIyYWMzNWQ1
|
10
|
+
YzY2NGRkNGE1ODFhNWQzM2JiNjdjNzhmMzE0NTY4NzFjMThkYjAyMmE1NTc0
|
11
|
+
NTBiMDJhNjhiYTA3ZTAxZGMwYTg5OGVjYTExOGJiYTc1Yzk4YzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGE0Y2Q4YTAxYzEwYzkxNzJmMzBlOTU1YzMzMjE5M2Q3MDkyMTQ5NzgxMWNh
|
14
|
+
NWQxNzA5MmU1YjMwOTc2ZGIzZWRhMjcxMTJlNDRjMTNlOWViMzE0NGFmYTRm
|
15
|
+
MTllMjI1NTZmOTZhNTU4OTEyYWYxYmNkOWNmODA1N2IxOTAwM2U=
|
@@ -11,12 +11,12 @@ module AuthPassportCheckpoint
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def get key
|
14
|
-
val = redis.get(key)
|
14
|
+
val = redis.get(namespaced_key(key))
|
15
15
|
val ? JSON.parse(val) : nil
|
16
16
|
end
|
17
17
|
|
18
18
|
def set key, val
|
19
|
-
redis.set key, val.try(:to_json).try(:to_s), ex: AuthPassportCheckpoint.redis_cache_expiration
|
19
|
+
redis.set namespaced_key(key), val.try(:to_json).try(:to_s), ex: AuthPassportCheckpoint.redis_cache_expiration
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|