<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -26,7 +26,7 @@ def run_suite
 end
 
 PKG_NAME = &quot;polonium&quot;
-PKG_VERSION = &quot;0.3.1&quot;
+PKG_VERSION = &quot;0.3.2&quot;
 PKG_FILES = FileList[
   '[A-Z]*',
   '*.rb',
@@ -55,6 +55,7 @@ spec = Gem::Specification.new do |s|
   s.homepage = &quot;http://pivotalrb.rubyforge.org&quot;
   s.rubyforge_project = &quot;pivotalrb&quot;
   s.add_dependency &quot;Selenium&quot;, &quot;&gt;=1.1.14&quot;
+  s.add_dependency &quot;selenium-rc&quot;, &quot;&gt;=2.1.0&quot;
 end
 
 Rake::GemPackageTask.new(spec) do |pkg|</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@ module Polonium
     #     User.count == 5
     #   end
     def wait_for(params={})
+      return super unless block_given?
       timeout = params[:timeout] || default_wait_for_time
       message = params[:message] || &quot;Timeout exceeded&quot;
       configuration = Context.new(message)</diff>
      <filename>lib/polonium/wait_for.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,6 @@
 require 'rubygems'
 require 'spec'
+require 'spec/autorun'
 require 'rr'
 
 dir = File.dirname(__FILE__)</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,12 @@
 namespace :selenium do
   desc &quot;Run the selenium remote-control server&quot;
   task :server do
-    system('export MOZ_NO_REMOTE=1; selenium')
+    system('export MOZ_NO_REMOTE=1; selenium-rc')
   end
 
   desc &quot;Start the selenium servant (the server that launches browsers) on localhost&quot;
   task :start_servant do
-    system('export MOZ_NO_REMOTE=1; selenium')
+    system('export MOZ_NO_REMOTE=1; selenium-rc')
   end
 
   desc &quot;Runs Selenium tests&quot;</diff>
      <filename>tasks/polonium.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>176e790d41ff30f2824d4201345c05f54fd47eb3</id>
    </parent>
  </parents>
  <author>
    <name>Rob Olson &amp; Brian Takita</name>
    <email>opensource@pivotallabs.com</email>
  </author>
  <url>http://github.com/pivotal/polonium/commit/dc98f063501b5a426cfd86c0116858c4c535856c</url>
  <id>dc98f063501b5a426cfd86c0116858c4c535856c</id>
  <committed-date>2009-07-31T12:34:08-07:00</committed-date>
  <authored-date>2009-07-31T12:34:08-07:00</authored-date>
  <message>WaitFor#wait_for delegates to super if no block is given to appease selenium/client.
Depending on the selenium-rc gem.</message>
  <tree>4a73c95c9c9782feb442b0b1c1586f6f6f8b3ab5</tree>
  <committer>
    <name>Rob Olson &amp; Brian Takita</name>
    <email>opensource@pivotallabs.com</email>
  </committer>
</commit>
