pocky 1.4.0 → 1.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4006410ded2bda58a3ada5f5a9efc3e70059ec1258116a871386cc253eccfd10
|
4
|
+
data.tar.gz: 75315c43f9f04e9c2808dad7b762121cf5d68ce63833e2e89f07a025b91843b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce4e7c98a283881bba3c321b708a7f6488c7e230ac76ffcbeab54781f4b0ddc627d48b5bacf1a371a4b78b9fc164748c88a52266dce817652d954b1292effedc
|
7
|
+
data.tar.gz: ba80fe686f39a68a8c6dfc7b7129a195d6d0361182cef7f2b96a2e39fed70315dcb1eba1c6a70a2ecd34c502bb6f83b4b8b16da428436f46aab18853a7741bc4
|
data/lib/pocky/packwerk.rb
CHANGED
@@ -22,8 +22,8 @@ module Pocky
|
|
22
22
|
@root_path = root_path
|
23
23
|
@default_package = default_package
|
24
24
|
@package_prefix = package_prefix
|
25
|
-
@
|
26
|
-
@
|
25
|
+
@filename = filename
|
26
|
+
@dpi = dpi.to_i
|
27
27
|
@deprecated_references = {}
|
28
28
|
@nodes = {}
|
29
29
|
end
|
@@ -36,7 +36,7 @@ module Pocky
|
|
36
36
|
private
|
37
37
|
|
38
38
|
def build_directed_graph
|
39
|
-
graph = GraphViz.new(:G, type: :digraph, dpi: @
|
39
|
+
graph = GraphViz.new(:G, type: :digraph, dpi: @dpi)
|
40
40
|
@deprecated_references.each do |package, references|
|
41
41
|
@nodes[package] ||= graph.add_nodes(package)
|
42
42
|
references.each do |provider, dependencies|
|
@@ -51,7 +51,7 @@ module Pocky
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
graph.output(png: @
|
54
|
+
graph.output(png: @filename)
|
55
55
|
end
|
56
56
|
|
57
57
|
def edge_width(count)
|
data/lib/pocky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pocky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Quan Nguyen
|
@@ -40,12 +40,12 @@ files:
|
|
40
40
|
- Rakefile
|
41
41
|
- bin/console
|
42
42
|
- bin/setup
|
43
|
-
- lib/Rakefile
|
44
43
|
- lib/pocky.rb
|
44
|
+
- lib/pocky/Rakefile
|
45
45
|
- lib/pocky/packwerk.rb
|
46
|
+
- lib/pocky/railtie.rb
|
47
|
+
- lib/pocky/tasks/generate.rake
|
46
48
|
- lib/pocky/version.rb
|
47
|
-
- lib/railtie.rb
|
48
|
-
- lib/tasks/generate.rake
|
49
49
|
- pocky.gemspec
|
50
50
|
homepage: https://github.com/mquan/pocky
|
51
51
|
licenses:
|
File without changes
|
File without changes
|
File without changes
|