redis_object 1.3.1b → 1.3.1

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
- YTk4ZjkxYzdmYzFjNTk0MTkzZjk1MWVjMDk4M2MzZjY0Nzg4NzRmNw==
4
+ NmYxY2EwMTBiYWEyNGU0N2MyOWQ3MzQ3NjQ4MzkzZDliYmNhNTBmYg==
5
5
  data.tar.gz: !binary |-
6
- YTE4M2E2YjFhOGU4MDY0MDQ5N2UyNzgzYjNkZTViMWNkNWUwOTczMA==
6
+ OTAxNDQ0YmYxZDM2MjM1ZGNhZDQ3NTM5NmViYzM4MzZiOGJiODVmMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NmI4N2EwODRhMWYyMmFiNGY3NmIxMmFkNjcyOWY3YWYyYmNkYTc1NzViZTE5
10
- ZGIxYjI3MjkxOTkzMDRiMTViMTIxNGE2MzJiYzBkZGNlZmJiZTUzNjZmYzVk
11
- ZGU2MjRiODk0YTM2ZmExYjI2ODVhMzgwMzk1OTFjN2NmMmZkMzU=
9
+ NTJiM2ZlNDgyMWFiYTJiZjRmODEzNjc1YTUwNTU3NDkxM2IwZDY0Zjk2M2Nm
10
+ ZDlmYWNjNmY2YmVjYTNmZDJhM2QzZTZlMGQ2NTY1M2YyMGMwMTUwNDI5MzBk
11
+ OWVlOTU4YTJhZGUyZGU4ZDZhNmE2NTEzMGQ2YTQyOTNmZWVkMjY=
12
12
  data.tar.gz: !binary |-
13
- MDAxM2I2MmViMWFiMTA0ZmY2M2U1ZDRhMmQ5NTc2NGFiMGMzODdiNTJjNmU0
14
- NTI0YTZlMjQ5ZWM3MmM0MGU2YTMyOTg3NmIzODg2Y2U4ZjgzMGMyMTUwZmY0
15
- NzU4ZjQ0MDdhNGZiMDFhZTUxYjc0Y2E3NDNhZjgxNDI3ZGUyMGM=
13
+ YWZjMzA1ZDJmZjdhYWUyOTc3ZDIxOGQ5ZTRkNGNmODAzNTBkYjQ3NjE3NzU2
14
+ YzRlNzI4MGM0OGU2NzIxZGVkNDEyYWRiNTgzZjU0ODQzNzYzYTBhYmE3MTFj
15
+ NzFiZmQyMjQxYjA3OWJmNjA5YzI0Y2I3ZjQ2NDY0ODA3ZDRmMzg=
@@ -236,7 +236,7 @@ module Seabright
236
236
  end
237
237
 
238
238
  def cname
239
- name
239
+ self.name
240
240
  end
241
241
 
242
242
  def plname
@@ -418,11 +418,7 @@ module Seabright
418
418
  true
419
419
  end
420
420
 
421
- def id_sym(cls=nil)
422
- _old_id_sym(cls)
423
- end
424
-
425
- def _new_id_sym(cls=self.name)
421
+ def id_sym(cls=self.name)
426
422
  (cls || self.name).foreign_key.to_sym
427
423
  end
428
424
 
@@ -437,8 +433,8 @@ module Seabright
437
433
  end
438
434
  end
439
435
 
440
- def _old_id_sym(cls=self.name)
441
- "#{(cls || self.name).split('::').last.downcase}_id".to_sym
436
+ def _old_id_sym(cls=self.cname)
437
+ "#{cls.split('::').last.downcase}_id".to_sym
442
438
  end
443
439
 
444
440
  def describe
@@ -1,5 +1,5 @@
1
1
  module Seabright
2
2
  class RedisObject
3
- VERSION = "1.3.1b"
3
+ VERSION = "1.3.1"
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(:pizzatopping_id).should == topping.id
76
+ topping.get(:pizza_topping_id).should == topping.id
77
77
  # topping.get(:topping_id).should == nil
78
78
  end
79
79
 
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.1b
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bragg
@@ -163,9 +163,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  version: 1.9.2
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ! '>'
166
+ - - ! '>='
167
167
  - !ruby/object:Gem::Version
168
- version: 1.3.1
168
+ version: '0'
169
169
  requirements: []
170
170
  rubyforge_project: redis_object
171
171
  rubygems_version: 2.0.3