Skip to content
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

Upgrade Ruby from 2.5.3 to 2.7.3 #16349

Merged
merged 27 commits into from Jul 27, 2021
Merged

Upgrade Ruby from 2.5.3 to 2.7.3 #16349

merged 27 commits into from Jul 27, 2021

Conversation

bgantick
Copy link
Contributor

@bgantick bgantick commented Jun 9, 2021

Description

Upgrades Caseflow's Ruby version from 2.5.3 to 2.7.3. Some additional gem updates for compatibility.

Acceptance Criteria

  • Code compiles correctly

Testing Plan

@bgantick bgantick changed the title Upgrade from Ruby 2.5.3 to 2.7.3 Upgrade Ruby from 2.5.3 to 2.7.3 Jun 9, 2021
@bgantick bgantick added Eng: Backend Work Group backend engineering task Eng: Dependencies Pull requests that update a dependency file Type: Tech-Improvement labels Jun 9, 2021
@codeclimate
Copy link

codeclimate bot commented Jun 9, 2021

Code Climate has analyzed commit fa4161c and detected 0 issues on this pull request.

View more on Code Climate.

@bgantick bgantick changed the title Upgrade Ruby from 2.5.3 to 2.7.3 [WIP] Upgrade Ruby from 2.5.3 to 2.7.3 Jun 14, 2021
@bgantick bgantick changed the title [WIP] Upgrade Ruby from 2.5.3 to 2.7.3 Upgrade Ruby from 2.5.3 to 2.7.3 Jun 21, 2021
@bgantick bgantick marked this pull request as ready for review June 21, 2021 18:47
Copy link
Contributor

@n1zyy n1zyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So excited to see this coming to fruition! ❣️

@@ -85,8 +85,6 @@ group :test, :development, :demo do
gem "brakeman"
gem "bullet"
gem "bundler-audit"
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "byebug", platforms: :ruby
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for posterity, I asked about this in Slack and the answer is that pry-byebug gives us byebug, so this isn't actually removing the functionality.

@@ -4,7 +4,7 @@
factory :intake do
veteran_file_number { create(:veteran).file_number }
detail { create(:higher_level_review) }
type { detail.class.name << "Intake" }
type { detail.class.name + "Intake" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, I wouldn't have guessed << was ever allowed for string concatenation. 👍

check judge_task_one.id.to_s, allow_label_click: true
check judge_task_two.id.to_s, allow_label_click: true
page.find(:css, "input[name='#{judge_task_one.id}']", visible: false).execute_script("this.click()")
page.find(:css, "input[name='#{judge_task_two.id}']", visible: false).execute_script("this.click()")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is weird to me that this is the only test that needed any updates. But I guess that's a good thing! :)

@bgantick bgantick added the Ready-to-Merge This PR is ready to be merged and will be picked up by va-bot to automatically merge to master label Jul 27, 2021
@va-bot va-bot merged commit 29a6489 into master Jul 27, 2021
@va-bot va-bot deleted the bgantick/ruby-upgrade-2.7 branch July 27, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Eng: Backend Work Group backend engineering task Eng: Dependencies Pull requests that update a dependency file Ready-to-Merge This PR is ready to be merged and will be picked up by va-bot to automatically merge to master Type: Tech-Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants