compare_time 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/compare_time.rb +4 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e43f2fe9a34935b3f0f1a567bb1a1c73c59808b4
|
4
|
+
data.tar.gz: 5ab7f08defcc6467bb816d8797a7b047bd11a79e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dff6ce0e5875167147e0a1b2399aa24d76c153563b0b3334e0952a9feeabdf9fb1e8d620c9a087e373064369eea6e3f535266521efedcb5ccd042ebca42d679
|
7
|
+
data.tar.gz: 713590aba2ff1d7b5355b206963815b77ed8d88eba95f5c879ffc3ffd374dca75724a0a29d96780a99ba7932dcfb47d52cf21f6c9b6fdc9142c5ce1306a519fb
|
data/lib/compare_time.rb
CHANGED
@@ -28,9 +28,10 @@ class CompareTime
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def print_results
|
31
|
-
|
31
|
+
calculated_results = results
|
32
|
+
puts calculated_results[0].colorize(:green)
|
32
33
|
|
33
|
-
|
34
|
+
calculated_results.drop(1).each do |res|
|
34
35
|
puts res
|
35
36
|
end
|
36
37
|
end
|
@@ -45,3 +46,4 @@ class CompareTime
|
|
45
46
|
$stdout = original_stdout
|
46
47
|
end
|
47
48
|
end
|
49
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compare_time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartek Gladecki
|
@@ -24,8 +24,9 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.8.1
|
27
|
-
description: Compare execution times for given blocks
|
28
|
-
|
27
|
+
description: Compare execution times for given blocks. Chain them as many times you
|
28
|
+
like
|
29
|
+
email: bgladecki gmail com
|
29
30
|
executables: []
|
30
31
|
extensions: []
|
31
32
|
extra_rdoc_files: []
|
@@ -54,5 +55,5 @@ rubyforge_project:
|
|
54
55
|
rubygems_version: 2.6.6
|
55
56
|
signing_key:
|
56
57
|
specification_version: 4
|
57
|
-
summary: Compare execution times for given blocks
|
58
|
+
summary: Compare execution times for given blocks.
|
58
59
|
test_files: []
|