cowtech-rails 1.6.1.1 → 1.6.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -74,7 +74,11 @@ module Cowtech
74
74
  end
75
75
 
76
76
  def self.__finalize(record, only_id = false)
77
- only_id ? record.id : record
77
+ if record then
78
+ only_id ? record.id : record
79
+ else
80
+ nil
81
+ end
78
82
  end
79
83
  end
80
84
  end
@@ -10,7 +10,7 @@ module Cowtech
10
10
  MAJOR = 1
11
11
  MINOR = 6
12
12
  PATCH = 1
13
- BUILD = 1
13
+ BUILD = 2
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
- - 1
10
- version: 1.6.1.1
9
+ - 2
10
+ version: 1.6.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun