rubyplb 0.2.5 → 0.2.6

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubyplb.rb +2 -2
  3. data/rubyplb.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
data/lib/rubyplb.rb CHANGED
@@ -260,13 +260,13 @@ class PatLattice
260
260
  end
261
261
  end
262
262
  end
263
- zscore = ((zscore * 100).round / 100.0).to_s
264
263
  border = "0"
265
264
  pat_str = node.data.collect{|td|"<td color='black'>#{td}</td>"}.join
266
265
  pat_str = "&nbsp;" * 5 if pat_str == ""
267
266
  label = "<<table bgcolor='#{color}' border='#{border}' cellborder='1' cellspacing='0' cellpadding='5'>" +
268
- "<tr>#{pat_str}(#{zscore})</tr>"
267
+ "<tr>#{pat_str}</tr>"
269
268
  if !@opts[:simple]
269
+ zscore = ((zscore * 100).round / 100.0).to_s
270
270
  label += "<tr><td color='black' colspan='#{node.data.size.to_s}'> "
271
271
  if node.level != 0 and node.children_instances > 0
272
272
  label += node.children_instances.to_s + " (" + zscore.to_s + ")"
data/rubyplb.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rubyplb}
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
9
9
  s.required_ruby_version = ">=1.8.6"
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kow Kuroda", "Yoichiro Hasebe"]
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kow Kuroda