Skip to content

Commit

Permalink
Merge #370
Browse files Browse the repository at this point in the history
370: Target ruby 3 with rubocop r=brunoocasali a=ellnix

Rubocop's config was still enforcing ruby 2 code style. This is just a step that was missing in #367.

Co-authored-by: ellnix <[email protected]>
  • Loading branch information
meili-bors[bot] and ellnix authored Sep 15, 2024
2 parents 10fb9b2 + 451f931 commit b67b98d
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 @@ -17,7 +17,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 3
SuggestExtensions: false
Exclude:
- playground/**/*
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
OLD_RAILS = Gem.loaded_specs['rails'].version < Gem::Version.new('4.0')
NEW_RAILS = Gem.loaded_specs['rails'].version >= Gem::Version.new('6.0')

Dir["#{File.dirname(__FILE__)}/support/*.rb"].sort.each { |file| require file }
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |file| require file }

RSpec.configure do |c|
c.mock_with :rspec
Expand Down

0 comments on commit b67b98d

Please sign in to comment.