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

Update Rubies in CI and make the minimum Ruby version v3.1 #6

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

acant
Copy link
Collaborator

@acant acant commented Dec 16, 2024

No description provided.

@acant acant force-pushed the refactor/update_rubies branch from 96074e9 to 0397c15 Compare December 16, 2024 22:00
@acant acant force-pushed the refactor/update_rubies branch 7 times, most recently from 7442de3 to dbcedca Compare January 9, 2025 17:49
* update copyright to 2025 and add Apache 2 link
* remove links to InchCI, which seem to be shutdown
* fix the RubyDoc link
* remove the TravisCI link
@acant acant force-pushed the refactor/update_rubies branch from dbcedca to 209ee4c Compare January 9, 2025 18:08
acant added 4 commits January 9, 2025 14:10
I am considering this the correct minimum Ruby because it is the Ruby
which is available in Debian 12 (bookworm), which is current in January
2025.

* https://www.debian.org/releases/
* https://packages.debian.org/bookworm/ruby/

Most critically this drops support for v2.2, allowing use of the
standard library Bundler (i.e 2.x) and using the latests Rubocop.

Some rubocop refactoring, such as:
* remove the bundler dependency, becuase it is built in now
* add required Rubygems MFA to the gemspec

Github Actio script and CI updates:
* drop the unsupported Rubies and added 3.1, 3.2, 3.4
* add simplecov JSON and lcov reporting
* switch ubuntu and macos to latest versions
* remove ruby version specification from the `coverage` step, because it
  should use the default/minimum Ruby specified in the `.ruby-version`
* remove the bundler version specification
* update action/checkout step to v4
This will make it easier of developers to check which dependencies have
new versions which could be used.
...and make a small rspec-performance related fix.

Added the extensions:
* rubocop-performance
* rubocop-rake
@acant acant force-pushed the refactor/update_rubies branch from 209ee4c to 0f7ccd7 Compare January 9, 2025 19:55
@acant acant changed the title Update Rubies in CI, and increase the default Ruby version to v2.7 Update Rubies in CI and make the default Ruby version v3.1 Jan 9, 2025
@acant acant changed the title Update Rubies in CI and make the default Ruby version v3.1 Update Rubies in CI and make the minimum Ruby version v3.1 Jan 9, 2025
@acant acant self-assigned this Jan 9, 2025
@acant acant merged commit 4c49757 into master Jan 9, 2025
15 checks passed
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.

1 participant