From 753e08f981106c3193e7498e4b86d30f89e21a7b 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-rspec.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 525f190e48..3ee3473702 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-rspec.gemspec b/rubocop-rspec.gemspec index 4501f33692..243da3c95c 100644 --- a/rubocop-rspec.gemspec +++ b/rubocop-rspec.gemspec @@ -36,7 +36,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'