code_ownership 1.32.13 → 1.32.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad23d35594c57c575faa7afa4bdd7133efc848319d7279b6b28c8d7f67b7d2c0
4
- data.tar.gz: 7e21f92921d9053820eaf3722d4ee7064e5af726ea6c9c4af653bc7330e777bb
3
+ metadata.gz: c54909c0c5a072df5080509fc4668dc9770fd83d77af60b7469e9cfb0560266d
4
+ data.tar.gz: 6854819e28031063796f639714943a8f61eacb31cf8d665c06f4434e01530f20
5
5
  SHA512:
6
- metadata.gz: cbb45989ddbd059ba89632015ee8dc345bfb38932d008fe8edd1ea687de16b97367625a84db7c550cdd7ae20d08fe86d876f3252574564f4a6374ae3fcb9e49b
7
- data.tar.gz: fc2ee0036fe2780910ae7a6fe290c738a7466fd3608f4b06ae3c9daa470160bca203106c51a90772365bfd6563c0b0651ecb8d47a3849550a04a91c1491599a9
6
+ metadata.gz: 9fe8a85e433ee7eded9c939f23e112304e06e7c90debe840d4ba5810ba274f7d021df890e9da1c83eded7c8999eb0377be82513470ca8e2ef3a6e2bb5a505a2e
7
+ data.tar.gz: f33c0630d6f3014a07caa9b042897e8aab71fed3ec649566b6c189d2b20ad02e973162542efb6828a91616cf911756d353c1544ccd3e9c88c56f988e0c493967
@@ -96,7 +96,7 @@ module CodeOwnership
96
96
  File.fnmatch?(unowned_glob, file, File::FNM_PATHNAME | File::FNM_EXTGLOB)
97
97
  end
98
98
 
99
- in_owned_globs && !in_unowned_globs
99
+ in_owned_globs && !in_unowned_globs && File.exist?(file)
100
100
  end
101
101
 
102
102
  sig { params(team_name: String, location_of_reference: String).returns(CodeTeams::Team) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_ownership
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.13
4
+ version: 1.32.14
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-15 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: code_teams