<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: RubyGems Tests Pass on 1.9</title>
    <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems Tests Pass on 1.9</title>
      <description>&lt;p&gt;&lt;samp&gt;455 tests, 1600 assertions, 0 failures, 0 errors&lt;/samp&gt;

&lt;p&gt;Wooo!

&lt;p&gt;Here&amp;#8217;s some of the changes and notes I made for you:

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

&lt;p&gt;Also, the tests run 20-25% faster on 1.9 than 1.8.  Look for a beta of RubyGems coming next week!
</description>
      <pubDate>Thu, 20 Sep 2007 03:00:25 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:c5508c30-dbd2-423c-a437-011c811a0706</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9</link>
      <category>Ruby</category>
      <category>Rubygems</category>
    </item>
    <item>
      <title>"RubyGems Tests Pass on 1.9" by Luis Lavena</title>
      <description>&lt;p&gt;Thanks Eric, missed that post&amp;#8230;&lt;/p&gt;


	&lt;p&gt;BTW, adding your feed to my reader :-)&lt;/p&gt;</description>
      <pubDate>Mon, 24 Sep 2007 11:01:41 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e5e0a6c0-f527-42b3-a633-66c8463f6e4e</guid>
      <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9#comment-769</link>
    </item>
    <item>
      <title>"RubyGems Tests Pass on 1.9" by Eric Hodel</title>
      <description>&lt;p&gt;Luis: Check out my Rubygems category.&lt;/p&gt;</description>
      <pubDate>Sat, 22 Sep 2007 21:58:33 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:81730c82-9ce4-4522-a089-b0129e20695f</guid>
      <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9#comment-768</link>
    </item>
    <item>
      <title>"RubyGems Tests Pass on 1.9" by Luis Lavena</title>
      <description>&lt;p&gt;Great news Eric!&lt;/p&gt;


	&lt;p&gt;There are plans to solve the issue with pure-ruby, ruby+extensions and prebuilt gems for different platforms?&lt;/p&gt;</description>
      <pubDate>Sat, 22 Sep 2007 19:31:43 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:67e5cb6a-ec15-45c6-bc89-852fea5cb448</guid>
      <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9#comment-767</link>
    </item>
    <item>
      <title>"RubyGems Tests Pass on 1.9" by netshade</title>
      <description>&lt;p&gt;SWEET.  Good notes, thanks.&lt;/p&gt;</description>
      <pubDate>Thu, 20 Sep 2007 06:40:54 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:0c7192ab-669c-4fe6-ba80-9a092679eb99</guid>
      <link>http://blog.segment7.net/articles/2007/09/20/rubygems-tests-pass-on-1-9#comment-766</link>
    </item>
  </channel>
</rss>
