From cb8e811af7dd7ac1a0beb6fcaea05c395669bdcb Mon Sep 17 00:00:00 2001 From: Ryan W Date: Mon, 27 Dec 2021 14:49:11 -0800 Subject: [PATCH] Update to Ruby 3.1.0 --- .rubocop.yml | 2 +- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile | 2 +- Gemfile.lock | 6 +----- docker-compose.yml | 6 +++--- 6 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 7ba461e..aad9d91 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 3.0.2 + TargetRubyVersion: 3.1.0 TargetRailsVersion: 7.0.0 DisabledByDefault: true Exclude: diff --git a/.ruby-version b/.ruby-version index 75a22a2..fd2a018 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.3 +3.1.0 diff --git a/Dockerfile b/Dockerfile index ea46eb8..c7c40ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.0.3-slim-bullseye +FROM ruby:3.1.0-slim-bullseye RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ diff --git a/Gemfile b/Gemfile index 103aad2..4aaac26 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.0.3" +ruby "3.1.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.0" diff --git a/Gemfile.lock b/Gemfile.lock index 5390c38..14cf6e1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -122,10 +122,6 @@ GEM nokogiri (1.12.5) mini_portile2 (~> 2.6.1) racc (~> 1.4) - nokogiri (1.12.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.12.5-x86_64-linux) - racc (~> 1.4) parallel (1.21.0) parser (3.0.3.2) ast (~> 2.4.1) @@ -278,7 +274,7 @@ DEPENDENCIES webdrivers RUBY VERSION - ruby 3.0.3p157 + ruby 3.1.0p0 BUNDLED WITH 2.2.32 diff --git a/docker-compose.yml b/docker-compose.yml index 4c3cefc..d35967b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,9 @@ services: - .env environment: - HISTFILE=/usr/src/app/log/.bash_history - depends_on: - - db - - redis + # depends_on: + # - db + # - redis db: image: postgres:13 ports: