From 6b6155579c5c4da67561d6053cd712e640fe9f54 Mon Sep 17 00:00:00 2001 From: Didier Lafforgue Date: Sun, 5 Jan 2025 22:27:06 +0100 Subject: [PATCH] install Puma for any Rails versions --- Gemfile | 2 +- Gemfile.rails_6 | 3 +++ Gemfile.rails_6.lock | 3 +++ Gemfile.rails_7_0 | 3 +++ Gemfile.rails_7_0.lock | 3 +++ Gemfile.rails_7_2 | 3 +++ Gemfile.rails_7_2.lock | 3 +++ 7 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 9d60050..20b1e29 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ gem 'image_processing', '~> 1.12.2' # Use Propshaft to deal with assets in the dummy app gem 'propshaft' -# Use Puma to run the web server +# Use Puma to run the web server for testing gem 'puma' # Temporary use this branch because it solves a bug diff --git a/Gemfile.rails_6 b/Gemfile.rails_6 index e544eb4..58c870a 100644 --- a/Gemfile.rails_6 +++ b/Gemfile.rails_6 @@ -19,6 +19,9 @@ gem 'image_processing', '~> 1.12.2' # Use Sprockets to deal with assets in the dummy app gem "sprockets-rails" +# Use Puma to run the web server for testing +gem 'puma' + # Temporary use this branch because it solves a bug # gem 'maglev-injectable', path: '../injectable' diff --git a/Gemfile.rails_6.lock b/Gemfile.rails_6.lock index 4bf434c..c5fbbce 100644 --- a/Gemfile.rails_6.lock +++ b/Gemfile.rails_6.lock @@ -161,6 +161,8 @@ GEM ast (~> 2.4.1) racc pg (1.5.9) + puma (6.5.0) + nio4r (~> 2.0) racc (1.8.1) rack (2.2.10) rack-proxy (0.7.7) @@ -304,6 +306,7 @@ DEPENDENCIES mini_magick (~> 4.11) nokogiri (>= 1.13.10) pg (~> 1.5.9) + puma rails (~> 6.1) rspec-rails rubocop diff --git a/Gemfile.rails_7_0 b/Gemfile.rails_7_0 index 778c312..e247977 100644 --- a/Gemfile.rails_7_0 +++ b/Gemfile.rails_7_0 @@ -19,6 +19,9 @@ gem 'image_processing', '~> 1.12.2' # Use Sprockets to deal with assets in the dummy app gem "sprockets-rails" +# Use Puma to run the web server for testing +gem 'puma' + # Temporary use this branch because it solves a bug # gem 'maglev-injectable', path: '../injectable' diff --git a/Gemfile.rails_7_0.lock b/Gemfile.rails_7_0.lock index 575b6b7..9245a9d 100644 --- a/Gemfile.rails_7_0.lock +++ b/Gemfile.rails_7_0.lock @@ -167,6 +167,8 @@ GEM ast (~> 2.4.1) racc pg (1.5.9) + puma (6.5.0) + nio4r (~> 2.0) racc (1.8.1) rack (2.2.10) rack-proxy (0.7.7) @@ -310,6 +312,7 @@ DEPENDENCIES mini_magick (~> 4.11) nokogiri (>= 1.13.10) pg (~> 1.5.9) + puma rails (= 7.0.8) rspec-rails rubocop diff --git a/Gemfile.rails_7_2 b/Gemfile.rails_7_2 index 8a02067..ef4b1d4 100644 --- a/Gemfile.rails_7_2 +++ b/Gemfile.rails_7_2 @@ -22,6 +22,9 @@ gem 'rack', '~> 3.0.10' # REXML contains a denial of service vulnerability gem 'rexml', '>= 3.3.6' +# Use Puma to run the web server for testing +gem 'puma' + # Temporary use this branch because it solves a bug # gem 'maglev-injectable', path: '../injectable' diff --git a/Gemfile.rails_7_2.lock b/Gemfile.rails_7_2.lock index b6ed2cc..6b32563 100644 --- a/Gemfile.rails_7_2.lock +++ b/Gemfile.rails_7_2.lock @@ -191,6 +191,8 @@ GEM pg (1.5.9) psych (5.2.0) stringio + puma (6.5.0) + nio4r (~> 2.0) racc (1.8.1) rack (3.0.11) rack-proxy (0.7.7) @@ -356,6 +358,7 @@ DEPENDENCIES maglevcms! nokogiri (>= 1.15.6) pg (~> 1.5.9) + puma rack (~> 3.0.10) rails (~> 7.2.2) rdoc (>= 6.6.3.1)