Skip to content

Commit 7d2cfa0

Browse files
Bump rubocop-minitest
We were getting this Rubocop's offense: ``` lib/helpers/deprecator.rb:106:7: C: Minitest/SkipWithoutReason: Add a reason explaining why the test is skipped. skip == true ^^^^ ``` That's because we needed to use the @Skip instance instead.
1 parent 3b6efaf commit 7d2cfa0

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gem 'minitest', '5.25.4'
1010
gem 'pry', '0.15.2'
1111
gem 'rake', '13.2.1'
1212
gem 'rubocop', '1.69.2'
13-
gem 'rubocop-minitest', '0.36.0'
13+
gem 'rubocop-minitest', '0.37.0'
1414
gem 'rubocop-rake', '0.6.0'
1515
gem 'simplecov', '0.22.0'
1616
gem 'test-unit', '3.6.7'

Gemfile.lock

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ GEM
1616
concurrent-ruby (~> 1.0)
1717
json (2.9.1)
1818
language_server-protocol (3.17.0.3)
19+
lint_roller (1.1.0)
1920
method_source (1.1.0)
2021
minitest (5.25.4)
2122
parallel (1.26.3)
@@ -40,11 +41,12 @@ GEM
4041
rubocop-ast (>= 1.36.2, < 2.0)
4142
ruby-progressbar (~> 1.7)
4243
unicode-display_width (>= 2.4.0, < 4.0)
43-
rubocop-ast (1.37.0)
44+
rubocop-ast (1.38.1)
4445
parser (>= 3.3.1.0)
45-
rubocop-minitest (0.36.0)
46+
rubocop-minitest (0.37.0)
47+
lint_roller (~> 1.1)
4648
rubocop (>= 1.61, < 2.0)
47-
rubocop-ast (>= 1.31.1, < 2.0)
49+
rubocop-ast (>= 1.38.0, < 2.0)
4850
rubocop-rake (0.6.0)
4951
rubocop (~> 1.0)
5052
ruby-progressbar (1.13.0)
@@ -64,6 +66,7 @@ GEM
6466

6567
PLATFORMS
6668
arm64-darwin-22
69+
arm64-darwin-24
6770
x86_64-linux
6871

6972
DEPENDENCIES
@@ -73,7 +76,7 @@ DEPENDENCIES
7376
pry (= 0.15.2)
7477
rake (= 13.2.1)
7578
rubocop (= 1.69.2)
76-
rubocop-minitest (= 0.36.0)
79+
rubocop-minitest (= 0.37.0)
7780
rubocop-rake (= 0.6.0)
7881
simplecov (= 0.22.0)
7982
test-unit (= 3.6.7)

lib/helpers/deprecator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def self.skip_warning
103103
end
104104

105105
def self.skip_warning?
106-
skip == true
106+
@skip == true
107107
end
108108

109109
def self.skip

0 commit comments

Comments
 (0)