redis_object 1.3.4 → 1.3.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
- NmYzM2E5M2I1NmYxNmY3MjdmNTBlNDY4Mjg0OTI1ZmJlMTU2NDhiYw==
4
+ MzRiZWQzOTg0ZjYxMjQxYTNlNTU3ZTE2NWE0MTZmY2I0NzU5YjA3Nw==
5
5
  data.tar.gz: !binary |-
6
- ZTJhODkwYTg0MmJjMjY5ODNlMTZlNGUxZDJmNmQxZDNiNTQ3OTViNQ==
6
+ NDFkOGZhNmFhODNjM2E1YTg5OWVlMDdhNzY0NDVmZTY2YmUxZWVjMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ODQ0YThkZGZlODFjNDAxYzVkMTc1NGMzNTU4YmY0OTFmMmI5Y2JjNTY3YmE2
10
- ZDQzOWZiZTc3YTU5OGJiODhkYzJmMTVlNDRhMjE5MGVmOTE4YzgxMGVlN2U0
11
- N2RmOWNmZGRkNjViY2JlYmE4ZTEyNWNlNDRjZWFkZmE4MjE2NDQ=
9
+ ZWM2MjdiZjg4YWRiZTUwYmQ5ZGFkZjk4YzlhYmQxZjMyMzVjODYwZDBiODRm
10
+ YjdhYTk3Y2E2Zjk5OGNhZmUzYzhmYmE5ZWUyOGM2NzIyZWY5NTRmMzBhOWU1
11
+ MDg1N2VjMzcyNmZiNzUyZWFhNTA4N2NmZDVlZThhODBiMmU1ZTI=
12
12
  data.tar.gz: !binary |-
13
- MjIwZDdjMDM3ZjM2MTc2OWI2NDcyZjYwZjUwZGY0NmZlZTY4ZmRkMGM5MmQx
14
- ZTM0NDBmZWJjYmJjZTVmNTkxNTM2N2VmNzgwYzNhYjg3N2JkMTA1ZDJiNjhk
15
- YTgwNDU3MTYzODkzMjdmZmI4MWU2M2IyZDI3OWE4YjhmMWRmM2M=
13
+ NGJhMjM0M2Y3NGQwMDY5NWNkOGEyNjI4NjgxZmQzNWY1OTUyNWMxMmY4NmI0
14
+ ZDYzYjMxNjFhOGI0MzE4OGI2MzU0YjU0NWE5YzJlZjAzZmE4ZjdmZTY1OWFj
15
+ MWM1MzhlMGM4NDNjM2IxMWE4ODliYWU4NTY1YTNhN2JhZTc4ZTE=
@@ -116,6 +116,7 @@ module Seabright
116
116
  end
117
117
 
118
118
  def set(k,v)
119
+ return nil if k.nil?
119
120
  return set_ref(k,v) if v.is_a?(RedisObject)
120
121
  store.hset(hkey, k.to_s, v.to_s)
121
122
  cached_hash_values[k.to_s] = v
@@ -13,7 +13,7 @@ module Seabright
13
13
  args = send(f,*args)
14
14
  end
15
15
  end
16
- args ? send("unfiltered_#{method.to_s}".to_sym,*args) : nil
16
+ args ? send("unfiltered_#{method.to_s}".to_sym,*args) : [nil,nil]
17
17
  end
18
18
 
19
19
  alias_method :unfiltered_get, :get unless method_defined?(:unfiltered_get)
@@ -1,5 +1,5 @@
1
1
  module Seabright
2
2
  class RedisObject
3
- VERSION = "1.3.4"
3
+ VERSION = "1.3.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bragg