<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,11 @@ TODOs (someday/maybe)
   # protect :update, :from =&gt; [:show, :index]
   # brain_buster_form_on :show, :protect =&gt; :update
 
-0.8.0 (2007/02/12)
+0.8.1 2008/02/22
+* use append_view_paths instead of directly appending to it, for edge rails compatibility [Hashrocket]
+* remove #send for 1.9 compatibility
+
+0.8.0 2008/02/12
 * clean up all over the place
 * fix for Rails 2 compatibility - return false doesn't halt the filter chain
 * rename brain_buster_error_message to brain_buster_failure_message</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
 require 'brain_buster'
 require 'brain_buster_system'
 
-ActionController::Base.send(:include, BrainBusterSystem)
\ No newline at end of file
+ActionController::Base.class_eval { include BrainBusterSystem }
\ No newline at end of file</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@ module BrainBusterSystem
   # Expose helper methods and setup config for brain buster
   def self.included(obj)
     obj.helper_method :captcha_passed?, :last_captcha_attempt_failed?
-    obj.view_paths &lt;&lt; File.expand_path(File.join(&quot;vendor&quot;, &quot;plugins&quot;, &quot;brain_buster&quot;, &quot;views&quot;, &quot;brain_busters&quot;))
+    obj.append_view_path File.expand_path(File.join(&quot;vendor&quot;, &quot;plugins&quot;, &quot;brain_buster&quot;, &quot;views&quot;, &quot;brain_busters&quot;))
     obj.class_eval do
       @@brain_buster_salt ||= &quot;fGr0FXmYQCuW4TiQj/x3yPBTp5lcJ9l6DbO8CUpReDk=&quot;
       @@brain_buster_failure_message = &quot;Your captcha answer failed - please try again.&quot;</diff>
      <filename>lib/brain_buster_system.rb</filename>
    </modified>
    <modified>
      <diff>@@ -32,6 +32,11 @@ context &quot;BrainBuster contract&quot; do
     @controller.brain_buster_salt = [Array.new(32){rand(256).chr}.join].pack(&quot;m&quot;).chomp
   end
   
+  specify &quot;should add the plugin view path to the view path&quot; do
+    plugin_view_path = File.expand_path(File.join(File.dirname(__FILE__), &quot;..&quot;, &quot;views&quot;, &quot;brain_busters&quot;))
+    @controller.view_paths.should.include plugin_view_path
+  end
+  
   specify &quot;should raise an exception if the salt doesnt get set to something&quot; do
     @controller.brain_buster_salt = nil
     lambda { get(:new) }.should.raise(RuntimeError)</diff>
      <filename>test/brain_buster_functional_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6e9493f59b20dca93f24b0dd02a87bca12e75c7f</id>
    </parent>
  </parents>
  <author>
    <name>Rob Sanheim</name>
    <email>rsanheim@gmail.com</email>
  </author>
  <url>http://github.com/rsanheim/brain_buster/commit/94d1804757b5eeca0339a3e55fce5f45fcf6df8d</url>
  <id>94d1804757b5eeca0339a3e55fce5f45fcf6df8d</id>
  <committed-date>2008-02-22T13:17:54-08:00</committed-date>
  <authored-date>2008-02-22T13:17:54-08:00</authored-date>
  <message>use append_view_paths instead of directly appending to it, for edge rails compatibility [Hashrocket]
remove #send for 1.9 compatibility
update changelog</message>
  <tree>3226f8af83736ee5b46e8f197443ee3474f44fba</tree>
  <committer>
    <name>Rob Sanheim</name>
    <email>rsanheim@gmail.com</email>
  </committer>
</commit>
