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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16d572edb9cdb00a07a99b704827fb841012d285
4
- data.tar.gz: aa1a6427984a9fb65db74d79e85e84c9178d3f31
3
+ metadata.gz: 72268354f10869740f3299772b21f036e1f303a6
4
+ data.tar.gz: dc8fd876cbbb0182c217280e748600a80fc39aac
5
5
  SHA512:
6
- metadata.gz: e0f4fcc3ed8b5040330514de9ef1fbb38db4f1ee77627acdd7423eb67ca583fdfb4fce2b35e0f3c8df56a326504deda073079bd2c308b98869fddcb0f88487c3
7
- data.tar.gz: e7d0ff3b38b8bcfc0ead4e5ddef8ea52a1d7d030e5fc4200bd20ee26330fa619b2b7bc44af95c158b6c7f7cbbb342d97ba959bce23fc3974715ff7bf3a7a46ba
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
 
@@ -13,9 +13,9 @@ module Guard
13
13
  require_relative 'jruby-minitest/reloaders/test_paths_reloader'
14
14
 
15
15
  class << self
16
- attr_accessor :reloaders
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'
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module JRubyMinitestVersion
3
- VERSION = "0.1.4"
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
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
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-06-27 00:00:00.000000000 Z
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest