Skip to content

Commit

Permalink
Bump the rubocop-dependencies group with 1 update (#452)
Browse files Browse the repository at this point in the history
* Bump the rubocop-dependencies group with 1 update

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.57.2...v1.58.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  dependency-group: rubocop-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* `bundle exec rubocop -A`

Personally I will not be happy with this cop, I intentionally specified _ variables
But no motivation to change it for now...

rubocop/rubocop#12370

* Revert "`bundle exec rubocop -A`"

This reverts commit c321e03.

It is not a Hash, false positive detection by rubocop

rubocop/rubocop#12370

* Suppress wrong rubocop warnings with parentheses

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <kachick1@gmail.com>
  • Loading branch information
dependabot[bot] and kachick committed Dec 4, 2023
1 parent 9a1dc0b commit 88aa909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ group(:development) do
gem('benchmark-ips', '~> 2.12.0', require: false)
gem('stackprof')
gem('yard', '~> 0.9.34', require: false)
gem('rubocop', '~> 1.57.2', require: false)
gem('rubocop', '~> 1.58.0', require: false)
gem('rubocop-rake', '~> 0.6.0', require: false)
gem('rubocop-performance', '~> 1.19.1', require: false)
gem('rubocop-thread_safety', '~> 0.5.1', require: false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_thread_safe_generate_without_arguments
ulids_by_the_time.keys.all?(possible_period)
end

ulids_by_the_time.sort.each do |_time, ulids_in_the_time|
ulids_by_the_time.sort.each do |(_time, ulids_in_the_time)|
ulids_in_the_time.sort.each_cons(2) do |pred, succ|
assert do
pred.to_i.succ == succ.to_i
Expand Down

0 comments on commit 88aa909

Please sign in to comment.