gameon-redis 0.0.0.pre11 → 0.0.0.pre12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gameon-redis/base.rb +2 -2
- 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: 7b16a81f94194a72ace6e536b9637e715a26cadc
|
4
|
+
data.tar.gz: 79be200e1384ab2a9796249c1a2dbb2bf4f21cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cd8d9607db675f7dbc2e6029c8cc3b6227ea691005fb5051ee7e07bd587ed2f6bb13034d5bc0c23bbe9f2f0330aab939ff27ec154482a4299a3dd06e3c6ad75
|
7
|
+
data.tar.gz: f2c11212138e21e9d0c6089502255dd0f30596a0ac092e8f67dfda0de3cae99b01acd5ffe133eeda0365876f1450a51db3d36501a3bca838338a8ef6cafeef21
|
data/lib/gameon-redis/base.rb
CHANGED
@@ -40,11 +40,11 @@ module GameOn
|
|
40
40
|
return Marshal.load @env
|
41
41
|
end
|
42
42
|
def DS.load id
|
43
|
-
return Marshal.load @@redis.get id
|
43
|
+
return Marshal.load @@redis.get id.to_s + 'gameon'
|
44
44
|
end
|
45
45
|
|
46
46
|
def DS.exists? id
|
47
|
-
if (@@redis.get id) && (Marshal.load @@redis.get id)
|
47
|
+
if (@@redis.get id.to_s + 'gameon') && (Marshal.load @@redis.get id.to_s + 'gameon')
|
48
48
|
p true
|
49
49
|
return true
|
50
50
|
else
|