From 80c8658fce25c7b1f3e2345ad3b34f1e6055c953 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 00:57:09 +0800 Subject: [PATCH] Bump rubocop from 1.66.1 to 1.67.0 (#267) * Bump rubocop from 1.66.1 to 1.67.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.66.1 to 1.67.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.66.1...v1.67.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Remove unnecessary rubocop disable HashEachMethods It was disabled due to a false positive in rubocop, which got fixed in 1.67.0 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: david942j --- Gemfile.lock | 4 ++-- lib/seccomp-tools/consts/sys_nr/amd64.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 31cfe94..54e1929 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,7 +36,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.66.1) + rubocop (1.67.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -55,7 +55,7 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) yard (0.9.37) PLATFORMS diff --git a/lib/seccomp-tools/consts/sys_nr/amd64.rb b/lib/seccomp-tools/consts/sys_nr/amd64.rb index 92e1384..82904fc 100644 --- a/lib/seccomp-tools/consts/sys_nr/amd64.rb +++ b/lib/seccomp-tools/consts/sys_nr/amd64.rb @@ -338,4 +338,4 @@ pkey_alloc: 330, pkey_free: 331, statx: 332 -}.tap { |h| h.keys.each { |k| h["x32_#{k}".to_sym] = h[k] | X32_MODE_BIT } } # rubocop:disable Style/HashEachMethods +}.tap { |h| h.keys.each { |k| h["x32_#{k}".to_sym] = h[k] | X32_MODE_BIT } }