Skip to content

Commit

Permalink
Merge pull request #1047 from ydah/update-rubocop
Browse files Browse the repository at this point in the history
Bump rubocop from 1.24.1 to 1.42.0
  • Loading branch information
amatsuda authored Jul 4, 2023
2 parents 1503770 + d1bfa75 commit 53ad283
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ GEM
ffi (1.15.5-java)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
json (2.6.3)
json (2.6.3-java)
matrix (0.4.2)
method_source (1.0.0)
middleware (0.1.0)
Expand All @@ -96,8 +98,8 @@ GEM
racc (~> 1.4)
nokogiri (1.12.5-java)
racc (~> 1.4)
parallel (1.21.0)
parser (3.1.0.0)
parallel (1.22.1)
parser (3.1.3.0)
ast (~> 2.4.1)
power_assert (2.0.1)
protobuf-cucumber (3.10.8)
Expand All @@ -120,7 +122,7 @@ GEM
rack (>= 1.0, < 3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.2.0)
regexp_parser (2.6.1)
rexml (3.2.5)
rspec (3.10.0)
rspec-core (~> 3.10.0)
Expand All @@ -135,17 +137,18 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.3)
rubocop (1.24.1)
rubocop (1.42.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.0.0.0)
parser (>= 3.1.2.1)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.1)
parser (>= 3.0.1.1)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
ruby-progressbar (1.11.0)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
Expand All @@ -160,7 +163,7 @@ GEM
thread_safe (0.3.6-java)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
unicode-display_width (2.3.0)
webrick (1.7.0)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/simplecov/source_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def covered_strength
end

def no_lines?
lines.length.zero? || (lines.length == never_lines.size)
lines.empty? || (lines.length == never_lines.size)
end

def relevant_lines
Expand Down

0 comments on commit 53ad283

Please sign in to comment.