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

Centralize Ruby Version to .ruby-version #20

Merged
merged 6 commits into from
Jun 19, 2024
Merged

Conversation

jenshenny
Copy link
Contributor

What are you trying to accomplish?

The .ruby-version file is the ecosystem standard for defining a Ruby version. This PR adds the .ruby-version file, ensures a required_ruby_version is set, and removes all other references to Ruby in this repository, aligning it with the standard.

What should reviewers focus on?

Important

Please verify the following before merging:

Verify that the changes in the PR meets the following requirements or adjust manually to make it compliant:

  • .ruby-version file is present with the correct Ruby version defined
  • A required_ruby_version in your gemspec is set
  • There is no Ruby version/requirement referenced in the Gemfile (no lines with ruby <some-version>)
  • A Gemfile.lock is built with the defined Ruby version
  • The version of Rubocop installed is 1.61.0 or greater
  • There is no TargetRubyVersion defined in rubocop.yml (reads from required_ruby_version on Rubocop 1.61.0)
  • There is no Ruby argument present in ruby/setup-ruby Github Actions that do not run on a Ruby matrix (no lines with ruby-version: “x.x”)

To establish consistency, the required_ruby_versionis set to 2.6. If you think that another version is a better fit, please make the applicable changes.

Please merge this PR if it looks good, this PR will be addressed if there isn't any activity after 4 weeks.

Copy link
Member

@etiennebarrie etiennebarrie left a comment

Choose a reason for hiding this comment

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

I can't run script/test or bundle exec rake due to an error. There's a change with Ruby that has been fixed in Rake 12.3.2: ruby/rake@81763da

circle.yml Show resolved Hide resolved
@jenshenny jenshenny force-pushed the centralize_ruby_version branch from 3f0796f to 910ca1b Compare April 30, 2024 02:29
Gemfile.lock Show resolved Hide resolved
lib/schmooze/base.rb Outdated Show resolved Hide resolved
@jenshenny jenshenny force-pushed the centralize_ruby_version branch from 337954e to 720096d Compare June 19, 2024 15:25
@jenshenny jenshenny merged commit b1c3732 into master Jun 19, 2024
12 checks passed
@jenshenny jenshenny deleted the centralize_ruby_version branch June 19, 2024 17:08
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.

4 participants