package_protections 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7dcf5c2038b67566fabbec1bebb7f7e793552f912613449f88d5fa244959200
4
- data.tar.gz: d067b4f72f24f52a8b37bb36da54ad0d3fb52549529b012a819ecd796231fedd
3
+ metadata.gz: 99c4366393e74fc56c761febc61c96ba3c9e2a235404fa79cc7ca4a884f7702c
4
+ data.tar.gz: f5050c0f1a511ef5e3a9a4718032fdae9ecb0a0d8e647f0ff56560c29b430b57
5
5
  SHA512:
6
- metadata.gz: 406251f9227b31309c2d991ea9cee1119ccc581724877b3e8ff2b9b76a0dfa71147ddc900bedcbc0cf7dfc52857a180500f6bb15f6c418dd9801ebc29f9e14b7
7
- data.tar.gz: 2cb074c305a57e514ca3f923b08bdeacb7a156e404bed441c4b169ad7b92cf86dc7f5d5ac76b0e47d97cb4ae26eba87699e06694660fabc824092ddeee08ec61
6
+ metadata.gz: 23eb8126f636d8bd9552d08d85170fbb3076cbdc79bf1ae9183a882dbdbb1fb26c8df6b9f055964ec7c07f12470528955da931d26dd90d085ecdbcf408723463
7
+ data.tar.gz: 5e34e9bcfd66b16fc820d9f9b56b8078b8800639d17ff24595ee6e8a8387ed3cc38c411446f182a7c615e06c6939940112a8ed668dc651535724e9fd26c1c6bc
@@ -6,7 +6,7 @@ require 'active_support/core_ext/string/inflections'
6
6
  module RuboCop
7
7
  module Cop
8
8
  module PackageProtections
9
- class NamespacedUnderPackageName < Packs::NamespaceConvention
9
+ class NamespacedUnderPackageName < Packs::RootNamespaceIsPackName
10
10
  extend T::Sig
11
11
  include ::PackageProtections::RubocopProtectionInterface
12
12
 
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module Cop
5
5
  module PackageProtections
6
- class RequireDocumentedPublicApis < Packs::RequireDocumentedPublicApis
6
+ class RequireDocumentedPublicApis < Packs::DocumentedPublicApis
7
7
  extend T::Sig
8
8
  include ::PackageProtections::RubocopProtectionInterface
9
9
 
@@ -15,7 +15,7 @@ module RuboCop
15
15
  #
16
16
  # We can apply this same pattern if we want to use other cops in the context of package protections and prevent clashing.
17
17
  #
18
- class TypedPublicApi < Packs::TypedPublicApi
18
+ class TypedPublicApi < Packs::TypedPublicApis
19
19
  extend T::Sig
20
20
 
21
21
  include ::PackageProtections::ProtectionInterface
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: package_protections
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport