rubygems-test 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +6 -0
- data/Rakefile +1 -1
- data/lib/rubygems/commands/test_command.rb +6 -5
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 0.2.5 / 1/15/2011
|
2
|
+
|
3
|
+
* use the input record separator instead of straight newlines - windows!
|
4
|
+
|
5
|
+
* Yyyyyyyyyyeah. So 0.2.4 wasn't able to upload results at all.
|
6
|
+
|
1
7
|
=== 0.2.4 / 1/13/2011
|
2
8
|
|
3
9
|
* Better I/O loop and terminal handling; test/unit dots should appear as they
|
data/Rakefile
CHANGED
@@ -236,7 +236,7 @@ class Gem::Commands::TestCommand < Gem::Command
|
|
236
236
|
stderr_buf = ""
|
237
237
|
|
238
238
|
loop do
|
239
|
-
|
239
|
+
tmp_output = ""
|
240
240
|
handles = [stderr, stdout]
|
241
241
|
bufs, handles = reader_proc.call(handles)
|
242
242
|
|
@@ -245,16 +245,17 @@ class Gem::Commands::TestCommand < Gem::Command
|
|
245
245
|
# "flushes" immediately. and by "flush" I mean "concatenates".
|
246
246
|
if bufs.has_key?(stderr)
|
247
247
|
stderr_buf += bufs[stderr]
|
248
|
-
buf_ary = stderr_buf.split(
|
248
|
+
buf_ary = stderr_buf.split($/)
|
249
249
|
if buf_ary.length > 1
|
250
|
-
|
250
|
+
tmp_output += buf_ary[0..-2].join($/) + $/
|
251
251
|
stderr_buf = buf_ary[-1]
|
252
252
|
end
|
253
253
|
end
|
254
254
|
|
255
|
-
|
255
|
+
tmp_output += bufs[stdout] if bufs.has_key?(stdout)
|
256
256
|
|
257
|
-
print
|
257
|
+
print tmp_output
|
258
|
+
output += tmp_output
|
258
259
|
break if handles.empty?
|
259
260
|
end
|
260
261
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 5
|
9
|
+
version: 0.2.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Erik Hollensbe
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-15 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|