compare_time 0.0.5 → 0.0.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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/compare_time.rb +4 -2
  3. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 506fbdd6fa99b36c4ecfc9078607c3a56af50a10
4
- data.tar.gz: 549eda9ef322fb6ad9dcfb2ad141fc405f12d4c7
3
+ metadata.gz: e43f2fe9a34935b3f0f1a567bb1a1c73c59808b4
4
+ data.tar.gz: 5ab7f08defcc6467bb816d8797a7b047bd11a79e
5
5
  SHA512:
6
- metadata.gz: 5497422e03ba026cc5b8de279bd3a6c2d1ced58414eba4a2b40c8183c013618ab841d03311b46f505d9da6b2fa213697b92ad233911fbe8ebfa40c3ab31cb24a
7
- data.tar.gz: 2d2e66c7b2186e810e412d27525e3509fb00d3060689003132fd43aedb90cf538bb809af7d7637c1f09527955783073e0d77a0728f44d569b0fa8bc1a824796c
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
- puts results[0].colorize(:green)
31
+ calculated_results = results
32
+ puts calculated_results[0].colorize(:green)
32
33
 
33
- results.drop(1).each do |res|
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.5
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, right?
28
- email: bgladecki@gmail.com
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: []