metric_tools 0.0.11 → 0.0.12
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/lib/metric_tools/table.rb +2 -2
- data/metric_tools.gemspec +2 -2
- metadata +2 -2
data/lib/metric_tools/table.rb
CHANGED
@@ -33,7 +33,7 @@ module MetricTools
|
|
33
33
|
# Table.create_with_array(array)
|
34
34
|
def create_with_array(array)
|
35
35
|
Table.create(array[0].length, array.length) {|i, j|
|
36
|
-
array[
|
36
|
+
array[i][j]
|
37
37
|
}
|
38
38
|
end
|
39
39
|
end
|
@@ -189,7 +189,7 @@ module MetricTools
|
|
189
189
|
# コンソールに綺麗な表形式で出力します(Hirbを使用)
|
190
190
|
#
|
191
191
|
def print_pretty
|
192
|
-
puts Hirb::Helpers::Table.render @data, :headers => @headers, :resize => false
|
192
|
+
puts Hirb::Helpers::Table.render @data.to_a, :headers => @headers, :resize => false
|
193
193
|
end
|
194
194
|
|
195
195
|
#
|
data/metric_tools.gemspec
CHANGED
@@ -3,8 +3,8 @@ require 'bundler'
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'metric_tools'
|
6
|
-
s.version = '0.0.
|
7
|
-
s.date = '
|
6
|
+
s.version = '0.0.12'
|
7
|
+
s.date = '2013-03-29'
|
8
8
|
s.summary = "Utilities for analyzing metrics"
|
9
9
|
s.description = "Utilities for analyzing metrics"
|
10
10
|
s.authors = ["Masaori Hirono"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metric_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google_drive
|