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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWRkY2M3ZDI4ZGZiM2M3ZjZiMzJlZDEzYjMyNDU5Y2IyM2JlY2E5NA==
4
+ OTNlOTliYThhMzE3MGY1MTI4YmU4MDhkN2IxODVmNGZhOTRmZjc3Yg==
5
5
  data.tar.gz: !binary |-
6
- ZTg0NGQxMGZjYjRiMTk4NDRmNWZjNzY0MzY3ZGZiYWQ1MzNlYmM2ZA==
6
+ Y2Y1ZWU1MWQ1ZjQyNjJkNWUyYWFlYThlNjE4MzVkNWFiOWU2ZGFmOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NjZiYTMxZmJmOTZiYjMyZGVhNDQ1YWVlNWNhNjM4NThhYTc0MjU1ZDA5Yjdl
10
- MzA3NmUwM2Q3MzEzMzJlOWEzMDNiNDhlZDdkNmIyYTE5Njk3N2YzNzNkYjE3
11
- MjQ1YzVjYWQxY2QzYWQzMTViOWRjMTMxZTEwMzhiNTJkOWQ0MjQ=
9
+ NGZjYWQwMzc5NTQxNDQ5NDE0OWJmNDI3MmUwYmNjOGRjNjdjOTQ0MTZiNTk4
10
+ Y2M3NGVmNjAyYzZlNzRjZWU3MDRlOGRjNzYyNzJmYzcxNTFkYTVmMGM5ODVj
11
+ MzU3MDgxZDY3NzI1NWFjZGFmYWRhNTc3NzQ2ZDJhZjAyNWUzMTE=
12
12
  data.tar.gz: !binary |-
13
- ODIzMjNhZjBmMjQzOWRjMDEzN2VlNGE5ZWQ2YjIwYTg1OTkzYWFkY2M0MTEz
14
- ODRkZDI5MzMyNzQ3MTU4MDUxMzAwMDM2ZGY1ZWFlMDQ4NGE1MDA0NGE1N2Q5
15
- ZmUzMzFmNGU5MGJlOTQyYzhiZTBiY2UzNTQxZjNkOGQyYjhjY2M=
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
 
@@ -1,5 +1,5 @@
1
1
  module Seabright
2
2
  class RedisObject
3
- VERSION = "1.2.7"
3
+ VERSION = "1.2.8"
4
4
  end
5
5
  end
@@ -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(:"renameclassspec::pizzatopping_id").should == topping.id
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.7
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-03 00:00:00.000000000 Z
11
+ date: 2013-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: utf8_utils