visualize_packs 0.5.1 → 0.5.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/graph.dot.erb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56b6eb0efc33722b2682f29f19c4714bf37d3c943acd87de6f9fd66a170a6614
4
- data.tar.gz: 55e0f497ff12b86c551b6b214617d3a696162abb20e4bcbf40410a7fafb70f1b
3
+ metadata.gz: b651191da33d76c72e2acaadb4a782e9435fbcd3b71029d85acec6cee1b2dc27
4
+ data.tar.gz: a2db3ab7593ef4b2b7dc158d03a11b7b16bb9cebdf389f3cc0d6b78877527b03
5
5
  SHA512:
6
- metadata.gz: ecc802ecdc77152a1b073de7b3a5797aeee9122cf26e0cd240cb092983aa549da3c7da29cb49ec62f4d9264058dcf76f6c6f6eb7b03d460563b537d6279f114e
7
- data.tar.gz: e502a1af91017dcf432e696f8fdb7348f401eb29963cc48768cf11494d38f6d222b1d85bc93d2ff1d51807c2ee5224aa00194356bc63633859ba7f1c8854abd6
6
+ metadata.gz: 3cb302b60a78824b60664e8f93792ff4e94e18243ea32a931d4859496227024150a2512911484fab3aa0b54f71cda4a0fc9ccf819b6aa15945e7feda3a2ef639
7
+ data.tar.gz: f2593b3863520c7ca7c5ed79b1ef24c8821c1aa04f60908f660c31a79045782236f50b5906353a8741415f7f82d8f128a0b48fbd6eaeee76ab7bb8775405b857
data/lib/graph.dot.erb CHANGED
@@ -112,7 +112,7 @@ digraph package_diagram {
112
112
  <%- if options.show_nested_relationships -%>
113
113
  <%- all_packages.each do |package| -%>
114
114
  <%- all_packages.each do |nested_package| -%>
115
- <%- if nested_package.name.include?(package.name) && !(nested_package.name == package.name) -%>
115
+ <%- if nested_package.name.include?("#{package.name}/") && !(nested_package.name == package.name) -%>
116
116
  "<%= package.name -%>" -> "<%= nested_package.name -%>" [ color=purple penwidth=3 ]
117
117
  <%- end -%>
118
118
  <%- end -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualize_packs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.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-08-16 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler