ZenTest 4.2.1 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,16 @@
1
+ === 4.3.0 / 2010-03-27
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Added gemcutter rubyforge and hoe to the_usual setup
6
+
7
+ * 4 bug fixes:
8
+
9
+ * 1.9 compat: don't use putc anymore. (fistfvck (hah!))
10
+ * Added note that included articles are out of date
11
+ * Fixed rcov plugin so multiple all_good hooks can coexist
12
+ * Fixed typo in doco
13
+
1
14
  === 4.2.1 / 2009-12-09
2
15
 
3
16
  * 1 minor enhancement:
@@ -9,6 +9,7 @@ Testing</title>
9
9
  </head>
10
10
  <body>
11
11
  <div class="content">
12
+ <h1>NOTE: This article was written in 2007. It is out of date.</h1>
12
13
  <h1 style="text-align: center;">Getting started with Autotest -
13
14
  Continuous Testing</h1>
14
15
  <div id="abstract" class="Abstract">
@@ -474,7 +475,7 @@ suite for any change by adding the following code to your
474
475
  #
475
476
  class Autotest
476
477
 
477
- def tests_files_for(filename)
478
+ def test_files_for(filename)
478
479
  return Dir["test/**/*.rb"]
479
480
  end
480
481
 
@@ -17,7 +17,7 @@ ARGV.each do |spec|
17
17
  when "the_usual" then # TODO: update #help
18
18
  ARGV.push(*Multiruby::TAGS.map { |v| "mri:tar:#{v.gsub(/_/, '.')}" })
19
19
  ARGV << "build" << "update:rubygems"
20
- system "multigem install --no-ri --no-rdoc rake minitest ZenTest"
20
+ system "multigem install --no-ri --no-rdoc rake minitest ZenTest gemcutter rubyforge hoe"
21
21
  when "build" then
22
22
  Multiruby.build_and_install
23
23
  when "clean" then
@@ -243,7 +243,7 @@ class Autotest
243
243
  open("| #{cmd}", "r") do |f|
244
244
  until f.eof? do
245
245
  c = f.getc or break
246
- putc c
246
+ print c
247
247
  line << c
248
248
  if c == ?\n then
249
249
  self.results << if RUBY_VERSION >= "1.9" then
@@ -302,6 +302,7 @@ class Autotest
302
302
  f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)
303
303
  f = f.map { |path| path.split(/_|(\d+)/).map { |seg| seg.capitalize }.join }
304
304
  f = f.map { |path| path =~ /^Test/ ? path : "Test#{path}" }
305
+
305
306
  f.join('::')
306
307
  end
307
308
 
@@ -575,6 +576,7 @@ class Autotest
575
576
 
576
577
  def add_exception regexp
577
578
  raise "exceptions already compiled" if defined? @exceptions
579
+
578
580
  @exception_list << regexp
579
581
  nil
580
582
  end
@@ -11,6 +11,7 @@ module Autotest::RCov
11
11
 
12
12
  Autotest.add_hook :all_good do |at|
13
13
  system "rake #{@@command} PATTERN=#{@@pattern}"
14
+ false
14
15
  end
15
16
 
16
17
  Autotest.add_hook :initialize do |at|
@@ -53,7 +53,7 @@ end
53
53
 
54
54
  class ZenTest
55
55
 
56
- VERSION = '4.2.1'
56
+ VERSION = '4.3.0'
57
57
 
58
58
  include ZenTestMapping
59
59
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZenTest
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ prerelease: false
5
+ segments:
6
+ - 4
7
+ - 3
8
+ - 0
9
+ version: 4.3.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ryan Davis
@@ -31,19 +36,51 @@ cert_chain:
31
36
  FBHgymkyj/AOSqKRIpXPhjC6
32
37
  -----END CERTIFICATE-----
33
38
 
34
- date: 2009-12-09 00:00:00 -08:00
39
+ date: 2010-03-27 00:00:00 -07:00
35
40
  default_executable:
36
41
  dependencies:
37
42
  - !ruby/object:Gem::Dependency
38
- name: hoe
43
+ name: rubyforge
44
+ prerelease: false
45
+ requirement: &id001 !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ segments:
50
+ - 2
51
+ - 0
52
+ - 3
53
+ version: 2.0.3
54
+ type: :development
55
+ version_requirements: *id001
56
+ - !ruby/object:Gem::Dependency
57
+ name: minitest
58
+ prerelease: false
59
+ requirement: &id002 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 1
65
+ - 5
66
+ - 0
67
+ version: 1.5.0
39
68
  type: :development
40
- version_requirement:
41
- version_requirements: !ruby/object:Gem::Requirement
69
+ version_requirements: *id002
70
+ - !ruby/object:Gem::Dependency
71
+ name: hoe
72
+ prerelease: false
73
+ requirement: &id003 !ruby/object:Gem::Requirement
42
74
  requirements:
43
75
  - - ">="
44
76
  - !ruby/object:Gem::Version
45
- version: 2.4.0
46
- version:
77
+ segments:
78
+ - 2
79
+ - 6
80
+ - 0
81
+ version: 2.6.0
82
+ type: :development
83
+ version_requirements: *id003
47
84
  description: |-
48
85
  ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
49
86
  multiruby.
@@ -131,18 +168,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
168
  requirements:
132
169
  - - ">="
133
170
  - !ruby/object:Gem::Version
171
+ segments:
172
+ - 0
134
173
  version: "0"
135
- version:
136
174
  required_rubygems_version: !ruby/object:Gem::Requirement
137
175
  requirements:
138
176
  - - ">="
139
177
  - !ruby/object:Gem::Version
178
+ segments:
179
+ - 0
140
180
  version: "0"
141
- version:
142
181
  requirements: []
143
182
 
144
183
  rubyforge_project: zentest
145
- rubygems_version: 1.3.5
184
+ rubygems_version: 1.3.6
146
185
  signing_key:
147
186
  specification_version: 3
148
187
  summary: "ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby"
metadata.gz.sig CHANGED
Binary file