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

FI-2332 Bump Ruby to 3 #53

Merged
merged 11 commits into from
Dec 26, 2023
Merged

FI-2332 Bump Ruby to 3 #53

merged 11 commits into from
Dec 26, 2023

Conversation

360dgries
Copy link
Contributor

@360dgries 360dgries commented Dec 7, 2023

Ruby 2 is no longer receiving security updates/support, so bumping up to Ruby 3. Also updated rubocop to support the newer versions, along with any auto-corrections available with the new cops provided.
ruby_dep was also removed in this update due to a reliance on Ruby 2. It was not used in fhir_models repo, but listing here in case there is a reason we need it specifically.

@360dgries 360dgries changed the title FI-2332 Bump Ruby to 3, Update rubocop and ruby_dep, Auto Correct with new cops FI-2332 Bump Ruby to 3 Dec 7, 2023
@360dgries
Copy link
Contributor Author

I left some auto-corrects that I wasn't sure about, listed here

The first two seem like style preference and wasn't sure what we wanted.

@Jammjammjamm
Copy link
Contributor

  • Layout/SpaceAroundOperators
  • Layout/SpaceInsideHashLiteralBraces

We definitely want these

  • Lint/NonDeterministicRequireOrder

We should disable this one since it's no longer relevant for ruby 3+.

.simplecov Outdated
add_filter "test/"
add_group "Library", "lib"
end
# SimpleCov.start do
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove commented code.

@360dgries 360dgries merged commit 29c3037 into master Dec 26, 2023
3 of 4 checks passed
@360dgries 360dgries deleted the FI-2332-Bump-to-Ruby-3 branch February 7, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants