From d80e5d37e77a4742a46a3190a23e10c5b7fd54a2 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Sun, 11 Aug 2019 14:41:06 +0300 Subject: [PATCH] Update minimum required RuboCop version 0.68.0 ships with the new children matching syntax (https://github.com/rubocop-hq/rubocop/pull/6965) that might come handy for some of RSpec cops. --- CHANGELOG.md | 1 + rubocop-factory_bot.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 525f190e..3ee34737 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Fix `RSpec/DescribedClass`'s error when a `described_class` is part of the namespace. ([@pirj][]) * Fix `RSpec/ExampleWording` autocorrect of multi-line docstrings. ([@pirj][]) * Add `RSpec/ContextMethod` cop, to detect method names in `context`. ([@geniou][]) +* Update RuboCop dependency to 0.68.1 with support for children matching node pattern syntax. ([@pirj][]) ## 1.35.0 (2019-08-02) diff --git a/rubocop-factory_bot.gemspec b/rubocop-factory_bot.gemspec index 57f40cd0..7090003e 100644 --- a/rubocop-factory_bot.gemspec +++ b/rubocop-factory_bot.gemspec @@ -39,7 +39,7 @@ Gem::Specification.new do |spec| 'documentation_uri' => 'https://rubocop-rspec.readthedocs.io/' } - spec.add_runtime_dependency 'rubocop', '>= 0.60.0' + spec.add_runtime_dependency 'rubocop', '>= 0.68.1' spec.add_development_dependency 'rack' spec.add_development_dependency 'rake'