inline_forms 7.13.11 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b949fcfd3a6a923f97ba65b8bdabf557f943004f0f753b475163317a2ae7c24d
4
- data.tar.gz: b96af8b797589a2e07872f15d354868ca57ccc4ef7332a00ae169365bb8fefc6
3
+ metadata.gz: 19f4f7144a10894c266671d30cc1eada618857dc8620bd36a1388d60f778a5ed
4
+ data.tar.gz: b7eb0513c5c28de97ca3466e37bece1b8c44a0143fb37d7ea4addd07db2052b0
5
5
  SHA512:
6
- metadata.gz: a7f2ed63f6f51f4582470735e90ed28369af436c6a2321dc6752946e3e2c5cb561cd189216715c9dc33987234c8f3e7e5d697846620060bdcbf74efd45bcc6c2
7
- data.tar.gz: 061721e4479b8ca6cb7bb83fa73ffad72cbf8ef07c7a6027d3e7529613c629a470e068bb2f083abea29128a90aad7291ea917b8ce4200178f70c6b4014eab033
6
+ metadata.gz: 726a7ab2ca95bf93a771fc4834b8a530af5f78d2e0b24f41757e67bd53325b581cd0d72ea4c426297b72934769f1d883d9b51c6366eb9ba044706253d511bf85
7
+ data.tar.gz: e6d7a92a602a293d8827c932dbe7a3c4180495cb96c04f614a3bbf248204a62d77f2e2a02e990ed544b044526da4dc3dfb3d6045344d6ddadb4bb871eed651e4
data/CHANGELOG.md CHANGED
@@ -4,17 +4,38 @@ 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
+
24
+ ## [7.13.12] - 2026-05-20
25
+
7
26
  ### Changed
8
27
 
9
- - **`rake release:all`:** back to build + tag + RubyGems push only (no `install:local`, no MyApp). `install:local` remains a separate task for testing `inline_forms create`.
10
- - **Release docs in `Rakefile`:** `validation_hints` is released from its own repo (`rake release` there).
28
+ - **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** **7.13.12** (three-gem lockstep with **validation_hints**).
29
+ - **`installer_core.rb`:** `bundle_install!` runs `bundle install` + `bundle check` and **aborts** app generation if either fails (avoids a finished `MyApp` with `Gemfile.lock` but missing `inline_forms` / `validation_hints` in the RVM gemset).
30
+ - **`InlineFormsInstaller::Creator`:** prints `rvm use .`, `bundle install`, and `bundle exec rails test` after a successful create.
11
31
 
12
32
  ## [7.13.11] - 2026-05-20
13
33
 
14
34
  ### Changed
15
35
 
16
36
  - **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.11** (three-gem lockstep with **validation_hints**).
17
- - **`rake install:local`:** builds and `gem install`s `inline_forms` + `inline_forms_installer` from `pkg/` (and `validation_hints` from `../validation_hints/pkg/` when present). **`rake release:all`** now runs this first so `inline_forms create` uses the new installer template instead of an old RubyGems `inline_forms_installer` (e.g. 7.11.0 with `validation_hints ~> 6.3`).
37
+ - **`rake install:local`:** optional task to `gem install` built gems from `pkg/`.
38
+ - **`rake release:all`:** build + tag + RubyGems push only (no MyApp, no `install:local`).
18
39
 
19
40
  ## [7.13.10] - 2026-05-20
20
41
 
@@ -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.11"
3
+ VERSION = "7.13.13"
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.11
4
+ version: 7.13.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares