File 0001-handle-puma-version.patch of Package rubygem-railties-5_1.16723

From 18c04da1a85ee391ee67930b2d332a48a05840a2 Mon Sep 17 00:00:00 2001
From: dmaiocchi <dmaiocchi@suse.com>
Date: Thu, 24 Sep 2020 11:20:54 +0200
Subject: [PATCH] handle higher puma version but respect old

---
 lib/rails/generators/app_base.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rails/generators/app_base.rb b/lib/rails/generators/app_base.rb
index 326e4a1..82412d5 100644
--- a/lib/rails/generators/app_base.rb
+++ b/lib/rails/generators/app_base.rb
@@ -187,7 +187,7 @@ module Rails
       def webserver_gemfile_entry # :doc:
         return [] if options[:skip_puma]
         comment = "Use Puma as the app server"
-        GemfileEntry.new("puma", "~> 3.7", comment)
+        GemfileEntry.new("puma", ">= 3.7", comment)
       end
 
       def include_all_railties? # :doc:
-- 
2.26.2

openSUSE Build Service is sponsored by