The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
RubyGems Tests Pass on 1.9

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eric Hodel

Posts: 660
Nickname: drbrain
Registered: Mar, 2006

Eric Hodel is a long-time Rubyist and co-founder of Seattle.rb.
RubyGems Tests Pass on 1.9 Posted: Sep 20, 2007 4:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Eric Hodel.
Original Post: RubyGems Tests Pass on 1.9
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Eric Hodel
Latest Posts From Segment7

Advertisement

455 tests, 1600 assertions, 0 failures, 0 errors

Wooo!

Here’s some of the changes and notes I made for you:

  • Removed some privates, because life is better without privates.
  • Added Object#send! stub on 1.8.
  • lambda cares about number of arguments now, so add |*a|.
  • ENV['FOO'] = nil becomes ENV.delete 'FOO'. This is the most annoying change, since restoring defaults is a pain.
  • WEBrick’s response object’s #code alias is gone, use #status
  • (i = 0; 5.times do |i| end; i == 4) is false, so use a separate variable like count, and add count = i
  • Kernel#require stores the full path to the require’d file now.
  • There’s something going on with class variable sharing between a module and its singleton class. See [ruby-core:12200].
  • Strings aren’t Array-like anymore, so use things like Kernel#Array instead of String#to_a
  • #methods and #instance_variables return arrays of symbols instead of strings now.

Also, the tests run 20-25% faster on 1.9 than 1.8. Look for a beta of RubyGems coming next week!

Read: RubyGems Tests Pass on 1.9

Topic: Tweets on 2007-09-18 Previous Topic   Next Topic Topic: Uninterested Pair

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use