Skip to content

Commit c7102e4

Browse files
committed
Update gems & fix new rubocop offenses
1 parent ef42dd9 commit c7102e4

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

Gemfile.lock

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ GEM
4646
regexp_parser (>= 1.5, < 3.0)
4747
xpath (~> 3.2)
4848
coderay (1.1.3)
49-
concurrent-ruby (1.2.3)
49+
concurrent-ruby (1.3.3)
5050
contracts (0.17)
5151
cucumber (9.2.0)
5252
builder (~> 3.2)
@@ -79,22 +79,22 @@ GEM
7979
ffi (1.16.3-java)
8080
i18n (1.14.4)
8181
concurrent-ruby (~> 1.0)
82-
json (2.7.1)
83-
json (2.7.1-java)
82+
json (2.7.2)
83+
json (2.7.2-java)
8484
language_server-protocol (3.17.0.3)
8585
matrix (0.4.2)
8686
method_source (1.0.0)
8787
mini_mime (1.1.5)
88-
mini_portile2 (2.8.6)
89-
minitest (5.22.3)
88+
mini_portile2 (2.8.7)
89+
minitest (5.24.0)
9090
multi_test (1.1.0)
91-
nokogiri (1.16.4)
91+
nokogiri (1.16.6)
9292
mini_portile2 (~> 2.8.2)
9393
racc (~> 1.4)
94-
nokogiri (1.16.4-java)
94+
nokogiri (1.16.6-java)
9595
racc (~> 1.4)
96-
parallel (1.24.0)
97-
parser (3.2.2.4)
96+
parallel (1.25.1)
97+
parser (3.3.3.0)
9898
ast (~> 2.4.1)
9999
racc
100100
power_assert (2.0.3)
@@ -106,18 +106,19 @@ GEM
106106
method_source (~> 1.0)
107107
spoon (~> 0.0)
108108
public_suffix (5.0.5)
109-
racc (1.7.3)
110-
racc (1.7.3-java)
109+
racc (1.8.0)
110+
racc (1.8.0-java)
111111
rack (3.0.10)
112112
rack-test (2.1.0)
113113
rack (>= 1.3)
114114
rackup (2.1.0)
115115
rack (>= 3)
116116
webrick (~> 1.8)
117117
rainbow (3.1.1)
118-
rake (13.1.0)
119-
regexp_parser (2.9.0)
120-
rexml (3.2.6)
118+
rake (13.2.1)
119+
regexp_parser (2.9.2)
120+
rexml (3.3.0)
121+
strscan
121122
rspec (3.13.0)
122123
rspec-core (~> 3.13.0)
123124
rspec-expectations (~> 3.13.0)
@@ -131,24 +132,26 @@ GEM
131132
diff-lcs (>= 1.2.0, < 2.0)
132133
rspec-support (~> 3.13.0)
133134
rspec-support (3.13.1)
134-
rubocop (1.59.0)
135+
rubocop (1.64.1)
135136
json (~> 2.3)
136137
language_server-protocol (>= 3.17.0)
137138
parallel (~> 1.10)
138-
parser (>= 3.2.2.4)
139+
parser (>= 3.3.0.2)
139140
rainbow (>= 2.2.2, < 4.0)
140141
regexp_parser (>= 1.8, < 3.0)
141142
rexml (>= 3.2.5, < 4.0)
142-
rubocop-ast (>= 1.30.0, < 2.0)
143+
rubocop-ast (>= 1.31.1, < 2.0)
143144
ruby-progressbar (~> 1.7)
144145
unicode-display_width (>= 2.4.0, < 3.0)
145-
rubocop-ast (1.30.0)
146-
parser (>= 3.2.1.0)
146+
rubocop-ast (1.31.3)
147+
parser (>= 3.3.1.0)
147148
ruby-progressbar (1.13.0)
148149
simplecov-html (0.12.3)
149150
simplecov_json_formatter (0.1.4)
150151
spoon (0.0.6)
151152
ffi
153+
strscan (3.1.0)
154+
strscan (3.1.0-java)
152155
sys-uname (1.2.3)
153156
ffi (~> 1.1)
154157
test-unit (3.6.1)

spec/configuration_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,29 +134,29 @@
134134
end
135135

136136
it "sets the right coverage value when called with `:line`" do
137-
config.public_send(:refuse_coverage_drop, :line)
137+
config.refuse_coverage_drop(:line)
138138

139-
expect(config.public_send(:maximum_coverage_drop)).to eq line: 0
139+
expect(config.maximum_coverage_drop).to eq line: 0
140140
end
141141

142142
it "sets the right coverage value when called with `:branch`" do
143143
config.enable_coverage :branch
144-
config.public_send(:refuse_coverage_drop, :branch)
144+
config.refuse_coverage_drop(:branch)
145145

146-
expect(config.public_send(:maximum_coverage_drop)).to eq branch: 0
146+
expect(config.maximum_coverage_drop).to eq branch: 0
147147
end
148148

149149
it "sets the right coverage value when called with `:line` and `:branch`" do
150150
config.enable_coverage :branch
151-
config.public_send(:refuse_coverage_drop, :line, :branch)
151+
config.refuse_coverage_drop(:line, :branch)
152152

153-
expect(config.public_send(:maximum_coverage_drop)).to eq line: 0, branch: 0
153+
expect(config.maximum_coverage_drop).to eq line: 0, branch: 0
154154
end
155155

156156
it "sets the right coverage value when called with no args" do
157-
config.public_send(:refuse_coverage_drop)
157+
config.refuse_coverage_drop
158158

159-
expect(config.public_send(:maximum_coverage_drop)).to eq line: 0
159+
expect(config.maximum_coverage_drop).to eq line: 0
160160
end
161161
end
162162

0 commit comments

Comments
 (0)