From 5385973b527a2de643daa54bb47836996bc5ffff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:53:50 +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:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 bf4bea6..634dc9f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,7 +21,7 @@ GEM hashie faraday-net_http (3.0.2) hashie (5.0.0) - json (2.6.3) + json (2.7.0) language_server-protocol (3.17.0.3) parallel (1.23.0) parser (3.2.2.4) @@ -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 From 21ba6f4c6aa9ebc0c851ae335e5ba9d6307fc714 Mon Sep 17 00:00:00 2001 From: ryantaylor <2320507+ryantaylor@users.noreply.github.com> Date: Sun, 3 Dec 2023 10:44:08 -0500 Subject: [PATCH 2/2] Fix linting. --- lib/relic_link/coh3/api/errors/relic_error.rb | 2 +- lib/relic_link/errors/server_error.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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