guard-minitest 2.4.4 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/guard/minitest/runner.rb +1 -1
- data/lib/guard/minitest/templates/Guardfile +1 -1
- 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: 1a166c7df3ef3a00f8b5ef0dfa8fd7b0cf331072
|
4
|
+
data.tar.gz: 3ed64b291641778a32c6883a9360033311e559b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 694c71a678192404b073650ed67c1e9d9fdd7e09bf5f5a52568c0287e90b4fa2884a58f70054af6b97483d90596ddf04ec14f392ca58e9c10851a8b3dd81f7e4
|
7
|
+
data.tar.gz: 567da1d4c72df122c5296f2e2f99a33f79a1f5d87ed4820747a7dfa56de7c92e4a06aa0ddcf5b17c83436df4b097bdc775ca376e4c3e12820987e2e8a01f714c
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Guard::Minitest
|
2
|
-
[](http://badge.fury.io/rb/guard-minitest) [](https://travis-ci.org/guard/guard-minitest) [](https://gemnasium.com/guard/guard-minitest) [](https://codeclimate.com/github/guard/guard-minitest) [](https://coveralls.io/r/guard/guard-minitest)
|
3
3
|
|
4
4
|
Guard::Minitest allows to automatically & intelligently launch tests with the
|
5
5
|
[minitest framework](https://github.com/seattlerb/minitest) when files are modified.
|
@@ -7,6 +7,8 @@ Guard::Minitest allows to automatically & intelligently launch tests with the
|
|
7
7
|
* Compatible with minitest >= 3.0 (optimal support for 5.x).
|
8
8
|
* Tested against Ruby 1.9.3, 2.0.0, JRuby and Rubinius (1.9 mode).
|
9
9
|
|
10
|
+
*IMPORTANT NOTE: `guard-minitest` does not depend on `guard` due to obscure issues - you must either install `guard` first or add it explicitly in your `Gemfile` (see: [#131](https://github.com/guard/guard-minitest/pull/131) for details)*
|
11
|
+
|
10
12
|
## Install
|
11
13
|
|
12
14
|
Please be sure to have [Guard](http://github.com/guard/guard) installed before you continue.
|
@@ -17,6 +19,7 @@ Add Guard::Minitest to your `Gemfile`:
|
|
17
19
|
|
18
20
|
```ruby
|
19
21
|
group :development do
|
22
|
+
gem 'guard' # NOTE: this is necessary in newer versions
|
20
23
|
gem 'guard-minitest'
|
21
24
|
end
|
22
25
|
```
|
@@ -132,7 +132,7 @@ module Guard
|
|
132
132
|
def _run_possibly_bundled_command(paths, all)
|
133
133
|
args = minitest_command(paths, all)
|
134
134
|
bundler_env = !bundler? && defined?(::Bundler)
|
135
|
-
bundler_env ? ::Bundler.
|
135
|
+
bundler_env ? ::Bundler.with_original_env { _run(*args) } : _run(*args)
|
136
136
|
end
|
137
137
|
|
138
138
|
def _commander(paths)
|
@@ -13,7 +13,7 @@ guard :minitest do
|
|
13
13
|
# watch(%r{^app/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
|
14
14
|
# watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
|
15
15
|
# watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
|
16
|
-
# watch(%r{^app/views/(.+)_mailer/.+})
|
16
|
+
# watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
|
17
17
|
# watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
|
18
18
|
# watch(%r{^test/.+_test\.rb$})
|
19
19
|
# watch(%r{^test/test_helper\.rb$}) { 'test' }
|
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.4.
|
4
|
+
version: 2.4.5
|
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:
|
12
|
+
date: 2016-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard-compat
|
@@ -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.4
|
98
|
+
rubygems_version: 2.6.4
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Guard plugin for the Minitest framework
|