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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e63896b46638892d2baf185be0cc4f7040120dbe
4
- data.tar.gz: 59f0a5a3939759046ccf70500768e567002a10a5
3
+ metadata.gz: 03fcf735ea315aeea1180da2950b3a10c51d3d93
4
+ data.tar.gz: 374bb02df4b1f3331f436ad951ec398d5dd1b700
5
5
  SHA512:
6
- metadata.gz: b08537a1c6899ac67750e7395bec5aeb8b02d7b441c563241690d9b42871a26a9d4c31a3044841794879caec4e529a8acbf6cc315be616eb3e321488584e618b
7
- data.tar.gz: decb9b121ee3b71496b45c3b6378a4f29699dfaa6550ecfe15fcf1cec19cc6e5dd5219daf7ff4e79a65bd0bcc2046bac494b5f886c2ec595d094f97138281291
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 haved removed to [spring-commands-testunit](https://github.com/jonleighton/spring-commands-testunit), if you are using
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 defined?(::Bundler)
34
- ::Bundler.with_clean_env do
35
- system(minitest_command(paths))
36
- end
37
- else
38
- system(minitest_command(paths))
39
- end
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.
@@ -1,7 +1,7 @@
1
1
  module Guard
2
2
  class MinitestVersion
3
3
 
4
- VERSION = '2.1.2'
4
+ VERSION = '2.1.3'
5
5
 
6
6
  end
7
7
  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: 2.1.2
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-11-21 00:00:00.000000000 Z
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.1.10
98
+ rubygems_version: 2.0.3
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Guard plugin for the Minitest framework