formtastic 3.1.2 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ 3.1.3
2
+
3
+ * Fixed (silenced) additional Rails 5 deprecation on column_for_attribute that we missed in 3.1.0
4
+
5
+ 3.1.2
6
+
7
+ * Fixed that we specified 4.0.4 instead of 4.1 in the Rails version deprecation message
8
+
1
9
  3.1.1
2
10
 
3
11
  * Fixed class custom input & action class loading in test environments
@@ -4,7 +4,12 @@ module Formtastic
4
4
  module Database
5
5
 
6
6
  def column
7
- object.column_for_attribute(method) if object.respond_to?(:column_for_attribute)
7
+ if object.respond_to?(:column_for_attribute)
8
+ # Remove deprecation wrapper & review after Rails 5.0 ships
9
+ ActiveSupport::Deprecation.silence do
10
+ object.column_for_attribute(method)
11
+ end
12
+ end
8
13
  end
9
14
 
10
15
  def column?
@@ -14,4 +19,4 @@ module Formtastic
14
19
  end
15
20
  end
16
21
  end
17
- end
22
+ end
@@ -1,3 +1,3 @@
1
1
  module Formtastic
2
- VERSION = "3.1.2"
2
+ VERSION = "3.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-24 00:00:00.000000000 Z
12
+ date: 2015-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack