From 8c883f3235276404fb5663a4e493317a92c6aa6a Mon Sep 17 00:00:00 2001 From: John ODonnell Date: Fri, 15 Dec 2023 13:09:33 -0500 Subject: [PATCH] Ruby test app: swap Thin for Puma --- tests/integration/apps/ruby/Gemfile | 2 +- tests/integration/apps/ruby/Gemfile.lock | 11 ++++------- tests/integration/apps/ruby/Procfile | 1 + 3 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 tests/integration/apps/ruby/Procfile diff --git a/tests/integration/apps/ruby/Gemfile b/tests/integration/apps/ruby/Gemfile index d7336e8..8114b04 100644 --- a/tests/integration/apps/ruby/Gemfile +++ b/tests/integration/apps/ruby/Gemfile @@ -5,5 +5,5 @@ ruby '~> 3.2' gem 'conjur-api' gem 'conjur-cli' -gem 'thin' +gem 'puma' gem 'roda' diff --git a/tests/integration/apps/ruby/Gemfile.lock b/tests/integration/apps/ruby/Gemfile.lock index 93938dd..b5c1e2b 100644 --- a/tests/integration/apps/ruby/Gemfile.lock +++ b/tests/integration/apps/ruby/Gemfile.lock @@ -23,11 +23,9 @@ GEM netrc (~> 0.10) table_print (~> 1.5) xdg (= 2.2.3) - daemons (1.4.1) deep_merge (1.2.2) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) - eventmachine (1.2.7) gli (2.21.0) highline (2.1.0) http-accept (1.7.0) @@ -40,7 +38,10 @@ GEM mime-types-data (3.2023.0218.1) minitest (5.18.0) netrc (0.11.0) + nio4r (2.7.0) public_suffix (5.0.1) + puma (6.4.0) + nio4r (~> 2.0) rack (3.0.1) rest-client (2.1.0) http-accept (>= 1.7.0, < 2.0) @@ -50,10 +51,6 @@ GEM roda (3.68.0) rack table_print (1.5.7) - thin (1.8.2) - daemons (~> 1.0, >= 1.0.9) - eventmachine (~> 1.0, >= 1.0.4) - rack (>= 1, < 3) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unf (0.1.4) @@ -68,8 +65,8 @@ PLATFORMS DEPENDENCIES conjur-api conjur-cli + puma roda - thin RUBY VERSION ruby 3.2.2p53 diff --git a/tests/integration/apps/ruby/Procfile b/tests/integration/apps/ruby/Procfile new file mode 100644 index 0000000..8136a6f --- /dev/null +++ b/tests/integration/apps/ruby/Procfile @@ -0,0 +1 @@ +web: bundle exec puma \ No newline at end of file