diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da2994f..d2524b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.0.3" + ruby-version: .ruby-version bundler-cache: true - name: Wait for MySQL to boot diff --git a/.ruby-version b/.ruby-version index 15a2799..fa7adc7 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.0 +3.3.5 diff --git a/Dockerfile b/Dockerfile index c2b9dc8..b66b0e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3.0-alpine3.18 +FROM ruby:3.3.5-alpine3.20 ARG KRANE_VERSION=3.0.1 ARG KUBECTL_VERSION=1.26.3 @@ -12,6 +12,7 @@ RUN apk update && apk --update add \ COPY Gemfile /app/ COPY Gemfile.lock /app/ +COPY .ruby-version /app/ RUN apk --update add \ --virtual build-dependencies \ diff --git a/Gemfile b/Gemfile index 14dcded..94052a9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,15 @@ source 'https://rubygems.org' +ruby file: ".ruby-version" + gem 'rails', '~> 7.0.8' gem 'mysql2' gem 'puma', '~> 6.4' gem 'bootsnap', '>= 1.4.2', require: false +gem 'base64', '~> 0.2.0' +gem 'bigdecimal', '~> 3.1' +gem 'mutex_m', '~> 0.2.0' +gem 'json', '~> 2.7' group :development do gem 'web-console', '>= 3.3.0' diff --git a/Gemfile.lock b/Gemfile.lock index b7cdd37..f56348f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -78,6 +78,8 @@ GEM descendants_tracker (~> 0.0.4) ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) + base64 (0.2.0) + bigdecimal (3.1.8) bindex (0.8.1) bootsnap (1.18.4) msgpack (~> 1.2) @@ -142,6 +144,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) + json (2.7.2) jwt (2.7.1) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) @@ -165,6 +168,7 @@ GEM msgpack (1.7.2) multi_xml (0.6.0) multipart-post (2.3.0) + mutex_m (0.2.0) mysql2 (0.5.6) net-imap (0.4.11) date @@ -179,6 +183,14 @@ GEM nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) + nokogiri (1.16.7-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.7-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-linux) + racc (~> 1.4) oauth2 (2.0.9) faraday (>= 0.17.3, < 3.0) jwt (>= 1.0, < 3.0) @@ -350,12 +362,22 @@ GEM zeitwerk (2.6.14) PLATFORMS + aarch64-linux + arm64-darwin + arm64-linux ruby + x86_64-darwin + x86_64-linux + x86_64-linux-musl DEPENDENCIES + base64 (~> 0.2.0) + bigdecimal (~> 3.1) bootsnap (>= 1.4.2) byebug + json (~> 2.7) listen (>= 3.0.5) + mutex_m (~> 0.2.0) mysql2 puma (~> 6.4) rails (~> 7.0.8) @@ -363,5 +385,8 @@ DEPENDENCIES sidekiq web-console (>= 3.3.0) +RUBY VERSION + ruby 3.3.5p100 + BUNDLED WITH - 2.5.5 + 2.5.21