lib/rubocop/cop/rspec/base.rb in rubocop-rspec-1.43.2 vs lib/rubocop/cop/rspec/base.rb in rubocop-rspec-1.44.0
- old
+ new
@@ -27,9 +27,11 @@
DEFAULT_PATTERN_RE = Regexp.union(
DEFAULT_CONFIGURATION.fetch('Patterns')
.map(&Regexp.public_method(:new))
)
+ exclude_from_registry
+
# Invoke the original inherited hook so our cops are recognized
def self.inherited(subclass) # rubocop:disable Lint/MissingSuper
RuboCop::Cop::Base.inherited(subclass)
end