cowtech-rails 1.6.1.4 → 1.6.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,18 +56,10 @@ module Cowtech
56
56
  end
57
57
  end
58
58
 
59
- def ==(other)
60
- if other && other.class.to_s != self.class.to_s then
61
- self.id == self.class.__index_find(other).id
62
- else
63
- super
64
- end
59
+ def is?(other)
60
+ other ? (self.id == self.class.__index_find(other).id) : false
65
61
  end
66
62
 
67
- def !=(other)
68
- ! (self == other)
69
- end
70
-
71
63
  private
72
64
  def self.__index_find(what)
73
65
  self.find(what)
@@ -10,7 +10,7 @@ module Cowtech
10
10
  MAJOR = 1
11
11
  MINOR = 6
12
12
  PATCH = 1
13
- BUILD = 4
13
+ BUILD = 5
14
14
 
15
15
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
16
16
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 6
8
8
  - 1
9
- - 4
10
- version: 1.6.1.4
9
+ - 5
10
+ version: 1.6.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun