guard-minitest 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -1
- data/lib/guard/minitest.rb +14 -2
- data/lib/guard/minitest/runner.rb +1 -1
- data/lib/guard/minitest/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: 35c8dda621de0cd502a5631b63b6e34bf1182e9b
|
4
|
+
data.tar.gz: fc7333d1926e37b12d424a97ee70c7ba5289c7ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bebdf921e22f29eca464eb2085f1b2ae3575d85b9d503467e0ef12d3c1cf5932110f6e6d444c7fac572f86a6d4f6e483d3a7725dc80e2f01d9351658f24891f
|
7
|
+
data.tar.gz: 325024f62be9568883b1f841020a96edcee4d8c323efd3d0aeaa07b4490c9b028f2bb056eb337867cc4660929ae5d1da91765c650fcb6533f469a9efbf309d88
|
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.
|
3
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.1...master)
|
4
|
+
|
5
|
+
## 1.0.1 - Jul 23, 2013
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0...v1.0.1)
|
8
|
+
|
9
|
+
### Bug fixes
|
10
|
+
|
11
|
+
* [#73][] Don't unecessary require 'minitest/autorun'. ([@jakebellacera][], [@rafmagana][] & [@rymai][])
|
12
|
+
* [#72][] Don't require `test` with `-Itest` when using DRb. ([@rafmagana][] & [@rymai][])
|
4
13
|
|
5
14
|
## 1.0.0 - Jul 10, 2013
|
6
15
|
|
@@ -163,15 +172,19 @@ First stable release.
|
|
163
172
|
[#68]: https://github.com/guard/guard-minitest/issues/68
|
164
173
|
[#69]: https://github.com/guard/guard-minitest/issues/69
|
165
174
|
[#70]: https://github.com/guard/guard-minitest/issues/70
|
175
|
+
[#72]: https://github.com/guard/guard-minitest/issues/72
|
176
|
+
[#73]: https://github.com/guard/guard-minitest/issues/73
|
166
177
|
[@aflock]: https://github.com/aflock
|
167
178
|
[@arronmabrey]: https://github.com/arronmabrey
|
168
179
|
[@aspiers]: https://github.com/aspiers
|
169
180
|
[@chadoh]: https://github.com/chadoh
|
170
181
|
[@itzki]: https://github.com/itzki
|
182
|
+
[@jakebellacera]: https://github.com/jakebellacera
|
171
183
|
[@japgolly]: https://github.com/japgolly
|
172
184
|
[@kejadlen]: https://github.com/kejadlen
|
173
185
|
[@leemhenson]: https://github.com/leemhenson
|
174
186
|
[@manewitz]: https://github.com/manewitz
|
187
|
+
[@rafmagana]: https://github.com/rafmagana
|
175
188
|
[@rymai]: https://github.com/rymai
|
176
189
|
[@sbl]: https://github.com/sbl
|
177
190
|
[@sbleon]: https://github.com/sbleon
|
data/lib/guard/minitest.rb
CHANGED
@@ -8,7 +8,6 @@ module Guard
|
|
8
8
|
require 'guard/minitest/inspector'
|
9
9
|
require 'guard/minitest/runner'
|
10
10
|
require 'guard/minitest/version'
|
11
|
-
require 'minitest/autorun'
|
12
11
|
|
13
12
|
def initialize(watchers = [], options = {})
|
14
13
|
super
|
@@ -21,7 +20,7 @@ module Guard
|
|
21
20
|
end
|
22
21
|
|
23
22
|
def start
|
24
|
-
UI.info "Guard::Minitest #{MinitestVersion::VERSION} is running, with Minitest::Unit #{
|
23
|
+
UI.info "Guard::Minitest #{MinitestVersion::VERSION} is running, with Minitest::Unit #{_minitest_version}!"
|
25
24
|
run_all if @options[:all_on_start]
|
26
25
|
end
|
27
26
|
|
@@ -43,5 +42,18 @@ module Guard
|
|
43
42
|
@runner.run(paths)
|
44
43
|
end
|
45
44
|
|
45
|
+
private
|
46
|
+
|
47
|
+
def _minitest_version
|
48
|
+
@_minitest_version ||= begin
|
49
|
+
require 'minitest'
|
50
|
+
::Minitest::VERSION
|
51
|
+
|
52
|
+
rescue LoadError, NameError
|
53
|
+
require 'minitest/unit'
|
54
|
+
::MiniTest::Unit::VERSION
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
46
58
|
end
|
47
59
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yann Lugrin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|