diff --git a/.ruby-version b/.ruby-version --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-2.5.1 +ruby-3.2.1 diff --git a/Dockerfile b/Dockerfile --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # A simple Jenkins dashboard view # -FROM ruby:2.5 +FROM ruby:3.2 MAINTAINER Sébastien Santoro aka Dereckson # diff --git a/Gemfile b/Gemfile --- a/Gemfile +++ b/Gemfile @@ -1,13 +1,14 @@ # frozen_string_literal: true source 'http://rubygems.org' -gem 'activesupport' +gem 'activesupport', '~> 7.0', '>= 7.0.4.3' gem 'hashie' gem 'i18n' gem 'json' gem 'rest-client' -gem 'sinatra', '>= 2.0.4' +gem 'sinatra', '~> 3.0', '>= 3.0.4' +gem 'thin' group :development do - gem 'shotgun', '<= 0.9.2' + gem 'shotgun', '~> 0.9', '>= 0.9.2' end diff --git a/Gemfile.lock b/Gemfile.lock --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,59 +1,69 @@ GEM remote: http://rubygems.org/ specs: - activesupport (5.2.1) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - concurrent-ruby (1.0.5) - domain_name (0.5.20180417) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + concurrent-ruby (1.2.2) + daemons (1.4.1) + domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) - hashie (3.6.0) - http-cookie (1.0.3) + eventmachine (1.2.7) + hashie (5.0.0) + http-accept (1.7.0) + http-cookie (1.0.5) domain_name (~> 0.5) - i18n (1.1.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) - json (2.1.0) - mime-types (3.2.2) + json (2.6.3) + mime-types (3.4.1) mime-types-data (~> 3.2015) - mime-types-data (3.2018.0812) - minitest (5.11.3) - mustermann (1.0.3) + mime-types-data (3.2023.0218.1) + minitest (5.18.0) + mustermann (3.0.0) + ruby2_keywords (~> 0.0.1) netrc (0.11.0) - rack (2.0.5) - rack-protection (2.0.4) + rack (2.2.6.4) + rack-protection (3.0.5) rack - rest-client (2.0.2) + rest-client (2.1.0) + http-accept (>= 1.7.0, < 2.0) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) + ruby2_keywords (0.0.5) shotgun (0.9.2) rack (>= 1.0) - sinatra (2.0.4) - mustermann (~> 1.0) - rack (~> 2.0) - rack-protection (= 2.0.4) + sinatra (3.0.5) + mustermann (~> 3.0) + rack (~> 2.2, >= 2.2.4) + rack-protection (= 3.0.5) tilt (~> 2.0) - thread_safe (0.3.6) - tilt (2.0.8) - tzinfo (1.2.5) - thread_safe (~> 0.1) + thin (1.8.1) + daemons (~> 1.0, >= 1.0.9) + eventmachine (~> 1.0, >= 1.0.4) + rack (>= 1, < 3) + tilt (2.1.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) unf (0.1.4) unf_ext - unf_ext (0.0.7.5) + unf_ext (0.0.8.2) PLATFORMS - ruby + x86_64-linux DEPENDENCIES - activesupport + activesupport (~> 7.0, >= 7.0.4.3) hashie i18n json rest-client - shotgun (<= 0.9.2) - sinatra (>= 2.0.4) + shotgun (~> 0.9, >= 0.9.2) + sinatra (~> 3.0, >= 3.0.4) + thin BUNDLED WITH - 1.16.2 + 2.4.6