pocky 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bd1bd4dd6b8693596464cce4a18d69e015acb74d0534bf80c0f4861dbcb3487
4
- data.tar.gz: b04b473ba73db68dcdd62ba9e76bf8ef25d2febba6ffe9cc11d1d90946f74243
3
+ metadata.gz: 4006410ded2bda58a3ada5f5a9efc3e70059ec1258116a871386cc253eccfd10
4
+ data.tar.gz: 75315c43f9f04e9c2808dad7b762121cf5d68ce63833e2e89f07a025b91843b4
5
5
  SHA512:
6
- metadata.gz: b572f0aeb26942d289a15ac2d066bcdaa2908810f3cc729725f212c41598dabb33690b72da3e3deb35b7945e668d70ddccca498f00043abc25ac5a36252949cb
7
- data.tar.gz: 29c7d372e528161abc4e3c833521860a89a4411fd2f5cb35f294df150b0c697256b38dd8ca34009be21250467b14a1600bda76fa556e0fa2bdd2d96bf8701571
6
+ metadata.gz: ce4e7c98a283881bba3c321b708a7f6488c7e230ac76ffcbeab54781f4b0ddc627d48b5bacf1a371a4b78b9fc164748c88a52266dce817652d954b1292effedc
7
+ data.tar.gz: ba80fe686f39a68a8c6dfc7b7129a195d6d0361182cef7f2b96a2e39fed70315dcb1eba1c6a70a2ecd34c502bb6f83b4b8b16da428436f46aab18853a7741bc4
@@ -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
- @output_filename = output_filename
26
- @output_dpi = output_dpi.to_i
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: @output_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: @output_filename)
54
+ graph.output(png: @filename)
55
55
  end
56
56
 
57
57
  def edge_width(count)
data/lib/pocky/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pocky
4
- VERSION = "1.4.0"
4
+ VERSION = "1.5.0"
5
5
  end
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.0
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