ZenTest 4.4.1 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -0
- data/History.txt +7 -0
- data/lib/autotest.rb +26 -0
- data/lib/unit_diff.rb +3 -1
- data/lib/zentest.rb +1 -1
- metadata +31 -24
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
data/History.txt
CHANGED
data/lib/autotest.rb
CHANGED
@@ -195,6 +195,32 @@ class Autotest
|
|
195
195
|
def self.autodiscover
|
196
196
|
require 'rubygems'
|
197
197
|
|
198
|
+
# *sigh*
|
199
|
+
#
|
200
|
+
# This is needed for rspec's hacky discovery mechanism. For some
|
201
|
+
# reason rspec2 added generators that create
|
202
|
+
# "autotest/discover.rb" right in the project directory instead of
|
203
|
+
# keeping it in the rspec gem and properly deciding that the
|
204
|
+
# project is an rspec based project or not. See the url for more
|
205
|
+
# details:
|
206
|
+
#
|
207
|
+
# http://rubyforge.org/tracker/?func=detail&atid=1678&aid=28775&group_id=419
|
208
|
+
#
|
209
|
+
# For the record, the sane way to do it is the bacon way:
|
210
|
+
#
|
211
|
+
# "Since version 1.0, there is autotest support. You need to tag
|
212
|
+
# your test directories (test/ or spec/) by creating an .bacon
|
213
|
+
# file there. Autotest then will find it."
|
214
|
+
#
|
215
|
+
# I'm submitting a counter-patch to rspec to fix stuff properly,
|
216
|
+
# but for now I'm stuck with this because their brokenness is
|
217
|
+
# documented in multiple books.
|
218
|
+
#
|
219
|
+
# I'm removing this code once a sane rspec goes out.
|
220
|
+
|
221
|
+
hacky_discovery = Gem.source_index.gems.any? { |n,_| n =~ /^rspec/ }
|
222
|
+
$: << '.' if hacky_discovery
|
223
|
+
|
198
224
|
Gem.find_files("autotest/discover").each do |f|
|
199
225
|
load f
|
200
226
|
end
|
data/lib/unit_diff.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'tempfile'
|
2
|
+
require 'rbconfig'
|
2
3
|
|
3
4
|
##
|
4
5
|
# UnitDiff makes reading Test::Unit output easy and fun. Instead of a
|
@@ -37,7 +38,8 @@ require 'tempfile'
|
|
37
38
|
|
38
39
|
class UnitDiff
|
39
40
|
|
40
|
-
WINDOZE =
|
41
|
+
WINDOZE = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
42
|
+
|
41
43
|
DIFF = if WINDOZE
|
42
44
|
'diff.exe'
|
43
45
|
else
|
data/lib/zentest.rb
CHANGED
metadata
CHANGED
@@ -5,37 +5,44 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 4
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 4.4.
|
8
|
+
- 2
|
9
|
+
version: 4.4.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ryan Davis
|
13
13
|
- Eric Hodel
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
|
-
cert_chain:
|
16
|
+
cert_chain:
|
17
|
+
- |
|
18
|
+
-----BEGIN CERTIFICATE-----
|
19
|
+
MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
20
|
+
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
21
|
+
GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
|
22
|
+
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
23
|
+
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
24
|
+
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
25
|
+
taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
|
26
|
+
oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
|
27
|
+
GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
|
28
|
+
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
29
|
+
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
30
|
+
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
31
|
+
AQAY59gYvDxqSqgC92nAP9P8dnGgfZgLxP237xS6XxFGJSghdz/nI6pusfCWKM8m
|
32
|
+
vzjjH2wUMSSf3tNudQ3rCGLf2epkcU13/rguI88wO6MrE0wi4ZqLQX+eZQFskJb/
|
33
|
+
w6x9W1ur8eR01s397LSMexySDBrJOh34cm2AlfKr/jokKCTwcM0OvVZnAutaovC0
|
34
|
+
l1SVZ0ecg88bsWHA0Yhh7NFxK1utWoIhtB6AFC/+trM0FQEB/jZkIS8SaNzn96Rl
|
35
|
+
n0sZEf77FLf5peR8TP/PtmIg7Cyqz23sLM4mCOoTGIy5OcZ8TdyiyINUHtb5ej/T
|
36
|
+
FBHgymkyj/AOSqKRIpXPhjC6
|
37
|
+
-----END CERTIFICATE-----
|
17
38
|
|
18
|
-
date: 2010-12-
|
39
|
+
date: 2010-12-10 00:00:00 -08:00
|
19
40
|
default_executable:
|
20
41
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: rubyforge
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 0
|
31
|
-
- 4
|
32
|
-
version: 2.0.4
|
33
|
-
type: :development
|
34
|
-
version_requirements: *id001
|
35
42
|
- !ruby/object:Gem::Dependency
|
36
43
|
name: minitest
|
37
44
|
prerelease: false
|
38
|
-
requirement: &
|
45
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
39
46
|
requirements:
|
40
47
|
- - ">="
|
41
48
|
- !ruby/object:Gem::Version
|
@@ -45,21 +52,21 @@ dependencies:
|
|
45
52
|
- 0
|
46
53
|
version: 2.0.0
|
47
54
|
type: :development
|
48
|
-
version_requirements: *
|
55
|
+
version_requirements: *id001
|
49
56
|
- !ruby/object:Gem::Dependency
|
50
57
|
name: hoe
|
51
58
|
prerelease: false
|
52
|
-
requirement: &
|
59
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
53
60
|
requirements:
|
54
61
|
- - ">="
|
55
62
|
- !ruby/object:Gem::Version
|
56
63
|
segments:
|
57
64
|
- 2
|
58
|
-
-
|
65
|
+
- 8
|
59
66
|
- 0
|
60
|
-
version: 2.
|
67
|
+
version: 2.8.0
|
61
68
|
type: :development
|
62
|
-
version_requirements: *
|
69
|
+
version_requirements: *id002
|
63
70
|
description: |-
|
64
71
|
ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
|
65
72
|
multiruby.
|
metadata.gz.sig
ADDED
Binary file
|