<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -237,17 +237,9 @@ end
 
 class Proc
   def raise?(*exceptions)
-    exceptions = [RuntimeError]  if exceptions.empty?
     call
-
-  # Only to work in 1.9.0, rescue with splat doesn't work there right now
-  rescue Object =&gt; e
-    case e
-    when *exceptions
-      e
-    else
-      raise e
-    end
+  rescue *(exceptions.empty? ? RuntimeError : exceptions) =&gt; e
+    e
   else
     false
   end
@@ -285,7 +277,6 @@ module Kernel
   def shared(name, &amp;block)    Bacon::Shared[name] = block                     end
 end
 
-
 class Should
   # Kills ==, ===, =~, eql?, equal?, frozen?, instance_of?, is_a?,
   # kind_of?, nil?, respond_to?, tainted?</diff>
      <filename>lib/bacon.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 $-w,w = nil, $-w
-require File.join(File.dirname(__FILE__), '../lib/bacon')
+require File.expand_path('../../lib/bacon', __FILE__)
 $-w = w
 
 # Hooray for meta-testing.</diff>
      <filename>test/spec_bacon.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '../lib/bacon')
+require File.expand_path('../../lib/bacon', __FILE__)
 
 describe &quot;#should shortcut for #it('should')&quot; do
   </diff>
      <filename>test/spec_should.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9c21d75adda0d2a7b1677f9e50ac217619c950cb</id>
    </parent>
  </parents>
  <author>
    <name>Eloy Duran</name>
    <email>eloy.de.enige@gmail.com</email>
  </author>
  <url>http://github.com/chneukirchen/bacon/commit/bc0df844c7b20f30e456c493e086a9a871471550</url>
  <id>bc0df844c7b20f30e456c493e086a9a871471550</id>
  <committed-date>2009-08-31T14:36:56-07:00</committed-date>
  <authored-date>2009-08-31T14:36:56-07:00</authored-date>
  <message>Revert old change that was made because 1.9.0 couldn't rescue a splatted array of Exception classes. MacRuby currently can't use when with the same array and 1.9.2dev does.

Also some other minor changes which didn't work currently on 1.9.2dev, but are nicer anyway imo.</message>
  <tree>7ad53748be8fcec7484936c134e933906940f723</tree>
  <committer>
    <name>Eloy Duran</name>
    <email>eloy.de.enige@gmail.com</email>
  </committer>
</commit>
