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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3acec95607776e567399ffef5a77c6701f6b442818d2288f3064ec4d68bb91e6
4
- data.tar.gz: 504439f061bfc674fd7736f289f82b3216aaff00eaf563eb86a021e70c63e6ef
3
+ metadata.gz: 19f4f7144a10894c266671d30cc1eada618857dc8620bd36a1388d60f778a5ed
4
+ data.tar.gz: b7eb0513c5c28de97ca3466e37bece1b8c44a0143fb37d7ea4addd07db2052b0
5
5
  SHA512:
6
- metadata.gz: '0960256de3944fd0286eb710885a5c6289ecbb68d4397a866828ae412e3e601419610cf2b6e194c0a37cd6aa4562519ed0f6a55bb69aea65d9d4e2c7957f2354'
7
- data.tar.gz: 5927089981d365d1a58ad907af910810da94180e3fb2ff5de51c093c3a254c3f0dd67f284b8f900a7114b35e9ba5b4d369bf9aca9d458335a38a999848304eff
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
- 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.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.12
4
+ version: 7.13.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares