cowtech-rails 1.6.1.2 → 1.6.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module Cowtech
21
21
  end
22
22
 
23
23
  def self.[](what, only_id = false)
24
- self.__finalize(self.__index_find(what), only_id)
24
+ self.__finalize(self.__custom_find(what), only_id)
25
25
  end
26
26
 
27
27
  def safe_id
@@ -58,7 +58,7 @@ module Cowtech
58
58
 
59
59
  def ==(other)
60
60
  if other.class.to_s != self.class.to_s then
61
- self.id == self.class.__index_find(other).id
61
+ self.id == self.class.__custom_find(other).id
62
62
  else
63
63
  super
64
64
  end
@@ -69,7 +69,7 @@ module Cowtech
69
69
  end
70
70
 
71
71
  private
72
- def self.__index_find(what)
72
+ def self.__custom_find(what)
73
73
  self.find(what)
74
74
  end
75
75
 
@@ -10,7 +10,7 @@ module Cowtech
10
10
  MAJOR = 1
11
11
  MINOR = 6
12
12
  PATCH = 1
13
- BUILD = 2
13
+ BUILD = 3
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
- - 2
10
- version: 1.6.1.2
9
+ - 3
10
+ version: 1.6.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun