formtastic 3.1.0.rc2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,16 +1,20 @@
1
- 3.1.0.rc2
1
+ 3.1.0
2
2
 
3
- * Deprecated :member_value and :member_label options
4
-
5
- 3.1.0.rc1
6
-
7
- * Deprecated support for Rails version < 4.1.0
8
- * Fixed synchronization issues with custom_namespace configuration
9
- * Fixed bug where boolean (checkbox) inputs were not being correctly checked (also in 2.3.1)
10
- * Fixed (silenced) Rails 5 deprecation on column_for_attribute that we're handling fine
11
- * Added new DatalistInput (:as => :datalist) for HTML5 datalists
12
- * Added configurable namespaces for custom inputs
13
- * Various performance and documentation improvements
3
+ * Performance and documentation improvements
4
+
5
+ 3.1.0.rc2
6
+
7
+ * Deprecated :member_value and :member_label options
8
+
9
+ 3.1.0.rc1
10
+
11
+ * Deprecated support for Rails version < 4.1.0
12
+ * Fixed synchronization issues with custom_namespace configuration
13
+ * Fixed bug where boolean (checkbox) inputs were not being correctly checked (also in 2.3.1)
14
+ * Fixed (silenced) Rails 5 deprecation on column_for_attribute that we're handling fine
15
+ * Added new DatalistInput (:as => :datalist) for HTML5 datalists
16
+ * Added configurable namespaces for custom inputs
17
+ * Various performance and documentation improvements
14
18
 
15
19
  ---
16
20
 
@@ -20,10 +20,9 @@ h2. Documentation & Support
20
20
 
21
21
  h2. Compatibility
22
22
 
23
- * Formtastic 3.1 (master branch) will require Rails 4.1 minimum
24
- * Formtastic 3.0 requires Rails 3.2.13 minimum
25
- * Formtastic 2.3 deprecated Rails < 3.2.13
26
- * Formtastic 2.1, 2.2 & 2.3 are Rails 3.x–4.1.x compatible
23
+ * Formtastic 4 will require Rails 4.1
24
+ * Formtastic 3 requires Rails 3.2.13 minimum
25
+ * Formtastic 2 requires Rails 3
27
26
  * Formtastic, much like Rails, is very ActiveRecord-centric. Many are successfully using other ActiveModel-like ORMs and objects (DataMapper, MongoMapper, Mongoid, Authlogic, Devise...) but we're not guaranteeing full compatibility at this stage. Patches are welcome!
28
27
 
29
28
 
@@ -25,9 +25,7 @@ module Formtastic
25
25
  end
26
26
 
27
27
  def wrapper_classes_raw
28
- classes = wrapper_html_options_raw[:class] || []
29
- return classes.dup if classes.is_a?(Array)
30
- return [classes]
28
+ [*wrapper_html_options_raw[:class]]
31
29
  end
32
30
 
33
31
  def wrapper_classes
@@ -1,3 +1,3 @@
1
1
  module Formtastic
2
- VERSION = "3.1.0.rc2"
2
+ VERSION = "3.1.0"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.rc2
5
- prerelease: 6
4
+ version: 3.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Justin French
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-07 00:00:00.000000000 Z
12
+ date: 2014-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack