diff --git a/Gemfile b/Gemfile index d5af794..be13789 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,6 @@ gem 'rake', '~> 13.1' gem 'rspec', '~> 3.0' -gem 'rubocop', '~> 1.57' +gem 'rubocop', '~> 1.58' gem 'vcr', '~> 6.2' diff --git a/Gemfile.lock b/Gemfile.lock index 2d442b9..634dc9f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -45,7 +45,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) 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) @@ -53,7 +53,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) @@ -71,7 +71,7 @@ DEPENDENCIES rake (~> 13.1) relic_link! rspec (~> 3.0) - rubocop (~> 1.57) + rubocop (~> 1.58) vcr (~> 6.2) BUNDLED WITH diff --git a/lib/relic_link/coh3/api/errors/relic_error.rb b/lib/relic_link/coh3/api/errors/relic_error.rb index 56d0ffe..d206257 100644 --- a/lib/relic_link/coh3/api/errors/relic_error.rb +++ b/lib/relic_link/coh3/api/errors/relic_error.rb @@ -9,7 +9,7 @@ class RelicError < ::Faraday::Error attr_reader :response def initialize(message, response = nil) - super message + super(message) @response = response end diff --git a/lib/relic_link/errors/server_error.rb b/lib/relic_link/errors/server_error.rb index 233ca9a..9ee4fb1 100644 --- a/lib/relic_link/errors/server_error.rb +++ b/lib/relic_link/errors/server_error.rb @@ -8,7 +8,7 @@ class ServerError < ::Faraday::Error def initialize(message, response) @response = response - super message + super(message) end end