inline_forms 8.1.5 → 8.1.6
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/lib/inline_forms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9493a835a60cc7791e52ea91cb2716a72c3f5e5581fcb6b17b14d31bb8aaa512
|
|
4
|
+
data.tar.gz: d8d4df01e059f92d7dee2da87e4ac7291d276d609f52f15d6bc81229d8a1472d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83979c7e18016408c1b19fc15b4c93798708939cc91903e8d26500ba581c31b6833ee046ee22e9771f173cea2fc190e88fce5d255ba6e838a8ee2cadf6c8786b
|
|
7
|
+
data.tar.gz: 3a6b1df0d6ff46044b225bb8dbe89ae2b64219350df5fbe0db2c942c1ec61052ae4de97bced9d805c64e46199e2f7bc2d48a54c716ce7b31349655539df019bf
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,42 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [8.1.6] - 2026-05-27
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **FormElementShowcase example resource.** `inline_forms create … --example` now generates a fourth example model, `FormElementShowcase`, that declares every kept Tier 1 form_element helper on a single object. Coverage:
|
|
12
|
+
- text-shaped: `text_field`, `plain_text_area`
|
|
13
|
+
- numeric: `integer_field`, `decimal_field`
|
|
14
|
+
- date/time: `date_select`, `time_select`, `month_select`, `month_year_picker`
|
|
15
|
+
- choice: `check_box`, `radio_button`, `dropdown_with_integers`, `dropdown_with_values` (normal + `options_disabled`), `dropdown_with_values_with_stars`
|
|
16
|
+
- files: `file_field`, `audio_field`, `image_field` (Cover reuses Photo's `ImageUploader`)
|
|
17
|
+
- rich text: `rich_text`
|
|
18
|
+
- display-only: `header` (6 section headers), `info` (`created_at`/`updated_at`), `info_list` (`has_and_belongs_to_many :roles` rendered read-only)
|
|
19
|
+
- **First field-level validation in the example app.** `validates :count, numericality: { only_integer: true }, allow_blank: true` on `FormElementShowcase`. The new integration test posts `count: "abc"` through the top-level create form and asserts the response re-renders the new form with the numericality error.
|
|
20
|
+
- **`dropdown_with_values_with_stars` ships its assets.** 5 small `<n>stars.png` PNGs are shipped under `lib/installer_templates/example_app_assets/` and copied into `app/assets/images/` at install time.
|
|
21
|
+
- **Showcase regression tests.** New integration tests cover text, numeric (incl. numericality negative), date/time, and choice/scale helpers, plus a full-page smoke test that asserts every per-attribute `<turbo-frame>` renders and the `info_list` empty-state branch is exercised. New model test pins the attribute list, the 8.1.5 row-shape `options_disabled` slot on `:priority2`, and the new numericality validation.
|
|
22
|
+
- **Showcase seed migration.** Seeds two `FormElementShowcase` rows (one fully populated with a role assigned, one empty), so the rendered demo at `/form_element_showcases/1` exercises every show branch out of the box.
|
|
23
|
+
|
|
24
|
+
### Dropped from previous draft
|
|
25
|
+
|
|
26
|
+
Per user choice:
|
|
27
|
+
|
|
28
|
+
- `text_area`, `text_area_without_ckeditor`, `plain_text` (redundant with `plain_text_area`).
|
|
29
|
+
- `ckeditor` (alias of `rich_text`; no behavior gap to exercise).
|
|
30
|
+
- `slider_with_values` (deferred; complex jQuery UI wiring).
|
|
31
|
+
- `multi_image_field` (deferred; needs array column + `mount_uploaders` plural override).
|
|
32
|
+
|
|
33
|
+
Per implementation discovery (runtime helpers are broken under the current code base; out of scope to fix here):
|
|
34
|
+
|
|
35
|
+
- `money_field` (helper calls `humanized_money_with_symbol`, a `money-rails` view helper that is not declared in the installer Gemfile).
|
|
36
|
+
- `scale_with_integers` (helper indexes the array returned by `attribute_values` with a string: `values[object.send(attribute).to_s]`, which raises `TypeError: no implicit conversion of String into Integer`).
|
|
37
|
+
- `scale_with_values` (helper does `values[object.send(attribute)][1]`, which raises `NoMethodError: undefined method '[]' for nil` whenever the stored integer is not a valid array index of the post-sorted values).
|
|
38
|
+
|
|
39
|
+
### Lockstep
|
|
40
|
+
|
|
41
|
+
- `inline_forms`, `inline_forms_installer`, and `validation_hints` bumped from 8.1.5 to 8.1.6 in lockstep, even though `validation_hints` has no behavior change in this release.
|
|
42
|
+
|
|
7
43
|
## [8.1.5] - 2026-05-27
|
|
8
44
|
|
|
9
45
|
### Changed (hard-breaking)
|
data/lib/inline_forms/version.rb
CHANGED