Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Update ruby minimum version to 2.5
Browse files Browse the repository at this point in the history
Ruby 2.4 is not supported by Rubocop since 1.12, and Solidus
is currently supporting Ruby >= 2.5.
  • Loading branch information
spaghetticode committed Apr 23, 2021
1 parent a91109a commit 2f7370e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.4
TargetRubyVersion: 2.5

Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
Expand Down
2 changes: 1 addition & 1 deletion solidus_paypal_braintree.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.email = 'braintree+gemfile@stembolt.com'
s.homepage = 'https://github.com/solidusio/solidus_paypal_braintree'

s.required_ruby_version = '~> 2.4'
s.required_ruby_version = '>= 2.5'

s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
Expand Down

0 comments on commit 2f7370e

Please sign in to comment.