Skip to content

Commit b67b98d

Browse files
Merge #370
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]>
2 parents 10fb9b2 + 451f931 commit b67b98d

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)