Skip to content

Commit

Permalink
Update RuboCop dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepingkingstudios committed Jan 2, 2024
1 parent 4fe5c87 commit 4ecca86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions spec/cuprum/collections/basic/scopes/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@
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|
klass.define_method :match? do |item:|
!(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
Expand Down

0 comments on commit 4ecca86

Please sign in to comment.