-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
THREESCALE-9169: Upgrade to Ruby 3.1 #3847
Changes from 21 commits
063fd2f
eac1651
a897958
f34f392
5ef5c6f
fed96e3
87a483f
3decaf0
397abeb
ab4ff8f
b023f85
e4dbdbc
8e46a2f
c98b003
645960f
866484e
77d2aac
33e9a2b
4924c8d
b979e95
1de699d
2114f9f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ruby 2.7.6 | ||
nodejs 16.19.1 | ||
ruby 3.1.5 | ||
nodejs 18.20.4 | ||
python 2.7.18 |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,7 @@ gem 'aws-sdk-s3', '~> 1' | |
gem 'dotenv-rails', '~> 2.7' | ||
gem 'rails', '~> 6.1' | ||
|
||
# Locking mail to 2.7.x, as 2.8 has a regression related to `enable_starttls_auto` setting: | ||
# https://github.com/mikel/mail/blob/2-8-stable/CHANGELOG.rdoc#version-281-unreleased- | ||
# Also, upgrading makes this test fail: SendUserInvitationWorkerTest#test_handles_errors | ||
gem 'mail', '~> 2.7.1' | ||
gem 'mail', '~> 2.8.1' | ||
|
||
gem "activejob-uniqueness" | ||
# Needed for XML serialization of ActiveRecord::Base | ||
|
@@ -44,6 +41,8 @@ gem 'bcrypt', '~> 3.1.7' | |
gem 'oauth2', '~> 2.0' | ||
gem 'open_id_authentication' | ||
|
||
gem 'sorted_set', '~> 1.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixing:
See ruby/set#2 |
||
|
||
gem 'i18n' | ||
|
||
# Apisonator client | ||
|
@@ -70,7 +69,7 @@ gem 'stripe', '~> 5.28.0' # we need the stripe gem because activemerchant can no | |
gem 'acts_as_list', '~> 0.9.17' | ||
gem 'braintree', '~> 2.93' | ||
gem 'bugsnag', '~> 6.26' | ||
gem 'cancancan', '~> 3.0.0' | ||
gem 'cancancan', '~> 3.6.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
But going up to |
||
gem 'formtastic', '~> 4.0' | ||
gem 'htmlentities', '~>4.3', '>= 4.3.4' | ||
# TODO: Not actively maintained https://github.com/activeadmin/inherited_resources#notice replace with respond_with and fix things the rails way | ||
|
@@ -98,6 +97,7 @@ gem 'httpclient', github: '3scale/httpclient', branch: 'ssl-env-cert' | |
gem 'json-schema', git: 'https://github.com/3scale/json-schema.git' | ||
gem 'local-fastimage_resize', '~> 3.4.0', require: 'fastimage/resize' | ||
gem 'kt-paperclip', '~> 7.2' | ||
gem 'matrix', '~> 0.4.2' # needed only until we upgrade capybara and prawn that list it as a dependency | ||
gem 'prawn' | ||
gem 'prawn-table', git: "https://github.com/prawnpdf/prawn-table.git", branch: "38b5bdb5dd95237646675c968091706f57a7a641" | ||
gem 'prawn-svg' | ||
|
@@ -117,7 +117,8 @@ gem 'ts-datetime-delta', require: 'thinking_sphinx/deltas/datetime_delta' | |
gem 'will_paginate', '~> 3.3' | ||
gem 'zip-zip', require: false | ||
|
||
gem 'acts_as_tree' | ||
# TODO: this gem seems a bit abandoned, consider getting rid of it | ||
gem 'acts_as_tree', '~> 2.9.1' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixing:
Version |
||
gem 'addressable', require: false | ||
gem 'hashie', require: false | ||
gem 'rack-x_served_by', '~> 0.1.1' | ||
|
@@ -155,7 +156,7 @@ gem 'html-pipeline' | |
gem 'ruby-openid' | ||
gem 'slim-rails', '~> 3.2' | ||
|
||
gem 'draper', '~> 3.1' | ||
gem 'draper', '~> 4.0.2' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixing:
|
||
|
||
group :development do | ||
gem 'listen' | ||
|
@@ -179,13 +180,12 @@ gem 'dynamic_form' | |
gem 'record_tag_helper', '~> 1.0' | ||
|
||
group :test do | ||
# To remove once migrated all functional tests | ||
gem 'codecov', :require => false | ||
gem 'rack-no_animations', '~> 1.0.3' | ||
gem 'rails-controller-testing', '~> 1.0.4' | ||
gem 'simplecov', '~> 0.21.2', require: false | ||
gem 'simplecov', '~> 0.22.0', require: false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change was because of this error seen in CircleCI:
referenced in simplecov-ruby/simplecov#1020 and fixed in simplecov-ruby/simplecov#1035 This is included in |
||
gem 'simplecov-cobertura', '~> 2.1' | ||
|
||
gem 'capybara', '~>3.35.3', source: 'https://rubygems.org' | ||
gem 'capybara', '~>3.35.3' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know why rubygems.org was referenced here explicitly 🤔 |
||
gem 'xpath', '~>3.2.0' | ||
|
||
gem 'chronic' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing