From 84f0e857a102a127aa06975519e68a6f8f1ff87b Mon Sep 17 00:00:00 2001 From: Clarissa Borges Date: Sun, 28 Feb 2021 22:01:11 -0300 Subject: [PATCH] Upgrades ruby to 2.7.2 --- .github/workflows/js.yml | 2 +- .github/workflows/notice_ruby.yml | 2 +- .github/workflows/placeholders.yml | 4 ++-- .github/workflows/ruby.yml | 2 +- .ruby-version | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- spec/requests/nonprofits/direct_debit_details_spec.rb | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 5b22afa1..4c476eb9 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -1,7 +1,7 @@ # License: LGPL-3.0-or-later name: Javascript build and test env: - ruby: '2.6.6' + ruby: '2.7.2' on: push: paths-ignore: diff --git a/.github/workflows/notice_ruby.yml b/.github/workflows/notice_ruby.yml index d05a02fb..1638094c 100644 --- a/.github/workflows/notice_ruby.yml +++ b/.github/workflows/notice_ruby.yml @@ -13,7 +13,7 @@ on: - NOTICE-ruby env: os: ubuntu-latest - ruby: 2.6.6 + ruby: '2.7.2' jobs: notice_ruby: runs-on: ${{ env.os }} diff --git a/.github/workflows/placeholders.yml b/.github/workflows/placeholders.yml index b439df07..607a67f2 100644 --- a/.github/workflows/placeholders.yml +++ b/.github/workflows/placeholders.yml @@ -34,7 +34,7 @@ jobs: matrix: os: [ubuntu-latest] node: [14.6.0] - ruby: [2.6.6] + ruby: [2.7.2] steps: - run: 'echo "Placeholder for webpack"' main_build: @@ -43,6 +43,6 @@ jobs: matrix: os: [ubuntu-latest] node: [14.6.0] - ruby: [2.6.6] + ruby: [2.7.2] steps: - run: 'echo "Placeholder for main_build"' \ No newline at end of file diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 583407f3..c8c41fbc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -27,7 +27,7 @@ jobs: matrix: os: [ubuntu-latest] node: [14.6.0] - ruby: [2.6.6] + ruby: [2.7.2] steps: - uses: actions/checkout@v2 - name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user diff --git a/.ruby-version b/.ruby-version index 338a5b5d..37c2961c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.6 +2.7.2 diff --git a/Gemfile b/Gemfile index de44c832..4e796055 100755 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' -ruby '2.6.6' +ruby '2.7.2' gem 'rails', '~> 6.1.3' gem 'jbuilder', '~> 2.10' gem 'bootsnap', '~> 1.4', require: false # Large rails application booting enhancer diff --git a/Gemfile.lock b/Gemfile.lock index a0d43829..6fb8b661 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -479,7 +479,7 @@ DEPENDENCIES wisper-rspec (~> 1.1.0) RUBY VERSION - ruby 2.6.6p146 + ruby 2.7.2p137 BUNDLED WITH 1.17.3 diff --git a/spec/requests/nonprofits/direct_debit_details_spec.rb b/spec/requests/nonprofits/direct_debit_details_spec.rb index 79bbd24c..833e2df0 100644 --- a/spec/requests/nonprofits/direct_debit_details_spec.rb +++ b/spec/requests/nonprofits/direct_debit_details_spec.rb @@ -25,7 +25,7 @@ describe DirectDebitDetailsController, type: :request do post '/sepa', params: valid_params assert_response 200 - assert_equal nil, JSON.parse(@response.body)['errors'] + assert_nil JSON.parse(@response.body)['errors'] end it 'is not valid without sepa_params' do