rubocop-packs 0.0.38 → 0.0.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubocop/packs/private.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0dc33f953b18089fa39758053de3ac9234e3219ae8aa3ee8a62e21aaceac4da
4
- data.tar.gz: 486e26362fdfb5861a86c6e20b8eb50c0ded7875ef0ab5bebd18ee7d19b22c47
3
+ metadata.gz: d88f485f918ad13a51e6b07c7d2777b3d6ea1f841bd8c5d00a745b0ef1021e44
4
+ data.tar.gz: 003f98900ab977a97c55860ca4c8dfc024818a249afdfc43c76aecf17383e639
5
5
  SHA512:
6
- metadata.gz: 937f169b09f6d2cc914154bc28cc4bf8cf79d1cdb0a523a13900f0511028c718351117b29f93d0a7ea8a6795dfbbb359d2b3527467ac61b3101605dd22cf742a
7
- data.tar.gz: fad82da99cd38c48a1509f85c329be37fa22af29e9c2dee28c70c07fc5490d9d112f12c2fb8655b02fa49e822592cb4e57c164cd6f6d3e2c43c13b2810f514d3
6
+ metadata.gz: 4df9a6bd0d19b1824cf6927e1fe1076b36042bde212a9859dde4912e2af5e49af53bb941e6cc190eec31483962dae009d956d9050b09f5132ee1cf809de5d5f5
7
+ data.tar.gz: db92154be004acb720da8ffdba1624dbbfac68a170fc7cbe214a3c5294e7c945ab9ea6308198bbf02ffd1189e823c948632ca086bd3c431b0b6875fb23576c81
@@ -58,7 +58,7 @@ module RuboCop
58
58
  else
59
59
  loaded_rubocop_todo[key]['Exclude'].each do |filepath|
60
60
  pack = ::Packs.for_file(filepath)
61
- return [] unless pack && pack.name != package.name
61
+ next unless pack && pack.name != package.name
62
62
 
63
63
  errors << <<~ERROR_MESSAGE
64
64
  #{rubocop_todo} contains invalid configuration for #{key}.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-packs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.38
4
+ version: 0.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-20 00:00:00.000000000 Z
11
+ date: 2023-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport