From bbbff26b30fd28a49fddffb1b29903ea3741765f Mon Sep 17 00:00:00 2001 From: Alex Evanczuk Date: Fri, 7 Oct 2022 10:45:52 -0400 Subject: [PATCH] Properly inherit from the cop from rubocop-modularization' - (#32) --- Gemfile.lock | 2 +- .../cop/package_protections/namespaced_under_package_name.rb | 2 +- package_protections.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7e8c07b..c9ce55b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - package_protections (2.3.0) + package_protections (2.3.1) activesupport parse_packwerk rubocop diff --git a/lib/rubocop/cop/package_protections/namespaced_under_package_name.rb b/lib/rubocop/cop/package_protections/namespaced_under_package_name.rb index ac1c026..b95177a 100644 --- a/lib/rubocop/cop/package_protections/namespaced_under_package_name.rb +++ b/lib/rubocop/cop/package_protections/namespaced_under_package_name.rb @@ -6,7 +6,7 @@ module RuboCop module Cop module PackageProtections - class NamespacedUnderPackageName < Base + class NamespacedUnderPackageName < Modularization::NamespacedUnderPackageName extend T::Sig include ::PackageProtections::RubocopProtectionInterface diff --git a/package_protections.gemspec b/package_protections.gemspec index f5ef4da..5764e28 100644 --- a/package_protections.gemspec +++ b/package_protections.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'package_protections' - spec.version = '2.3.0' + spec.version = '2.3.1' spec.authors = ['Gusto Engineers'] spec.email = ['stephan.hagemann@gusto.com'] spec.summary = 'Package protections for Rails apps'