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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3acec95607776e567399ffef5a77c6701f6b442818d2288f3064ec4d68bb91e6
4
- data.tar.gz: 504439f061bfc674fd7736f289f82b3216aaff00eaf563eb86a021e70c63e6ef
3
+ metadata.gz: 860bfcf4a35bfd76b34b2ac0aa32538370754762e697af0ee5b0da688c4e12b7
4
+ data.tar.gz: da3ee422cd4d37c457a8b311bb575b9a7b9e420325af26df5d248c54bc9f5ee5
5
5
  SHA512:
6
- metadata.gz: '0960256de3944fd0286eb710885a5c6289ecbb68d4397a866828ae412e3e601419610cf2b6e194c0a37cd6aa4562519ed0f6a55bb69aea65d9d4e2c7957f2354'
7
- data.tar.gz: 5927089981d365d1a58ad907af910810da94180e3fb2ff5de51c093c3a254c3f0dd67f284b8f900a7114b35e9ba5b4d369bf9aca9d458335a38a999848304eff
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
- unless @flag_not_accessible_through_html
245
- inject_into_file "app/controllers/application_controller.rb",
246
- "#{name.pluralize.underscore} ",
247
- :after => "ActionView::CompiledTemplates::MODEL_TABS = %w("
248
- end
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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "7.13.12"
3
+ VERSION = "7.13.14"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.13.12
4
+ version: 7.13.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares