ferrets_on_fire 0.0.5 → 0.0.6

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: 221c0affed24449c443e4e0270ac198fc92cf9d0
4
- data.tar.gz: 616679c253f3c44e4c2c3d091324f618a1732252
3
+ metadata.gz: 39ad0306540e29023d0f334ce8a66a4ddc5e8e2c
4
+ data.tar.gz: 73c9437042f5b3a2d1468695c354932e4d77bcbe
5
5
  SHA512:
6
- metadata.gz: 50506dc86da258268a1bd75660ff915efc5f4a548073def3ed7955434425d006ca5db44dd05e6e26ca62f30ebd08b1ae3ca87b65eeff00c3ffc23fa778f04f03
7
- data.tar.gz: 3a806f6931a3761e5192f00db76d5018d71efc9e1015cd17aeca500e6495a2f45f4ab8e9d02a370df3407e8bd2eb2e1ce877cde5b2334e912da6b9ec565ec7b2
6
+ metadata.gz: f19069ff4d3605dbab8c98684f41ced86c0ecd673c5762f7cfb1e4c0930d40e6a9e9e1271e43aba4918e4611e2fea08d3d05151802d281eb14c6bbd7118f214d
7
+ data.tar.gz: 199ed1e2378f42f82ea59b6ce3a10ab4998990b23d5d6df0f91b4eecc9a6faa429769bfde31f429eb14f8669641825de2f3d44620cc5660664ca2d1f3435c722
@@ -136,7 +136,7 @@ module FerretsOnFire::DSL::LoggerDSL
136
136
  end
137
137
 
138
138
  public def action(msg)
139
- print log(msg, :action)
139
+ print log(msg, :action) if $stdout.tty?
140
140
 
141
141
  return_value = block_given? ? yield : nil
142
142
 
@@ -147,7 +147,7 @@ module FerretsOnFire::DSL::LoggerDSL
147
147
 
148
148
  # @param [String] msg Message to display
149
149
  private def _shell_action(msg)
150
- print log(msg, :action, ' ... ')
150
+ print log(msg, :action, ' ... ') if $stdout.tty?
151
151
  cmd_output = ''
152
152
  bm = ::Benchmark.measure { cmd_output = yield }
153
153
  time = '%.2f' % bm.real.round(2)
@@ -1,3 +1,3 @@
1
1
  module FerretsOnFire
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ferrets_on_fire
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
  - phortx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: micon
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.6.10
139
+ rubygems_version: 2.6.11
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Supercharge your CLI