guard-jruby-minitest 0.1.4 → 0.1.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 +2 -1
- data/lib/guard/jruby-minitest.rb +2 -2
- data/lib/guard/jruby-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: 72268354f10869740f3299772b21f036e1f303a6
|
4
|
+
data.tar.gz: dc8fd876cbbb0182c217280e748600a80fc39aac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b018622530aaeac46cb5d405b079aaa16e753b6dea920880e2b5f10f57d52d55612b934b4bd3da1669e70d208bb38c209c56c8fefed5fcf0a897cbfb0be587
|
7
|
+
data.tar.gz: 678fd6962b3df3b8fd9c0eaf4ed8ec38c79c2f16dbdd971d8672fd4fdf8106878ebc0d8d5fa3d95680b0bff743e8a828e4b6277bc0fd1aece00c0f24cba30eb9
|
data/README.md
CHANGED
@@ -12,12 +12,13 @@ This gem should work with Rails as well as Rack applications.
|
|
12
12
|
|
13
13
|
## Reloaders
|
14
14
|
|
15
|
-
Currently, `guard` runs the following reloaders when part of application is changed:
|
15
|
+
Currently, `guard` runs the following reloaders sequentially when part of application is changed:
|
16
16
|
|
17
17
|
* `AppPathsReloader`: Reloads the application (non-test) code.
|
18
18
|
* `FactoryGirlReloader`: Reloads the `factory_girl` factories.
|
19
19
|
* `RailsReloader`: Reloads the entire application if the application is a Rails app.
|
20
20
|
* `TestPathsReloader`: Reloads the tests. This is the most tricky part because of the way `minitest` run tests.
|
21
|
+
* Your custom reloader, as long as it supports `run` method. You can do so by `Guard::JRubyMinitest.reloaders << YOUR_CUSTOM_RELOADER`
|
21
22
|
|
22
23
|
## Caveats
|
23
24
|
|
data/lib/guard/jruby-minitest.rb
CHANGED
@@ -13,9 +13,9 @@ module Guard
|
|
13
13
|
require_relative 'jruby-minitest/reloaders/test_paths_reloader'
|
14
14
|
|
15
15
|
class << self
|
16
|
-
|
17
|
-
@reloaders = [RailsReloader, AppPathsReloader, FactoryGirlReloader]
|
16
|
+
attr_reader :reloaders
|
18
17
|
end
|
18
|
+
@reloaders = [RailsReloader, AppPathsReloader, FactoryGirlReloader]
|
19
19
|
|
20
20
|
unless Utils.minitest_version_gte_5?
|
21
21
|
require_relative 'jruby-minitest/runners/old_runner'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jruby-minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Xu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|