console_runner 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/console_runner.rb +2 -5
- data/lib/console_runner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85869369fb705b14a43d991b73ef59719dd0456c
|
4
|
+
data.tar.gz: 79921ee7be2715476e9e778538feaf7f59608c94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c25099ea28d05f86ea552a991fc93dee2ea12f2388706db813c38fc0ae1cf8635ad3710715ecb9d2d4bb975c80d0d1422d61bbe8436251be6479db022e6096
|
7
|
+
data.tar.gz: 1d71c7e7d8c1864b6805b0a8eebfe4aadff6c6c80ef2af8c61f8793311e924814f3ea52d4c1a631556e95184c7107b2b8da2b4a564abcb163eaf447949271a80
|
data/lib/console_runner.rb
CHANGED
@@ -8,9 +8,7 @@ module ConsoleRunner
|
|
8
8
|
begin
|
9
9
|
start_time = Time.now
|
10
10
|
success_status = true
|
11
|
-
puts "#{SEPARATOR}
|
12
|
-
Start Time: #{start_time}
|
13
|
-
#{SEPARATOR}".blue
|
11
|
+
puts "#{SEPARATOR}\nStart Time: #{start_time}\n#{SEPARATOR}".blue
|
14
12
|
|
15
13
|
file_from_arg = ARGV.shift
|
16
14
|
raise ConsoleRunnerError, 'Specify file to be executed' unless file_from_arg
|
@@ -70,7 +68,6 @@ Start Time: #{start_time}
|
|
70
68
|
puts "\n#{SEPARATOR}".blue
|
71
69
|
puts 'Execution status: '.blue + status
|
72
70
|
puts "Finish Time: #{finish_time} (Duration: #{((finish_time - start_time) / 60).round(2) } minutes)
|
73
|
-
#{SEPARATOR}
|
74
|
-
".blue
|
71
|
+
#{SEPARATOR}\n".blue
|
75
72
|
end
|
76
73
|
end
|