rscout 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/rscout.rb +6 -1
- data/lib/rscout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f99db4dc314b86a999f18358e0b0b00443d72fed
|
4
|
+
data.tar.gz: a48d9e65ffa1138de4233062f246c560691d5e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f865c5c520d4981b433226734e80fad990525a521f013cfd6bfc65b1a91dfbdd6f96deceb90b916a230da576b4a25d931a7155a57c7aa1e785e2f2fd54f065a
|
7
|
+
data.tar.gz: 7065eb96ad0b9403c6b9158b8c79e3b4e6ae4691bf94f7e891ea058540134bf1960b9b526e2db3d2cb9e8c6e1f7a6b9a631baea5f3979c0d4dba4a5fa32399da
|
data/lib/rscout.rb
CHANGED
@@ -156,7 +156,12 @@ module RScout
|
|
156
156
|
def capture_stdout(&block)
|
157
157
|
previous_stdout, $stdout = $stdout, StringIO.new
|
158
158
|
yield
|
159
|
-
$stdout.string
|
159
|
+
if $stdout.respond_to?(:string)
|
160
|
+
$stdout.string
|
161
|
+
else
|
162
|
+
logger.warn "Test suite hijacked our STDOUT capture."
|
163
|
+
nil
|
164
|
+
end
|
160
165
|
ensure
|
161
166
|
$stdout = previous_stdout
|
162
167
|
end
|
data/lib/rscout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rscout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hammond (@andrhamm)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|