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 +4 -4
- data/lib/ferrets_on_fire/dsl/logger_dsl.rb +2 -2
- data/lib/ferrets_on_fire/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39ad0306540e29023d0f334ce8a66a4ddc5e8e2c
|
4
|
+
data.tar.gz: 73c9437042f5b3a2d1468695c354932e4d77bcbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
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.
|
139
|
+
rubygems_version: 2.6.11
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Supercharge your CLI
|