guard-test 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +11 -4
- data/README.md +1 -1
- data/lib/guard/test/guard_test_runner.rb +3 -8
- data/lib/guard/test/version.rb +1 -1
- metadata +11 -10
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 0.4.1 - November 3, 2011 - ([@rymai][])
|
2
|
+
|
3
|
+
### Bugs fixes:
|
4
|
+
|
5
|
+
- [#18](https://github.com/guard/guard-test/issues/18): Fixed a conflict with test_benchmark that was preventing guard-test from running.
|
6
|
+
- [#11](https://github.com/guard/guard-test/issues/11): Fixed a "No such file to load -- guard/notifier" when running guard without bundler.
|
7
|
+
|
1
8
|
## 0.4.0 - September 29, 2011 - ([@rymai][])
|
2
9
|
|
3
10
|
### Regression:
|
@@ -12,11 +19,11 @@
|
|
12
19
|
|
13
20
|
### New feature:
|
14
21
|
|
15
|
-
-
|
22
|
+
- [#13](https://github.com/guard/guard-test/issues/13): New `test_paths` option to look for test files under other paths than `test`. ([@Ask11][])
|
16
23
|
|
17
24
|
### Improvement:
|
18
25
|
|
19
|
-
-
|
26
|
+
- [#15](https://github.com/guard/guard-test/issues/15): Simplify some checks. ([@dasch][])
|
20
27
|
|
21
28
|
## 0.3.0 - June 14, 2011
|
22
29
|
|
@@ -75,7 +82,7 @@
|
|
75
82
|
|
76
83
|
### Bugs fix:
|
77
84
|
|
78
|
-
-
|
85
|
+
- [#2](https://github.com/guard/guard-test/issues/2): Fixed a bug introduced in 0.1.5 where test/ was not added to the $LOAD_PATH. (reported by [@jgrau][], fixed by [@rymai][])
|
79
86
|
|
80
87
|
## 0.1.5 - January 21, 2011 - ([@rymai][])
|
81
88
|
|
@@ -85,7 +92,7 @@
|
|
85
92
|
|
86
93
|
### Bugs fix:
|
87
94
|
|
88
|
-
-
|
95
|
+
- [#1](https://github.com/guard/guard-test/pull/1): Include errors count to determine the "flag" to display in notification. ([@gregorymostizky][])
|
89
96
|
|
90
97
|
[@Ask11]: https://github.com/Ask11
|
91
98
|
[@dasch]: https://github.com/dasch
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Guard::Test [![Build Status](https://secure.travis-ci.org/guard/guard-test.png)](http://travis-ci.org/guard/guard-test)
|
1
|
+
# Guard::Test [![Build Status](https://secure.travis-ci.org/guard/guard-test.png?branch=master)](http://travis-ci.org/guard/guard-test)
|
2
2
|
|
3
3
|
Test::Unit guard allows to automatically & intelligently launch tests when files are modified or created.
|
4
4
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
$:.push File.expand_path('
|
2
|
+
$:.push File.expand_path('../', __FILE__)
|
3
3
|
|
4
4
|
require 'test/unit/ui/console/testrunner'
|
5
|
-
require '
|
5
|
+
require 'notifier'
|
6
6
|
|
7
7
|
# Thanks to Adam Sanderson for the really good starting point:
|
8
8
|
# http://endofline.wordpress.com/2008/02/11/a-custom-testrunner-to-scratch-an-itch/
|
@@ -26,14 +26,9 @@ module Guard
|
|
26
26
|
@mediator = ::Test::Unit::UI::TestRunnerMediator.new(@suite)
|
27
27
|
end
|
28
28
|
|
29
|
-
def started(result)
|
30
|
-
@result = result
|
31
|
-
nl
|
32
|
-
end
|
33
|
-
|
34
29
|
def finished(elapsed_time)
|
35
30
|
super
|
36
|
-
Guard::TestNotifier.notify(@result, elapsed_time)
|
31
|
+
::Guard::TestNotifier.notify(@result, elapsed_time)
|
37
32
|
nl
|
38
33
|
end
|
39
34
|
|
data/lib/guard/test/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-03 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
16
|
-
requirement: &
|
16
|
+
requirement: &2155160420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.4'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2155160420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: test-unit
|
27
|
-
requirement: &
|
27
|
+
requirement: &2155159760 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '2.2'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2155159760
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2155159080 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2155159080
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &2155158480 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '2.6'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2155158480
|
58
58
|
description: Guard::Test automatically run your tests on file modification.
|
59
59
|
email:
|
60
60
|
- rymai@rymai.me
|
@@ -103,3 +103,4 @@ signing_key:
|
|
103
103
|
specification_version: 3
|
104
104
|
summary: Guard gem for test-unit 2
|
105
105
|
test_files: []
|
106
|
+
has_rdoc:
|