ruby-graphviz 1.0.0 → 1.0.1

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.
Files changed (106) hide show
  1. data/.gemrc +0 -0
  2. data/.gitignore +6 -0
  3. data/AUTHORS +3 -0
  4. data/Gemfile +4 -0
  5. data/README.rdoc +25 -45
  6. data/Rakefile +59 -0
  7. data/bin/dot2ruby +0 -0
  8. data/bin/gem2gv +0 -0
  9. data/bin/git2gv +0 -0
  10. data/bin/ruby2gv +0 -0
  11. data/bin/xml2gv +0 -0
  12. data/examples/sample48.rb +2 -2
  13. data/examples/sample62.rb +24 -0
  14. data/examples/sample63.rb +32 -0
  15. data/examples/sample64.rb +31 -0
  16. data/examples/sample65.rb +9 -0
  17. data/lib/graphviz.rb +55 -25
  18. data/lib/graphviz/constants.rb +103 -100
  19. data/lib/graphviz/core_ext.rb +57 -34
  20. data/lib/graphviz/dot2ruby.rb +9 -0
  21. data/lib/graphviz/dsl.rb +59 -0
  22. data/lib/graphviz/node.rb +2 -1
  23. data/lib/graphviz/types.rb +0 -4
  24. data/lib/graphviz/types/arrow_type.rb +32 -0
  25. data/lib/graphviz/types/color.rb +56 -0
  26. data/lib/graphviz/types/color_list.rb +22 -0
  27. data/lib/graphviz/types/esc_string.rb +5 -14
  28. data/lib/graphviz/types/gv_bool.rb +49 -0
  29. data/lib/graphviz/types/gv_double.rb +12 -2
  30. data/lib/graphviz/types/html_string.rb +3 -1
  31. data/lib/graphviz/types/lbl_string.rb +2 -1
  32. data/lib/graphviz/types/rect.rb +34 -0
  33. data/lib/graphviz/types/spline_type.rb +75 -0
  34. data/lib/graphviz/utils.rb +2 -2
  35. data/lib/graphviz/utils/colors.rb +1019 -0
  36. data/ruby-graphviz.gemspec +57 -0
  37. data/test/test_examples.rb +4 -0
  38. data/test/{test_init.rb → test_graph.rb} +1 -1
  39. data/test/test_types.rb +65 -0
  40. data/test/test_utils_colors.rb +57 -0
  41. metadata +100 -112
  42. data/examples/rgv/rgv.ps +0 -125
  43. data/examples/rgv/test_rgv.rb +0 -12
  44. data/examples/rgv/test_rgv.rb.ps +0 -393
  45. data/examples/simpsons.gv +0 -69
  46. data/test/output/sample01.rb.png +0 -0
  47. data/test/output/sample02.rb.png +0 -0
  48. data/test/output/sample03.rb.png +0 -0
  49. data/test/output/sample04.rb.png +0 -0
  50. data/test/output/sample05.rb.png +0 -0
  51. data/test/output/sample06.rb.png +0 -0
  52. data/test/output/sample07.rb.png +0 -0
  53. data/test/output/sample08.rb.png +0 -0
  54. data/test/output/sample09.rb.png +0 -0
  55. data/test/output/sample10.rb.png +0 -0
  56. data/test/output/sample11.rb.png +0 -0
  57. data/test/output/sample12.rb.png +0 -0
  58. data/test/output/sample13.rb.png +0 -0
  59. data/test/output/sample14.rb.png +0 -0
  60. data/test/output/sample15.rb.png +0 -0
  61. data/test/output/sample16.rb.png +0 -0
  62. data/test/output/sample17.rb.png +0 -0
  63. data/test/output/sample18.rb.png +0 -0
  64. data/test/output/sample19.rb.png +0 -0
  65. data/test/output/sample20.rb.png +0 -0
  66. data/test/output/sample21.rb.html +0 -3
  67. data/test/output/sample21.rb.png +0 -0
  68. data/test/output/sample22.rb.html +0 -5
  69. data/test/output/sample22.rb.png +0 -0
  70. data/test/output/sample23.rb.png +0 -0
  71. data/test/output/sample24.rb.png +0 -0
  72. data/test/output/sample25.rb.png +0 -0
  73. data/test/output/sample26.rb.png +0 -0
  74. data/test/output/sample28.rb.png +0 -0
  75. data/test/output/sample29.rb.svg +0 -21
  76. data/test/output/sample30.rb.ps +0 -923
  77. data/test/output/sample31.rb.png +0 -0
  78. data/test/output/sample32.rb.png +0 -0
  79. data/test/output/sample35.rb.gv +0 -24
  80. data/test/output/sample35.rb.png +0 -0
  81. data/test/output/sample37.rb.dot +0 -50
  82. data/test/output/sample37.rb.png +0 -0
  83. data/test/output/sample38.rb.png +0 -0
  84. data/test/output/sample39.rb.png +0 -0
  85. data/test/output/sample40.rb.png +0 -0
  86. data/test/output/sample41.rb.svg +0 -8
  87. data/test/output/sample42.rb.png +0 -0
  88. data/test/output/sample43.rb.png +0 -0
  89. data/test/output/sample44.rb.png +0 -0
  90. data/test/output/sample45.rb.png +0 -0
  91. data/test/output/sample46.rb.png +0 -0
  92. data/test/output/sample47.rb.png +0 -0
  93. data/test/output/sample48.rb.png +0 -0
  94. data/test/output/sample49.rb.png +0 -0
  95. data/test/output/sample50.rb.png +0 -0
  96. data/test/output/sample51.rb.png +0 -0
  97. data/test/output/sample52.rb.png +0 -0
  98. data/test/output/sample53.rb.png +0 -0
  99. data/test/output/sample54.rb.png +0 -0
  100. data/test/output/sample55.rb.png +0 -0
  101. data/test/output/sample56.rb.svg +0 -28
  102. data/test/output/sample58.rb.png +0 -0
  103. data/test/output/sample59.rb.png +0 -0
  104. data/test/output/sample60.rb.png +0 -0
  105. data/test/output/sample61.rb.png +0 -0
  106. data/test/output/sample99.rb.png +0 -0
@@ -0,0 +1,57 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ require "graphviz/constants"
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "ruby-graphviz"
8
+ s.version = Constants::RGV_VERSION
9
+ s.platform = Gem::Platform::RUBY
10
+
11
+ s.authors = ["Gregoire Lejeune"]
12
+ s.summary = %q{Interface to the GraphViz graphing tool}
13
+ s.email = %q{gregoire.lejeune@free.fr}
14
+ s.homepage = %q{http://github.com/glejeune/Ruby-Graphviz}
15
+ s.description = %q{Ruby/Graphviz provides an interface to layout and generate images of directed graphs in a variety of formats (PostScript, PNG, etc.) using GraphViz.}
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+
22
+ s.rubyforge_project = 'ruby-asp'
23
+ s.has_rdoc = true
24
+ s.extra_rdoc_files = ["README.rdoc", "COPYING", "AUTHORS"]
25
+ s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.rdoc"]
26
+ s.post_install_message = %{
27
+ Since version 0.9.2, Ruby/GraphViz can use Open3.popen3 (or not)
28
+ On Windows, you can install 'win32-open3'
29
+
30
+ You need to install GraphViz (http://graphviz.org/) to use this Gem.
31
+
32
+ For more information about Ruby-Graphviz :
33
+ * Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz
34
+ * Sources : http://github.com/glejeune/Ruby-Graphviz
35
+ * NEW - Mailing List : http://groups.google.com/group/ruby-graphviz
36
+
37
+ /!\\ Version 0.9.12 introduce a new solution to connect edges to node ports
38
+ For more information, see http://github.com/glejeune/Ruby-Graphviz/issues/#issue/13
39
+ So if you use node ports, maybe you need to change your code.
40
+
41
+ /!\\ GraphViz::Node#name has been removed!
42
+
43
+ /!\\ :output and :file options have been removed!
44
+
45
+ /!\\ The html attribut has been removed!
46
+ You can use the label attribut, as dot do it : :label => '<<html/>>'
47
+
48
+ /!\\ Version 0.9.17 introduce GraphML (http://graphml.graphdrawing.org/) support and
49
+ graph theory !
50
+ }
51
+
52
+ # s.add_runtime_dependency("middleman", "~>2.0.0.3")
53
+
54
+ s.add_development_dependency 'rake'
55
+ s.add_development_dependency 'gems'
56
+ s.add_development_dependency 'rdoc'
57
+ end
@@ -62,6 +62,10 @@ class GraphVizTest < Test::Unit::TestCase
62
62
  assert_output_pattern(/\Agraph G \{.*\}\n\Z/m, '55')
63
63
  end
64
64
 
65
+ def test_sample62
66
+ assert_output_pattern(/\ANode.*\n\Z/m, '62')
67
+ end
68
+
65
69
  #
66
70
  # for every sample file in the examples directory that matches the
67
71
  # pattern ("sample01.rb, sample02.rb, etc) make a corresponding
@@ -43,4 +43,4 @@ class GraphVizTest < Test::Unit::TestCase
43
43
 
44
44
  assert_equal( "\"Hello\\n\\\"world\\\"\\l\"", n['label'].to_s, 'Get attribut for node faild.' )
45
45
  end
46
- end
46
+ end
@@ -0,0 +1,65 @@
1
+ require 'test/unit'
2
+ $:.unshift(File.expand_path('../../lib',__FILE__))
3
+ require 'graphviz/types'
4
+
5
+ class TypesTest < Test::Unit::TestCase
6
+ def test_gv_bool
7
+ bool = nil
8
+
9
+ assert_block "Create true GvBool failed." do
10
+ bool = GraphViz::Types::GvBool.new(true)
11
+ end
12
+ assert bool
13
+ assert_equal true, bool.to_ruby
14
+
15
+ assert_block "Create \"true\" GvBool failed." do
16
+ bool = GraphViz::Types::GvBool.new("true")
17
+ end
18
+ assert bool
19
+ assert_equal true, bool.to_ruby
20
+
21
+ assert_block "Create \"Yes\" GvBool failed." do
22
+ bool = GraphViz::Types::GvBool.new("Yes")
23
+ end
24
+ assert bool
25
+ assert_equal true, bool.to_ruby
26
+
27
+ assert_block "Create 1 GvBool failed." do
28
+ bool = GraphViz::Types::GvBool.new(1)
29
+ end
30
+ assert bool
31
+ assert_equal true, bool.to_ruby
32
+
33
+ assert_block "Create false GvBool failed." do
34
+ bool = GraphViz::Types::GvBool.new(false)
35
+ end
36
+ assert bool
37
+ assert_equal false, bool.to_ruby
38
+
39
+ assert_block "Create \"false\" GvBool failed." do
40
+ bool = GraphViz::Types::GvBool.new("false")
41
+ end
42
+ assert bool
43
+ assert_equal false, bool.to_ruby
44
+
45
+ assert_block "Create \"NO\" GvBool failed." do
46
+ bool = GraphViz::Types::GvBool.new("NO")
47
+ end
48
+ assert bool
49
+ assert_equal false, bool.to_ruby
50
+
51
+ assert_block "Create 0 GvBool failed." do
52
+ bool = GraphViz::Types::GvBool.new(0)
53
+ end
54
+ assert bool
55
+ assert_equal false, bool.to_ruby
56
+
57
+ assert_raise BoolException, "Wrong bool value" do
58
+ GraphViz::Types::GvBool.new("toto")
59
+ end
60
+
61
+ assert_raise BoolException, "Wrong bool value" do
62
+ GraphViz::Types::GvBool.new("")
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,57 @@
1
+ require 'test/unit'
2
+ $:.unshift(File.expand_path('../../lib',__FILE__))
3
+ require 'graphviz/utils/colors'
4
+
5
+ class TypesTest < Test::Unit::TestCase
6
+ def test_color_by_name
7
+ brown = GraphViz::Utils::Colors.name("brown")
8
+ assert brown
9
+
10
+ assert_equal "brown", brown.name
11
+
12
+ assert_equal "a5", brown.r
13
+ assert_equal "2a", brown.g
14
+ assert_equal "2a", brown.b
15
+ assert_equal "#a52a2a", brown.rgba_string("#")
16
+
17
+ assert_equal 0.0.to_s, brown.h.to_s
18
+ assert_equal 0.745454545454545.to_s, brown.s.to_s
19
+ assert_equal 0.647058823529412.to_s, brown.v.to_s
20
+
21
+ assert_equal "0.0, 0.745454545454545, 0.647058823529412", brown.hsv_string
22
+ end
23
+
24
+ def test_color_by_hsv
25
+ brown = GraphViz::Utils::Colors.hsv(0.0, 0.745454545454545, 0.647058823529412)
26
+ assert brown
27
+
28
+ assert_equal "brown", brown.name
29
+
30
+ assert_equal "a5", brown.r
31
+ assert_equal "2a", brown.g
32
+ assert_equal "2a", brown.b
33
+ assert_equal "#a52a2a", brown.rgba_string("#")
34
+
35
+ assert_equal 0.0.to_s, brown.h.to_s
36
+ assert_equal 0.745454545454545.to_s, brown.s.to_s
37
+ assert_equal 0.647058823529412.to_s, brown.v.to_s
38
+ assert_equal "0.0, 0.745454545454545, 0.647058823529412", brown.hsv_string
39
+ end
40
+
41
+ def test_color_by_rgb
42
+ brown = GraphViz::Utils::Colors.rgb("a5", "2a", "2a")
43
+ assert brown
44
+
45
+ assert_equal "brown", brown.name
46
+
47
+ assert_equal "a5", brown.r
48
+ assert_equal "2a", brown.g
49
+ assert_equal "2a", brown.b
50
+ assert_equal "#a52a2a", brown.rgba_string("#")
51
+
52
+ assert_equal 0.0.to_s, brown.h.to_s
53
+ assert_equal 0.745454545454545.to_s, brown.s.to_s
54
+ assert_equal 0.647058823529412.to_s, brown.v.to_s
55
+ assert_equal "0.0, 0.745454545454545, 0.647058823529412", brown.hsv_string
56
+ end
57
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-graphviz
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gregoire Lejeune
@@ -15,17 +15,57 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-02 00:00:00 +02:00
19
- default_executable:
20
- dependencies: []
21
-
18
+ date: 2011-12-08 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rake
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :development
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: gems
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :development
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: rdoc
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ type: :development
61
+ version_requirements: *id003
22
62
  description: Ruby/Graphviz provides an interface to layout and generate images of directed graphs in a variety of formats (PostScript, PNG, etc.) using GraphViz.
23
63
  email: gregoire.lejeune@free.fr
24
64
  executables:
25
- - ruby2gv
26
- - gem2gv
27
65
  - dot2ruby
66
+ - gem2gv
28
67
  - git2gv
68
+ - ruby2gv
29
69
  - xml2gv
30
70
  extensions: []
31
71
 
@@ -34,15 +74,19 @@ extra_rdoc_files:
34
74
  - COPYING
35
75
  - AUTHORS
36
76
  files:
77
+ - .gemrc
78
+ - .gitignore
79
+ - AUTHORS
37
80
  - COPYING
81
+ - Gemfile
38
82
  - README.rdoc
39
- - AUTHORS
40
- - setup.rb
83
+ - Rakefile
41
84
  - bin/dot2ruby
42
85
  - bin/gem2gv
43
86
  - bin/git2gv
44
87
  - bin/ruby2gv
45
88
  - bin/xml2gv
89
+ - examples/dot/JSP.dot
46
90
  - examples/dot/balanced.dot
47
91
  - examples/dot/cluster.dot
48
92
  - examples/dot/dotgraph.dot
@@ -50,7 +94,6 @@ files:
50
94
  - examples/dot/genetic.dot
51
95
  - examples/dot/hello.dot
52
96
  - examples/dot/hello_test.rb
53
- - examples/dot/JSP.dot
54
97
  - examples/dot/lion_share.dot
55
98
  - examples/dot/prof.dot
56
99
  - examples/dot/psg.dot
@@ -72,9 +115,6 @@ files:
72
115
  - examples/graphml/port.graphml
73
116
  - examples/graphml/simple.graphml
74
117
  - examples/hello.png
75
- - examples/rgv/rgv.ps
76
- - examples/rgv/test_rgv.rb
77
- - examples/rgv/test_rgv.rb.ps
78
118
  - examples/sample01.rb
79
119
  - examples/sample02.rb
80
120
  - examples/sample03.rb
@@ -136,135 +176,79 @@ files:
136
176
  - examples/sample59.rb
137
177
  - examples/sample60.rb
138
178
  - examples/sample61.rb
179
+ - examples/sample62.rb
180
+ - examples/sample63.rb
181
+ - examples/sample64.rb
182
+ - examples/sample65.rb
139
183
  - examples/sample99.rb
140
184
  - examples/sdlshapes/README
141
185
  - examples/sdlshapes/sdl.ps
142
186
  - examples/sdlshapes/sdlshapes.dot
143
- - examples/simpsons.gv
144
187
  - examples/test.xml
145
188
  - examples/theory/pert.rb
146
189
  - examples/theory/tests.rb
147
190
  - lib/ext/gvpr/dot2ruby.g
191
+ - lib/graphviz.rb
148
192
  - lib/graphviz/attrs.rb
149
193
  - lib/graphviz/constants.rb
150
194
  - lib/graphviz/core_ext.rb
151
195
  - lib/graphviz/dot2ruby.rb
196
+ - lib/graphviz/dsl.rb
152
197
  - lib/graphviz/edge.rb
153
198
  - lib/graphviz/elements.rb
154
199
  - lib/graphviz/ext.rb
200
+ - lib/graphviz/family_tree.rb
155
201
  - lib/graphviz/family_tree/couple.rb
156
202
  - lib/graphviz/family_tree/generation.rb
157
203
  - lib/graphviz/family_tree/person.rb
158
204
  - lib/graphviz/family_tree/sibling.rb
159
- - lib/graphviz/family_tree.rb
160
205
  - lib/graphviz/graphml.rb
161
206
  - lib/graphviz/math/matrix.rb
162
207
  - lib/graphviz/node.rb
163
- - lib/graphviz/nothugly/nothugly.xsl
164
208
  - lib/graphviz/nothugly.rb
209
+ - lib/graphviz/nothugly/nothugly.xsl
165
210
  - lib/graphviz/theory.rb
211
+ - lib/graphviz/types.rb
212
+ - lib/graphviz/types/arrow_type.rb
213
+ - lib/graphviz/types/color.rb
214
+ - lib/graphviz/types/color_list.rb
166
215
  - lib/graphviz/types/esc_string.rb
216
+ - lib/graphviz/types/gv_bool.rb
167
217
  - lib/graphviz/types/gv_double.rb
168
218
  - lib/graphviz/types/html_string.rb
169
219
  - lib/graphviz/types/lbl_string.rb
170
- - lib/graphviz/types.rb
220
+ - lib/graphviz/types/rect.rb
221
+ - lib/graphviz/types/spline_type.rb
171
222
  - lib/graphviz/utils.rb
223
+ - lib/graphviz/utils/colors.rb
172
224
  - lib/graphviz/xml.rb
173
- - lib/graphviz.rb
174
- - test/output/sample01.rb.png
175
- - test/output/sample02.rb.png
176
- - test/output/sample03.rb.png
177
- - test/output/sample04.rb.png
178
- - test/output/sample05.rb.png
179
- - test/output/sample06.rb.png
180
- - test/output/sample07.rb.png
181
- - test/output/sample08.rb.png
182
- - test/output/sample09.rb.png
183
- - test/output/sample10.rb.png
184
- - test/output/sample11.rb.png
185
- - test/output/sample12.rb.png
186
- - test/output/sample13.rb.png
187
- - test/output/sample14.rb.png
188
- - test/output/sample15.rb.png
189
- - test/output/sample16.rb.png
190
- - test/output/sample17.rb.png
191
- - test/output/sample18.rb.png
192
- - test/output/sample19.rb.png
193
- - test/output/sample20.rb.png
194
- - test/output/sample21.rb.html
195
- - test/output/sample21.rb.png
196
- - test/output/sample22.rb.html
197
- - test/output/sample22.rb.png
198
- - test/output/sample23.rb.png
199
- - test/output/sample24.rb.png
200
- - test/output/sample25.rb.png
201
- - test/output/sample26.rb.png
202
- - test/output/sample28.rb.png
203
- - test/output/sample29.rb.svg
204
- - test/output/sample30.rb.ps
205
- - test/output/sample31.rb.png
206
- - test/output/sample32.rb.png
207
- - test/output/sample35.rb.gv
208
- - test/output/sample35.rb.png
209
- - test/output/sample37.rb.dot
210
- - test/output/sample37.rb.png
211
- - test/output/sample38.rb.png
212
- - test/output/sample39.rb.png
213
- - test/output/sample40.rb.png
214
- - test/output/sample41.rb.svg
215
- - test/output/sample42.rb.png
216
- - test/output/sample43.rb.png
217
- - test/output/sample44.rb.png
218
- - test/output/sample45.rb.png
219
- - test/output/sample46.rb.png
220
- - test/output/sample47.rb.png
221
- - test/output/sample48.rb.png
222
- - test/output/sample49.rb.png
223
- - test/output/sample50.rb.png
224
- - test/output/sample51.rb.png
225
- - test/output/sample52.rb.png
226
- - test/output/sample53.rb.png
227
- - test/output/sample54.rb.png
228
- - test/output/sample55.rb.png
229
- - test/output/sample56.rb.svg
230
- - test/output/sample58.rb.png
231
- - test/output/sample59.rb.png
232
- - test/output/sample60.rb.png
233
- - test/output/sample61.rb.png
234
- - test/output/sample99.rb.png
225
+ - ruby-graphviz.gemspec
226
+ - setup.rb
235
227
  - test/support.rb
236
228
  - test/test_examples.rb
237
- - test/test_init.rb
238
- has_rdoc: true
229
+ - test/test_graph.rb
230
+ - test/test_types.rb
231
+ - test/test_utils_colors.rb
239
232
  homepage: http://github.com/glejeune/Ruby-Graphviz
240
233
  licenses: []
241
234
 
242
- post_install_message: |
243
-
244
- Since version 0.9.2, Ruby/GraphViz can use Open3.popen3 (or not)
245
- On Windows, you can install 'win32-open3'
246
-
247
- You need to install GraphViz (http://graphviz.org/) to use this Gem.
248
-
249
- For more information about Ruby-Graphviz :
250
- * Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz
251
- * Sources : http://github.com/glejeune/Ruby-Graphviz
252
- * NEW - Mailing List : http://groups.google.com/group/ruby-graphviz
253
-
254
- /!\ Version 0.9.12 introduce a new solution to connect edges to node ports
255
- For more information, see http://github.com/glejeune/Ruby-Graphviz/issues/#issue/13
256
- So if you use node ports, maybe you need to change your code.
257
-
258
- /!\ GraphViz::Node#name has been removed!
259
-
260
- /!\ :output and :file options have been removed!
261
-
262
- /!\ The html attribut has been removed!
263
- You can use the label attribut, as dot do it : :label => '<<html/>>'
264
-
265
- /!\ Version 0.9.17 introduce GraphML (http://graphml.graphdrawing.org/) support and
266
- graph theory !
267
-
235
+ post_install_message: "\n\
236
+ Since version 0.9.2, Ruby/GraphViz can use Open3.popen3 (or not)\n\
237
+ On Windows, you can install 'win32-open3'\n\n\
238
+ You need to install GraphViz (http://graphviz.org/) to use this Gem.\n\n\
239
+ For more information about Ruby-Graphviz :\n\
240
+ * Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz\n\
241
+ * Sources : http://github.com/glejeune/Ruby-Graphviz\n\
242
+ * NEW - Mailing List : http://groups.google.com/group/ruby-graphviz\n\n\
243
+ /!\\ Version 0.9.12 introduce a new solution to connect edges to node ports\n\
244
+ For more information, see http://github.com/glejeune/Ruby-Graphviz/issues/#issue/13\n\
245
+ So if you use node ports, maybe you need to change your code.\n\n\
246
+ /!\\ GraphViz::Node#name has been removed!\n\n\
247
+ /!\\ :output and :file options have been removed!\n\n\
248
+ /!\\ The html attribut has been removed!\n\
249
+ You can use the label attribut, as dot do it : :label => '<<html/>>'\n\n\
250
+ /!\\ Version 0.9.17 introduce GraphML (http://graphml.graphdrawing.org/) support and\n\
251
+ graph theory !\n "
268
252
  rdoc_options:
269
253
  - --title
270
254
  - Ruby/GraphViz
@@ -293,9 +277,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
277
  requirements: []
294
278
 
295
279
  rubyforge_project: ruby-asp
296
- rubygems_version: 1.5.0
280
+ rubygems_version: 1.8.11
297
281
  signing_key:
298
282
  specification_version: 3
299
283
  summary: Interface to the GraphViz graphing tool
300
- test_files: []
301
-
284
+ test_files:
285
+ - test/support.rb
286
+ - test/test_examples.rb
287
+ - test/test_graph.rb
288
+ - test/test_types.rb
289
+ - test/test_utils_colors.rb