redis_object 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.markdown +1 -0
- data/lib/redis_object/storage/redis.rb +1 -1
- data/lib/redis_object/version.rb +1 -1
- data/spec/rename_class_spec.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
|
+
OTNlOTliYThhMzE3MGY1MTI4YmU4MDhkN2IxODVmNGZhOTRmZjc3Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2Y1ZWU1MWQ1ZjQyNjJkNWUyYWFlYThlNjE4MzVkNWFiOWU2ZGFmOA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGZjYWQwMzc5NTQxNDQ5NDE0OWJmNDI3MmUwYmNjOGRjNjdjOTQ0MTZiNTk4
|
10
|
+
Y2M3NGVmNjAyYzZlNzRjZWU3MDRlOGRjNzYyNzJmYzcxNTFkYTVmMGM5ODVj
|
11
|
+
MzU3MDgxZDY3NzI1NWFjZGFmYWRhNTc3NzQ2ZDJhZjAyNWUzMTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTgwYTMyM2Y3ZmZiYzZmYTgzODBmMDY4MTI1YjkwMzRhMTBiZjk4YWNkNWMx
|
14
|
+
NDRhZGZkNzIzMzk3ZDRmMTcyNDFmMmYzYzIwNTg2OTQwYTA2NWU3YjI4ZTZk
|
15
|
+
NGE0YzcxOWY2MTllOGYzOTM4NzBmNTk5ZTk4ZDMxYTJmYmEyMTg=
|
data/README.markdown
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# RedisObject
|
2
2
|
RedisObject is a fast and simple-to-use object persistence layer for Ruby.
|
3
3
|
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/redis_object.png)](https://rubygems.org/gems/redis_object)
|
4
5
|
[![Build Status](https://travis-ci.org/remotezygote/RedisObject.png?branch=master)](https://travis-ci.org/remotezygote/RedisObject)
|
5
6
|
[![Coverage Status](https://coveralls.io/repos/remotezygote/RedisObject/badge.png?branch=master)](https://coveralls.io/r/remotezygote/RedisObject?branch=master)
|
6
7
|
[![Code Climate](https://codeclimate.com/github/remotezygote/RedisObject.png)](https://codeclimate.com/github/remotezygote/RedisObject)
|
@@ -90,8 +90,8 @@ module Seabright
|
|
90
90
|
old_key = hget("#{key}_h", :key)
|
91
91
|
hset("#{key}_h", :class, new_name)
|
92
92
|
hset("#{key}_h", :key, old_key.sub(/^#{old_name}/, new_name))
|
93
|
-
hset("#{key}_h", RedisObject.id_sym(new_name), key.sub(/^#{old_name}:/,''))
|
94
93
|
hdel("#{key}_h", RedisObject.id_sym(old_name))
|
94
|
+
hset("#{key}_h", RedisObject.id_sym(new_name), key.sub(/^#{old_name}:/,''))
|
95
95
|
end
|
96
96
|
del(old_name.pluralize)
|
97
97
|
|
data/lib/redis_object/version.rb
CHANGED
data/spec/rename_class_spec.rb
CHANGED
@@ -73,7 +73,7 @@ module RenameClassSpec
|
|
73
73
|
[ mozzarella, basil, tomato, garlic, oregano, olive_oil ].each do |topping|
|
74
74
|
topping.get(:class).should == PizzaTopping.name
|
75
75
|
topping.get(:key).should == "RenameClassSpec::PizzaTopping:#{topping.id}"
|
76
|
-
topping.get(:
|
76
|
+
topping.get(:pizzatopping_id).should == topping.id
|
77
77
|
# topping.get(:topping_id).should == nil
|
78
78
|
end
|
79
79
|
|
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.8
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: utf8_utils
|