rubyplb 0.2.91 → 0.2.92

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f7088a15b418892f82539eccc6ab4c693adf522e
4
+ data.tar.gz: 6694d3a948a9de6a6d64ebdc8b0d6a649bf69fff
5
+ SHA512:
6
+ metadata.gz: c7fa36805833edd09269c55025a714fbd1f45f2fd3431950f487e3c53ff0bbafa824252ae3a1f8cbb94ae537f1567ed85c1616c30e27f4e93f7de030f416eb49
7
+ data.tar.gz: 482f0ca3b9ee105569c58f5e537bec2b1b9e701c14d8a16f0f04eb0f14f45db333c88502fa7e6e9c4d0767087bf603e562e7d16b3ed58b87c15c928fbb29e21f
data/README.md CHANGED
@@ -11,25 +11,25 @@ RubyPLB generates pattern lattice graphics from lists of patterns.
11
11
 
12
12
  Install the gem:
13
13
 
14
- $sudo gem install rubyplb --source http://gemcutter.org
14
+ $sudo gem install rubyplb
15
15
 
16
16
  ## How to Use
17
17
 
18
- Usage:
19
- rubyplb [options] <source file> <output file>
18
+ Usage:
19
+ rubyplb [options] <source file> <output file>
20
20
 
21
- where:
22
- <source file>
23
- ".plb", ".txt"
24
- <output file>
25
- ."dot", ".png", ".jpg", or ".eps"
26
- [options]:
27
- --simple, -s: Use simple labels for pattern nodes
28
- --full, -f: Generate a full pattern lattice without contracting nodes
29
- --vertical, -v: Draw the graph from top to bottom instead of left to right)
30
- --coloring, -c: Color pattern nodes
31
- --straight, -t: Straighten edges (available when output format is either png, jpg, or eps)
32
- --help, -h: Show this message
21
+ where:
22
+ <source file>
23
+ ".plb", ".txt"
24
+ <output file>
25
+ ."dot", ".png", ".jpg", or ".eps"
26
+ [options]:
27
+ --simple, -s: Use simple labels for pattern nodes
28
+ --full, -f: Generate a full pattern lattice without contracting nodes
29
+ --vertical, -v: Draw the graph from top to bottom instead of left to right)
30
+ --coloring, -c: Color pattern nodes
31
+ --straight, -t: Straighten edges (available when output format is either png, jpg, or eps)
32
+ --help, -h: Show this message
33
33
 
34
34
  ## ToDo
35
35
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.2.92
data/bin/rubyplb CHANGED
@@ -76,14 +76,14 @@ end
76
76
 
77
77
  begin
78
78
  f = File.open(filename1, "r")
79
- sentences = f.readlines.delete_if{ |s| /^\s*$/ =~ s }
80
- f.close
81
- if sentences.empty?
82
- showerror("Input file does not contain data.", 1)
83
- end
84
79
  rescue => e
85
80
  showerror("Input file does not exist.", 1)
86
81
  end
82
+ sentences = f.readlines.delete_if{ |s| /^\s*$/ =~ s }
83
+ f.close
84
+ if sentences.empty?
85
+ showerror("Input file does not contain data.", 1)
86
+ end
87
87
 
88
88
  begin
89
89
  pl = PatLattice.new(opts)
@@ -1,3 +1,3 @@
1
1
  module Rubyplb
2
- VERSION = "0.2.91"
2
+ VERSION = "0.2.92"
3
3
  end
data/rubyplb.log ADDED
@@ -0,0 +1 @@
1
+ Warning: transparent is not a known color.
data/test/rubyplb_test.rb CHANGED
File without changes
data/test/test_data.plb CHANGED
File without changes
data/test/test_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyplb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.91
5
- prerelease:
4
+ version: 0.2.92
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kow Kuroda
@@ -10,7 +9,7 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-12-15 00:00:00.000000000 Z
12
+ date: 2015-05-27 00:00:00.000000000 Z
14
13
  dependencies: []
15
14
  description: Command line Pattern Lattice building tool written in Ruby.
16
15
  email:
@@ -20,8 +19,8 @@ executables:
20
19
  extensions: []
21
20
  extra_rdoc_files: []
22
21
  files:
23
- - .document
24
- - .gitignore
22
+ - ".document"
23
+ - ".gitignore"
25
24
  - Gemfile
26
25
  - Gemfile.lock
27
26
  - LICENSE
@@ -35,32 +34,32 @@ files:
35
34
  - lib/rubyplb/version.rb
36
35
  - lib/trollop.rb
37
36
  - rubyplb.gemspec
37
+ - rubyplb.log
38
38
  - test/rubyplb_test.rb
39
39
  - test/test_data.plb
40
40
  - test/test_helper.rb
41
41
  homepage: http://github.com/yohasebe/rubyplb
42
42
  licenses: []
43
+ metadata: {}
43
44
  post_install_message:
44
45
  rdoc_options: []
45
46
  require_paths:
46
47
  - lib
47
48
  required_ruby_version: !ruby/object:Gem::Requirement
48
- none: false
49
49
  requirements:
50
- - - ! '>='
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
- none: false
55
54
  requirements:
56
- - - ! '>='
55
+ - - ">="
57
56
  - !ruby/object:Gem::Version
58
57
  version: '0'
59
58
  requirements: []
60
59
  rubyforge_project:
61
- rubygems_version: 1.8.24
60
+ rubygems_version: 2.4.5
62
61
  signing_key:
63
- specification_version: 3
62
+ specification_version: 4
64
63
  summary: Command line Pattern Lattice building tool written in Ruby
65
64
  test_files:
66
65
  - test/rubyplb_test.rb