guard-minitest 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/guard/minitest/runner.rb +11 -7
- 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: 03fcf735ea315aeea1180da2950b3a10c51d3d93
|
4
|
+
data.tar.gz: 374bb02df4b1f3331f436ad951ec398d5dd1b700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74e3e84be1e2643cd5f2e12c878e4972d708f9930dabbf8b9aeb78ec22c36cccedf282a04744ab045cfacabf7b6e2159a9fbc7455c0c6ff06f4eb7b2443fb795
|
7
|
+
data.tar.gz: 8f67befd05e5da8f3309a468b5e4ec901f90429abf581a1b7b02b92b9adf7c207b2516ff8a1ecf14527add07d3acc5918eb2d2188d8443bcaead5864140a880e
|
data/README.md
CHANGED
@@ -129,7 +129,7 @@ guard :minitest, spring: true do
|
|
129
129
|
end
|
130
130
|
```
|
131
131
|
|
132
|
-
From `spring 0.9.1`, `spring testunit` command
|
132
|
+
From `spring 0.9.1`, `spring testunit` command has been moved to [spring-commands-testunit](https://github.com/jonleighton/spring-commands-testunit). If you are using
|
133
133
|
rails >=4.0 and spring >=0.9.1
|
134
134
|
|
135
135
|
```ruby
|
@@ -30,13 +30,17 @@ module Guard
|
|
30
30
|
message = options[:message] || "Running: #{paths.join(' ')}"
|
31
31
|
UI.info message, reset: true
|
32
32
|
|
33
|
-
status = if
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
status = if bundler?
|
34
|
+
system(minitest_command(paths))
|
35
|
+
else
|
36
|
+
if defined?(::Bundler)
|
37
|
+
::Bundler.with_clean_env do
|
38
|
+
system(minitest_command(paths))
|
39
|
+
end
|
40
|
+
else
|
41
|
+
system(minitest_command(paths))
|
42
|
+
end
|
43
|
+
end
|
40
44
|
|
41
45
|
# When using zeus or spring, the Guard::Minitest::Reporter can't be used because the minitests run in another
|
42
46
|
# process, but we can use the exit status of the client process to distinguish between :success and :failed.
|
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: 2.1.
|
4
|
+
version: 2.1.3
|
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-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.0.3
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Guard plugin for the Minitest framework
|