Skip to content

Commit

Permalink
Bump rubocop from 1.63.5 to 1.64.1 in /updater in the rubocop group a…
Browse files Browse the repository at this point in the history
…cross 1 directory (#1142)

* Bump rubocop in /updater in the rubocop group across 1 directory

Bumps the rubocop group with 1 update in the /updater directory: [rubocop](https://github.com/rubocop/rubocop).


Updates `rubocop` from 1.63.5 to 1.64.1
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.63.5...v1.64.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix violations

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxwell Weru <[email protected]>
  • Loading branch information
dependabot[bot] and mburumaxwell authored Jun 8, 2024
1 parent 4c0c501 commit d0185a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions updater/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ GEM
rake (13.2.1)
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.1)
regexp_parser (2.9.2)
reline (0.5.0)
io-console (~> 0.5)
rest-client (2.1.0)
Expand Down Expand Up @@ -258,7 +258,7 @@ GEM
rspec-sorbet (1.9.2)
sorbet-runtime
rspec-support (3.13.1)
rubocop (1.63.5)
rubocop (1.64.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down
4 changes: 2 additions & 2 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@
# [Hash<String, Proc>] handlers for type allow rules
TYPE_HANDLERS = {
"all" => proc { true },
"direct" => proc { |dep| dep.top_level? },
"direct" => proc(&:top_level?),
"indirect" => proc { |dep| !dep.top_level? },
"production" => proc { |dep| dep.production? },
"production" => proc(&:production?),
"development" => proc { |dep| !dep.production? },
"security" => proc { |_, checker| checker.vulnerable? }
}.freeze
Expand Down

0 comments on commit d0185a5

Please sign in to comment.