Skip to content

Commit

Permalink
Merge pull request #1752 from troessner/dependabot/bundler/rubocop-tw…
Browse files Browse the repository at this point in the history
…-1.58.0

Update rubocop requirement from ~> 1.57.1 to ~> 1.58.0
  • Loading branch information
mvz committed Dec 2, 2023
2 parents 7eaf6dd + e1aaa83 commit b25b0a3
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ group :development do
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.0'
gem 'rspec-benchmark', '~> 0.6.0'
gem 'rubocop', '~> 1.57.1'
gem 'rubocop', '~> 1.58.0'
gem 'rubocop-performance', '~> 1.19.0'
gem 'rubocop-rspec', '~> 2.25.0'
gem 'simplecov', '>= 0.18.0', '< 0.23.0'
Expand Down
2 changes: 1 addition & 1 deletion docs/yard_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module LocalLinkHelper
# {file: } directives.
def resolve_links(text)
text = text.gsub(%r{<a href="([^"]*.md)">([^<]*)</a>}, '{file:\1 \2}')
super text
super(text)
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/reek/context/attribute_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AttributeContext < CodeContext
def initialize(exp, send_expression)
@visibility = :public
@send_expression = send_expression
super exp
super(exp)
end

def full_comment
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/context/method_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MethodContext < CodeContext
def initialize(exp, parent_exp)
@parent_exp = parent_exp
@visibility = :public
super exp
super(exp)
end

def references_self?
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/context/send_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SendContext < CodeContext

def initialize(exp, name)
@name = name
super exp
super(exp)
end

def method_name_called_to_call
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def initialize(detector_name:, offensive_keys:, source:, line:, original_comment
source: source,
line: line,
comment: original_comment)
super message
super(message)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/errors/bad_detector_in_comment_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(detector_name:, source:, line:, original_comment:)
source: source,
line: line,
comment: original_comment)
super message
super(message)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/errors/encoding_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EncodingError < BaseError
MESSAGE

def initialize(origin:)
super format(TEMPLATE, source: origin)
super(format(TEMPLATE, source: origin))
end

def long_message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize(detector_name:, source:, line:, original_comment:)
source: source,
line: line,
comment: original_comment)
super message
super(message)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/errors/incomprehensible_source_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class IncomprehensibleSourceError < BaseError
MESSAGE

def initialize(origin:)
super format(TEMPLATE, source: origin)
super(format(TEMPLATE, source: origin))
end

def long_message
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/errors/legacy_comment_separator_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(source:, line:, original_comment:)
source: source,
line: line,
comment: original_comment)
super message
super(message)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/reek/errors/syntax_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class SyntaxError < BaseError
MESSAGE

def initialize(origin:)
super format(TEMPLATE, source: origin)
super(format(TEMPLATE, source: origin))
end

def long_message
Expand Down

0 comments on commit b25b0a3

Please sign in to comment.