guard-minitest 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -3
- data/README.md +4 -2
- data/lib/guard/minitest/runner.rb +7 -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: 65e8912f8037ce17d4a80f743fbb55a1510e6a99
|
4
|
+
data.tar.gz: 7f03341c331405aa23707344af33ae0a6dfd1f52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc848d2342201f1bfc691b3c863bde3cc3ba5e5e2591930b3d2f30d5fc74f2b1528281b690d369c82122f280f5fa234ef92d94a58f50335a770de6fa7be7e22
|
7
|
+
data.tar.gz: a85d77b7cb6bf1cb6fd0096cf8263c2a3b4cba95f8283e55e61fe6a7fc3bc27677014e2b0bb7aa3be9b24f61220d338e11b3f2b669febc077e75e1da365dd67f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
-
##
|
1
|
+
## Master
|
2
2
|
|
3
|
-
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.
|
3
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.3.0...master)
|
4
|
+
|
5
|
+
## 1.3.0 - Sept 12, 2013
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.2.0...v1.3.0)
|
8
|
+
|
9
|
+
### New feature
|
10
|
+
|
11
|
+
* [#82][] Adds simple notifications support in zeus mode. ([@pschyska][])
|
4
12
|
|
5
13
|
## 1.2.0 - Sept 10, 2013
|
6
14
|
|
@@ -14,7 +22,7 @@
|
|
14
22
|
|
15
23
|
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.1...v1.1.0)
|
16
24
|
|
17
|
-
###
|
25
|
+
### New feature
|
18
26
|
|
19
27
|
* [#77][] Allow specifying arbitrary include paths. ([@psyho][])
|
20
28
|
|
@@ -192,6 +200,7 @@ First stable release.
|
|
192
200
|
[#73]: https://github.com/guard/guard-minitest/issues/73
|
193
201
|
[#77]: https://github.com/guard/guard-minitest/issues/77
|
194
202
|
[#81]: https://github.com/guard/guard-minitest/issues/81
|
203
|
+
[#82]: https://github.com/guard/guard-minitest/issues/82
|
195
204
|
[@aflock]: https://github.com/aflock
|
196
205
|
[@arronmabrey]: https://github.com/arronmabrey
|
197
206
|
[@aspiers]: https://github.com/aspiers
|
data/README.md
CHANGED
@@ -106,8 +106,10 @@ end
|
|
106
106
|
```
|
107
107
|
|
108
108
|
[Zeus](https://github.com/burke/zeus) is supported, but you must enable it.
|
109
|
-
Please note that
|
110
|
-
|
109
|
+
Please note that notifications support is very basic when using Zeus. The zeus client exit status is evaluated, and
|
110
|
+
a Guard `:success` or `:failed` notification is triggered. It does not include the test results though.
|
111
|
+
|
112
|
+
If you're interested in improving it, please
|
111
113
|
[open a new issue](https://github.com/guard/guard-minitest/issues/new).
|
112
114
|
|
113
115
|
If your test helper matches the test_file_patterns, it can lead to problems
|
@@ -32,7 +32,13 @@ module Guard
|
|
32
32
|
def run(paths, options = {})
|
33
33
|
message = options[:message] || "Running: #{paths.join(' ')}"
|
34
34
|
UI.info message, :reset => true
|
35
|
-
system(minitest_command(paths))
|
35
|
+
status = system(minitest_command(paths))
|
36
|
+
# When using zeus, the Guard::Minitest::Reporter can't be used because the minitests run in the zeus process.
|
37
|
+
# We can use the exit status of the zeus client process though to distinguish between :success and :failed
|
38
|
+
if zeus?
|
39
|
+
::Guard::Notifier.notify(message, :title => 'Minitest results', :image => status ? :success : :failed)
|
40
|
+
end
|
41
|
+
status
|
36
42
|
end
|
37
43
|
|
38
44
|
def cli_options
|
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.
|
4
|
+
version: 1.3.0
|
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-09-
|
12
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|