From c07880281c9d368be3fbaf1291b080a2d9fd1f30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:46:44 +0100 Subject: [PATCH] Update gc_ruboconfig requirement from ~> 4.4.1 to ~> 5.0.0 (#544) * Update gc_ruboconfig requirement from ~> 4.4.1 to ~> 5.0.0 Updates the requirements on [gc_ruboconfig](https://github.com/gocardless/ruboconfig) to permit the latest version. - [Release notes](https://github.com/gocardless/ruboconfig/releases) - [Changelog](https://github.com/gocardless/gc_ruboconfig/blob/master/CHANGELOG.md) - [Commits](https://github.com/gocardless/ruboconfig/compare/v4.4.1...v5.0.0) --- updated-dependencies: - dependency-name: gc_ruboconfig dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Fix violations and obsolete config --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tabby Cromarty --- .rubocop_todo.yml | 2 +- lib/statesman/guard.rb | 2 +- statesman.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2a4f1f52..e4a63c1f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -47,7 +47,7 @@ RSpec/ExpectInHook: # Offense count: 1 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* -RSpec/FilePath: +RSpec/SpecFilePathFormat: Exclude: - 'spec/statesman/exceptions_spec.rb' diff --git a/lib/statesman/guard.rb b/lib/statesman/guard.rb index 50a87b1b..714ff59b 100644 --- a/lib/statesman/guard.rb +++ b/lib/statesman/guard.rb @@ -6,7 +6,7 @@ module Statesman class Guard < Callback def call(*args) - raise GuardFailedError.new(from, to, callback) unless super(*args) + raise GuardFailedError.new(from, to, callback) unless super end end end diff --git a/statesman.gemspec b/statesman.gemspec index 15532ead..9a8fb852 100644 --- a/statesman.gemspec +++ b/statesman.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "ammeter", "~> 1.1" spec.add_development_dependency "bundler", "~> 2" - spec.add_development_dependency "gc_ruboconfig", "~> 4.4.1" + spec.add_development_dependency "gc_ruboconfig", "~> 5.0.0" spec.add_development_dependency "mysql2", ">= 0.4", "< 0.6" spec.add_development_dependency "pg", ">= 0.18", "<= 1.6" spec.add_development_dependency "rails", ">= 5.2"