package_protections 0.66.0 → 0.67.0

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: 2aa463f6b2b4909e574bf47e2f5b4f330a48c074ada35eb451339a3ba6d35840
4
- data.tar.gz: 07ead3e39863fed6327a677d1eff361e8f00a55db847df59b8e05a244e75228c
3
+ metadata.gz: '0457664569f574f7252c13cd8236b6e267a114bd900a24da1aa4a89c4b5d13da'
4
+ data.tar.gz: 8495e9bc7343afa5c793ef7027c2e453dbe13424de49514e235dcd3f64327031
5
5
  SHA512:
6
- metadata.gz: 4e2fa4b640763d49d80adc1e3f400c617eaf348df01a5126d875cc4d6c4c2ec3c3b719ee3bb54923f2eaf86f48ed09159fdf90088c72d97e88a40971d16b759c
7
- data.tar.gz: 7496fb3bc5d5727729432e5b9447c52b01428679aa0269bf5b92049a922e91c831656cb21f32ddd56c76444c9c7826b332ff7704f12327dca4cf17dd452ef3db
6
+ metadata.gz: 04cfbf3ce493c4dbb3a9ddfbeb89d725a1fbcc7d5d209e1a51e45ecee6fb56320dacb9fb271d3ca58d1b5d176b209a6410630de041d7e4f749368f7820443ed4
7
+ data.tar.gz: 67412edbc0ac4a0c64460419c482a141963120c89bb46c297bb84575c83b9f38920bfa7cee9549a7f8c135275eca0927127fa89c5f1879480d283201e757b60f
@@ -32,16 +32,7 @@ module PackageProtections
32
32
 
33
33
  sig { returns(String) }
34
34
  def to_rubocop_yml_compatible_format
35
- cop_config = {
36
- 'Enabled' => enabled,
37
- # Inherit mode ensures that the client can still use the cop outside of the context of package protections.
38
- # For example, if a user wanted to use `Sorbet/StrictSigil` to keep *all* of their package strictly typed,
39
- # this would permit that configuration. Likewise, this would permit a user to override portions of rubocop-implemented
40
- # package protections. For example, they could have a hard-to-type portion of their public API (GraphQL maybe?).
41
- # This would permit them to tell rubocop to selectively not enforce package protections in a particular place.
42
- # See more: https://docs.rubocop.org/rubocop/configuration.html#merging-arrays-using-inherit_mode
43
- 'inherit_mode' => { 'merge' => %w[Include Exclude] }
44
- }
35
+ cop_config = { 'Enabled' => enabled }
45
36
 
46
37
  if include_paths.any?
47
38
  cop_config['Include'] = include_paths
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: package_protections
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers