pocky 1.8.0 → 1.9.0

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: 612ee34127a910813870f48cc2e84a09da9fcb548e7c81a447205c9a3b84ef8b
4
- data.tar.gz: 98b7be34c21ac045bafafa8ceb4c01fbcb0461495d19807ec1ab26970a11e4b8
3
+ metadata.gz: a33d7a33b47a8ec7b5763188f1670934db2b63df6e16409371ec10456a06ff98
4
+ data.tar.gz: afe4ed9619ec1d6843fb23a92fde8ef89349650fec21abc2e584cccdd7ba9096
5
5
  SHA512:
6
- metadata.gz: '07728e53d8c4e6950af51520abe37c0818fabbd25d84cf57cf8cffb7ee925ef10c87d68e7e2bc113cb5c2cc7bf1d7357ee0c3fa608f8aac83df503ea1c68d02c'
7
- data.tar.gz: 68bb11723dff8b526aaccc0c9153a6a2879b1b6dc2efdb223d4b5246ee3c9e14d210e3ec5a49b8c168237ca823e4a687ec54bfbf1f697307caef4bae67ed20a3
6
+ metadata.gz: 2469169116f8afcebfd1fd41e05b6a74526c37e4abcdd78b94feae73867773fcc277192a6e8ea89ac57f35ce4608d9ec657e4b7309e59875bd11b0eb40b6bfa3
7
+ data.tar.gz: 6ef340611027d6ffea6044c1f03576d5b78ea1b70b2d852a9a1784c99d66d644abd07c4c71ccf58f9edeb98b7dbe42c3cb7eb2867afcc5fdf1a0ed60b692ded2
data/README.md CHANGED
@@ -10,9 +10,9 @@ Invoke from irb or code, only `root_path` is required.
10
10
  ```ruby
11
11
  Pocky::Packwerk.generate(
12
12
  root_path: 'path/to/app/packages',
13
- default_package: 'Default', # The default package listed as "." in deprecated_references.yml
13
+ default_package: 'Default', # The default package listed as "." in deprecated_references.yml
14
14
  filename: 'packwerk-viz.png', # Name of output file
15
- dpi: 150 # Output file resolution
15
+ dpi: 150 # Output file resolution
16
16
  )
17
17
  ```
18
18
 
@@ -48,8 +48,8 @@ module Pocky
48
48
  @nodes[provider_package] ||= graph.add_nodes(provider_package)
49
49
 
50
50
  graph.add_edges(
51
- @nodes[provider_package],
52
51
  @nodes[package],
52
+ @nodes[provider_package],
53
53
  penwidth: edge_width(dependencies.length)
54
54
  )
55
55
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pocky
4
- VERSION = "1.8.0"
4
+ VERSION = "1.9.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pocky
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Quan Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-30 00:00:00.000000000 Z
11
+ date: 2021-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-graphviz