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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39ad0306540e29023d0f334ce8a66a4ddc5e8e2c
4
- data.tar.gz: 73c9437042f5b3a2d1468695c354932e4d77bcbe
3
+ metadata.gz: 3067fa7b8fde9dcfb36ae040a9033c8e2236bcf1
4
+ data.tar.gz: 11dbc48cec6745cb624f2fd85beb70d65d26f1e7
5
5
  SHA512:
6
- metadata.gz: f19069ff4d3605dbab8c98684f41ced86c0ecd673c5762f7cfb1e4c0930d40e6a9e9e1271e43aba4918e4611e2fea08d3d05151802d281eb14c6bbd7118f214d
7
- data.tar.gz: 199ed1e2378f42f82ea59b6ce3a10ab4998990b23d5d6df0f91b4eecc9a6faa429769bfde31f429eb14f8669641825de2f3d44620cc5660664ca2d1f3435c722
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#{log(msg, :success, info)}"
155
+ puts ($stdout.tty? ? "\r" : '') + log(msg, :success, info)
156
156
 
157
157
  [cmd_output, $?.to_i]
158
158
  end
@@ -1,3 +1,3 @@
1
1
  module FerretsOnFire
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ferrets_on_fire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - phortx