power_stencil 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 397ae8708dcf83c49787aa22e1ef23360c136ba7
4
- data.tar.gz: b504e3d431b71a01f70a1315e20122bce6ba0681
3
+ metadata.gz: 46cd250b342b54c8dc72931f81f4ed7bbfdee8cd
4
+ data.tar.gz: 99e22d32fb5b7d26b258a9aa21d6f12145b212e0
5
5
  SHA512:
6
- metadata.gz: 65dc07d1a0b556782f3a3b67bb8d430084b6ed6cd35bf9c9e7764d5a9d8e2d51dabf49a5392ba07cbb2e1a0fa224dd981b4503f37fb9b5ef5ded0394c367c042
7
- data.tar.gz: ace8effec5fd7ed0d4fe8401917e71f245f074853093fff4dbb5768917d4e3351553e7abd0d24e708844c0e98c90e2ce13776dfd08aebb8b941ffa804400c7b8
6
+ metadata.gz: 5932677cb6814823345991f2cd5b726b969c88a590971b3269a0015f26deea75acdf0b26e7d3de728fa4e197df213fbd36c06f499991fede21a67e6838efbfd1
7
+ data.tar.gz: 6f8f33930ef4dbec1da21d32201db904ac60dc7cb2d367b4bad6b5fca74b872a3e689a384d1d45b0028bf85aae72281e0323ce708e609e0480b07b7276a57787
@@ -17,6 +17,7 @@
17
17
  # :labelloc: :t
18
18
  # :show_config: false
19
19
  # :file_type: svg
20
+ # :graph_type: :digraph
20
21
  # :node:
21
22
  # :shape: box
22
23
  # :style: filled
@@ -90,6 +90,7 @@
90
90
  :labelloc: :t
91
91
  :show_config: false
92
92
  :file_type: :svg
93
+ :graph_type: :digraph
93
94
  :node:
94
95
  :shape: box
95
96
  :style: filled
@@ -17,6 +17,7 @@
17
17
  # :labelloc: :t
18
18
  # :show_config: false
19
19
  # :file_type: svg
20
+ # :graph_type: :digraph
20
21
  # :node:
21
22
  # :shape: box
22
23
  # :style: filled
@@ -11,9 +11,14 @@ module PowerStencil
11
11
  else
12
12
  entities
13
13
  end
14
- graph_entities_to_file entities_to_process,
15
- output_file_name: filename,
16
- file_type: config[:graphviz][:file_type] do |graph, cache|
14
+
15
+ graph_options = {
16
+ output_file_name: filename,
17
+ graph_type: config[:graphviz][:graph_type],
18
+ file_type: config[:graphviz][:file_type]
19
+ }
20
+
21
+ graph_entities_to_file entities_to_process, graph_options do |graph, cache|
17
22
  graph[:label] = config[:graphviz][:label]
18
23
  graph[:labelloc] = config[:graphviz][:labelloc]
19
24
  graph.each_node do |node_name|
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.4.3'.freeze
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency 'climatic', '~> 0.2.29'
29
29
  spec.add_dependency 'dir_glob_ignore', '~> 0.3'
30
- spec.add_dependency 'universe_compiler', '~> 0.3.9'
30
+ spec.add_dependency 'universe_compiler', '~> 0.3.12'
31
31
  spec.add_dependency 'pry'
32
32
 
33
33
  spec.post_install_message = %Q{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_stencil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent B.
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.3.9
89
+ version: 0.3.12
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.3.9
96
+ version: 0.3.12
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -253,7 +253,7 @@ homepage: https://gitlab.com/tools4devops/power_stencil
253
253
  licenses:
254
254
  - MIT
255
255
  metadata: {}
256
- post_install_message: "\nThank you for installing PowerStencil 0.4.2 !\nFrom the command
256
+ post_install_message: "\nThank you for installing PowerStencil 0.4.3 !\nFrom the command
257
257
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
258
258
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nFull documentation
259
259
  here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel