From 8222dfaba899b8fb180a52800e38402af133d39d Mon Sep 17 00:00:00 2001 From: ima1zumi Date: Tue, 30 Nov 2021 08:48:34 +0900 Subject: [PATCH] Update Ruby 3.0.3 --- .devcontainer/Dockerfile | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile | 2 +- Gemfile.lock | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e74fbf93601..a6bb8eb6cc2 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.205.1/containers/ruby/.devcontainer/base.Dockerfile # [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster -ARG VARIANT=2.7-bullseye +ARG VARIANT=3.0-bullseye FROM mcr.microsoft.com/vscode/devcontainers/ruby:${VARIANT} # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8af0f8ac13b..d207268a96e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.2 + ruby-version: 3.0.3 bundler-cache: true - name: Cache node modules diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa853e25d23..c4fc25c6daa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.2 + ruby-version: 3.0.3 bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Cache node modules diff --git a/.ruby-version b/.ruby-version index b5021469305..75a22a26ac4 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.2 +3.0.3 diff --git a/Dockerfile b/Dockerfile index 976b8819c92..1e4679e429d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.0.2-alpine +FROM ruby:3.0.3-alpine ENV RAILS_ENV production WORKDIR /app diff --git a/Gemfile b/Gemfile index 2ca2c2ba8d6..50a3bed7253 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.2' +ruby '3.0.3' gem 'bootsnap', '>= 1.4.4', require: false gem 'date', '>= 3.2.1' # CVE-2021-41817対応 diff --git a/Gemfile.lock b/Gemfile.lock index 2880c271005..2a4597f7980 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -568,7 +568,7 @@ DEPENDENCIES webpacker (~> 5.0) RUBY VERSION - ruby 3.0.2p107 + ruby 3.0.3p157 BUNDLED WITH - 2.2.30 + 2.2.32