console_runner 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ada21ff65dc0e2c0a9b1507be918b6f106136c18
4
- data.tar.gz: 9296ab89bdb38ef21b3d93224c8cc940e31a0f20
3
+ metadata.gz: e171b31d108653ccdf8c7531515e3e1553fe3866
4
+ data.tar.gz: f603811734ff52f35f9f66ff78c41487544d60fd
5
5
  SHA512:
6
- metadata.gz: 0899daa95e9d73083b7880314a3fa2fb144e7efc597a19aa72a376c5a388e0c8729958d2d96b904f53d8fd9d5917be2466267c9f67a0eb9e981adb56c5103602
7
- data.tar.gz: ae4e372b0dce5c371c0ee213fb69fcd1feb587fce471790af879e3a60044edd1dc9b9ec884609a004faa6ca788d60d9cf15047d3159335ec8e09d3076b2b3dca
6
+ metadata.gz: ec9180e24ff1a0631e8018781aeb5703d603aad5e92a696a1ff03c08ee68357c2ee06b19999bddfb21fcb70a027b46e9243e28a84c094fca09f78b1308702e40
7
+ data.tar.gz: a3cd6c03ed49e51b9350af7ffa22a10200ebd09d6cd973f944036dba661d24b383290371be26767b61572aea97938c3d28f9a8483637d92d3c4377e3ff487d99
@@ -9,7 +9,8 @@ module ConsoleRunner
9
9
  start_time = Time.now
10
10
  success_status = true
11
11
  puts "#{SEPARATOR}
12
- Start Time: #{start_time}".blue
12
+ Start Time: #{start_time}
13
+ #{SEPARATOR}".blue
13
14
 
14
15
  file_from_arg = ARGV.shift
15
16
  raise ConsoleRunnerError, 'Specify file to be executed' unless file_from_arg
@@ -66,9 +67,10 @@ Start Time: #{start_time}".blue
66
67
  ensure
67
68
  finish_time = Time.now
68
69
  status = success_status ? 'Success'.green : 'Error'.red
70
+ puts "\n#{SEPARATOR}".blue
69
71
  puts 'Execution status: '.blue + status
70
- puts "#{SEPARATOR}
71
- Finish Time: #{finish_time} (Duration: #{((finish_time - start_time) / 60).round(2) } minutes)
72
- ".blue
72
+ puts "Finish Time: #{finish_time} (Duration: #{((finish_time - start_time) / 60).round(2) } minutes)
73
+ #{SEPARATOR}
74
+ ".blue
73
75
  end
74
76
  end
@@ -1,3 +1,3 @@
1
1
  module ConsoleRunner
2
- VERSION = '0.1.21'
2
+ VERSION = '0.1.22'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Karpovich