inline_forms 7.13.12 → 7.13.14
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 +29 -0
- data/lib/generators/inline_forms_generator.rb +9 -5
- 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: 860bfcf4a35bfd76b34b2ac0aa32538370754762e697af0ee5b0da688c4e12b7
|
|
4
|
+
data.tar.gz: da3ee422cd4d37c457a8b311bb575b9a7b9e420325af26df5d248c54bc9f5ee5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3113fb740e235c53752446b72557359b579085b4a728d26c6a649c9d9fe9f914debaddbb95904dc476c27c26b0a97525116ca01f4de8950cbcd799a8424088d8
|
|
7
|
+
data.tar.gz: 9b5d3eaf4688236a1cef4677412d8e6e0aff2729090a0d5ceb3f17f8fc076f043f0b3503e6d06c71ed1afe7db1ac2a57d487c1d490153d9441df0e2d7fe39e13
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,35 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [7.13.14] - 2026-05-21
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Install log:** header (`Install log: …` at top), test output (`tee -a`), and closing summary are all written into `MyApp/log/inline_forms_create-*.log` (not only on the terminal).
|
|
12
|
+
- **`--example` test summary:** read from the install log after create (ENV set inside `rails new` did not reach the Creator parent process).
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.14** (lockstep with **validation_hints**).
|
|
17
|
+
- **Gemfile header:** records `inline_forms_installer` version, not the resolved `inline_forms` engine version.
|
|
18
|
+
|
|
19
|
+
## [7.13.13] - 2026-05-21
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- **`InlineFormsInstaller::CreateLog`:** timestamped install log at `MyApp/log/inline_forms_create-YYYYMMDD-HHMMSS.log`; path printed at start and end of `inline_forms create`; end-of-run summary (duration, versions, `bundle check`, test line).
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.13** (lockstep with **validation_hints**).
|
|
28
|
+
- **`--example`:** always runs `bundle exec rails test` during create; removed `--run-test` Thor option.
|
|
29
|
+
- **Post-create CLI message (1C):** removed redundant Creator footer; yellow “Done! Example app…” block remains.
|
|
30
|
+
- **`validation_hints` local `.gem`:** only when `VALIDATION_HINTS_ROOT` is set (2C).
|
|
31
|
+
- **`gem install` in installer:** `--no-document` for bundler and optional validation_hints (3B).
|
|
32
|
+
- **Generated Gemfile:** `foreman` in `:development` (7B).
|
|
33
|
+
- **`inline_forms` generator:** skip duplicate `MODEL_TABS` inserts when tab already present (6B).
|
|
34
|
+
- **Rails 8 checklist:** Dart Sass deprecation note in Phase 4 (`validation_hints/stuff/rails-8-checklist.md` + `inline_forms/stuff/rails-8-checklist.md` mirror).
|
|
35
|
+
|
|
7
36
|
## [7.13.12] - 2026-05-20
|
|
8
37
|
|
|
9
38
|
### Changed
|
|
@@ -241,11 +241,15 @@ module InlineForms
|
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
def add_tab
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
244
|
+
return if @flag_not_accessible_through_html
|
|
245
|
+
|
|
246
|
+
path = "app/controllers/application_controller.rb"
|
|
247
|
+
marker = "ActionView::CompiledTemplates::MODEL_TABS = %w("
|
|
248
|
+
tab_token = "#{name.pluralize.underscore} "
|
|
249
|
+
content = File.read(path)
|
|
250
|
+
return if content.include?(tab_token.rstrip)
|
|
251
|
+
|
|
252
|
+
inject_into_file path, tab_token, after: marker
|
|
249
253
|
end
|
|
250
254
|
|
|
251
255
|
def generate_test
|
data/lib/inline_forms/version.rb
CHANGED