guard-minitest 1.0.0.rc.1 → 1.0.0.rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/lib/guard/minitest/runner.rb +0 -1
- data/lib/guard/minitest/version.rb +1 -1
- data/lib/minitest/guard_minitest_plugin.rb +2 -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: db71d83f0be42030ab23615199f6c5bee71cdc2d
|
|
4
|
+
data.tar.gz: d1f7ef82f176e014b8829a6dbde1a99c987bfe64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0e1db26c8352155e8cb3e305832277f08d7f1612c6d97139d0b687dd233677f03a8bd86b3ad671215a85ef69c989fdc1610fba2e2435921faaddbc38330d8ee
|
|
7
|
+
data.tar.gz: d670ccae2dcb550a1c3e75887a710f14da58cd0f90116fca264f0bde8a627e6f4263f9b00b049da9fe2862a4ea4b0dcf8b011cf7a124f12a046c70ff9fc464fe
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
## Unreleased Changes
|
|
2
2
|
|
|
3
|
-
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0.rc.
|
|
3
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0.rc.2...master)
|
|
4
|
+
|
|
5
|
+
## 1.0.0.rc.2 - Jun 19, 2013
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0.rc.1...v1.0.0.rc.2)
|
|
8
|
+
|
|
9
|
+
### Bug fixes
|
|
10
|
+
|
|
11
|
+
* Drop the `--pride` option. Users should add `require 'minitest/pride'` to their `test_helper.rb` instead. ([@rymai][])
|
|
12
|
+
* Ensure `Minitest::Reporter` is used for Minitest < 5.0.4 (precisely). ([@rymai][])
|
|
4
13
|
|
|
5
14
|
## 1.0.0.rc.1 - Jun 19, 2013
|
|
6
15
|
|
|
@@ -108,7 +108,6 @@ module Guard
|
|
|
108
108
|
cmd_parts += paths.map { |path| "-r ./#{path}" }
|
|
109
109
|
if ::MiniTest::Unit::VERSION =~ /^5/
|
|
110
110
|
cmd_parts << '-e \'Minitest.autorun\''
|
|
111
|
-
cmd_parts << '--pride' # uses pride for output colorization
|
|
112
111
|
else
|
|
113
112
|
cmd_parts << "-r #{File.expand_path('../runners/old_runner.rb', __FILE__)}"
|
|
114
113
|
cmd_parts << '-e \'MiniTest::Unit.autorun\''
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
minitest_version = ::MiniTest::Unit::VERSION.split(/\./)
|
|
2
|
+
if minitest_version[0].to_i >= 5 && (minitest_version[1].to_i > 0 || minitest_version[2].to_i >= 4)
|
|
2
3
|
require 'guard/minitest/reporter'
|
|
3
4
|
else
|
|
4
5
|
require 'guard/minitest/reporters/old_reporter'
|