Upgrade to Ruby 2.7.0 (#5281) [deploy]

* Upgrade to Ruby 2.7.0

* Upgrade Travis's Ruby as well

* Fix conflict

* Silence all Ruby 2.7 deprecation warnings in dev mode

* Silence dev and test unless CI
This commit is contained in:
rhymes 2020-04-03 17:36:19 +02:00 committed by GitHub
parent 4d3278a21e
commit 6bede2a92b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 17 additions and 11 deletions

View file

@ -1 +1 @@
2.6.5
2.7.0

View file

@ -6,7 +6,7 @@ cache:
- node_modules
- $HOME/.nvm
rvm:
- 2.6.5
- 2.7.0
addons:
postgresql: '9.6'
chrome: 'stable'

View file

@ -1,4 +1,4 @@
FROM ruby:2.6.5-alpine3.10
FROM ruby:2.7.0-alpine3.10
#------------------------------------------------------------------------------
#

View file

@ -1020,7 +1020,7 @@ DEPENDENCIES
zonebie (~> 0.6.1)
RUBY VERSION
ruby 2.6.5p114
ruby 2.7.0p0
BUNDLED WITH
2.1.4

View file

@ -7,7 +7,7 @@
<br>
<p align="center">
<a href="https://www.ruby-lang.org/en/">
<img src="https://img.shields.io/badge/Ruby-v2.6.5-green.svg" alt="ruby version">
<img src="https://img.shields.io/badge/Ruby-v2.7.0-green.svg" alt="ruby version">
</a>
<a href="http://rubyonrails.org/">
<img src="https://img.shields.io/badge/Rails-v5.2.3-brightgreen.svg" alt="rails version">

View file

@ -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,

View file

@ -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.

View file

@ -1 +1 @@
2.6.5
2.7.0

View file

@ -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

View file

@ -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).

View file

@ -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

View file

@ -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
```