Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix support for RuboCop 0.84.0 and 0.85.x
These were the first versions to use rubocop-ast, and unfortunately the dependency is loose enough that rubocop-ast versions >= 0.7.0 are allowed, which cause require 'rubocop' to fail with NoMethodError: undefined method `join' for #<Set: {:==, :===, :!=, :<=, :>=, :>, :<}> in rubocop-0.84.0/lib/rubocop/cop/style/redundant_conditional.rb:57:in `<class:RedundantConditional>' This is due to rubocop/rubocop-ast#22 so just block those versions directly. This has the unfortunate side effect of requiring rubocop-ast for older versions which don't require it.
- Loading branch information