File allow-newer-sqlite.patch of Package rubygem-railties-7.0

Index: railties-7.0.8.6/lib/rails/generators/database.rb
===================================================================
--- railties-7.0.8.6.orig/lib/rails/generators/database.rb
+++ railties-7.0.8.6/lib/rails/generators/database.rb
@@ -15,7 +15,7 @@ module Rails
         case database
         when "mysql"          then ["mysql2", ["~> 0.5"]]
         when "postgresql"     then ["pg", ["~> 1.1"]]
-        when "sqlite3"        then ["sqlite3", ["~> 1.4"]]
+        when "sqlite3"        then ["sqlite3", [">= 1.4"]]
         when "oracle"         then ["activerecord-oracle_enhanced-adapter", nil]
         when "sqlserver"      then ["activerecord-sqlserver-adapter", nil]
         when "jdbcmysql"      then ["activerecord-jdbcmysql-adapter", nil]
Index: railties-7.0.8.6/lib/rails/generators/app_base.rb
===================================================================
--- railties-7.0.8.6.orig/lib/rails/generators/app_base.rb
+++ railties-7.0.8.6/lib/rails/generators/app_base.rb
@@ -169,7 +169,7 @@ module Rails
       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
openSUSE Build Service is sponsored by