inline_forms 8.0.2 → 8.0.3

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: 7678c685b9cc14f088b696037a582cc0214072597f29b66704ffb40b47ddece5
4
- data.tar.gz: ae6e2d7efd33d4223c352c86d541d39be967a8fea67fa2bbf7e6fce353870bcb
3
+ metadata.gz: dbf71e495b41149f884052c32a5cfb1a0d01148c2cc957373e63803ac4bc7c00
4
+ data.tar.gz: 108b9f3bdd412bbff043bea5808a5920172a7c33f3ff126afa209684af33fb3e
5
5
  SHA512:
6
- metadata.gz: c17abcf5d7d4d7c482ebce2f5ce0e65ee96ce99022dc6099a42002425bf9fb3dffc52eabb0a88b7ed41c243a3ddbd38d5bdae41b34edd63509a294c2ea1d7860
7
- data.tar.gz: 7921ace1de20cad8132c7d62fc815c8de8bcc598b3a3634de4f291b4f01cae5714d44b7f69669906f80d32a0e9235aad9220e56e366bdccd60da8cf867e8469f
6
+ metadata.gz: c10d87d29d229849facdb2b06e0403de7ad6cb0442eb3f10126dc723894b2c28a0cd1e0e76a3c4acad9a7e4efa3fd292bc53604293eb124cd99b0de1d76d45a8
7
+ data.tar.gz: 202650e4e15e768e585110e94f8901498f6ae718f35c47c2f81c9f18e94d38350fb1a4a3fbf8cc33b2f8976d90bd9db0daca322fdb901e1873afc13b6b3ca950
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [8.0.3] - 2026-05-22
8
+
9
+ ### Changed
10
+
11
+ - **Rails 8 (Phase 4):** framework-defaults audit documented in [`docs/rails-8-phase4-audit.md`](docs/rails-8-phase4-audit.md); generated apps stay on `load_defaults 8.0` only (no `new_framework_defaults_8_0.rb`, matching `rails new` 8.0.5).
12
+ - **Unicorn template:** `before_fork` uses `ActiveRecord::Base.connection_pool.disconnect!` (Rails 8–compatible).
13
+ - **README.rdoc:** requirements table for Ruby 4 / Rails 8 / validation_hints 8; remove stale “broken after 6.2.14” notice; `rails-i18n ~> 8.0` narrative.
14
+
7
15
  ## [8.0.2] - 2026-05-22
8
16
 
9
17
  ### Changed
data/README.rdoc CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Inline Forms is almost a complete admin application. You can try it out easily.
4
4
 
5
- = Release status notice
5
+ = Requirements
6
6
 
7
- All gem versions after +6.2.14+ are currently broken.
8
-
9
- We will post a notice when the gem is good again.
7
+ * Ruby **>= 4.0** (generated apps pin **ruby-4.0.4**)
8
+ * Rails **8.0.x** (+rails ~> 8.0+, +config.load_defaults 8.0+)
9
+ * **validation_hints** **~> 8** (companion gem; same version line as +inline_forms+ / +inline_forms_installer+)
10
10
 
11
11
  = Usage
12
12
 
@@ -14,7 +14,7 @@ The +inline_forms create+ CLI ships in the +inline_forms_installer+ gem (not in
14
14
 
15
15
  gem install inline_forms_installer
16
16
 
17
- Generated apps pin +inline_forms+ and +validation_hints+ at +~> 7+ (Bundler picks the latest 7.x). The three gems (+inline_forms+, +inline_forms_installer+, +validation_hints+) are released together with the same version number; use a current +inline_forms_installer+ so the installer template matches current Rails pins. To add the engine to an existing Rails app without the CLI:
17
+ Generated apps pin +inline_forms+ and +validation_hints+ at +~> 8+ (Bundler picks the latest 8.x). The three gems (+inline_forms+, +inline_forms_installer+, +validation_hints+) are released together with the same version number; use a current +inline_forms_installer+ so the installer template matches current Rails pins. To add the engine to an existing Rails app without the CLI:
18
18
 
19
19
  gem install inline_forms inline_forms_installer
20
20
 
@@ -246,7 +246,7 @@ In every case the Turbo wiring is the same: +link_options: { data: { turbo_frame
246
246
 
247
247
  == Generated application +rails-i18n+
248
248
 
249
- New apps get +rails-i18n+ from RubyGems (+ '~> 7.0'+), not from the +svenfuchs/rails-i18n+ Git repository. Release line 7.0.x declares +railties+ between 6 and 8, which matches the installer template’s pinned +rails ~> 7.2.3+ (with +config.load_defaults 7.2+). The upstream repository’s default branch is aimed at newer Rails and would pull in +railties+ 8+, which cannot be resolved together with that pin.
249
+ New apps get +rails-i18n+ from RubyGems (+ '~> 8.0'+), not from the +svenfuchs/rails-i18n+ Git repository. The installer pins +rails ~> 8.0+ with +config.load_defaults 8.0+; the published +rails-i18n+ 8.x line matches that stack.
250
250
 
251
251
  == File uploads (CarrierWave)
252
252
 
@@ -0,0 +1,39 @@
1
+ # Rails 8 — Phase 4 audit (framework defaults & cleanup)
2
+
3
+ **Date:** 2026-05-22
4
+ **Scope:** Post–Phase 3 (`inline_forms` 8.0.2 installer + example app gate).
5
+
6
+ ## 4.1 Framework defaults (`rails new` 8.0.5)
7
+
8
+ Vanilla `rails _8.0.5_ new` (importmap, `--skip-bundle`):
9
+
10
+ - `config/application.rb`: `config.load_defaults 8.0`, `config.autoload_lib(ignore: %w[assets tasks])`
11
+ - Generator **removes** `config/initializers/new_framework_defaults_8_0.rb` (opt-in flags live only in the railties template until uncommented)
12
+ - Optional 8.0 toggles (all commented in upstream template): `active_support.to_time_preserves_timezone`, `action_dispatch.strict_freshness`, `Regexp.timeout`
13
+
14
+ **Installer decision:** Match vanilla Rails 8 — rely on `load_defaults 8.0` only; do **not** ship `new_framework_defaults_8_0.rb` in generated apps. Keep a belt-and-suspenders `gsub` to `load_defaults 8.0` if an older `rails new` left another minor.
15
+
16
+ ## 4.2 Rails 8 API / deprecation grep
17
+
18
+ | Area | Result |
19
+ |------|--------|
20
+ | `form_with` / `model: nil` | No engine usage; inline fields use custom helpers / Turbo, not `form_with` |
21
+ | `form_for` | Devise templates only (upstream Devise 5) |
22
+ | `ActiveRecord::Base.connection` | Unicorn `before_fork` template updated → `connection_pool.disconnect!` |
23
+ | `ActionController` deprecated flags | None in `lib/` |
24
+ | Generator migrations | `ActiveRecord::Migration[8.0]` (tests assert) |
25
+
26
+ ## 4.3 Dart Sass / SCSS
27
+
28
+ Foundation + engine SCSS still emit Dart Sass 1.x deprecation warnings during `dartsass:build`. Accepted for 8.0 ship; migrate to `@use` / `color.scale` before Dart Sass 3.0 (see `stuff/pipeline.md`).
29
+
30
+ ## 4.4 bundler-audit
31
+
32
+ | Lockfile | Result (2026-05-22) |
33
+ |----------|---------------------|
34
+ | `validation_hints/Gemfile.lock` | No vulnerabilities found |
35
+ | Example app `MyApp/Gemfile.lock` | No vulnerabilities found (`bundler-audit` on default gemset) |
36
+
37
+ ## 4.5 Example app gate (unchanged baseline)
38
+
39
+ `inline_forms create MyApp -d sqlite --example` → **88 runs, 502 assertions, 0 failures, 0 errors, 0 skips** (Phase 3, Rails 8.0.5 stack).
data/inline_forms.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency("validation_hints", ">= 8.0.1", "< 9.0")
22
+ s.add_dependency("validation_hints", ">= 8.0.2", "< 9.0")
23
23
  s.add_dependency("rails", ">= 8.0", "< 8.1")
24
24
  s.add_dependency("rails-i18n", ">= 8.0", "< 9.0")
25
25
 
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "8.0.2"
3
+ VERSION = "8.0.3"
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: 8.0.2
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 8.0.1
20
+ version: 8.0.2
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '9.0'
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 8.0.1
30
+ version: 8.0.2
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '9.0'
@@ -496,6 +496,7 @@ files:
496
496
  - docs/jquery-widgets.md
497
497
  - docs/prompt/.gitignore
498
498
  - docs/prompt/test-the-example-app.md
499
+ - docs/rails-8-phase4-audit.md
499
500
  - docs/turbo-stream-audit.md
500
501
  - docs/ujs-to-turbo.md
501
502
  - inline_forms.gemspec