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

Add ruby-2.6 support #57

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

safafa
Copy link
Collaborator

@safafa safafa commented Sep 27, 2023

Description

This PR adds support to ruby 2.6, it also regresses rubocop version from 1.54.2 to 1.50.2 since it's the last version that supports ruby 2.6


Severity:

  • - info
  • - refactor
  • - convention (default)
  • - warning
  • - error
  • - fatal

Before submitting the PR make sure the following are checked:

  • The PR relates to only one cop with a clear title and description.
  • Feature branch is up-to-date with main (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran and ensured all tests are passing on a development environment.
  • If this is a new cop, added an entry for the cop on /config/default.yml
  • Updated Changelog

Gemfile Outdated Show resolved Hide resolved
.rubocop.yml Outdated Show resolved Hide resolved
Comment on lines +12 to +16
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('2.6')
gem 'rubocop'
else
gem 'rubocop', '~> 1.50.2'
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

@MassimilianoLattanzio WDYT about it?

@DanielePalombo DanielePalombo changed the base branch from main to ruby-2.6-support October 11, 2023 14:19
@DanielePalombo DanielePalombo merged commit c1220d4 into solidusio:ruby-2.6-support Oct 16, 2023
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