guard-minitest 1.0.0 → 1.0.1

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: 995b80fc9bbe1f36e357d615e8c5c9ef4764a1ba
4
- data.tar.gz: fe26daba85b5d946d7e25955eb09f15e4269cbad
3
+ metadata.gz: 35c8dda621de0cd502a5631b63b6e34bf1182e9b
4
+ data.tar.gz: fc7333d1926e37b12d424a97ee70c7ba5289c7ff
5
5
  SHA512:
6
- metadata.gz: 53a925829671d02e86fda68e7a456ae977560e1d7889229fd1b8841ad0ed4c8b1682574a5e9c33ed943bddda33a831c4308799438318101a928c650b1ed86562
7
- data.tar.gz: 1574caa158abb84864c78d2216bc2f48c62db9b3c9a8dcf07633d7f034f3a1af87b185363ca8f81d63a206166791d90b85be2dfa39bfc4172dff0f53d746ad09
6
+ metadata.gz: 1bebdf921e22f29eca464eb2085f1b2ae3575d85b9d503467e0ef12d3c1cf5932110f6e6d444c7fac572f86a6d4f6e483d3a7725dc80e2f01d9351658f24891f
7
+ data.tar.gz: 325024f62be9568883b1f841020a96edcee4d8c323efd3d0aeaa07b4490c9b028f2bb056eb337867cc4660929ae5d1da91765c650fcb6533f469a9efbf309d88
@@ -1,6 +1,15 @@
1
1
  ## Unreleased Changes
2
2
 
3
- [Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0...master)
3
+ [Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.1...master)
4
+
5
+ ## 1.0.1 - Jul 23, 2013
6
+
7
+ [Full Changelog](https://github.com/guard/guard-minitest/compare/v1.0.0...v1.0.1)
8
+
9
+ ### Bug fixes
10
+
11
+ * [#73][] Don't unecessary require 'minitest/autorun'. ([@jakebellacera][], [@rafmagana][] & [@rymai][])
12
+ * [#72][] Don't require `test` with `-Itest` when using DRb. ([@rafmagana][] & [@rymai][])
4
13
 
5
14
  ## 1.0.0 - Jul 10, 2013
6
15
 
@@ -163,15 +172,19 @@ First stable release.
163
172
  [#68]: https://github.com/guard/guard-minitest/issues/68
164
173
  [#69]: https://github.com/guard/guard-minitest/issues/69
165
174
  [#70]: https://github.com/guard/guard-minitest/issues/70
175
+ [#72]: https://github.com/guard/guard-minitest/issues/72
176
+ [#73]: https://github.com/guard/guard-minitest/issues/73
166
177
  [@aflock]: https://github.com/aflock
167
178
  [@arronmabrey]: https://github.com/arronmabrey
168
179
  [@aspiers]: https://github.com/aspiers
169
180
  [@chadoh]: https://github.com/chadoh
170
181
  [@itzki]: https://github.com/itzki
182
+ [@jakebellacera]: https://github.com/jakebellacera
171
183
  [@japgolly]: https://github.com/japgolly
172
184
  [@kejadlen]: https://github.com/kejadlen
173
185
  [@leemhenson]: https://github.com/leemhenson
174
186
  [@manewitz]: https://github.com/manewitz
187
+ [@rafmagana]: https://github.com/rafmagana
175
188
  [@rymai]: https://github.com/rymai
176
189
  [@sbl]: https://github.com/sbl
177
190
  [@sbleon]: https://github.com/sbleon
@@ -8,7 +8,6 @@ module Guard
8
8
  require 'guard/minitest/inspector'
9
9
  require 'guard/minitest/runner'
10
10
  require 'guard/minitest/version'
11
- require 'minitest/autorun'
12
11
 
13
12
  def initialize(watchers = [], options = {})
14
13
  super
@@ -21,7 +20,7 @@ module Guard
21
20
  end
22
21
 
23
22
  def start
24
- UI.info "Guard::Minitest #{MinitestVersion::VERSION} is running, with Minitest::Unit #{::MiniTest::Unit::VERSION}!"
23
+ UI.info "Guard::Minitest #{MinitestVersion::VERSION} is running, with Minitest::Unit #{_minitest_version}!"
25
24
  run_all if @options[:all_on_start]
26
25
  end
27
26
 
@@ -43,5 +42,18 @@ module Guard
43
42
  @runner.run(paths)
44
43
  end
45
44
 
45
+ private
46
+
47
+ def _minitest_version
48
+ @_minitest_version ||= begin
49
+ require 'minitest'
50
+ ::Minitest::VERSION
51
+
52
+ rescue LoadError, NameError
53
+ require 'minitest/unit'
54
+ ::MiniTest::Unit::VERSION
55
+ end
56
+ end
57
+
46
58
  end
47
59
  end
@@ -86,7 +86,7 @@ module Guard
86
86
  end
87
87
 
88
88
  def drb_command(paths)
89
- %w[testdrb -Itest] + relative_paths(paths)
89
+ %w[testdrb] + relative_paths(paths)
90
90
  end
91
91
 
92
92
  def zeus_command(paths)
@@ -1,7 +1,7 @@
1
1
  module Guard
2
2
  class MinitestVersion
3
3
 
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
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: 1.0.0
4
+ version: 1.0.1
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-07-10 00:00:00.000000000 Z
12
+ date: 2013-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard