ruby-graphviz 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphviz/constants.rb +1 -1
- data/lib/graphviz/utils/colors.rb +6 -140
- data/ruby-graphviz.gemspec +5 -3
- metadata +18 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ec3c1bf916a4454be2349883ad50ed6349ecbbe
|
4
|
+
data.tar.gz: 4252d0f3f99a8a1a5d8913a452a1ea2bcfcd3a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2df20a427656094ef325658f7a8215b477258ed9bfc3e92526a85f86204cd22fd35ee165bf373542519a637fb7f0d1fe16becb3d17e24d3bd4f6546f94db1976
|
7
|
+
data.tar.gz: 819a37bbfd48a1e0628be7ebcbc3e246e0a4c4416c5893137c22975f36c274361b7491630b6fa6c96f02bd1d303cfc9d8ec4f26b6190afb9ebf9cc8c91d434ca
|
data/lib/graphviz/constants.rb
CHANGED
@@ -354,7 +354,7 @@ class GraphViz
|
|
354
354
|
"goldenrod2" => "eeb422",
|
355
355
|
"goldenrod3" => "cd9b1d",
|
356
356
|
"goldenrod4" => "8b6914",
|
357
|
-
"gray" => "
|
357
|
+
"gray" => "808080",
|
358
358
|
"gray0" => "000000",
|
359
359
|
"gray1" => "030303",
|
360
360
|
"gray10" => "1a1a1a",
|
@@ -456,13 +456,13 @@ class GraphViz
|
|
456
456
|
"gray97" => "f7f7f7",
|
457
457
|
"gray98" => "fafafa",
|
458
458
|
"gray99" => "fcfcfc",
|
459
|
-
"green" => "
|
459
|
+
"green" => "008000",
|
460
460
|
"green1" => "00ff00",
|
461
461
|
"green2" => "00ee00",
|
462
462
|
"green3" => "00cd00",
|
463
463
|
"green4" => "008b00",
|
464
464
|
"greenyellow" => "adff2f",
|
465
|
-
"grey" => "
|
465
|
+
"grey" => "808080",
|
466
466
|
"grey0" => "000000",
|
467
467
|
"grey1" => "030303",
|
468
468
|
"grey10" => "1a1a1a",
|
@@ -658,7 +658,7 @@ class GraphViz
|
|
658
658
|
"magenta2" => "ee00ee",
|
659
659
|
"magenta3" => "cd00cd",
|
660
660
|
"magenta4" => "8b008b",
|
661
|
-
"maroon" => "
|
661
|
+
"maroon" => "800000",
|
662
662
|
"maroon1" => "ff34b3",
|
663
663
|
"maroon2" => "ee30a7",
|
664
664
|
"maroon3" => "cd2990",
|
@@ -751,7 +751,7 @@ class GraphViz
|
|
751
751
|
"plum3" => "cd96cd",
|
752
752
|
"plum4" => "8b668b",
|
753
753
|
"powderblue" => "b0e0e6",
|
754
|
-
"purple" => "
|
754
|
+
"purple" => "800080",
|
755
755
|
"purple1" => "9b30ff",
|
756
756
|
"purple2" => "912cee",
|
757
757
|
"purple3" => "7d26cd",
|
@@ -864,153 +864,19 @@ class GraphViz
|
|
864
864
|
"yellow3" => "cdcd00",
|
865
865
|
"yellow4" => "8b8b00",
|
866
866
|
"yellowgreen" => "9acd32",
|
867
|
-
"aliceblue" => "f0f8ff",
|
868
|
-
"antiquewhite" => "faebd7",
|
869
867
|
"aqua" => "00ffff",
|
870
|
-
"aquamarine" => "7fffd4",
|
871
|
-
"azure" => "f0ffff",
|
872
|
-
"beige" => "f5f5dc",
|
873
|
-
"bisque" => "ffe4c4",
|
874
|
-
"black" => "000000",
|
875
|
-
"blanchedalmond" => "ffebcd",
|
876
|
-
"blue" => "0000ff",
|
877
|
-
"blueviolet" => "8a2be2",
|
878
|
-
"brown" => "a52a2a",
|
879
|
-
"burlywood" => "deb887",
|
880
|
-
"cadetblue" => "5f9ea0",
|
881
|
-
"chartreuse" => "7fff00",
|
882
|
-
"chocolate" => "d2691e",
|
883
|
-
"coral" => "ff7f50",
|
884
|
-
"cornflowerblue" => "6495ed",
|
885
|
-
"cornsilk" => "fff8dc",
|
886
|
-
"crimson" => "dc143c",
|
887
|
-
"cyan" => "00ffff",
|
888
868
|
"darkblue" => "00008b",
|
889
869
|
"darkcyan" => "008b8b",
|
890
|
-
"darkgoldenrod" => "b8860b",
|
891
870
|
"darkgray" => "a9a9a9",
|
892
|
-
"darkgreen" => "006400",
|
893
871
|
"darkgrey" => "a9a9a9",
|
894
|
-
"darkkhaki" => "bdb76b",
|
895
872
|
"darkmagenta" => "8b008b",
|
896
|
-
"darkolivegreen" => "556b2f",
|
897
|
-
"darkorange" => "ff8c00",
|
898
|
-
"darkorchid" => "9932cc",
|
899
873
|
"darkred" => "8b0000",
|
900
|
-
"darksalmon" => "e9967a",
|
901
|
-
"darkseagreen" => "8fbc8f",
|
902
|
-
"darkslateblue" => "483d8b",
|
903
|
-
"darkslategray" => "2f4f4f",
|
904
|
-
"darkslategrey" => "2f4f4f",
|
905
|
-
"darkturquoise" => "00ced1",
|
906
|
-
"darkviolet" => "9400d3",
|
907
|
-
"deeppink" => "ff1493",
|
908
|
-
"deepskyblue" => "00bfff",
|
909
|
-
"dimgray" => "696969",
|
910
|
-
"dimgrey" => "696969",
|
911
|
-
"dodgerblue" => "1e90ff",
|
912
|
-
"firebrick" => "b22222",
|
913
|
-
"floralwhite" => "fffaf0",
|
914
|
-
"forestgreen" => "228b22",
|
915
874
|
"fuchsia" => "ff00ff",
|
916
|
-
"gainsboro" => "dcdcdc",
|
917
|
-
"ghostwhite" => "f8f8ff",
|
918
|
-
"gold" => "ffd700",
|
919
|
-
"goldenrod" => "daa520",
|
920
|
-
"gray" => "808080",
|
921
|
-
"grey" => "808080",
|
922
|
-
"green" => "008000",
|
923
|
-
"greenyellow" => "adff2f",
|
924
|
-
"honeydew" => "f0fff0",
|
925
|
-
"hotpink" => "ff69b4",
|
926
|
-
"indianred" => "cd5c5c",
|
927
|
-
"indigo" => "4b0082",
|
928
|
-
"ivory" => "fffff0",
|
929
|
-
"khaki" => "f0e68c",
|
930
|
-
"lavender" => "e6e6fa",
|
931
|
-
"lavenderblush" => "fff0f5",
|
932
|
-
"lawngreen" => "7cfc00",
|
933
|
-
"lemonchiffon" => "fffacd",
|
934
|
-
"lightblue" => "add8e6",
|
935
|
-
"lightcoral" => "f08080",
|
936
|
-
"lightcyan" => "e0ffff",
|
937
|
-
"lightgoldenrodyellow" => "fafad2",
|
938
|
-
"lightgray" => "d3d3d3",
|
939
875
|
"lightgreen" => "90ee90",
|
940
|
-
"lightgrey" => "d3d3d3",
|
941
|
-
"lightpink" => "ffb6c1",
|
942
|
-
"lightsalmon" => "ffa07a",
|
943
|
-
"lightseagreen" => "20b2aa",
|
944
|
-
"lightskyblue" => "87cefa",
|
945
|
-
"lightslategray" => "778899",
|
946
|
-
"lightslategrey" => "778899",
|
947
|
-
"lightsteelblue" => "b0c4de",
|
948
|
-
"lightyellow" => "ffffe0",
|
949
876
|
"lime" => "00ff00",
|
950
|
-
"limegreen" => "32cd32",
|
951
|
-
"linen" => "faf0e6",
|
952
|
-
"magenta" => "ff00ff",
|
953
|
-
"maroon" => "800000",
|
954
|
-
"mediumaquamarine" => "66cdaa",
|
955
|
-
"mediumblue" => "0000cd",
|
956
|
-
"mediumorchid" => "ba55d3",
|
957
|
-
"mediumpurple" => "9370db",
|
958
|
-
"mediumseagreen" => "3cb371",
|
959
|
-
"mediumslateblue" => "7b68ee",
|
960
|
-
"mediumspringgreen" => "00fa9a",
|
961
|
-
"mediumturquoise" => "48d1cc",
|
962
|
-
"mediumvioletred" => "c71585",
|
963
|
-
"midnightblue" => "191970",
|
964
|
-
"mintcream" => "f5fffa",
|
965
|
-
"mistyrose" => "ffe4e1",
|
966
|
-
"moccasin" => "ffe4b5",
|
967
|
-
"navajowhite" => "ffdead",
|
968
|
-
"navy" => "000080",
|
969
|
-
"oldlace" => "fdf5e6",
|
970
877
|
"olive" => "808000",
|
971
|
-
"olivedrab" => "6b8e23",
|
972
|
-
"orange" => "ffa500",
|
973
|
-
"orangered" => "ff4500",
|
974
|
-
"orchid" => "da70d6",
|
975
|
-
"palegoldenrod" => "eee8aa",
|
976
|
-
"palegreen" => "98fb98",
|
977
|
-
"paleturquoise" => "afeeee",
|
978
|
-
"palevioletred" => "db7093",
|
979
|
-
"papayawhip" => "ffefd5",
|
980
|
-
"peachpuff" => "ffdab9",
|
981
|
-
"peru" => "cd853f",
|
982
|
-
"pink" => "ffc0cb",
|
983
|
-
"plum" => "dda0dd",
|
984
|
-
"powderblue" => "b0e0e6",
|
985
|
-
"purple" => "800080",
|
986
|
-
"red" => "ff0000",
|
987
|
-
"rosybrown" => "bc8f8f",
|
988
|
-
"royalblue" => "4169e1",
|
989
|
-
"saddlebrown" => "8b4513",
|
990
|
-
"salmon" => "fa8072",
|
991
|
-
"sandybrown" => "f4a460",
|
992
|
-
"seagreen" => "2e8b57",
|
993
|
-
"seashell" => "fff5ee",
|
994
|
-
"sienna" => "a0522d",
|
995
878
|
"silver" => "c0c0c0",
|
996
|
-
"
|
997
|
-
"slateblue" => "6a5acd",
|
998
|
-
"slategray" => "708090",
|
999
|
-
"slategrey" => "708090",
|
1000
|
-
"snow" => "fffafa",
|
1001
|
-
"springgreen" => "00ff7f",
|
1002
|
-
"steelblue" => "4682b4",
|
1003
|
-
"tan" => "d2b48c",
|
1004
|
-
"teal" => "008080",
|
1005
|
-
"thistle" => "d8bfd8",
|
1006
|
-
"tomato" => "ff6347",
|
1007
|
-
"turquoise" => "40e0d0",
|
1008
|
-
"violet" => "ee82ee",
|
1009
|
-
"wheat" => "f5deb3",
|
1010
|
-
"white" => "ffffff",
|
1011
|
-
"whitesmoke" => "f5f5f5",
|
1012
|
-
"yellow" => "ffff00",
|
1013
|
-
"yellowgreen" => "9acd32"
|
879
|
+
"teal" => "008080"
|
1014
880
|
}
|
1015
881
|
end
|
1016
882
|
end
|
data/ruby-graphviz.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.name = "ruby-graphviz"
|
8
8
|
s.version = GraphViz::Constants::RGV_VERSION
|
9
9
|
s.platform = Gem::Platform::RUBY
|
10
|
-
|
10
|
+
|
11
11
|
s.authors = ["Gregoire Lejeune"]
|
12
12
|
s.summary = %q{Interface to the GraphViz graphing tool}
|
13
13
|
s.email = %q{gregoire.lejeune@free.fr}
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
|
-
|
21
|
+
|
22
22
|
s.rubyforge_project = 'ruby-asp'
|
23
23
|
s.has_rdoc = true
|
24
24
|
s.extra_rdoc_files = ["README.rdoc", "COPYING.rdoc", "AUTHORS.rdoc", "CHANGELOG.rdoc"]
|
@@ -34,11 +34,13 @@ For more information about Ruby-Graphviz :
|
|
34
34
|
Last (important) changes :
|
35
35
|
Ruby-Graphviz no longer supports Ruby < 1.9.3
|
36
36
|
}
|
37
|
-
|
37
|
+
|
38
|
+
s.add_development_dependency 'mustache', "~> 0.99.8" if RUBY_VERSION =~ /^1[.]9[.]/
|
38
39
|
s.add_development_dependency 'rake'
|
39
40
|
s.add_development_dependency 'rdoc'
|
40
41
|
s.add_development_dependency 'bundler'
|
41
42
|
s.add_development_dependency 'ronn' unless RUBY_PLATFORM == 'java'
|
43
|
+
s.add_development_dependency 'test-unit'
|
42
44
|
|
43
45
|
s.required_ruby_version = '>= 1.9.3'
|
44
46
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregoire Lejeune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: test-unit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: Ruby/Graphviz provides an interface to layout and generate images of
|
70
84
|
directed graphs in a variety of formats (PostScript, PNG, etc.) using GraphViz.
|
71
85
|
email: gregoire.lejeune@free.fr
|
@@ -293,17 +307,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
307
|
version: '0'
|
294
308
|
requirements: []
|
295
309
|
rubyforge_project: ruby-asp
|
296
|
-
rubygems_version: 2.
|
310
|
+
rubygems_version: 2.4.5
|
297
311
|
signing_key:
|
298
312
|
specification_version: 4
|
299
313
|
summary: Interface to the GraphViz graphing tool
|
300
|
-
test_files:
|
301
|
-
- test/helper.rb
|
302
|
-
- test/test_dot_script.rb
|
303
|
-
- test/test_examples.rb
|
304
|
-
- test/test_graph.rb
|
305
|
-
- test/test_search.rb
|
306
|
-
- test/test_subgraph.rb
|
307
|
-
- test/test_theory.rb
|
308
|
-
- test/test_types.rb
|
309
|
-
- test/test_utils_colors.rb
|
314
|
+
test_files: []
|