redis_object 1.2.9b → 1.2.9

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
- MWVlY2YyOTg0YmVlOGI1ZTdhODI4YzUwYjVjZmFmMTI1YTZkY2RmMg==
4
+ NWQ2NDc5ZWRkYzUzNmQ2MTEzY2YwMzUyNWQzMTcxOWRiYTYxZTEyOA==
5
5
  data.tar.gz: !binary |-
6
- YTUxMGRmMDQ2MGZkN2ZjYmUyZjgyZTUxYTU1ZWVhYjcwYjI2YjhmNg==
6
+ MGE2MzM3YzA5M2UyZjE0ZDIxYzY5MmZkYzFkODg3M2E4MDQ2ZGJlZA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MDY5OTFhNmE2YzRmZDhmMzc3M2ExZDgwNzg3ZGY1OTdjNzc0NzM1MjQxODFl
10
- NDBiMTRkYmM3MjAyYzg4MGYwNzYzMjhiOTViMmM3ZjlhODdjYjBiOGFlODQz
11
- ZjcxYmNiYWYzMmM0YjI0NmM4Y2MzZGE5MTBlM2JiYjIxNzgzZmY=
9
+ YzdmMjY5OGI0MWMwMjgzMzVjYWNkYjIzZjlmZTQ1NjA0ZWEzMjIyNDY2MTFk
10
+ MTczMzQ5ZTExY2M3MjUyNDkzNWUxYjEzZjE1Mzg2ZDNkOTgzM2Y4ZWYyYWNh
11
+ ZGI1YzUyZWVlOGQwMGVhNzc3NjcwZDA1YWUzNzhmNzVkYTMxMzQ=
12
12
  data.tar.gz: !binary |-
13
- YjQyMTBjMzBlZmIyNGEwZDAxNzlmMjNkMmM5ODllZDM5MmMxYmU5ODFmMmRj
14
- ZjA1Y2RhNDYzNmRiOTcyMjEwMTYyNzNlYmQ3ZjMxOGU0NzA1YmVmYWZjM2Qx
15
- MjBmODlhYjBiYzE3OTk0OThjNzI2YmU2MmJlOTJlYmIxYjA3NTY=
13
+ MjdkODRjMmE5MjM2ODNmMzRjYWViYThhNzFmYzcwOTQ0ZjI2MTBkMjJiYzFm
14
+ Y2VjZWFmNjM3MjQxYzQ0MGFhYmY2NTA1N2EzZmZlZDRkMmE2YTFkNGZlNDgx
15
+ ODRjYjRjZGQ1M2JlZGYzNmU0MDk5YzEwYTIwMmEwMzI4YjYwOWM=
@@ -139,7 +139,6 @@ module Seabright
139
139
  return unless invalidations(:up).size > 0
140
140
  puts "Invalidating upstream: #{invalidations(:up).inspect}" if Debug.verbose?
141
141
  backreferences.each do |obj|
142
- obj = Object.const_get(obj) if obj.is_a?(String) or obj.is_a?(Symbol)
143
142
  if invalidations(:up).include?(obj.class) and obj.respond_to?(:invalidated_by_other)
144
143
  obj.invalidated_by_other(self,invalidation_chain + [self.hkey])
145
144
  end
@@ -251,7 +250,7 @@ module Seabright
251
250
  when RedisObject
252
251
  name.collection_name
253
252
  when String, Symbol
254
- name.to_s.pluralize.underscore.to_sym
253
+ name.to_s.pluralize == name.to_s ? name.to_sym : name.to_s.pluralize.to_sym
255
254
  else
256
255
  name
257
256
  end
@@ -1,5 +1,5 @@
1
1
  module Seabright
2
2
  class RedisObject
3
- VERSION = "1.2.9b"
3
+ VERSION = "1.2.9"
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.2.9b
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bragg
@@ -161,9 +161,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: 1.9.2
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ! '>'
164
+ - - ! '>='
165
165
  - !ruby/object:Gem::Version
166
- version: 1.3.1
166
+ version: '0'
167
167
  requirements: []
168
168
  rubyforge_project: redis_object
169
169
  rubygems_version: 2.0.3