Skip to content

Commit

Permalink
Target ruby 3 with rubocop
Browse files Browse the repository at this point in the history
This seems to have been missed when updating requirements from ruby 2.6
to 3.
  • Loading branch information
ellnix committed Sep 13, 2024
1 parent c4abc60 commit 451f931
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 451f931

Please sign in to comment.