rubyplb 0.2.92 → 0.2.93
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 +4 -4
- data/VERSION +1 -1
- data/bin/rubyplb +7 -0
- data/lib/rubyplb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b35f79b9623419faab6fbbdd26b8068973cf465
|
|
4
|
+
data.tar.gz: f792fdc5c9a6c0154362e07216894d4453d3fe2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68be61e057712ca53953a9c5a4ba2238e18178368b06ac671d9bb1fe23e6c3ab6efd9249e0c431519c8f416e988cfb85a4a2c2d3b076b50915859ce075844e1a
|
|
7
|
+
data.tar.gz: c1fce6dd7009f9321b461e946e6a97dbe80c683f881e15a8eea4d1d2245fbc3bc0a3b78a1d95774afe1ba7f0ef064d1436602fe53c6ccdfcf823f9dfaf2cba68
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.93
|
data/bin/rubyplb
CHANGED
|
@@ -33,13 +33,20 @@ EOS
|
|
|
33
33
|
opt :straight, "Straighten edges (available when output format is either png, jpg, or eps)", :default => false
|
|
34
34
|
opt :nodesep, "Size of separation between sister nodes (from 0.1 to 5.0)", :default => 0.8
|
|
35
35
|
opt :ranksep, "Size of separation between ranks (from 0.1 to 5.0)", :default => 0.8
|
|
36
|
+
opt :version, "Version of RubyPLB"
|
|
36
37
|
end
|
|
38
|
+
|
|
37
39
|
Trollop::die :coloring, "must be 0, 1, or 2" if (opts[:coloring] > 2 || opts[:coloring] < 0)
|
|
38
40
|
Trollop::die :ranksep, "must be within 0.1 - 5.0" if (opts[:ranksep] < 0.1 || opts[:ranksep] > 5.0)
|
|
39
41
|
Trollop::die :nodesep, "must be within 0.1 - 5.0" if (opts[:nodesep] < 0.1 || opts[:nodesep] > 5.0)
|
|
42
|
+
|
|
40
43
|
############### main program ###############
|
|
41
44
|
|
|
42
45
|
if ARGV.size != 2
|
|
46
|
+
if opts[:version]
|
|
47
|
+
puts version
|
|
48
|
+
exit
|
|
49
|
+
end
|
|
43
50
|
showerror("Input and output files are not set properly", 1)
|
|
44
51
|
end
|
|
45
52
|
|
data/lib/rubyplb/version.rb
CHANGED