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

Housekeeping for the gem: require Ruby3, updates to newest Rubocop with rubocop-rake and rubocop-rspec plugins #85

Merged
merged 7 commits into from
Sep 17, 2024

Conversation

simonneutert
Copy link
Collaborator

@simonneutert simonneutert commented Sep 16, 2024

With this PR I intend to lay the groundwork for a 3.0 release of the gem.

As this PR will drop support for Ruby 2.x a major version bump is needed.

This PR does

  • bump the minimum required Ruby version to >= 3.0.0
  • updates the minimum bundler version accordingly
  • bumps the rubocop version
  • requires the rubocop-plugins rubocop-rake and rubocop-rspec and fixes what was off
  • updates the GitHub workflow run tests against the following ruby versions:
    • mri ruby 3.0
    • mri ruby 3.1
    • mri ruby 3.2
    • mri ruby 3.3
    • jruby 9.4 🎁

closes #70

@simonneutert simonneutert force-pushed the implement-rubocop-plugins branch 2 times, most recently from 04182fc to d06a1f6 Compare September 16, 2024 10:50
@simonneutert simonneutert force-pushed the implement-rubocop-plugins branch from d06a1f6 to 3528260 Compare September 16, 2024 10:51
@simonneutert simonneutert force-pushed the implement-rubocop-plugins branch from 3528260 to e729f54 Compare September 16, 2024 10:52
@simonneutert simonneutert force-pushed the implement-rubocop-plugins branch from 078f84a to d848560 Compare September 16, 2024 11:03
@dblock
Copy link
Owner

dblock commented Sep 17, 2024

I would not increment the version to 3.0.0 here because there's no API changes. If .gemspec is clear that Ruby >= 3.0 is required rubygems is just not going to let users on 2.7 upgrade to the new version anyway.

Copy link
Owner

@dblock dblock left a comment

Choose a reason for hiding this comment

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

If you're good with 2.2.0 then feel free to finish and merge.

CHANGELOG.md Show resolved Hide resolved
@simonneutert simonneutert changed the title Lays groundwork to v3.0.0 of the gem (Ruby3, newest Rubocop, rubocop-rake and rubocop-rspec) Housekeeping for the gem: require Ruby3, updates to newest Rubocop with rubocop-rake and rubocop-rspec plugins Sep 17, 2024
@simonneutert simonneutert merged commit 26f45dd into dblock:master Sep 17, 2024
7 checks passed
@simonneutert simonneutert deleted the implement-rubocop-plugins branch September 17, 2024 09:15
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.

Require Rubocop-Rspec and use it
2 participants