diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 303a655..ae0f824 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.1.7" + ruby-version: "3.3.14" - name: Install PostgreSQL 11 client run: | @@ -40,7 +40,7 @@ jobs: gem install bundler:2.3.23 bundle install --jobs 4 --retry 3 yarn install - rake db:setup + bundle exec rake db:setup - name: Run tests run: | bundle exec rspec spec diff --git a/.ruby-version b/.ruby-version index 434c481..73f716f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.1.7 +ruby-3.3.14 diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..c264853 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.3.14 diff --git a/Dockerfile b/Dockerfile index fe6b0c8..f642019 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG DISTRO_NAME=bullseye -ARG RUBY_VERSION=3.1.7 +ARG RUBY_VERSION=3.3.14 FROM ruby:$RUBY_VERSION-slim-$DISTRO_NAME diff --git a/Gemfile b/Gemfile index 01a7ec2..0bccc02 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.1.7" +ruby "3.3.14" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.4" diff --git a/Gemfile.lock b/Gemfile.lock index 1543714..fbe4d18 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -212,13 +212,13 @@ GEM next_rails (1.2.1) colorize (>= 0.8.1) nio4r (2.5.9) - nokogiri (1.13.9-aarch64-linux) + nokogiri (1.19.7-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.13.9-arm64-darwin) + nokogiri (1.19.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.13.9-x86_64-darwin) + nokogiri (1.19.7-x86_64-darwin) racc (~> 1.4) - nokogiri (1.13.9-x86_64-linux) + nokogiri (1.19.7-x86_64-linux-gnu) racc (~> 1.4) notiffany (0.1.3) nenv (~> 0.1) @@ -272,8 +272,8 @@ GEM public_suffix (5.0.0) puma (5.6.5) nio4r (~> 2.0) - racc (1.6.0) - rack (2.2.4) + racc (1.8.1) + rack (2.2.25) rack-protection (3.0.6) rack rack-test (2.0.2) @@ -434,7 +434,9 @@ GEM PLATFORMS aarch64-linux + arm64-darwin arm64-darwin-25 + x86_64-darwin x86_64-darwin-20 x86_64-darwin-21 x86_64-darwin-22 @@ -476,7 +478,7 @@ DEPENDENCIES webdrivers RUBY VERSION - ruby 3.1.7p261 + ruby 3.3.14p208 BUNDLED WITH 2.3.23 diff --git a/docker-compose.yml b/docker-compose.yml index c5f2e1b..8a2246a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: build: context: . args: - RUBY_VERSION: '3.1.7' + RUBY_VERSION: '3.3.14' PG_MAJOR: '14' NODE_MAJOR: '16' YARN_VERSION: '1.22.17'