From 4ecca86c03d13e590a2ee10f1fb3ef1602f5f9b2 Mon Sep 17 00:00:00 2001 From: Rob Smith Date: Tue, 2 Jan 2024 13:49:10 -0500 Subject: [PATCH] Update RuboCop dependency. --- Gemfile | 2 +- spec/cuprum/collections/basic/scopes/base_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index fcf83e2..df720dc 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ group :development, :test do gem 'rspec', '~> 3.12' gem 'rspec-sleeping_king_studios', '~> 2.7' - gem 'rubocop', '~> 1.57', '>= 1.57.2' + gem 'rubocop', '~> 1.59' gem 'rubocop-rspec', '~> 2.25' gem 'simplecov', '~> 0.22' diff --git a/spec/cuprum/collections/basic/scopes/base_spec.rb b/spec/cuprum/collections/basic/scopes/base_spec.rb index 29abde9..5ea3087 100644 --- a/spec/cuprum/collections/basic/scopes/base_spec.rb +++ b/spec/cuprum/collections/basic/scopes/base_spec.rb @@ -97,7 +97,7 @@ context 'with a scope subclass' do let(:described_class) { Spec::HasSeriesScope } - # rubocop:disable RSpec/DescribedClass + # rubocop:disable RSpec/DescribedClass, Style/RedundantLineContinuation example_class 'Spec::HasSeriesScope', Cuprum::Collections::Basic::Scopes::Base \ do |klass| @@ -105,7 +105,7 @@ !(item['series'].nil? || item['series'].empty?) end end - # rubocop:enable RSpec/DescribedClass + # rubocop:enable RSpec/DescribedClass, Style/RedundantLineContinuation describe '#call' do describe 'with an empty Array' do