Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop from 1.57.2 to 1.58.0 #128

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -90,15 +90,15 @@ 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)
parser (>= 3.2.2.4)
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)
Expand Down
10 changes: 5 additions & 5 deletions mrblib/rf/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down