Blob Blame History Raw
From 545a9908e8f661aa391b5c8e418a5204b1eba7f7 Mon Sep 17 00:00:00 2001
From: Jonathan Hefner <jonathan@hefner.pro>
Date: Sun, 16 Oct 2022 14:13:46 -0500
Subject: [PATCH] Bump Puma to v6.0.0

The `Gemfile` was updated in #46106 to allow Puma 6.  Puma v6.0.0 was
released on 2022-10-14.  This commit updates `Gemfile.lock` to reflect
the new version.

This commit also updates the Puma version constraint used in generated
apps to allow Puma 6.
---
 railties/lib/rails/generators/app_base.rb          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index 8e4e9d483d50c..4044c58c02fb7 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -169,7 +169,7 @@ def database_gemfile_entry # :doc:
       end
 
       def web_server_gemfile_entry # :doc:
-        GemfileEntry.new "puma", "~> 5.0", "Use the Puma web server [https://github.com/puma/puma]"
+        GemfileEntry.new "puma", ">= 5.0", "Use the Puma web server [https://github.com/puma/puma]"
       end
 
       def asset_pipeline_gemfile_entry