ferrets_on_fire 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ferrets_on_fire/dsl/logger_dsl.rb +1 -1
- data/lib/ferrets_on_fire/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: 3067fa7b8fde9dcfb36ae040a9033c8e2236bcf1
|
4
|
+
data.tar.gz: 11dbc48cec6745cb624f2fd85beb70d65d26f1e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b0767a1d2b31c059d4dc8defd4dc244ad12a517219554cb4dfd0486286d3bc43457e626632807bea695989fd6454a6c28e0fad1aab4f328f93eb9e917725023
|
7
|
+
data.tar.gz: 5f093d360a1189d3e481bac404859e036bb577ca8823d53fb562fd80b961bae546353236782e0f072a917310f1a79a7e95136b59f62b37c57b20371500b92f6f
|
@@ -152,7 +152,7 @@ module FerretsOnFire::DSL::LoggerDSL
|
|
152
152
|
bm = ::Benchmark.measure { cmd_output = yield }
|
153
153
|
time = '%.2f' % bm.real.round(2)
|
154
154
|
info = "#{time.rjust(6)}s"
|
155
|
-
puts "\r
|
155
|
+
puts ($stdout.tty? ? "\r" : '') + log(msg, :success, info)
|
156
156
|
|
157
157
|
[cmd_output, $?.to_i]
|
158
158
|
end
|