ruby-graphviz 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/README.rdoc +1 -1
- data/examples/sample74.rb +19 -0
- data/lib/graphviz/constants.rb +1 -1
- data/lib/graphviz/utils.rb +1 -1
- data/man/dot2ruby.1.ronn +1 -1
- data/man/gem2gv.1.ronn +1 -1
- data/man/git2gv.1.ronn +1 -1
- data/man/ruby2gv.1.ronn +1 -1
- data/man/xml2gv.1.ronn +1 -1
- data/ruby-graphviz.gemspec +4 -7
- metadata +9 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24f84152641dd8784bbc5529caa791810c614295
|
4
|
+
data.tar.gz: 564901ce3f1d6d7295ed99daa765d6f64dad71c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c50ad403ee795a20127be72d92f07f73f85e67f90c7b24f6cc8102510d46a3e6cb22f724291db608f1e5c90b4c1e6b3fd4583bb22b1fdb6f605e426af98e5e7
|
7
|
+
data.tar.gz: a64c313d065edc61cec5b52ec4c0f4a1cd235afea041866498651882d3d75e48d7e3b8dd641b0e13f83a7f1924b55b98c30373b09260d41403be0a8466e2f3b5
|
data/README.rdoc
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
{<img src="https://secure.travis-ci.org/glejeune/Ruby-Graphviz.png" />}[http://travis-ci.org/glejeune/Ruby-Graphviz]
|
4
4
|
{<img src="https://badge.fury.io/rb/ruby-graphviz.png" alt="Gem Version" />}[http://badge.fury.io/rb/ruby-graphviz]
|
5
5
|
|
6
|
-
Copyright (C) 2004-
|
6
|
+
Copyright (C) 2004-2014 Gregoire Lejeune
|
7
7
|
|
8
8
|
* Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz
|
9
9
|
* Sources : http://github.com/glejeune/Ruby-Graphviz
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
$:.unshift( "../lib" )
|
4
|
+
require "graphviz"
|
5
|
+
|
6
|
+
g = nil
|
7
|
+
if ARGV[0]
|
8
|
+
g = GraphViz::new( "G", :path => ARGV[0] )
|
9
|
+
else
|
10
|
+
g = GraphViz::new( "G" )
|
11
|
+
end
|
12
|
+
|
13
|
+
g.add_nodes "english", label: 'hello'
|
14
|
+
g.add_nodes "chinese", label: '你好'
|
15
|
+
g.add_nodes "korean", label: '안녕하세요'
|
16
|
+
g.add_nodes "arabic", label: 'مرحبا'
|
17
|
+
g.add_nodes "russian", label: 'Алло'
|
18
|
+
|
19
|
+
g.output( :png => "#{$0}.png" )
|
data/lib/graphviz/constants.rb
CHANGED
data/lib/graphviz/utils.rb
CHANGED
data/man/dot2ruby.1.ronn
CHANGED
@@ -49,7 +49,7 @@ See </usr/share/doc/ruby-graphviz/> for more details.
|
|
49
49
|
|
50
50
|
## AUTHOR
|
51
51
|
|
52
|
-
Copyright 2004-
|
52
|
+
Copyright 2004-2014 Gregoire Lejeune
|
53
53
|
|
54
54
|
This manual page is written by Praveen Arimbrathodiyl <praveen@debian.org> for
|
55
55
|
Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
|
data/man/gem2gv.1.ronn
CHANGED
@@ -41,7 +41,7 @@ See </usr/share/doc/ruby-graphviz/> for more details.
|
|
41
41
|
|
42
42
|
## AUTHOR
|
43
43
|
|
44
|
-
Copyright 2004-
|
44
|
+
Copyright 2004-2014 Gregoire Lejeune
|
45
45
|
|
46
46
|
This manual page is written by Praveen Arimbrathodiyl <praveen@debian.org> for
|
47
47
|
Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
|
data/man/git2gv.1.ronn
CHANGED
@@ -34,7 +34,7 @@ See </usr/share/doc/ruby-graphviz/> for more details.
|
|
34
34
|
|
35
35
|
## AUTHOR
|
36
36
|
|
37
|
-
Copyright 2004-
|
37
|
+
Copyright 2004-2014 Gregoire Lejeune
|
38
38
|
|
39
39
|
This manual page is written by Praveen Arimbrathodiyl <praveen@debian.org> for
|
40
40
|
Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
|
data/man/ruby2gv.1.ronn
CHANGED
@@ -41,7 +41,7 @@ See </usr/share/doc/ruby-graphviz/> for more details.
|
|
41
41
|
|
42
42
|
## AUTHOR
|
43
43
|
|
44
|
-
Copyright 2004-
|
44
|
+
Copyright 2004-2014 Gregoire Lejeune
|
45
45
|
|
46
46
|
This manual page is written by Praveen Arimbrathodiyl <praveen@debian.org> for
|
47
47
|
Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
|
data/man/xml2gv.1.ronn
CHANGED
@@ -33,7 +33,7 @@ See </usr/share/doc/ruby-graphviz/> for more details.
|
|
33
33
|
|
34
34
|
## AUTHOR
|
35
35
|
|
36
|
-
Copyright 2004-
|
36
|
+
Copyright 2004-2014 Gregoire Lejeune
|
37
37
|
|
38
38
|
This manual page is written by Praveen Arimbrathodiyl <praveen@debian.org> for
|
39
39
|
Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
|
data/ruby-graphviz.gemspec
CHANGED
@@ -24,24 +24,21 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.extra_rdoc_files = ["README.rdoc", "COPYING.rdoc", "AUTHORS.rdoc", "CHANGELOG.rdoc"]
|
25
25
|
s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.rdoc"]
|
26
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
27
|
You need to install GraphViz (http://graphviz.org/) to use this Gem.
|
31
28
|
|
32
29
|
For more information about Ruby-Graphviz :
|
33
30
|
* Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz
|
34
31
|
* Sources : http://github.com/glejeune/Ruby-Graphviz
|
35
|
-
*
|
32
|
+
* Mailing List : http://groups.google.com/group/ruby-graphviz
|
36
33
|
|
37
34
|
Last (important) changes :
|
38
|
-
|
39
|
-
* GraphViz::GraphML#attributs is deprecated, use GraphViz::GraphML#attributes
|
40
|
-
* GraphViz::Node#each_attribut is deprecated, use GraphViz::Node#each_attribute
|
35
|
+
Ruby-Graphviz no longer supports Ruby < 1.9.3
|
41
36
|
}
|
42
37
|
|
43
38
|
s.add_development_dependency 'rake'
|
44
39
|
s.add_development_dependency 'rdoc'
|
45
40
|
s.add_development_dependency 'bundler'
|
46
41
|
s.add_development_dependency 'ronn' unless RUBY_PLATFORM == 'java'
|
42
|
+
|
43
|
+
s.required_ruby_version = '>= 1.9.3'
|
47
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-graphviz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregoire Lejeune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- examples/sample71.rb
|
202
202
|
- examples/sample72.rb
|
203
203
|
- examples/sample73.rb
|
204
|
+
- examples/sample74.rb
|
204
205
|
- examples/sample99.rb
|
205
206
|
- examples/sdlshapes/README
|
206
207
|
- examples/sdlshapes/sdl.ps
|
@@ -269,14 +270,10 @@ files:
|
|
269
270
|
homepage: http://github.com/glejeune/Ruby-Graphviz
|
270
271
|
licenses: []
|
271
272
|
metadata: {}
|
272
|
-
post_install_message: "\
|
273
|
-
|
274
|
-
|
275
|
-
:\
|
276
|
-
NEW - Mailing List : http://groups.google.com/group/ruby-graphviz\n\nLast (important)
|
277
|
-
changes :\n* GraphViz::Edge#each_attribut is deprecated, use GraphViz::Edge#each_attribute\n*
|
278
|
-
GraphViz::GraphML#attributs is deprecated, use GraphViz::GraphML#attributes\n* GraphViz::Node#each_attribut
|
279
|
-
is deprecated, use GraphViz::Node#each_attribute\n "
|
273
|
+
post_install_message: "\nYou need to install GraphViz (http://graphviz.org/) to use
|
274
|
+
this Gem.\n\nFor more information about Ruby-Graphviz :\n* Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz\n*
|
275
|
+
Sources : http://github.com/glejeune/Ruby-Graphviz\n* Mailing List : http://groups.google.com/group/ruby-graphviz\n\nLast
|
276
|
+
(important) changes :\nRuby-Graphviz no longer supports Ruby < 1.9.3\n "
|
280
277
|
rdoc_options:
|
281
278
|
- "--title"
|
282
279
|
- Ruby/GraphViz
|
@@ -288,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
288
285
|
requirements:
|
289
286
|
- - ">="
|
290
287
|
- !ruby/object:Gem::Version
|
291
|
-
version:
|
288
|
+
version: 1.9.3
|
292
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
290
|
requirements:
|
294
291
|
- - ">="
|
@@ -296,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
293
|
version: '0'
|
297
294
|
requirements: []
|
298
295
|
rubyforge_project: ruby-asp
|
299
|
-
rubygems_version: 2.
|
296
|
+
rubygems_version: 2.3.0
|
300
297
|
signing_key:
|
301
298
|
specification_version: 4
|
302
299
|
summary: Interface to the GraphViz graphing tool
|