[Rubygems-developers] 1.3.2?

Berger, Daniel Daniel.Berger at qwest.com
Thu Mar 12 11:23:36 EDT 2009


> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org 
> [mailto:rubygems-developers-bounces at rubyforge.org] On Behalf 
> Of Luis Lavena
> Sent: Thursday, March 12, 2009 7:21 AM
> To: rubygems-developers at rubyforge.org
> Subject: Re: [Rubygems-developers] 1.3.2?
> 
> On Thu, Mar 12, 2009 at 7:20 AM, Daniel Berger 
> <djberg96 at gmail.com> wrote:
> > Hi,
> >
> > I think we have enough patches in place that we ought to consider a 
> > 1.3.2 release soon.
> >
> > Is there anything in limbo that needs fixing first besides 
> --destdir?
> >
> 
> Yeah, the new =~ comparison implemented is not passing test 
> under MinGW:
> 
> http://rubyforge.org/pipermail/rubygems-developers/2009-Januar
> y/004346.html
> 
> Didn't had time to check those.
> 
> I can provide MinGW binaries if you want.

Ok, it also looks like we have some new test failures on Windows. This is Ruby 1.8.6-p114 on Windows XP Pro.

C:\Documents and Settings\djberge\workspace\rubygems>rake test
(in C:/Documents and Settings/djberge/workspace/rubygems)
Loaded suite C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader
Started
.............................................................................C:/ruby/lib/ruby/site_r
uby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialized
C:/ruby/lib/ruby/site_ruby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialize
d
C:/ruby/lib/ruby/site_ruby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialize
d
...............................................C:/ruby/lib/ruby/1.8/rdoc/parsers/parse_c.rb:204: war
ning: method redefined; discarding old progress
.F..................................................................................E..F..F....F....
................................................S.............................F........S............
...S...................................S............................................................
....E...............................................................................................
....................................................................................................
....................................................................................................
.............................
Finished in 475.747000 seconds.

  1) Failure:
test_no_user_install(TestGemCommandsInstallCommand) [./test/test_gem_commands_install_command.rb:122
]:
<[Gem::FilePermissionError]> exception expected, not
Class: <Gem::SystemExitException>
Message: <"Exiting RubyGems with exit_code 0">
---Backtrace---
C:/Documents and Settings/djberge/workspace/rubygems/test/../lib/rubygems/commands/install_command.r
b:124:in `execute'
./test/test_gem_commands_install_command.rb:123:in `test_no_user_install'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:133:in `assert_raises'
./test/test_gem_commands_install_command.rb:122:in `test_no_user_install'
C:/Documents and Settings/djberge/workspace/rubygems/lib/rubygems/user_interaction.rb:42:in `use_ui'

C:/Documents and Settings/djberge/workspace/rubygems/lib/rubygems/user_interaction.rb:65:in `use_ui'

./test/test_gem_commands_install_command.rb:115:in `test_no_user_install'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `__send__'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `run'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:400:in `run_test_suites'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `each'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `run_test_suites'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `each'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `run_test_suites'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:373:in `run'
C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:317:in `autorun'
C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb:5
---------------.
Expected [Gem::FilePermissionError] to include Gem::SystemExitException.

  2) Error:
test_equals_tilde_escape(TestGemDependency):
TypeError: can't convert Regexp into String
    C:/Documents and Settings/djberge/workspace/rubygems/lib/rubygems/dependency.rb:124:in `=~'
    C:/Documents and Settings/djberge/workspace/rubygems/lib/rubygems/dependency.rb:124:in `=~'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:116:in `assert_match'
    ./test/test_gem_dependency.rb:128:in `test_equals_tilde_escape'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `__send__'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `run'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:400:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `each'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `each'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:373:in `run'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:317:in `autorun'
    C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb:5

  3) Failure:
test_equals_tilde_object(TestGemDependency) [./test/test_gem_dependency.rb:139]:
match version exact.
Expected #<Object:0x2db8d58> to match Gem::Dependency.new("a", Gem::Requirement.new([">= 0"]), :runt
ime).

  4) Failure:
test_equals_tilde_spec(TestGemDependency) [./test/test_gem_dependency.rb:158]:
match version exact.
Expected Gem::Specification.new do |s|
  s.date = Time.utc(2009, 3, 12)
  s.name = "a"
  s.require_paths = ["lib"]
  s.rubygems_version = "1.3.1.2403"
  s.specification_version = 3
  s.summary = nil
  s.version = Gem::Version.new("0")
  end to match Gem::Dependency.new("a", Gem::Requirement.new([">= 0"]), :runtime).

  5) Failure:
test_equals_tilde(TestGemDependency) [./test/test_gem_dependency.rb:112]:
match version exact.
Expected Gem::Dependency.new("a", Gem::Requirement.new(["= 0"]), :runtime) to match Gem::Dependency.
new("a", Gem::Requirement.new([">= 0"]), :runtime).

  7) Failure:
test_generate_index(TestGemIndexer) [./test/test_gem_indexer.rb:241]:
Expected "<?xml version=\"1.0\"?>\n<rss version=\"2.0\">\n  <channel>\n    <title>ExampleForge gems<
/title>\n    <link>http://example.com</link>\n    <description>Recently released gems from http://ex
ample.com</description>\n    <generator>RubyGems v1.3.1.2403</generator>\n    <docs>http://cyber.law
.harvard.edu/rss/rss.html</docs>\n    <item>\n      <title>a-2</title>\n      <description>This is a
 test description</description>\n      <author>example at example.com (A User)</author>\n      <guid>a-
2</guid>\n      <enclosure url=\"http://gems.example.com/gems/a-2.gem\"\n                 length=\"3
072\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>
\n      <link>http://example.com</link>\n    </item>\n    <item>\n      <title>a_evil-9</title>\n
   <description>This is a test description</description>\n      <author>example at example.com (A User)
</author>\n      <guid>a_evil-9</guid>\n      <enclosure url=\"http://gems.example.com/gems/a_evil-9
.gem\"\n                 length=\"3072\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 1
2 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http://example.com</link>\n    </item>\n    <item>\
n      <title>b-2</title>\n      <description>This is a test description</description>\n      <autho
r>example at example.com (A User)</author>\n      <guid>b-2</guid>\n      <enclosure url=\"http://gems.
example.com/gems/b-2.gem\"\n                 length=\"3072\" type=\"application/octet-stream\" />\n
     <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http://example.com</link>\n
</item>\n    <item>\n      <title>c-1.2</title>\n      <description>This is a test description</desc
ription>\n      <author>example at example.com (A User)</author>\n      <guid>c-1.2</guid>\n      <encl
osure url=\"http://gems.example.com/gems/c-1.2.gem\"\n                 length=\"3072\" type=\"applic
ation/octet-stream\" />\n      <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http:
//example.com</link>\n    </item>\n    <item>\n      <title>pl-1-x86-linux</title>\n      <descripti
on>This is a test description</description>\n      <author>example at example.com (A User)</author>\n
    <guid>pl-1-x86-linux</guid>\n      <enclosure url=\"http://gems.example.com/gems/pl-1-x86-linux.
gem\"\n                 length=\"3072\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 12
 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http://example.com</link>\n    </item>\n    <item>\n
      <title>a-1</title>\n      <description>This is a test description</description>\n      <author
>example at example.com (Example), example2 at example.com (Example2)</author>\n      <guid>a-1</guid>\n
    <enclosure url=\"http://gems.example.com/gems/a-1.gem\"\n                 length=\"3072\" type=\
"application/octet-stream\" />\n      <pubDate>Wed, 11 Mar 2009 06:00:00 -0000</pubDate>\n      <lin
k>http://a.example.com</link>\n    </item>\n  </channel>\n</rss>\n", not "<?xml version=\"1.0\"?>\n<
rss version=\"2.0\">\n  <channel>\n    <title>ExampleForge gems</title>\n    <link>http://example.co
m</link>\n    <description>Recently released gems from http://example.com</description>\n    <genera
tor>RubyGems v1.3.1.2403</generator>\n    <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>\n
  <item>\n      <title>a-2</title>\n      <description>This is a test description</description>\n
   <author>example at example.com (A User)</author>\n      <guid>a-2</guid>\n      <enclosure url=\"htt
p://gems.example.com/gems/a-2.gem\"\n                 length=\"3072\" type=\"application/octet-strea
m\" />\n      <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http://example.com</li
nk>\n    </item>\n    <item>\n      <title>a_evil-9</title>\n      <description>This is a test descr
iption</description>\n      <author>example at example.com (A User)</author>\n      <guid>a_evil-9</gui
d>\n      <enclosure url=\"http://gems.example.com/gems/a_evil-9.gem\"\n                 length=\"30
72\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\
n      <link>http://example.com</link>\n    </item>\n    <item>\n      <title>b-2</title>\n      <de
scription>This is a test description</description>\n      <author>example at example.com (A User)</auth
or>\n      <guid>b-2</guid>\n      <enclosure url=\"http://gems.example.com/gems/b-2.gem\"\n
         length=\"3072\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 12 Mar 2009 06:00
:00 -0000</pubDate>\n      <link>http://example.com</link>\n    </item>\n    <item>\n      <title>c-
1.2</title>\n      <description>This is a test description</description>\n      <author>example at exam
ple.com (A User)</author>\n      <guid>c-1.2</guid>\n      <enclosure url=\"http://gems.example.com/
gems/c-1.2.gem\"\n                 length=\"3072\" type=\"application/octet-stream\" />\n      <pubD
ate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\n      <link>http://example.com</link>\n    </item>\n
   <item>\n      <title>pl-1-x86-linux</title>\n      <description>This is a test description</descr
iption>\n      <author>example at example.com (A User)</author>\n      <guid>pl-1-x86-linux</guid>\n
   <enclosure url=\"http://gems.example.com/gems/pl-1-x86-linux.gem\"\n                 length=\"307
2\" type=\"application/octet-stream\" />\n      <pubDate>Thu, 12 Mar 2009 06:00:00 -0000</pubDate>\n
      <link>http://example.com</link>\n    </item>\n    <item>\n      <title>a-1</title>\n      <des
cription>This is a test description</description>\n      <author>example at example.com (Example), exam
ple2 at example.com (Example2)</author>\n      <guid>a-1</guid>\n      <enclosure url=\"http://gems.exa
mple.com/gems/a-1.gem\"\n                 length=\"3072\" type=\"application/octet-stream\" />\n
  <pubDate>Wed, 11 Mar 2009 00:00:00 -0600</pubDate>\n      <link>http://a.example.com</link>\n    <
/item>\n  </channel>\n</rss>\n".

 11) Error:
test_download_local_space(TestGemRemoteFetcher):
URI::InvalidURIError: bad URI(is not URI?): C:/DOCUME~1/djberge/LOCALS~1/Temp/test_rubygems_5196/spa
ce path/a-1.gem
    C:/ruby/lib/ruby/1.8/uri/common.rb:436:in `split'
    C:/ruby/lib/ruby/1.8/uri/common.rb:485:in `parse'
    C:/Documents and Settings/djberge/workspace/rubygems/test/../lib/rubygems/remote_fetcher.rb:90:i
n `download'
    ./test/test_gem_remote_fetcher.rb:252:in `test_download_local_space'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `__send__'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:421:in `run'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:400:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `each'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:394:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `each'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:393:in `run_test_suites'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:373:in `run'
    C:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.0/lib/minitest/unit.rb:317:in `autorun'
    C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb:5

753 tests, 2560 assertions, 5 failures, 2 errors, 4 skips
rake aborted!
Command failed with status (1): [C:/ruby/bin/ruby -w -I"C:/Documents and Se...]

Regards,

Dan


More information about the Rubygems-developers mailing list