Skip to content

Commit 2208cab

Browse files
highbclaude
andcommitted
build: Fix RuboCop linting issues
- Update TargetRubyVersion to 3.2 to match required_ruby_version - Move duplicate puts statement out of conditional branches in test_matrix task Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7738fe6 commit 2208cab

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎.rubocop.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from: .rubocop_todo.yml
22

33
AllCops:
4-
TargetRubyVersion: 3.1
4+
TargetRubyVersion: 3.2
55
NewCops: enable
66

77
Style/NumericPredicate:

‎Rakefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ task :test_matrix do
5050
failed_versions << version unless success
5151
end
5252

53+
puts "\n#{'=' * 80}"
5354
if failed_versions.any?
54-
puts "\n#{'=' * 80}"
5555
puts "FAILED on Ruby versions: #{failed_versions.join(', ')}"
5656
puts '=' * 80
5757
exit 1
5858
else
59-
puts "\n#{'=' * 80}"
6059
puts 'All Ruby versions passed!'
6160
puts '=' * 80
6261
end

0 commit comments

Comments
 (0)