inline_forms 7.13.12 → 7.13.13
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 +17 -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: 19f4f7144a10894c266671d30cc1eada618857dc8620bd36a1388d60f778a5ed
|
|
4
|
+
data.tar.gz: b7eb0513c5c28de97ca3466e37bece1b8c44a0143fb37d7ea4addd07db2052b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 726a7ab2ca95bf93a771fc4834b8a530af5f78d2e0b24f41757e67bd53325b581cd0d72ea4c426297b72934769f1d883d9b51c6366eb9ba044706253d511bf85
|
|
7
|
+
data.tar.gz: e6d7a92a602a293d8827c932dbe7a3c4180495cb96c04f614a3bbf248204a62d77f2e2a02e990ed544b044526da4dc3dfb3d6045344d6ddadb4bb871eed651e4
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [7.13.13] - 2026-05-21
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`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).
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.13** (lockstep with **validation_hints**).
|
|
16
|
+
- **`--example`:** always runs `bundle exec rails test` during create; removed `--run-test` Thor option.
|
|
17
|
+
- **Post-create CLI message (1C):** removed redundant Creator footer; yellow “Done! Example app…” block remains.
|
|
18
|
+
- **`validation_hints` local `.gem`:** only when `VALIDATION_HINTS_ROOT` is set (2C).
|
|
19
|
+
- **`gem install` in installer:** `--no-document` for bundler and optional validation_hints (3B).
|
|
20
|
+
- **Generated Gemfile:** `foreman` in `:development` (7B).
|
|
21
|
+
- **`inline_forms` generator:** skip duplicate `MODEL_TABS` inserts when tab already present (6B).
|
|
22
|
+
- **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).
|
|
23
|
+
|
|
7
24
|
## [7.13.12] - 2026-05-20
|
|
8
25
|
|
|
9
26
|
### 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