parse_packwerk 0.18.1 → 0.18.2

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/parse_packwerk.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f712a4dfa471ea4f8652058277e83355306f809c224d3dde98ec68a960b4b89b
4
- data.tar.gz: e0f7148f0cdb4a8d8a39dc07eb5ff7c27c45ababd49a46b6067f09751f2bbf91
3
+ metadata.gz: 674c8a13d849b72a052c6624b6a700a902579c917d2670da62a965c4944801dd
4
+ data.tar.gz: 91ae13980be718d98c96c77a8b1caf5cc3c9a5c05a700522f6189c57d61bdc0e
5
5
  SHA512:
6
- metadata.gz: 0f6e92205d265558bd11cfd5cff0739ce467d86ad896279be9718f032de0271f158943c03205d73c133f47295133feb9b32c2a1ffb4927521c1f772d5a433a8b
7
- data.tar.gz: 133974d86d034cfcea559f60892a2b5183f0885309b23e05176ef29fb4f91a43e287054145b7044df6837bf88423ec8c11466f594f5e9e30400fe21b006901ad
6
+ metadata.gz: d854c12addbf7826864bec2cf9d7bbb990030c9c0d852f76b4efe33eab36ec5d8d139b44430bed86236e8d7e31ff24c6ae933817995cf8712f82a867f7e2567a
7
+ data.tar.gz: c01c719aba0bb2a1cc4e49931436882a442fbd4d0f1b2ed64cea7a08cb4caa370c7aa93a55590cab96e716d76df158f7b53b41732af21e51f8e6eefdae7a79d1
@@ -77,7 +77,9 @@ module ParsePackwerk
77
77
  merged_config.merge!('public_path' => package.public_path)
78
78
  end
79
79
 
80
- if package.dependencies.any?
80
+ if package.dependencies.nil? || package.dependencies.none?
81
+ merged_config.delete('dependencies')
82
+ else
81
83
  merged_config.merge!('dependencies' => package.dependencies)
82
84
  end
83
85
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parse_packwerk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
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-03-06 00:00:00.000000000 Z
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime