diff --git a/.ruby-version b/.ruby-version index 57cf282eb..24ba9a38d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.5 +2.7.0 diff --git a/.travis.yml b/.travis.yml index 8dd8b8585..68763c074 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ cache: - node_modules - $HOME/.nvm rvm: - - 2.6.5 + - 2.7.0 addons: postgresql: '9.6' chrome: 'stable' diff --git a/Dockerfile b/Dockerfile index fc257713a..865061351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6.5-alpine3.10 +FROM ruby:2.7.0-alpine3.10 #------------------------------------------------------------------------------ # diff --git a/Gemfile.lock b/Gemfile.lock index f5191956b..13a90aaa3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1020,7 +1020,7 @@ DEPENDENCIES zonebie (~> 0.6.1) RUBY VERSION - ruby 2.6.5p114 + ruby 2.7.0p0 BUNDLED WITH 2.1.4 diff --git a/README.md b/README.md index 75a0e71d7..d811663ae 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

- ruby version + ruby version rails version diff --git a/config/environments/development.rb b/config/environments/development.rb index f441dcc4e..a1aa57925 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,3 +1,6 @@ +# Silence all Ruby 2.7 deprecation warnings +$VERBOSE = nil + Rails.application.configure do # Verifies that versions and hashed value of the package contents in the project's package.json # As the integrity check is currently broken under Docker with webpacker, diff --git a/config/environments/test.rb b/config/environments/test.rb index a460de665..e5dd030fa 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,3 +1,6 @@ +# Silence all Ruby 2.7 deprecation warnings +$VERBOSE = nil unless ENV["CI"] + 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 57cf282eb..24ba9a38d 100644 --- a/docs/.ruby-version +++ b/docs/.ruby-version @@ -1 +1 @@ -2.6.5 +2.7.0 diff --git a/docs/Gemfile b/docs/Gemfile index 94c7358de..03dcd7500 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -1,7 +1,7 @@ # frozen_string_literal: true source "https://rubygems.org" -ruby "2.6.5" +ruby "2.7.0" gem "activerecord", "~> 5.2.3" # Databases on Rails gem "yard", "~> 0.9.19" # YARD is a documentation generation tool for the Ruby programming language diff --git a/docs/installation/linux.md b/docs/installation/linux.md index d3e21fe24..2723706f9 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -15,7 +15,7 @@ but they have only been tested on Ubuntu 18.04._ [rbenv](https://github.com/rbenv/rbenv). Please follow their [installation guide](https://github.com/rbenv/rbenv#installation). 1. With the Ruby version manager, install the Ruby version listed on our badge. - (ie with rbenv: `rbenv install 2.6.5`) + (ie with rbenv: `rbenv install 2.7.0`) For very detailed rbenv installation directions on several distros, please visit [DigitalOcean's guide](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-18-04). diff --git a/docs/installation/mac.md b/docs/installation/mac.md index 6d01e0fc0..f49d9c135 100644 --- a/docs/installation/mac.md +++ b/docs/installation/mac.md @@ -12,7 +12,7 @@ title: macOS [rbenv](https://github.com/rbenv/rbenv). Please follow their [installation guide](https://github.com/rbenv/rbenv#installation). 2. With the Ruby version manager, install the Ruby version listed on our badge. - (i.e. with rbenv: `rbenv install 2.6.5`) + (i.e. with rbenv: `rbenv install 2.7.0`) ### Yarn diff --git a/docs/installation/windows.md b/docs/installation/windows.md index 942163faa..b3ce2b229 100644 --- a/docs/installation/windows.md +++ b/docs/installation/windows.md @@ -51,8 +51,8 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL -rbenv install 2.6.5 -rbenv global 2.6.5 +rbenv install 2.7.0 +rbenv global 2.7.0 ruby -v ```