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

drop ruby <3.0 and rails <6.1 support #18

Conversation

argvniyx-enroute
Copy link
Contributor

@argvniyx-enroute argvniyx-enroute commented Jan 2, 2024

/task https://app.asana.com/0/1206095065335149/1206255023426969/f

Summary of changes:

  • Drop older ruby/rails versions in GH workflow
    • Remove Appraisals entries and files
  • Update TargetRubyVersion and run rubocop -A
  • Bump .ruby-version
  • Update the gem version
    • Track Gemfile.lock

I bumped the minor version (as opposed to patch) since I saw that was what was done for similar things in the past (v. 0.3.0 in the changelog)

@smudge @effron

Cop fixes (rubocop -f o):
22 Style/FrozenStringLiteralComment
2 Style/HashSyntax (reverted since we're leaving this on Ruby 3.0.6)
1 Lint/RedundantRequireStatement
1 Style/RedundantFreeze

Cop fixes (rubocop -f o):
22  Style/FrozenStringLiteralComment
2   Style/HashSyntax
1   Lint/RedundantRequireStatement
1   Style/RedundantFreeze
@argvniyx-enroute argvniyx-enroute marked this pull request as ready for review January 2, 2024 17:01
@effron effron requested a review from smudge January 2, 2024 19:06
@argvniyx-enroute argvniyx-enroute changed the title drop ruby <3.2 and rails <7.0 support drop ruby <3.0 and rails <6.1 support Jan 2, 2024
Copy link
Contributor

@effron effron left a comment

Choose a reason for hiding this comment

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

just a few minor things to be more consistent

CHANGELOG.md Outdated Show resolved Hide resolved
.gitignore Outdated
@@ -7,5 +7,4 @@ spec/dummy/db/*.sqlite3
spec/dummy/config/deprecations.ignore
doc/
.yardoc/
Gemfile.lock
/gemfiles/*.gemfile.lock
Copy link
Contributor

Choose a reason for hiding this comment

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

let's remove this as well, since CI runs against the various appraisal gemfiles (and commit the gemfile.lock for each appraisal)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, did this. I unpinned appraisal (see: thoughtbot/appraisal#199 (comment); tldr be appraisal install didn't work with the version we had)

uncruft.gemspec Outdated Show resolved Hide resolved
argvniyx-enroute and others added 5 commits January 2, 2024 15:04
Co-authored-by: Harris Effron <[email protected]>
Co-authored-by: Harris Effron <[email protected]>
unpinned `appraisal` because of an issue with ruby 3.2 + bundler 2.4<=;
see
thoughtbot/appraisal#199 (comment)

unpinning gives us `appraisal 2.5.0`, version by which we have a fix (we
want to run `be appraisal install`) to generate lockfiles
gemfiles are updated since we unpinned `appraisal`
Copy link
Contributor

@effron effron left a comment

Choose a reason for hiding this comment

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

domainLGTM!

Copy link
Member

@smudge smudge left a comment

Choose a reason for hiding this comment

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

platform LGTM

@smudge smudge merged commit 678e083 into Betterment:main Jan 2, 2024
10 checks passed
@Irving-Betterment Irving-Betterment mentioned this pull request Jan 3, 2024
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.

3 participants