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.
- data/VERSION +1 -1
- data/lib/rubyplb.rb +2 -2
- data/rubyplb.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
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 = " " * 5 if pat_str == ""
|
|
267
266
|
label = "<<table bgcolor='#{color}' border='#{border}' cellborder='1' cellspacing='0' cellpadding='5'>" +
|
|
268
|
-
"<tr>#{pat_str}
|
|
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.
|
|
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"]
|