diff --git a/.ruby-version b/.ruby-version index c4e41f94..7636e756 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -4.0.3 +4.0.5 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..c09c2cec --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "rubyLsp.formatter": "standard", + "rubyLsp.linters": ["standard"] +} diff --git a/Gemfile b/Gemfile index b12dbc31..23f3870c 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem "rails", "8.1.2" gem "git_hub_bub" # Application server & middleware -gem "puma", "7.2.0" +gem "puma" gem "puma_worker_killer" gem "rack-timeout" gem "rack-canonical-host" diff --git a/Gemfile.lock b/Gemfile.lock index 2d4cd3b1..a7d514a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -382,7 +382,7 @@ GEM date stringio public_suffix (7.0.2) - puma (7.2.0) + puma (8.0.1) nio4r (~> 2.0) puma_worker_killer (1.0.0) bigdecimal (>= 2.0) @@ -667,7 +667,7 @@ DEPENDENCIES prawn premailer-rails pry - puma (= 7.2.0) + puma puma_worker_killer rack-canonical-host rack-mini-profiler @@ -740,6 +740,7 @@ CHECKSUMS bootsnap (1.23.0) sha256=c1254f458d58558b58be0f8eb8f6eec2821456785b7cdd1e16248e2020d3f214 bourbon (7.3.0) sha256=8a150f97d574ef13d4b50a1c936e5059efe2ae2483de13a7f265e5129c6f98b7 builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f + bundler (4.0.12) sha256=7f8b757d28dfb636e7b24fba2344ac6dd13b5b24f4b46d62573d483f211825ac capybara (3.40.0) sha256=42dba720578ea1ca65fd7a41d163dd368502c191804558f6e0f71b391054aeef childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b @@ -862,7 +863,7 @@ CHECKSUMS pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974 public_suffix (7.0.2) sha256=9114090c8e4e7135c1fd0e7acfea33afaab38101884320c65aaa0ffb8e26a857 - puma (7.2.0) sha256=bf8ef4ab514a4e6d4554cb4326b2004eba5036ae05cf765cfe51aba9706a72a8 + puma (8.0.1) sha256=7b94e50c07655718c1fb8ae41a11fc06c7d61293208b3aa608ff71a46d3ad37c puma_worker_killer (1.0.0) sha256=12dc54feecb1758df70d9f4788841423c5416aa370feda4e51e2112a5ff909e9 racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f rack (3.2.5) sha256=4cbd0974c0b79f7a139b4812004a62e4c60b145cba76422e288ee670601ed6d3 @@ -953,7 +954,7 @@ CHECKSUMS zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd RUBY VERSION - ruby 4.0.3 + ruby 4.0.5 BUNDLED WITH - 4.0.5 + 4.0.12 diff --git a/config/puma.rb b/config/puma.rb index ca2d0aee..4cb19f06 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -17,14 +17,7 @@ plugin :tmp_restart before_fork do - require "barnes" require "puma_worker_killer" PumaWorkerKiller.enable_rolling_restart # Default is every 6 hours - - Barnes.start end - -# on_worker_boot do -# Barnes.start -# end