minitest-reporters 1.1.0.beta2 → 1.1.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minitest/reporters.rb +5 -2
- data/lib/minitest/reporters/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: 79e6ef4402929dae48e3079b259be16d4983bdbb
|
4
|
+
data.tar.gz: 9ec8f6d0e25ab4f1d9816a0571b3022a2a8aae0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8e51275c323eca0a671df43eef62f009e05b581716393cbd2fd1e7ba6c8a8090207605a76e4e59c6a69d932d49c86c4ac9c78868546a1cd08b3db4eb0d71537
|
7
|
+
data.tar.gz: 3acd8db4a3175659604644e35694694f0fdf240aa6f9036251ee4fc2b2f3da0b50fabe79ed71d7dac1270613dd1d43a919e14599689d1766c378b4eb0b1e3a94
|
data/lib/minitest/reporters.rb
CHANGED
@@ -21,9 +21,12 @@ module Minitest
|
|
21
21
|
attr_accessor :reporters
|
22
22
|
end
|
23
23
|
|
24
|
-
def self.use!(console_reporters = ProgressReporter.new, env = ENV, backtrace_filter =
|
24
|
+
def self.use!(console_reporters = ProgressReporter.new, env = ENV, backtrace_filter = nil)
|
25
25
|
use_runner!(console_reporters, env)
|
26
|
-
|
26
|
+
if backtrace_filter.nil? && !defined?(::Rails)
|
27
|
+
backtrace_filter = ExtensibleBacktraceFilter.default_filter
|
28
|
+
end
|
29
|
+
Minitest.backtrace_filter = backtrace_filter unless backtrace_filter.nil?
|
27
30
|
|
28
31
|
unless defined?(@@loaded)
|
29
32
|
use_around_test_hooks!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|