minitest-reporters 0.14.15 → 0.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/minitest/reporters.rb +1 -1
- data/lib/minitest/reporters/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4987d9f0ae4fb08bfde5c003076f0baf0aa99f
|
4
|
+
data.tar.gz: a086554051f7db3d4b60cf1f7b62f7a72247d2ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3c7d2f8770c0341294b944372b3134276070e28eca7cba017ed1d170039be76f54c04b8ccb7f15948866abdac7dfa77705ae8266e215eb94f311fc927dd3d8
|
7
|
+
data.tar.gz: dcca69a9879bb3e5e1516cfdde8b81878e352d8254575c62098fbd3d28ca2ea67c01696da57b0eeeddc9a9b476a9154e6a44c9c2cd8c7f349692d47e888a7f68
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# minitest-reporters - create customizable MiniTest output formats [![Build Status](https://secure.travis-ci.org/CapnKernul/minitest-reporters.png)](http://travis-ci.org/CapnKernul/minitest-reporters)
|
2
2
|
|
3
|
-
|
4
3
|
Death to haphazard monkey-patching! Extend MiniTest through simple hooks.
|
5
4
|
|
6
5
|
## Installation ##
|
@@ -49,6 +48,10 @@ color output from `DefaultReporter`:
|
|
49
48
|
MiniTest::Reporters.use! [MiniTest::Reporters::SpecReporter.new(:color => true)]
|
50
49
|
```
|
51
50
|
|
51
|
+
## Caveats ##
|
52
|
+
|
53
|
+
If you are using minitest-reporters with ActiveSupport 3.x, make sure that you require ActiveSupport before invoking `MiniTest::Reporters.use!`. Minitest-reporters fixes incompatibilities caused by monkey patches in ActiveSupport 3.x. ActiveSupport 4.x is unaffected.
|
54
|
+
|
52
55
|
## Note on Patches/Pull Requests ##
|
53
56
|
|
54
57
|
* Fork the project.
|
data/lib/minitest/reporters.rb
CHANGED
@@ -85,7 +85,7 @@ module MiniTest
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def self.use_old_activesupport_fix!
|
88
|
-
if defined?(ActiveSupport) && ActiveSupport::VERSION::MAJOR < 4
|
88
|
+
if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR < 4
|
89
89
|
require "minitest/old_activesupport_fix"
|
90
90
|
end
|
91
91
|
end
|