inline_forms_installer 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: 4ab642f22fbe01e046c50dd57353ec13401be001f48e8f115acc35f28a1a0a86
4
- data.tar.gz: 950b79a445f893c5a2d579c158605a5053b52a6e4d73812303e79fc3343f1cb1
3
+ metadata.gz: 91d4fdc2c47dbae9f0fb05f32157e77326029df28eae8c529655779d417d791a
4
+ data.tar.gz: d21272dbbdd19be64fd742f267054fca738afc40cffbda9cbfe74dfb1bf2982a
5
5
  SHA512:
6
- metadata.gz: 902bae21567e1c273b39853ac858338c649d661efee1f0204e4b60006832cc7f7ebb0666e44e88562ecc1d5882206301f9970440e12fac251b7fbdb6f2305e1d
7
- data.tar.gz: 1642f887d5bc700773924435a636e6dcb0e50dd6d28445ec946f27c6e7c3608f105ead486c6bec05e14d82682a9229f6ca0a91b0f7d0ea8d241c20c0b073248e
6
+ metadata.gz: 51085fde767560341594f9d3c3da50b8a6085b06bfef3a3ba4826e63a21de5f5278d43fdee437b1e6c45f44738bb81b3fc7e3cde5bd471dee6fe5581a7bb0bcf
7
+ data.tar.gz: 1f4f9a714507ac6ba8658418a0586d1f006591f3ea9ffe6a0f655390211e7ea090a74c35f5f18cf8bbf61bbbd5b2a4fa0f52cf4f17ba223aba0b6c6f6bb8ba60
@@ -61,7 +61,7 @@ module InlineFormsInstaller
61
61
 
62
62
  inline_forms_version = InlineFormsInstaller.inline_forms_version
63
63
  # The Gemfile pins `gem "inline_forms", "~> 8"`, so Bundler resolves the
64
- # highest 7.x available on RubyGems at install time. The
64
+ # highest 8.x available on RubyGems at install time. The
65
65
  # `inline_forms_version` value above is just whatever happens to be in
66
66
  # the Creator's own gemset and may differ from what lands in the app;
67
67
  # report the constraint instead of a misleading exact version, and let
@@ -69,8 +69,8 @@ use_app_rvm_gemset!
69
69
  remove_file 'Gemfile' if File.exist?('Gemfile')
70
70
  create_file 'Gemfile', "# created by inline_forms_installer #{ENV['inline_forms_installer_version']} on #{Date.today}\n"
71
71
 
72
- # `rails new` uses a locally installed Rails 8.0.x when available (see Creator).
73
- # Align `load_defaults` with the Gemfile pin below if a different `rails new` left another version.
72
+ # Creator invokes `rails _8.0.x_ new`, which emits `load_defaults 8.0` and removes
73
+ # `new_framework_defaults_8_0.rb`. Normalize anyway when an older generator left another minor.
74
74
  if File.exist?('config/application.rb')
75
75
  gsub_file 'config/application.rb',
76
76
  /config\.load_defaults\s+\d+\.\d+/,
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineFormsInstaller
3
- VERSION = "8.0.2"
3
+ VERSION = "8.0.3"
4
4
 
5
5
  # Written into generated apps' `.ruby-version` (must match gemspec `required_ruby_version`).
6
6
  TARGET_RUBY_VERSION = "ruby-4.0.4"
@@ -22,7 +22,7 @@ before_exec do |_|
22
22
  end
23
23
 
24
24
  before_fork do |server, worker|
25
- defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect!
25
+ defined?(ActiveRecord::Base) and ActiveRecord::Base.connection_pool.disconnect!
26
26
 
27
27
  old_pid = "#{app_path}/tmp/pids/unicorn.pid.oldbin"
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms_installer
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