pocky 2.0.0 → 2.1.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
- SHA256:
3
- metadata.gz: 817ec28553db2266db7aad79d4a6a007c185f72e07473e08f3cd406bd55da240
4
- data.tar.gz: 1f35a2c830b7462c57a1860c851a349d11f5387d1ba9f04b0e91a44615ef8270
2
+ SHA1:
3
+ metadata.gz: 737a6863c40b2d7b6872d954fd981d24471a6d53
4
+ data.tar.gz: 08034b2af953ac3508c055e1c42db3e24d98b39b
5
5
  SHA512:
6
- metadata.gz: cec156a41900ee641e2a71e1745c90196d7a7b4e7ee11fc0a8da50311462baa83559746244e3f548646aa26d14d1c619a12908b03353ea219f647baf289db853
7
- data.tar.gz: 42bf0e9dd7c5bbee96cbb6756ef1d42dc5ecb49002dd9cdcad615a008f1e2e2ab995d50f04a705ac3094316ac389f31bf6d0eadd21cc0629f0012ca184964c46
6
+ metadata.gz: 03c9dc88876057590f30cbb56e534baa65096e90933b3aefd05f6b5423f9b25d77ae600bf46d7b0abe755ea266f9af2421381912b0a4fab1cda7a6ad28fea81b
7
+ data.tar.gz: bf24431a9c8a48fafbd9ff8b11ccaebe79bc4e662cbc9da3f1b41cec00019834afadd51a83799390acc077fb45c1a6fce5254224f226385bffcf1f2ee56ba557
data/README.md CHANGED
@@ -16,6 +16,9 @@ Invoke as a rake task:
16
16
  $ rake pocky:generate
17
17
 
18
18
 
19
+ ![packwerk](https://user-images.githubusercontent.com/138784/104111683-df043180-5299-11eb-9a37-8db6851062e0.png)
20
+
21
+
19
22
  #### Generate with custom options
20
23
  ```ruby
21
24
  Pocky::Packwerk.generate(
@@ -29,8 +32,6 @@ Pocky::Packwerk.generate(
29
32
  )
30
33
  ```
31
34
 
32
- ![pocky-graph](https://user-images.githubusercontent.com/138784/103251690-a6299b80-492e-11eb-92f1-205752d850d8.png)
33
-
34
35
  Note that the the bold edges indicate heavier dependencies.
35
36
 
36
37
  Invoke as a rake task:
@@ -38,8 +39,8 @@ Invoke as a rake task:
38
39
  $ rake pocky:generate"[app/packages,Monolith,packages.png,100]"
39
40
 
40
41
 
41
- #### `root_path` as an array
42
- `root_path` can also be an array in case your packages are organized in multiple directories. Alternatively, you can also provide paths to individual packages to generate more focused graphs for your package subsystems.
42
+ #### Generate subsystem graph (`package_path` as an array)
43
+ `package_path` can also be an array in case your packages are organized in multiple directories. Alternatively, you can also provide paths to individual packages to generate more focused graphs for your package subsystems.
43
44
 
44
45
  ```ruby
45
46
  Pocky::Packwerk.generate(
@@ -97,7 +97,10 @@ module Pocky
97
97
  @graph.add_edges(
98
98
  @nodes[package],
99
99
  @nodes[provider_package],
100
- **@deprecated_references_edge_options.merge(penwidth: edge_width(invocations.length)),
100
+ **@deprecated_references_edge_options.merge(
101
+ penwidth: edge_width(invocations.length),
102
+ constraint: false,
103
+ ),
101
104
  )
102
105
  end
103
106
  end
@@ -4,7 +4,7 @@ namespace :pocky do
4
4
  desc 'Generate dependency graph for packwerk packages'
5
5
  task :generate, [:root_path, :default_package, :filename, :dpi] do |_task, args|
6
6
  Pocky::Packwerk.generate(args.merge(
7
- root_path: arg[:root_path].split(/\s+/)
7
+ root_path: args[:root_path].split(/\s+/)
8
8
  ))
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pocky
4
- VERSION = "2.0.0"
4
+ VERSION = "2.1.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: 2.0.0
4
+ version: 2.1.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: 2021-01-10 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-graphviz
@@ -69,7 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubyforge_project:
73
+ rubygems_version: 2.4.5
73
74
  signing_key:
74
75
  specification_version: 4
75
76
  summary: A ruby gem that generates dependency graph for your packwerk packages