inline_forms 8.1.1 → 8.1.2

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: 86869c3131530e4764f1a16620e48bd0eaf920461f0471697c07d2e30bda69f3
4
- data.tar.gz: 5c304a602f87fcc37b403d3b2299b5f467da1eef65f1fde8d624cadc8085b1c9
3
+ metadata.gz: 1cb2062c3fc919203715606f7a499b51f35cac4882d681098499e48ee7b6f06f
4
+ data.tar.gz: 8f08d99f8c9b161c398919747e8fe457e0e6c91370d721eb8e300e9fd89d934a
5
5
  SHA512:
6
- metadata.gz: 940a25c0f1ac072dbc7c1bd098e72f37e81b5f24e96230e399bbf0d4e22eba3260177ce2029751ada4c572d9e04585dafd97cfac7513ae9848c8deb5c91ed8a4
7
- data.tar.gz: 372c3f53240ded87cee02386f6b0b52586c9abb5fec8889b2968483383f4f01c09483f408a06eb6a1ccb0716c5b01ab4db3d6dfb9e76cc72f555a16739ca3f07
6
+ metadata.gz: f72943d7626636b4657c09b79aa47feff78fd533fe179bcc5200322ba49b48dceee70b4cff15362b715af47d34e40c0ff2184e879c1e0cee715698bd236cd223
7
+ data.tar.gz: e7aea2a16935eb0c0fb7bae12a2c2bd83ed1ce8324d29d750523c624e72b15233574d18f520bb64b4c8495a054a7d841958451c83a81608e3f6f62cc6b55346b
data/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [8.1.2] - 2026-05-26
8
+
9
+ ### Changed
10
+
11
+ - **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`).
12
+ - **`validation_hints` constraint:** widened to **`>= 8.1.2, < 9.0`** so Bundler picks up the matching companion release that targets `activerecord >= 8.1`.
13
+ - **README.rdoc:** requirements table and `rails-i18n` narrative updated to **Rails 8.1.x** / `~> 8.1` / `config.load_defaults 8.1`.
14
+ - **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **8.1.2** (lockstep with **validation_hints 8.1.2**).
15
+
16
+ ### Notes
17
+
18
+ - **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.
19
+ - **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.
20
+ - **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.
21
+
7
22
  ## [8.1.1] - 2026-05-26
8
23
 
9
24
  ### 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.0.x** (+rails ~> 8.0+, +config.load_defaults 8.0+)
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.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.
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.0.x, Ruby >= 4.0, and validation_hints ~> 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.0", "< 9.0")
23
- s.add_dependency("rails", ">= 8.0", "< 8.1")
24
- s.add_dependency("rails-i18n", ">= 8.0", "< 9.0")
22
+ s.add_dependency("validation_hints", ">= 8.1.2", "< 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
@@ -1,4 +1,4 @@
1
- class <%= migration_class_name %> < ActiveRecord::Migration[8.0]
1
+ class <%= migration_class_name %> < ActiveRecord::Migration[8.1]
2
2
 
3
3
  def change
4
4
  <%= @migration_lines -%>
@@ -1,4 +1,4 @@
1
- class InlineFormsCreate<%= table_name.camelize %> < ActiveRecord::Migration[8.0]
1
+ class InlineFormsCreate<%= table_name.camelize %> < ActiveRecord::Migration[8.1]
2
2
 
3
3
  def self.up
4
4
  create_table :<%= table_name + @primary_key_option %> do |t|
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "8.1.1"
3
+ VERSION = "8.1.2"
4
4
  end
@@ -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.0]")
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.1
4
+ version: 8.1.2
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.0
20
+ version: 8.1.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.1.0
30
+ version: 8.1.2
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.0'
40
+ version: '8.1'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '8.1'
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.0'
50
+ version: '8.1'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '8.1'
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.0'
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.0'
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.0.x, Ruby >= 4.0, and validation_hints
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