Skip to content

Commit 451f931

Browse files
committed
Target ruby 3 with rubocop
This seems to have been missed when updating requirements from ruby 2.6 to 3.
1 parent c4abc60 commit 451f931

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require:
1717

1818
AllCops:
1919
NewCops: enable
20-
TargetRubyVersion: 2.6
20+
TargetRubyVersion: 3
2121
SuggestExtensions: false
2222
Exclude:
2323
- playground/**/*

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
OLD_RAILS = Gem.loaded_specs['rails'].version < Gem::Version.new('4.0')
4343
NEW_RAILS = Gem.loaded_specs['rails'].version >= Gem::Version.new('6.0')
4444

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

4747
RSpec.configure do |c|
4848
c.mock_with :rspec

0 commit comments

Comments
 (0)