<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,8 +8,8 @@ module BouncyBots
   end
 
   module ClassMethods
-    def bounce_bots(field, to)
-      before_filter :bounce_bot
+    def bounce_bots(field, to, filter_opts = {})
+      before_filter :bounce_bot, filter_opts
 
       cattr_accessor :bounce_to
       cattr_accessor :bounce_field</diff>
      <filename>lib/bouncy_bots.rb</filename>
    </modified>
    <modified>
      <diff>@@ -21,7 +21,7 @@ describe &quot;BouncyBots&quot; do
 
   describe &quot;.bounce_bots macro&quot; do
     it &quot;sets the before filter&quot; do
-      MacroTest.should_receive(:before_filter).with(:bounce_bot)
+      MacroTest.should_receive(:before_filter).with(:bounce_bot, {})
       MacroTest.class_eval do
         include BouncyBots
         bounce_bots :three, :bounce_to
@@ -37,6 +37,14 @@ describe &quot;BouncyBots&quot; do
         bounce_bots :three, :bounce_to
       end
     end
+
+    it &quot;passes on filter options&quot; do
+      MacroTest.should_receive(:before_filter).with(:bounce_bot, {:only =&gt; :index})
+      MacroTest.class_eval do
+        include BouncyBots
+        bounce_bots :three, :bounce_to, :only =&gt; :index
+      end
+    end
   end
 
   describe &quot;#bounce_bot&quot; do</diff>
      <filename>spec/bouncy_bots_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8589563c53db6916f679872a03119b62541941e2</id>
    </parent>
  </parents>
  <author>
    <name>Desi McAdam and Les Hill</name>
    <email>dev+desi+leshill@hashrocket.com</email>
  </author>
  <url>http://github.com/leshill/bouncy_bots/commit/65f6a1681d4f733963ace96b8d937180e6e859dc</url>
  <id>65f6a1681d4f733963ace96b8d937180e6e859dc</id>
  <committed-date>2009-06-30T14:18:40-07:00</committed-date>
  <authored-date>2009-06-30T14:18:40-07:00</authored-date>
  <message>Allow filter options</message>
  <tree>4ba1254c1ffcf5bc6007e2f3bfdb4b72af3d09d6</tree>
  <committer>
    <name>Desi McAdam and Les Hill</name>
    <email>dev+desi+leshill@hashrocket.com</email>
  </committer>
</commit>
