guard-minitest 1.1.0 → 1.2.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 -2
- data/README.md +6 -0
- data/lib/guard/minitest.rb +9 -0
- data/lib/guard/minitest/inspector.rb +4 -0
- data/lib/guard/minitest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b15702dae94ca41bd0cdea4bd73a5faedd8e82c
|
4
|
+
data.tar.gz: 922ca0e7f099141661cdf2172c9b7b150019c75c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b318ea300c353a5c7bf6c5f18c711b7948438d3c4cf7a149a46a9222fe1fbeb3bc2a0e1923ee76bd0d249618ea34cece9c17e752b892bd78310663d0c3587467
|
7
|
+
data.tar.gz: 3a43951132dd54aea63a25a683337df80afc6cad1a07a7e10f1b53796b7cf7d1a5a62a5b64cf1a5ff60bc40cd68751fdd6299a2f7e81ca9bc1e4f2ad1732e3a4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
## Unreleased Changes
|
2
2
|
|
3
|
-
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.
|
3
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.2.0...master)
|
4
|
+
|
5
|
+
## 1.2.0 - Sept 10, 2013
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/guard/guard-minitest/compare/v1.1.0...v1.2.0)
|
8
|
+
|
9
|
+
### Improvement
|
10
|
+
|
11
|
+
* [#81][] Clears memoized test files on additions and removals. ([@pschyska][])
|
4
12
|
|
5
13
|
## 1.1.0 - Aug 19, 2013
|
6
14
|
|
@@ -183,6 +191,7 @@ First stable release.
|
|
183
191
|
[#72]: https://github.com/guard/guard-minitest/issues/72
|
184
192
|
[#73]: https://github.com/guard/guard-minitest/issues/73
|
185
193
|
[#77]: https://github.com/guard/guard-minitest/issues/77
|
194
|
+
[#81]: https://github.com/guard/guard-minitest/issues/81
|
186
195
|
[@aflock]: https://github.com/aflock
|
187
196
|
[@arronmabrey]: https://github.com/arronmabrey
|
188
197
|
[@aspiers]: https://github.com/aspiers
|
@@ -193,6 +202,7 @@ First stable release.
|
|
193
202
|
[@kejadlen]: https://github.com/kejadlen
|
194
203
|
[@leemhenson]: https://github.com/leemhenson
|
195
204
|
[@manewitz]: https://github.com/manewitz
|
205
|
+
[@pschyska]: https://github.com/pschyska
|
196
206
|
[@psyho]: https://github.com/psyho
|
197
207
|
[@rafmagana]: https://github.com/rafmagana
|
198
208
|
[@rymai]: https://github.com/rymai
|
@@ -201,4 +211,4 @@ First stable release.
|
|
201
211
|
[@sbrink]: https://github.com/sbrink
|
202
212
|
[@sometimesfood]: https://github.com/sometimesfood
|
203
213
|
[@statianzo]: https://github.com/statianzo
|
204
|
-
[@yannlugrin]: https://github.com/yannlugrin
|
214
|
+
[@yannlugrin]: https://github.com/yannlugrin
|
data/README.md
CHANGED
@@ -110,6 +110,12 @@ Please note that notification are currently disabled when using Zeus, if
|
|
110
110
|
you're interested in adding notification support for Zeus, please
|
111
111
|
[open a new issue](https://github.com/guard/guard-minitest/issues/new).
|
112
112
|
|
113
|
+
If your test helper matches the test_file_patterns, it can lead to problems
|
114
|
+
as guard-minitest will submit the test helper itself to the zeus test
|
115
|
+
command when running all tests. For example, if the test helper is
|
116
|
+
called ``test/test_helper.rb`` it will match ``test_*.rb``. In this case you can
|
117
|
+
either change the test_file_patterns or rename the test helper.
|
118
|
+
|
113
119
|
```ruby
|
114
120
|
guard :minitest, :zeus => true do
|
115
121
|
# ...
|
data/lib/guard/minitest.rb
CHANGED
@@ -42,6 +42,15 @@ module Guard
|
|
42
42
|
@runner.run(paths)
|
43
43
|
end
|
44
44
|
|
45
|
+
def run_on_additions(paths)
|
46
|
+
@inspector.clear_memoized_test_files
|
47
|
+
@runner.run(paths)
|
48
|
+
end
|
49
|
+
|
50
|
+
def run_on_removals(paths)
|
51
|
+
@inspector.clear_memoized_test_files
|
52
|
+
end
|
53
|
+
|
45
54
|
private
|
46
55
|
|
47
56
|
def _minitest_version
|
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.2.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-
|
12
|
+
date: 2013-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.0.
|
97
|
+
rubygems_version: 2.0.7
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Guard gem for the Minitest framework
|