Skip to content

Commit 24c43fb

Browse files
committed
hopefully there's no need to hack around rake (anymore)
1 parent 60cc870 commit 24c43fb

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

rakelib/02-test.rake

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -126,22 +126,3 @@ end
126126
#task :test_sybase_jtds => :test_sybase # alias
127127
#test_task_for :Sybase, :name => 'sybase_jconnect',
128128
# :desc => "Run tests against Sybase (ensure jConnect driver is on class-path)"
129-
130-
Rake::TraceOutput.module_eval do
131-
132-
# NOTE: avoid TypeError: String can't be coerced into Fixnum
133-
# due this method getting some strings == [ 1 ] argument ...
134-
def trace_on(out, *strings)
135-
sep = $\ || "\n"
136-
if strings.empty?
137-
output = sep
138-
else
139-
output = strings.map { |s|
140-
next if s.nil?; s = s.to_s
141-
s =~ /#{sep}$/ ? s : s + sep
142-
}.join
143-
end
144-
out.print(output)
145-
end
146-
147-
end

0 commit comments

Comments
 (0)