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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91d4fdc2c47dbae9f0fb05f32157e77326029df28eae8c529655779d417d791a
|
|
4
|
+
data.tar.gz: d21272dbbdd19be64fd742f267054fca738afc40cffbda9cbfe74dfb1bf2982a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
73
|
-
#
|
|
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+/,
|
|
@@ -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.
|
|
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
|
|