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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca55ff39f0701a6c94aef40eae8dd25a8f6f28e0
4
- data.tar.gz: b5ffd1347b500e2fb8d9e2d86aff29db88f3ea96
3
+ metadata.gz: 79e6ef4402929dae48e3079b259be16d4983bdbb
4
+ data.tar.gz: 9ec8f6d0e25ab4f1d9816a0571b3022a2a8aae0f
5
5
  SHA512:
6
- metadata.gz: da015fa007dd00d09bb199d97c4465ff4191559baed673e62034ca5737799f7395e8fc245ce0cc851ec3afc39b353a39f9da1f174060e4c653fcdbbbb110db0f
7
- data.tar.gz: bd079d20f92b50faa8f395c09350f55d0186fb0f58e7d22755e11b51c89bb308542eb064df9cbdedd3fc76e2e7611aa67618320fef4fc6adb776232f2c60fc04
6
+ metadata.gz: e8e51275c323eca0a671df43eef62f009e05b581716393cbd2fd1e7ba6c8a8090207605a76e4e59c6a69d932d49c86c4ac9c78868546a1cd08b3db4eb0d71537
7
+ data.tar.gz: 3acd8db4a3175659604644e35694694f0fdf240aa6f9036251ee4fc2b2f3da0b50fabe79ed71d7dac1270613dd1d43a919e14599689d1766c378b4eb0b1e3a94
@@ -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 = ExtensibleBacktraceFilter.default_filter)
24
+ def self.use!(console_reporters = ProgressReporter.new, env = ENV, backtrace_filter = nil)
25
25
  use_runner!(console_reporters, env)
26
- Minitest.backtrace_filter = backtrace_filter
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!
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.1.0.beta2'
3
+ VERSION = '1.1.0.beta3'
4
4
  end
5
5
  end
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.beta2
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-08-31 00:00:00.000000000 Z
11
+ date: 2015-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest