From 54c15509c2754be48c8e676fec5b098a2b92f695 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-capybara.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 525f190..3ee3473 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-capybara.gemspec b/rubocop-capybara.gemspec index 57f40cd..7090003 100644 --- a/rubocop-capybara.gemspec +++ b/rubocop-capybara.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'