redis_object 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/redis_object/storage/redis.rb +3 -3
- data/lib/redis_object/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWRkY2M3ZDI4ZGZiM2M3ZjZiMzJlZDEzYjMyNDU5Y2IyM2JlY2E5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTg0NGQxMGZjYjRiMTk4NDRmNWZjNzY0MzY3ZGZiYWQ1MzNlYmM2ZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjZiYTMxZmJmOTZiYjMyZGVhNDQ1YWVlNWNhNjM4NThhYTc0MjU1ZDA5Yjdl
|
10
|
+
MzA3NmUwM2Q3MzEzMzJlOWEzMDNiNDhlZDdkNmIyYTE5Njk3N2YzNzNkYjE3
|
11
|
+
MjQ1YzVjYWQxY2QzYWQzMTViOWRjMTMxZTEwMzhiNTJkOWQ0MjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODIzMjNhZjBmMjQzOWRjMDEzN2VlNGE5ZWQ2YjIwYTg1OTkzYWFkY2M0MTEz
|
14
|
+
ODRkZDI5MzMyNzQ3MTU4MDUxMzAwMDM2ZGY1ZWFlMDQ4NGE1MDA0NGE1N2Q5
|
15
|
+
ZmUzMzFmNGU5MGJlOTQyYzhiZTBiY2UzNTQxZjNkOGQyYjhjY2M=
|
@@ -88,10 +88,10 @@ module Seabright
|
|
88
88
|
sadd(new_name.pluralize, key.sub(/^#{old_name}/, new_name))
|
89
89
|
old_class = hget("#{key}_h", :class)
|
90
90
|
old_key = hget("#{key}_h", :key)
|
91
|
-
hset("#{key}_h", :class,
|
91
|
+
hset("#{key}_h", :class, new_name)
|
92
92
|
hset("#{key}_h", :key, old_key.sub(/^#{old_name}/, new_name))
|
93
|
-
hset("#{key}_h",
|
94
|
-
hdel("#{key}_h",
|
93
|
+
hset("#{key}_h", RedisObject.id_sym(new_name), key.sub(/^#{old_name}:/,''))
|
94
|
+
hdel("#{key}_h", RedisObject.id_sym(old_name))
|
95
95
|
end
|
96
96
|
del(old_name.pluralize)
|
97
97
|
|
data/lib/redis_object/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bragg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: utf8_utils
|