formtastic 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +8 -0
- data/lib/formtastic/inputs/base/database.rb +7 -2
- data/lib/formtastic/version.rb +1 -1
- metadata +2 -2
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
|
-
|
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
|
data/lib/formtastic/version.rb
CHANGED
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.
|
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:
|
12
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|