On Mar 17, 2009, at 19:59, Daniel Berger wrote:
Eric Hodel wrote:
On Mar 17, 2009, at 09:07, Luis Lavena wrote:
On Mon, Mar 16, 2009 at 2:47 PM, Eric Hodel <drbr...@segment7.net>
wrote:
On Mar 14, 2009, at 21:18, Daniel Berger wrote:
I traced this one down (and it's not Windows specific). It looks
like it's
trying to compare a Regexp to a Regexp with the =~ method, which
is illegal.
This is what that particular test to doing:
irb(main):001:0> /\Aa\Z/ =~ /a|b/
TypeError: can't convert Regexp into String
from (irb):1
I'm not sure what the proper behavior is for Gem::Dependency
because it is
poorly documented. So, I don't know if the behavior is wrong or
the test
itself is bad.
Newer minitest fixes some assert_match issues, so I've added a
version check
to the Rakefile. Give it a whirl now.
I had installed 1.3.1 at the time of my test, however, the following
are the results:
MinGW:
http://pastie.org/418794
VC6:
http://pastie.org/418805
Looks much better, but it seems that test_download_local_space
still fails.
The idea was test path with spaces, like Windows paths? because Ruby
URI is not recognizing it as a file source URI.
Or I'm missing something?
A valid URI can't contain a space can it?
irb(main):005:0> URI.parse('/foo/test_rubygems/space path/a-1.gem')
URI::InvalidURIError: bad URI(is not URI?): /foo/test_rubygems/space
path/a-1.gem
from /usr/local/lib/ruby/1.8/uri/common.rb:436:in `split'
from /usr/local/lib/ruby/1.8/uri/common.rb:485:in `parse'
from (irb):5
No, it needs to be encoded:
irb(main):003:0> URI.parse '/space%20path/file.txt'
=> #<URI::Generic:0x2cb19a URL:/space%20path/file.txt>
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers