inline_forms 8.1.1 → 8.1.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 +4 -4
- data/CHANGELOG.md +29 -0
- data/README.rdoc +2 -2
- data/inline_forms.gemspec +4 -4
- data/lib/generators/templates/add_columns_migration.erb +1 -1
- data/lib/generators/templates/migration.erb +1 -1
- data/lib/inline_forms/version.rb +1 -1
- data/test/inline_forms_generator_test.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 977ef4ea7379846bb2c176ef945cdaddb16816aed800d283b0655d08f0e0cfa8
|
|
4
|
+
data.tar.gz: 5dc4778948c43efa3b4348f7c906137aae4e25545229727ed83172bab4d776f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 513ca378e912320a20a982210cad7f625788f79858a75310ea04e164de83a6124ca25ce43af7162065efc161e8693ec0464ac8f96e05659b46b53a2564647ba2
|
|
7
|
+
data.tar.gz: e4ec7479913bdeaa570064e1946884d00481774a07758af7e86170342464a55f2269c029822edecaf4f31130c3e822ca18338e8a34d2ef5d60e8d240e170525f
|
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
|
+
## [8.1.3] - 2026-05-26
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **PaperTrail 17.0:** generated app Gemfile bumped from `paper_trail ~> 16.0` to `paper_trail ~> 17.0`. PT 17 officially supports Rails 8.1 (it drops Rails 6.1 / 7.0 and Ruby 3.0 / 3.1, all out of scope here) and silences the "PaperTrail 16.0.0 is not compatible with ActiveRecord 8.1.3" boot warning that PT 16 emitted under our 8.1 stack. No installer / engine code changes needed — `has_paper_trail`, the rich-text mirror initializer, and the YAML safe-load initializer all work unchanged.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`inline_forms create -U <Class>` collision check.** The installer always generates `Locale` and `Role`; with `--example`, it also generates `Photo`, `Apartment`, and `Owner`. Passing `-U Locale|Role` (with or without `--example`) or `-U Photo|Apartment|Owner` together with `--example` previously aborted halfway through with a Thor `conflict app/models/<name>.rb` prompt because the user model file (generated first) was about to be overwritten by the example app's `rails g inline_forms <Name>`. `Creator#create` now rejects these combinations up front with an actionable red error before `rails new` runs.
|
|
16
|
+
|
|
17
|
+
### Notes
|
|
18
|
+
|
|
19
|
+
- **Example app gate (recorded):** `inline_forms create MyApp -d sqlite --example` against the freshly built **8.1.3** gem trio on `rails 8.1.3` / `paper_trail 17.0.0`: install completes cleanly (no PT compatibility warning), `bundle check: ok`, **88 runs, 502 assertions, 0 failures, 0 errors, 0 skips**.
|
|
20
|
+
|
|
21
|
+
## [8.1.2] - 2026-05-26
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Rails 8.1:** engine and installer pin **`rails >= 8.1, < 8.2`** (resolved **8.1.3**) and **`rails-i18n >= 8.1, < 9.0`** (resolved **8.1.0**). Generated apps' `config/application.rb` is normalised to **`config.load_defaults 8.1`** and the installer prefers **`rails _8.1.x_`** for `rails new`. All generator and installer migrations now emit **`ActiveRecord::Migration[8.1]`** (`lib/generators/templates/migration.erb`, `lib/generators/templates/add_columns_migration.erb`, `DeviseCreateUsers`, `InlineFormsCreateJoinTableUserRole`, `AddOwnerToApartments`, `SeedExampleApartmentsAndOwners`).
|
|
26
|
+
- **`validation_hints` constraint:** widened to **`>= 8.1.2, < 9.0`** so Bundler picks up the matching companion release that targets `activerecord >= 8.1`.
|
|
27
|
+
- **README.rdoc:** requirements table and `rails-i18n` narrative updated to **Rails 8.1.x** / `~> 8.1` / `config.load_defaults 8.1`.
|
|
28
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **8.1.2** (lockstep with **validation_hints 8.1.2**).
|
|
29
|
+
|
|
30
|
+
### Notes
|
|
31
|
+
|
|
32
|
+
- **Example app gate (recorded):** `inline_forms create MyApp -d sqlite --example` against the freshly built **8.1.2** gem trio on `rails 8.1.3`: install completes in ~77s, `bundle check: ok`, **88 runs, 502 assertions, 0 failures, 0 errors, 0 skips**. A subsequent `bundle exec rails test` in the generated app reproduces the same result in ~1.9s.
|
|
33
|
+
- **PaperTrail 16.0.0 / ActiveRecord 8.1 warning:** PT emits a compatibility warning during boot (it pins `< 8.1` internally) but does not raise; all PaperTrail-backed integration and model tests pass on AR 8.1.3. Revisit pin when paper_trail ships an 8.1-compatible release; no behaviour change needed in inline_forms for now.
|
|
34
|
+
- **Frozen-string warnings:** Ruby 4.0's `--debug-frozen-string-literal` surfaces literal-string warnings from `tabs_on_rails 3.0.0` and one inline_forms helper (`check_list_helper.rb:13`); these are non-fatal under current Ruby and tracked separately.
|
|
35
|
+
|
|
7
36
|
## [8.1.1] - 2026-05-26
|
|
8
37
|
|
|
9
38
|
### Added
|
data/README.rdoc
CHANGED
|
@@ -5,7 +5,7 @@ Inline Forms is almost a complete admin application. You can try it out easily.
|
|
|
5
5
|
= Requirements
|
|
6
6
|
|
|
7
7
|
* Ruby **>= 4.0** (generated apps pin **ruby-4.0.4**)
|
|
8
|
-
* Rails **8.
|
|
8
|
+
* Rails **8.1.x** (+rails ~> 8.1+, +config.load_defaults 8.1+)
|
|
9
9
|
* **validation_hints** **~> 8** (companion gem; same version line as +inline_forms+ / +inline_forms_installer+)
|
|
10
10
|
|
|
11
11
|
= Usage
|
|
@@ -252,7 +252,7 @@ In every case the Turbo wiring is the same: +link_options: { data: { turbo_frame
|
|
|
252
252
|
|
|
253
253
|
== Generated application +rails-i18n+
|
|
254
254
|
|
|
255
|
-
New apps get +rails-i18n+ from RubyGems (+ '~> 8.
|
|
255
|
+
New apps get +rails-i18n+ from RubyGems (+ '~> 8.1'+), not from the +svenfuchs/rails-i18n+ Git repository. The installer pins +rails ~> 8.1+ with +config.load_defaults 8.1+; the published +rails-i18n+ 8.x line matches that stack.
|
|
256
256
|
|
|
257
257
|
== File uploads (CarrierWave)
|
|
258
258
|
|
data/inline_forms.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.email = ["ace@suares.com"]
|
|
12
12
|
s.homepage = %q{http://github.com/acesuares/inline_forms}
|
|
13
13
|
s.summary = %q{Inline editing of forms for Rails 8.}
|
|
14
|
-
s.description = %q{Inline Forms eases setup of admin-style forms with inline editing. Field lists are declared on the model. Requires Rails 8.
|
|
14
|
+
s.description = %q{Inline Forms eases setup of admin-style forms with inline editing. Field lists are declared on the model. Requires Rails 8.1.x, Ruby >= 4.0, and validation_hints ~> 8.}
|
|
15
15
|
s.licenses = ["MIT"]
|
|
16
16
|
s.required_ruby_version = ">= 4.0.0"
|
|
17
17
|
|
|
@@ -19,9 +19,9 @@ 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.1.
|
|
23
|
-
s.add_dependency("rails", ">= 8.
|
|
24
|
-
s.add_dependency("rails-i18n", ">= 8.
|
|
22
|
+
s.add_dependency("validation_hints", ">= 8.1.3", "< 9.0")
|
|
23
|
+
s.add_dependency("rails", ">= 8.1", "< 8.2")
|
|
24
|
+
s.add_dependency("rails-i18n", ">= 8.1", "< 9.0")
|
|
25
25
|
|
|
26
26
|
s.add_development_dependency("minitest", "~> 5.0")
|
|
27
27
|
end
|
data/lib/inline_forms/version.rb
CHANGED
|
@@ -56,7 +56,7 @@ class InlineFormsGeneratorTest < Minitest::Test
|
|
|
56
56
|
|
|
57
57
|
assert_includes(application_controller, "MODEL_TABS = %w(things ")
|
|
58
58
|
|
|
59
|
-
assert_includes(migration, "class InlineFormsCreateThings < ActiveRecord::Migration[8.
|
|
59
|
+
assert_includes(migration, "class InlineFormsCreateThings < ActiveRecord::Migration[8.1]")
|
|
60
60
|
assert_includes(migration, "create_table :things do |t|")
|
|
61
61
|
assert_includes(migration, "t.string :name")
|
|
62
62
|
assert_includes(migration, "t.belongs_to :category")
|
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.1.
|
|
4
|
+
version: 8.1.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.1.
|
|
20
|
+
version: 8.1.3
|
|
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.1.
|
|
30
|
+
version: 8.1.3
|
|
31
31
|
- - "<"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '9.0'
|
|
@@ -37,27 +37,27 @@ dependencies:
|
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '8.
|
|
40
|
+
version: '8.1'
|
|
41
41
|
- - "<"
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: '8.
|
|
43
|
+
version: '8.2'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
|
47
47
|
requirements:
|
|
48
48
|
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '8.
|
|
50
|
+
version: '8.1'
|
|
51
51
|
- - "<"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '8.
|
|
53
|
+
version: '8.2'
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: rails-i18n
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '8.
|
|
60
|
+
version: '8.1'
|
|
61
61
|
- - "<"
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '9.0'
|
|
@@ -67,7 +67,7 @@ dependencies:
|
|
|
67
67
|
requirements:
|
|
68
68
|
- - ">="
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
|
-
version: '8.
|
|
70
|
+
version: '8.1'
|
|
71
71
|
- - "<"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
73
|
version: '9.0'
|
|
@@ -86,7 +86,7 @@ dependencies:
|
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
87
|
version: '5.0'
|
|
88
88
|
description: Inline Forms eases setup of admin-style forms with inline editing. Field
|
|
89
|
-
lists are declared on the model. Requires Rails 8.
|
|
89
|
+
lists are declared on the model. Requires Rails 8.1.x, Ruby >= 4.0, and validation_hints
|
|
90
90
|
~> 8.
|
|
91
91
|
email:
|
|
92
92
|
- ace@suares.com
|
|
@@ -587,7 +587,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
587
587
|
- !ruby/object:Gem::Version
|
|
588
588
|
version: '0'
|
|
589
589
|
requirements: []
|
|
590
|
-
rubygems_version: 4.0.
|
|
590
|
+
rubygems_version: 4.0.12
|
|
591
591
|
specification_version: 4
|
|
592
592
|
summary: Inline editing of forms for Rails 8.
|
|
593
593
|
test_files:
|