From 32e461c66b37dae4f61af37d847d1b078cdaf690 Mon Sep 17 00:00:00 2001 From: Michael Kohl Date: Thu, 5 Nov 2020 22:11:09 +0700 Subject: [PATCH] Update to Ruby 2.7.2 (#10594) * Update to Ruby 2.7.2 * Update remaining files * Remove VERBOSE from development.rb and test.rb * Update Ruby version for dependabot and docs * Readd accidentally removed code --- .github/workflows/dependabot.yml | 2 +- .gitpod.dockerfile | 2 +- .ruby-version | 2 +- .travis.yml | 2 +- Containerfile | 2 +- Gemfile.lock | 2 +- config/environments/development.rb | 3 --- config/environments/test.rb | 3 --- docs/.ruby-version | 2 +- 9 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 089504f3a..5a2ffcb6c 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Ruby 2.7 uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7.1 + ruby-version: 2.7.2 - name: Installing additional dependencies run: | sudo apt-get update diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 6bb271b1c..64275efd1 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -1,7 +1,7 @@ FROM gitpod/workspace-postgres # Install Ruby -ENV RUBY_VERSION=2.7.1 +ENV RUBY_VERSION=2.7.2 RUN rm /home/gitpod/.rvmrc && touch /home/gitpod/.rvmrc && echo "rvm_gems_path=/home/gitpod/.rvm" > /home/gitpod/.rvmrc RUN bash -lc "rvm install ruby-$RUBY_VERSION && rvm use ruby-$RUBY_VERSION --default" diff --git a/.ruby-version b/.ruby-version index 860487ca1..37c2961c2 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.1 +2.7.2 diff --git a/.travis.yml b/.travis.yml index fc20c0582..f9c5e3841 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ cache: - node_modules - $HOME/.nvm rvm: - - 2.7.1 + - 2.7.2 addons: postgresql: '10' # Travis does not work out of the box with Postgres 11 yet chrome: 'stable' diff --git a/Containerfile b/Containerfile index 5c4355f5d..d4215b5fe 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM quay.io/forem/ruby:2.7.1 +FROM quay.io/forem/ruby:2.7.2 USER root diff --git a/Gemfile.lock b/Gemfile.lock index ff1a9b41e..4a0ec18e9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -994,7 +994,7 @@ DEPENDENCIES zonebie (~> 0.6.1) RUBY VERSION - ruby 2.7.1p83 + ruby 2.7.2p137 BUNDLED WITH 2.1.4 diff --git a/config/environments/development.rb b/config/environments/development.rb index 0d1d5e018..3f212846e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,7 +1,4 @@ # rubocop:disable Metrics/BlockLength -# Silence all Ruby 2.7 deprecation warnings -$VERBOSE = nil - Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. diff --git a/config/environments/test.rb b/config/environments/test.rb index 98da3e642..4a9300272 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,6 +1,3 @@ -# Silence all Ruby 2.7 deprecation warnings -$VERBOSE = nil - # rubocop:disable Metrics/BlockLength Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. diff --git a/docs/.ruby-version b/docs/.ruby-version index 860487ca1..37c2961c2 100644 --- a/docs/.ruby-version +++ b/docs/.ruby-version @@ -1 +1 @@ -2.7.1 +2.7.2