rubyplb 0.2.92 → 0.2.93

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: f7088a15b418892f82539eccc6ab4c693adf522e
4
- data.tar.gz: 6694d3a948a9de6a6d64ebdc8b0d6a649bf69fff
3
+ metadata.gz: 1b35f79b9623419faab6fbbdd26b8068973cf465
4
+ data.tar.gz: f792fdc5c9a6c0154362e07216894d4453d3fe2b
5
5
  SHA512:
6
- metadata.gz: c7fa36805833edd09269c55025a714fbd1f45f2fd3431950f487e3c53ff0bbafa824252ae3a1f8cbb94ae537f1567ed85c1616c30e27f4e93f7de030f416eb49
7
- data.tar.gz: 482f0ca3b9ee105569c58f5e537bec2b1b9e701c14d8a16f0f04eb0f14f45db333c88502fa7e6e9c4d0767087bf603e562e7d16b3ed58b87c15c928fbb29e21f
6
+ metadata.gz: 68be61e057712ca53953a9c5a4ba2238e18178368b06ac671d9bb1fe23e6c3ab6efd9249e0c431519c8f416e988cfb85a4a2c2d3b076b50915859ce075844e1a
7
+ data.tar.gz: c1fce6dd7009f9321b461e946e6a97dbe80c683f881e15a8eea4d1d2245fbc3bc0a3b78a1d95774afe1ba7f0ef064d1436602fe53c6ccdfcf823f9dfaf2cba68
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.92
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
 
@@ -1,3 +1,3 @@
1
1
  module Rubyplb
2
- VERSION = "0.2.92"
2
+ VERSION = "0.2.93"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyplb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.92
4
+ version: 0.2.93
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kow Kuroda