guard-minitest 2.4.5 → 2.4.6

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: 1a166c7df3ef3a00f8b5ef0dfa8fd7b0cf331072
4
- data.tar.gz: 3ed64b291641778a32c6883a9360033311e559b6
3
+ metadata.gz: f9412f8986710c9d971b9a9fa7ad8a018e166df7
4
+ data.tar.gz: ebbd7d98729ada3332ad928ef20bc17c181df786
5
5
  SHA512:
6
- metadata.gz: 694c71a678192404b073650ed67c1e9d9fdd7e09bf5f5a52568c0287e90b4fa2884a58f70054af6b97483d90596ddf04ec14f392ca58e9c10851a8b3dd81f7e4
7
- data.tar.gz: 567da1d4c72df122c5296f2e2f99a33f79a1f5d87ed4820747a7dfa56de7c92e4a06aa0ddcf5b17c83436df4b097bdc775ca376e4c3e12820987e2e8a01f714c
6
+ metadata.gz: d85974d3af70a9f5140b5afda8467888dd80250248f3a8a35c659f916f841aa6e41c4242c1a62e87467e454d085f4e93b12af1806a5e9c9a4a54948b9c5bfb19
7
+ data.tar.gz: b2ce5b6f90e0dac076ca42d523e0ebf4cd348d323d4e869b76c2f0ad38fdc23478e7a94006483bf55eed64564f1f5c0694bd56e00a5d529b2975703b92c31717
@@ -193,6 +193,7 @@ module Guard
193
193
  cmd_parts << '-e ""'
194
194
 
195
195
  cmd_parts << '--'
196
+ cmd_parts << '--guard'
196
197
  cmd_parts += cli_options
197
198
  cmd_parts
198
199
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class MinitestVersion
3
- VERSION = '2.4.5'
3
+ VERSION = '2.4.6'
4
4
  end
5
5
  end
@@ -1,19 +1,24 @@
1
- require 'guard/minitest/utils'
1
+ module Minitest
2
+ def self.plugin_guard_minitest_options(opts, options) # :nodoc:
3
+ opts.on '--guard', 'Run with guard plugin enabled' do
4
+ options[:guard] = true
5
+ end
6
+ end
2
7
 
3
- # Require guard unless we're using guard-minitest to test a guard plugin
4
- require 'guard' unless Dir['guard-*.gemspec'].any?
8
+ def self.plugin_guard_minitest_init(options) # :nodoc:
9
+ return unless options[:guard]
5
10
 
6
- if ::Guard::Minitest::Utils.minitest_version_gte_5_0_4?
7
- require 'guard/minitest/reporter'
8
- else
9
- require 'guard/minitest/reporters/old_reporter'
10
- end
11
+ require 'guard/minitest/utils'
11
12
 
12
- module Minitest
13
- def self.plugin_guard_minitest_options(_opts, _options) # :nodoc:
14
- end
13
+ # Require guard unless we're using guard-minitest to test a guard plugin
14
+ require 'guard' unless Dir['guard-*.gemspec'].any?
15
+
16
+ if ::Guard::Minitest::Utils.minitest_version_gte_5_0_4?
17
+ require 'guard/minitest/reporter'
18
+ else
19
+ require 'guard/minitest/reporters/old_reporter'
20
+ end
15
21
 
16
- def self.plugin_guard_minitest_init(_options) # :nodoc:
17
22
  reporter << ::Guard::Minitest::Reporter.new
18
23
  end
19
24
  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.4.5
4
+ version: 2.4.6
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: 2016-06-05 00:00:00.000000000 Z
12
+ date: 2016-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard-compat