formtastic 3.1.5 → 4.0.0.rc1

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.
Files changed (114) hide show
  1. checksums.yaml +5 -5
  2. data/.gitattributes +1 -0
  3. data/.gitignore +3 -2
  4. data/.travis.yml +28 -40
  5. data/CHANGELOG.md +49 -0
  6. data/DEPRECATIONS +1 -1
  7. data/Gemfile.lock +104 -0
  8. data/README.md +628 -629
  9. data/Rakefile +20 -1
  10. data/app/assets/stylesheets/formtastic.css +1 -1
  11. data/bin/appraisal +8 -0
  12. data/formtastic.gemspec +8 -14
  13. data/gemfiles/rails_5.2/Gemfile +5 -0
  14. data/gemfiles/rails_6.0/Gemfile +5 -0
  15. data/gemfiles/rails_edge/Gemfile +13 -0
  16. data/lib/formtastic.rb +5 -11
  17. data/lib/formtastic/actions.rb +6 -3
  18. data/lib/formtastic/deprecation.rb +1 -38
  19. data/lib/formtastic/engine.rb +3 -1
  20. data/lib/formtastic/form_builder.rb +8 -24
  21. data/lib/formtastic/helpers/action_helper.rb +1 -48
  22. data/lib/formtastic/helpers/errors_helper.rb +2 -2
  23. data/lib/formtastic/helpers/fieldset_wrapper.rb +7 -3
  24. data/lib/formtastic/helpers/input_helper.rb +18 -76
  25. data/lib/formtastic/helpers/inputs_helper.rb +12 -3
  26. data/lib/formtastic/i18n.rb +1 -1
  27. data/lib/formtastic/inputs.rb +32 -29
  28. data/lib/formtastic/inputs/base/collections.rb +1 -5
  29. data/lib/formtastic/inputs/base/errors.rb +4 -4
  30. data/lib/formtastic/inputs/base/hints.rb +1 -1
  31. data/lib/formtastic/inputs/base/timeish.rb +5 -1
  32. data/lib/formtastic/inputs/base/validations.rb +19 -9
  33. data/lib/formtastic/inputs/check_boxes_input.rb +3 -3
  34. data/lib/formtastic/inputs/color_input.rb +0 -1
  35. data/lib/formtastic/inputs/select_input.rb +1 -1
  36. data/lib/formtastic/localizer.rb +5 -7
  37. data/lib/formtastic/version.rb +1 -1
  38. data/lib/generators/templates/formtastic.rb +4 -6
  39. data/script/integration-template.rb +71 -0
  40. data/script/integration.sh +19 -0
  41. data/spec/action_class_finder_spec.rb +1 -1
  42. data/spec/actions/button_action_spec.rb +8 -8
  43. data/spec/actions/generic_action_spec.rb +60 -60
  44. data/spec/actions/input_action_spec.rb +7 -7
  45. data/spec/actions/link_action_spec.rb +10 -10
  46. data/spec/builder/custom_builder_spec.rb +36 -20
  47. data/spec/builder/error_proc_spec.rb +4 -4
  48. data/spec/builder/semantic_fields_for_spec.rb +27 -27
  49. data/spec/generators/formtastic/form/form_generator_spec.rb +25 -25
  50. data/spec/generators/formtastic/input/input_generator_spec.rb +31 -31
  51. data/spec/generators/formtastic/install/install_generator_spec.rb +9 -9
  52. data/spec/helpers/action_helper_spec.rb +328 -10
  53. data/spec/helpers/actions_helper_spec.rb +17 -17
  54. data/spec/helpers/form_helper_spec.rb +33 -33
  55. data/spec/helpers/input_helper_spec.rb +975 -2
  56. data/spec/helpers/inputs_helper_spec.rb +120 -105
  57. data/spec/helpers/reflection_helper_spec.rb +3 -3
  58. data/spec/helpers/semantic_errors_helper_spec.rb +22 -22
  59. data/spec/i18n_spec.rb +26 -26
  60. data/spec/input_class_finder_spec.rb +1 -1
  61. data/spec/inputs/base/collections_spec.rb +6 -6
  62. data/spec/inputs/base/validations_spec.rb +157 -19
  63. data/spec/inputs/boolean_input_spec.rb +55 -55
  64. data/spec/inputs/check_boxes_input_spec.rb +96 -95
  65. data/spec/inputs/color_input_spec.rb +51 -63
  66. data/spec/inputs/country_input_spec.rb +20 -20
  67. data/spec/inputs/custom_input_spec.rb +2 -6
  68. data/spec/inputs/datalist_input_spec.rb +1 -1
  69. data/spec/inputs/date_picker_input_spec.rb +42 -42
  70. data/spec/inputs/date_select_input_spec.rb +51 -37
  71. data/spec/inputs/datetime_picker_input_spec.rb +46 -46
  72. data/spec/inputs/datetime_select_input_spec.rb +53 -37
  73. data/spec/inputs/email_input_spec.rb +5 -5
  74. data/spec/inputs/file_input_spec.rb +6 -6
  75. data/spec/inputs/hidden_input_spec.rb +18 -18
  76. data/spec/inputs/include_blank_spec.rb +8 -8
  77. data/spec/inputs/label_spec.rb +20 -20
  78. data/spec/inputs/number_input_spec.rb +112 -112
  79. data/spec/inputs/password_input_spec.rb +5 -5
  80. data/spec/inputs/phone_input_spec.rb +5 -5
  81. data/spec/inputs/placeholder_spec.rb +5 -5
  82. data/spec/inputs/radio_input_spec.rb +63 -65
  83. data/spec/inputs/range_input_spec.rb +66 -66
  84. data/spec/inputs/readonly_spec.rb +4 -4
  85. data/spec/inputs/search_input_spec.rb +5 -5
  86. data/spec/inputs/select_input_spec.rb +92 -96
  87. data/spec/inputs/string_input_spec.rb +23 -23
  88. data/spec/inputs/text_input_spec.rb +16 -16
  89. data/spec/inputs/time_picker_input_spec.rb +43 -43
  90. data/spec/inputs/time_select_input_spec.rb +67 -54
  91. data/spec/inputs/time_zone_input_spec.rb +19 -19
  92. data/spec/inputs/url_input_spec.rb +5 -5
  93. data/spec/inputs/with_options_spec.rb +7 -7
  94. data/spec/localizer_spec.rb +17 -17
  95. data/spec/namespaced_class_finder_spec.rb +2 -2
  96. data/spec/schema.rb +21 -0
  97. data/spec/spec_helper.rb +163 -223
  98. data/spec/support/custom_macros.rb +72 -75
  99. data/spec/support/shared_examples.rb +0 -1301
  100. data/spec/support/test_environment.rb +23 -9
  101. metadata +33 -123
  102. data/Appraisals +0 -43
  103. data/CHANGELOG +0 -54
  104. data/gemfiles/rails_3.2.gemfile +0 -9
  105. data/gemfiles/rails_4.0.4.gemfile +0 -8
  106. data/gemfiles/rails_4.1.gemfile +0 -8
  107. data/gemfiles/rails_4.2.gemfile +0 -8
  108. data/gemfiles/rails_4.gemfile +0 -8
  109. data/gemfiles/rails_5.0.gemfile +0 -8
  110. data/gemfiles/rails_edge.gemfile +0 -15
  111. data/lib/formtastic/util.rb +0 -57
  112. data/spec/helpers/namespaced_action_helper_spec.rb +0 -43
  113. data/spec/helpers/namespaced_input_helper_spec.rb +0 -36
  114. data/spec/util_spec.rb +0 -66
@@ -1,11 +1,32 @@
1
1
  # encoding: utf-8
2
2
  require 'rspec/core'
3
- require 'rspec_tag_matchers'
3
+
4
+ require 'rspec-dom-testing'
4
5
 
5
6
  RSpec.configure do |config|
6
- config.include RspecTagMatchers
7
7
  config.include CustomMacros
8
+ config.include RSpec::Dom::Testing::Matchers
8
9
  config.mock_with :rspec
10
+
11
+ # rspec-rails 3 will no longer automatically infer an example group's spec type
12
+ # from the file location. You can explicitly opt-in to the feature using this
13
+ # config option.
14
+ # To explicitly tag specs without using automatic inference, set the `:type`
15
+ # metadata manually:
16
+ #
17
+ # describe ThingsController, :type => :controller do
18
+ # # Equivalent to being in spec/controllers
19
+ # end
20
+ config.infer_spec_type_from_file_location!
21
+
22
+ # Setting this config option `false` removes rspec-core's monkey patching of the
23
+ # top level methods like `describe`, `shared_examples_for` and `shared_context`
24
+ # on `main` and `Module`. The methods are always available through the `RSpec`
25
+ # module like `RSpec.describe` regardless of this setting.
26
+ # For backwards compatibility this defaults to `true`.
27
+ #
28
+ # https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/global-namespace-dsl
29
+ config.expose_dsl_globally = false
9
30
  end
10
31
 
11
32
  require "action_controller/railtie"
@@ -14,8 +35,6 @@ require 'active_model'
14
35
  # Create a simple rails application for use in testing the viewhelper
15
36
  module FormtasticTest
16
37
  class Application < Rails::Application
17
- # Configure the default encoding used in templates for Ruby 1.9.
18
- config.encoding = "utf-8"
19
38
  config.active_support.deprecation = :stderr
20
39
  config.secret_key_base = "secret"
21
40
  config.eager_load = false
@@ -24,8 +43,3 @@ end
24
43
  FormtasticTest::Application.initialize!
25
44
 
26
45
  require 'rspec/rails'
27
-
28
- # Quick hack to avoid the 'Spec' deprecation warnings from rspec_tag_matchers
29
- module Spec
30
- include RSpec
31
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 4.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin French
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2020-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,114 +16,72 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.13
19
+ version: 5.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.13
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 5.2.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec-rails
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 3.3.2
33
+ version: '3.4'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 3.3.2
40
+ version: '3.4'
55
41
  - !ruby/object:Gem::Dependency
56
- name: rspec_tag_matchers
42
+ name: rspec-dom-testing
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.0'
69
- - !ruby/object:Gem::Dependency
70
- name: hpricot
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 0.8.3
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 0.8.3
83
- - !ruby/object:Gem::Dependency
84
- name: RedCloth
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
45
+ - - ">="
88
46
  - !ruby/object:Gem::Version
89
- version: '4.2'
47
+ version: 0.1.0
90
48
  type: :development
91
49
  prerelease: false
92
50
  version_requirements: !ruby/object:Gem::Requirement
93
51
  requirements:
94
- - - "~>"
52
+ - - ">="
95
53
  - !ruby/object:Gem::Version
96
- version: '4.2'
54
+ version: 0.1.0
97
55
  - !ruby/object:Gem::Dependency
98
56
  name: yard
99
57
  requirement: !ruby/object:Gem::Requirement
100
58
  requirements:
101
59
  - - "~>"
102
60
  - !ruby/object:Gem::Version
103
- version: '0.8'
61
+ version: 0.9.20
104
62
  type: :development
105
63
  prerelease: false
106
64
  version_requirements: !ruby/object:Gem::Requirement
107
65
  requirements:
108
66
  - - "~>"
109
67
  - !ruby/object:Gem::Version
110
- version: '0.8'
68
+ version: 0.9.20
111
69
  - !ruby/object:Gem::Dependency
112
- name: colored
70
+ name: ammeter
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
73
  - - "~>"
116
74
  - !ruby/object:Gem::Version
117
- version: '1.2'
75
+ version: 1.1.3
118
76
  type: :development
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
79
  requirements:
122
80
  - - "~>"
123
81
  - !ruby/object:Gem::Version
124
- version: '1.2'
82
+ version: 1.1.3
125
83
  - !ruby/object:Gem::Dependency
126
- name: tzinfo
84
+ name: rake
127
85
  requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
87
  - - ">="
@@ -137,61 +95,19 @@ dependencies:
137
95
  - !ruby/object:Gem::Version
138
96
  version: '0'
139
97
  - !ruby/object:Gem::Dependency
140
- name: ammeter
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 1.1.3
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 1.1.3
153
- - !ruby/object:Gem::Dependency
154
- name: appraisal
98
+ name: sqlite3
155
99
  requirement: !ruby/object:Gem::Requirement
156
100
  requirements:
157
101
  - - "~>"
158
102
  - !ruby/object:Gem::Version
159
- version: '2.1'
103
+ version: '1.4'
160
104
  type: :development
161
105
  prerelease: false
162
106
  version_requirements: !ruby/object:Gem::Requirement
163
107
  requirements:
164
108
  - - "~>"
165
109
  - !ruby/object:Gem::Version
166
- version: '2.1'
167
- - !ruby/object:Gem::Dependency
168
- name: rake
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "<"
172
- - !ruby/object:Gem::Version
173
- version: '12'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "<"
179
- - !ruby/object:Gem::Version
180
- version: '12'
181
- - !ruby/object:Gem::Dependency
182
- name: activemodel
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: 3.2.13
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: 3.2.13
110
+ version: '1.4'
195
111
  description: A Rails form builder plugin/gem with semantically rich and accessible
196
112
  markup
197
113
  email:
@@ -201,14 +117,15 @@ extensions: []
201
117
  extra_rdoc_files:
202
118
  - README.md
203
119
  files:
120
+ - ".gitattributes"
204
121
  - ".gitignore"
205
122
  - ".rspec"
206
123
  - ".travis.yml"
207
124
  - ".yardopts"
208
- - Appraisals
209
- - CHANGELOG
125
+ - CHANGELOG.md
210
126
  - DEPRECATIONS
211
127
  - Gemfile
128
+ - Gemfile.lock
212
129
  - MIT-LICENSE
213
130
  - README.md
214
131
  - RELEASE_PROCESS
@@ -216,14 +133,11 @@ files:
216
133
  - app/assets/stylesheets/formtastic.css
217
134
  - app/assets/stylesheets/formtastic_ie6.css
218
135
  - app/assets/stylesheets/formtastic_ie7.css
136
+ - bin/appraisal
219
137
  - formtastic.gemspec
220
- - gemfiles/rails_3.2.gemfile
221
- - gemfiles/rails_4.0.4.gemfile
222
- - gemfiles/rails_4.1.gemfile
223
- - gemfiles/rails_4.2.gemfile
224
- - gemfiles/rails_4.gemfile
225
- - gemfiles/rails_5.0.gemfile
226
- - gemfiles/rails_edge.gemfile
138
+ - gemfiles/rails_5.2/Gemfile
139
+ - gemfiles/rails_6.0/Gemfile
140
+ - gemfiles/rails_edge/Gemfile
227
141
  - lib/formtastic.rb
228
142
  - lib/formtastic/action_class_finder.rb
229
143
  - lib/formtastic/actions.rb
@@ -297,7 +211,6 @@ files:
297
211
  - lib/formtastic/localized_string.rb
298
212
  - lib/formtastic/localizer.rb
299
213
  - lib/formtastic/namespaced_class_finder.rb
300
- - lib/formtastic/util.rb
301
214
  - lib/formtastic/version.rb
302
215
  - lib/generators/formtastic/form/form_generator.rb
303
216
  - lib/generators/formtastic/input/input_generator.rb
@@ -311,6 +224,8 @@ files:
311
224
  - sample/basic_inputs.html
312
225
  - sample/config.ru
313
226
  - sample/index.html
227
+ - script/integration-template.rb
228
+ - script/integration.sh
314
229
  - spec/action_class_finder_spec.rb
315
230
  - spec/actions/button_action_spec.rb
316
231
  - spec/actions/generic_action_spec.rb
@@ -328,8 +243,6 @@ files:
328
243
  - spec/helpers/form_helper_spec.rb
329
244
  - spec/helpers/input_helper_spec.rb
330
245
  - spec/helpers/inputs_helper_spec.rb
331
- - spec/helpers/namespaced_action_helper_spec.rb
332
- - spec/helpers/namespaced_input_helper_spec.rb
333
246
  - spec/helpers/reflection_helper_spec.rb
334
247
  - spec/helpers/semantic_errors_helper_spec.rb
335
248
  - spec/i18n_spec.rb
@@ -369,6 +282,7 @@ files:
369
282
  - spec/inputs/with_options_spec.rb
370
283
  - spec/localizer_spec.rb
371
284
  - spec/namespaced_class_finder_spec.rb
285
+ - spec/schema.rb
372
286
  - spec/spec.opts
373
287
  - spec/spec_helper.rb
374
288
  - spec/support/custom_macros.rb
@@ -376,7 +290,6 @@ files:
376
290
  - spec/support/shared_examples.rb
377
291
  - spec/support/specialized_class_finder_shared_example.rb
378
292
  - spec/support/test_environment.rb
379
- - spec/util_spec.rb
380
293
  homepage: http://github.com/justinfrench/formtastic
381
294
  licenses:
382
295
  - MIT
@@ -390,15 +303,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
390
303
  requirements:
391
304
  - - ">="
392
305
  - !ruby/object:Gem::Version
393
- version: 1.9.3
306
+ version: 2.4.0
394
307
  required_rubygems_version: !ruby/object:Gem::Requirement
395
308
  requirements:
396
309
  - - ">="
397
310
  - !ruby/object:Gem::Version
398
311
  version: '0'
399
312
  requirements: []
400
- rubyforge_project:
401
- rubygems_version: 2.4.5.1
313
+ rubygems_version: 3.1.2
402
314
  signing_key:
403
315
  specification_version: 4
404
316
  summary: A Rails form builder plugin/gem with semantically rich and accessible markup
@@ -420,8 +332,6 @@ test_files:
420
332
  - spec/helpers/form_helper_spec.rb
421
333
  - spec/helpers/input_helper_spec.rb
422
334
  - spec/helpers/inputs_helper_spec.rb
423
- - spec/helpers/namespaced_action_helper_spec.rb
424
- - spec/helpers/namespaced_input_helper_spec.rb
425
335
  - spec/helpers/reflection_helper_spec.rb
426
336
  - spec/helpers/semantic_errors_helper_spec.rb
427
337
  - spec/i18n_spec.rb
@@ -461,6 +371,7 @@ test_files:
461
371
  - spec/inputs/with_options_spec.rb
462
372
  - spec/localizer_spec.rb
463
373
  - spec/namespaced_class_finder_spec.rb
374
+ - spec/schema.rb
464
375
  - spec/spec.opts
465
376
  - spec/spec_helper.rb
466
377
  - spec/support/custom_macros.rb
@@ -468,4 +379,3 @@ test_files:
468
379
  - spec/support/shared_examples.rb
469
380
  - spec/support/specialized_class_finder_shared_example.rb
470
381
  - spec/support/test_environment.rb
471
- - spec/util_spec.rb
data/Appraisals DELETED
@@ -1,43 +0,0 @@
1
- appraise 'rails-3.2' do
2
- gem 'rails', '~> 3.2.0'
3
- gem 'test-unit-minitest', :platform => [:ruby_22, :ruby_23]
4
- gem 'nokogiri', '~>1.6.8', platform: :mri_20
5
- end
6
-
7
- appraise 'rails-4' do
8
- gem 'rails', '~> 4.0.0'
9
- gem 'nokogiri', '~>1.6.8', platform: :mri_20
10
- end
11
-
12
- # Special case for a change in I18n
13
- appraise 'rails-4.0.4' do
14
- gem 'rails', '4.0.4'
15
- gem 'nokogiri', '~>1.6.8', platform: :mri_20
16
- end
17
-
18
- appraise 'rails-4.1' do
19
- gem 'rails', '~>4.1.0'
20
- gem 'nokogiri', '~>1.6.8', platform: :mri_20
21
- end
22
-
23
- appraise 'rails-4.2' do
24
- gem 'rails', '~>4.2.0'
25
- gem 'nokogiri', '~>1.6.8', platform: :mri_20
26
- end
27
-
28
- appraise 'rails-5.0' do
29
- gem 'rails', '~> 5.0.1'
30
- gem 'rspec-rails', '~> 3.5'
31
- end
32
-
33
- appraise 'rails-edge' do
34
- gem 'rails', github: 'rails/rails'
35
- gem 'rack', github: 'rack/rack'
36
- gem 'i18n', github: 'svenfuchs/i18n'
37
- gem 'arel', github: 'rails/arel'
38
- gem 'rspec-rails', github: 'rspec/rspec-rails'
39
- gem 'rspec-mocks', github: 'rspec/rspec-mocks'
40
- gem 'rspec-support', github: 'rspec/rspec-support'
41
- gem 'rspec-core', github: 'rspec/rspec-core'
42
- gem 'rspec-expectations', github: 'rspec/rspec-expectations'
43
- end
data/CHANGELOG DELETED
@@ -1,54 +0,0 @@
1
- 3.1.5
2
- * Backport use Integer instead of Fixnum for Ruby 2.4 support (#1235, #1243)
3
-
4
- 3.1.4
5
- * Performance improvements (#1174)
6
- * Added priority time zones configuration (#1172)
7
- * Added input generators (#1150)
8
- * Added support for `enum` (#1098)
9
- * Added support for Reform gem by relying only on `defined_enums` Hash for enum collections (#1113)
10
- * Added support for customizeable skipped columns (#1133)
11
- * Added automatic input readonly attribute for attr_readonly attributes (#1158)
12
- * Added support for multiple validation contexts (#1179)
13
- * Rails 5 Beta support (#1183)
14
- * Fixed typos and improved documentation
15
-
16
- 3.1.3
17
-
18
- * Fixed (silenced) additional Rails 5 deprecation on column_for_attribute that we missed in 3.1.0
19
-
20
- 3.1.2
21
-
22
- * Fixed that we specified 4.0.4 instead of 4.1 in the Rails version deprecation message
23
-
24
- 3.1.1
25
-
26
- * Fixed class custom input & action class loading in test environments
27
- * Added documentation of custom input & action class finders
28
- * Added a link to documentation & wiki from custom class deprecation warnings
29
-
30
- 3.1.0
31
-
32
- * Performance and documentation improvements
33
-
34
- 3.1.0.rc2
35
-
36
- * Deprecated :member_value and :member_label options
37
-
38
- 3.1.0.rc1
39
-
40
- * Deprecated support for Rails version < 4.1.0
41
- * Fixed synchronization issues with custom_namespace configuration
42
- * Fixed bug where boolean (checkbox) inputs were not being correctly checked (also in 2.3.1)
43
- * Fixed (silenced) Rails 5 deprecation on column_for_attribute that we're handling fine
44
- * Added new DatalistInput (:as => :datalist) for HTML5 datalists
45
- * Added configurable namespaces for custom inputs
46
- * Various performance and documentation improvements
47
-
48
- ---
49
-
50
- See 3.0-stable branch for 3.0.x changes
51
- https://github.com/justinfrench/formtastic/blob/3.0-stable/CHANGELOG
52
-
53
- See 2.3-stable branch for 2.3.x and earlier releases
54
- https://github.com/justinfrench/formtastic/blob/2.3-stable/CHANGELOG