From 2cfd6d58c64ccc543be07226bcb7d03aeeda5963 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 21:23:56 +0000 Subject: [PATCH 1/2] Bump rubocop from 1.57.2 to 1.58.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.58.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.57.2...v1.58.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9db20f7..7e0b54c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -47,7 +47,7 @@ GEM diff-lcs (1.5.0) ffi (1.16.3) ffi (1.16.3-x64-mingw-ucrt) - json (2.6.3) + json (2.7.0) language_server-protocol (3.17.0.3) mini_mime (1.1.5) multi_test (1.1.0) @@ -61,10 +61,10 @@ GEM coderay parser unparser - racc (1.7.1) + racc (1.7.3) rainbow (3.1.1) rake (13.1.0) - regexp_parser (2.8.2) + regexp_parser (2.8.3) rexml (3.2.6) rspec (3.12.0) rspec-core (~> 3.12.0) @@ -90,7 +90,7 @@ GEM binding_of_caller rspec-parameterized-core (< 2) rspec-support (3.12.1) - rubocop (1.57.2) + rubocop (1.58.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -98,7 +98,7 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.30.0) From f55c3993ec6d2ec61635f900783d7590570baf34 Mon Sep 17 00:00:00 2001 From: buty4649 Date: Tue, 5 Dec 2023 20:06:49 +0900 Subject: [PATCH 2/2] rubocop -a --- mrblib/rf/error.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mrblib/rf/error.rb b/mrblib/rf/error.rb index 038eae8..20e18c2 100644 --- a/mrblib/rf/error.rb +++ b/mrblib/rf/error.rb @@ -3,32 +3,32 @@ class Error < StandardError; end class NotFound < Error def initialize(file) - super "file not found: #{file}" + super("file not found: #{file}") end end class IsDirectory < Error def initialize(path) - super "#{path}: is a directory" + super("#{path}: is a directory") end end class PermissionDenied < Error def initialize(path) - super "#{path}: permission denied" + super("#{path}: permission denied") end end class ConflictOptions < Error def initialize(options) opts = options.is_a?(Array) ? options.join(', ') : options - super "#{opts}: conflict options" + super("#{opts}: conflict options") end end class NotRegularFile < Error def initialize(path) - super "#{path}: not a regular file" + super("#{path}: not a regular file") end end