<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -78,13 +78,6 @@ In your stories/helper.rb:
   
 You could also unpack the gem into vendor/plugins.
 
-=== Requirements
-
-- Rails &gt;= 1.2.6
-- Hpricot &gt;= 0.6
-- Rails integration tests in Test::Unit _or_
-- Cucumber
-
 === Authors
 
 - Maintained by [Bryan Helmkamp](mailto:bryan@brynary.com)</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,6 @@ spec = Gem::Specification.new do |s|
   s.extra_rdoc_files = %w(README.txt MIT-LICENSE.txt)
 
   # Dependencies
-  s.add_dependency &quot;hpricot&quot;, &quot;&gt;= 0.6&quot;
   s.add_dependency &quot;nokogiri&quot;, &quot;&gt;= 1.0.3&quot;
 end
 </diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -67,7 +67,7 @@ module Webrat
       elsif defined?(ActionController::AbstractRequest)
         ActionController::AbstractRequest.parse_query_parameters(key_and_value)
       else
-        Merb::Parse.query(key_and_value)
+        ::Merb::Parse.query(key_and_value)
       end
     end
     
@@ -141,7 +141,7 @@ module Webrat
   class ButtonField &lt; Field
 
     def matches_text?(text)
-      @element.innerHTML =~ /#{Regexp.escape(text.to_s)}/i
+      @element.inner_html =~ /#{Regexp.escape(text.to_s)}/i
     end
     
     def matches_value?(value)
@@ -315,7 +315,7 @@ module Webrat
       selected_options = @element / &quot;option:first&quot; if selected_options.empty? 
       selected_options.map do |option|
         return &quot;&quot; if option.nil?
-        option[&quot;value&quot;] || option.innerHTML
+        option[&quot;value&quot;] || option.inner_html
       end
     end
 </diff>
      <filename>lib/webrat/core/field.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module Webrat
     end
     
     def text
-      @element.innerText
+      @element.inner_text
     end
     
   end</diff>
      <filename>lib/webrat/core/label.rb</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@ module Webrat
     end
     
     def matches_text?(link_text)
-      html = text.gsub('&amp;nbsp;',' ')
+      html = text.gsub('&amp;#xA0;',' ')
       
       if link_text.is_a?(Regexp)
         matcher = link_text
@@ -34,7 +34,7 @@ module Webrat
     end
     
     def text
-      @element.innerHTML
+      @element.inner_html
     end
     
   protected</diff>
      <filename>lib/webrat/core/link.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-require &quot;hpricot&quot;
+require &quot;nokogiri&quot;
 require &quot;webrat/core/form&quot;
 require &quot;webrat/core/locators&quot;
 
@@ -139,7 +139,7 @@ module Webrat
     alias_method :clicks_button, :click_button
     
     def dom # :nodoc:
-      @dom ||= Hpricot(scoped_html)
+      @dom ||= Nokogiri::Hpricot(scoped_html)
     end
     
   protected
@@ -155,7 +155,7 @@ module Webrat
     def scoped_html
       @scoped_html ||= begin
         if @selector
-          (Hpricot(@html) / @selector).first.to_html
+          (Nokogiri::Hpricot(@html) / @selector).first.to_html
         else
           @html
         end</diff>
      <filename>lib/webrat/core/scope.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,9 +8,9 @@ module Webrat
     
     def matches_text?(text)
       if text.is_a?(Regexp)
-        @element.innerHTML =~ text
+        @element.inner_html =~ text
       else
-        @element.innerHTML == text.to_s
+        @element.inner_html == text.to_s
       end
     end
     
@@ -22,7 +22,7 @@ module Webrat
   protected
   
     def value
-      @element[&quot;value&quot;] || @element.innerHTML
+      @element[&quot;value&quot;] || @element.inner_html
     end
     
   end</diff>
      <filename>lib/webrat/core/select_option.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,12 +3,12 @@ require File.expand_path(File.dirname(__FILE__) + &quot;/../../spec_helper&quot;)
 module Webrat
   describe CheckboxField do
     it &quot;should say it is checked if it is&quot; do
-      checkbox = CheckboxField.new(nil, (Hpricot(&quot;&lt;input type='checkbox' checked='checked'&gt;&quot;)/'input').first)
+      checkbox = CheckboxField.new(nil, (Nokogiri::Hpricot(&quot;&lt;input type='checkbox' checked='checked'&gt;&quot;)/'input').first)
       checkbox.should be_checked
     end
 
     it &quot;should say it is not checked if it is not&quot; do
-      checkbox = CheckboxField.new(nil, (Hpricot(&quot;&lt;input type='checkbox'&gt;&quot;)/'input').first)
+      checkbox = CheckboxField.new(nil, (Nokogiri::Hpricot(&quot;&lt;input type='checkbox'&gt;&quot;)/'input').first)
       checkbox.should_not be_checked
     end
   end</diff>
      <filename>spec/webrat/core/field_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ describe Webrat::Session do
       &quot;&lt;html&gt;&lt;/html&gt;&quot;
     end
     
-    session.current_dom.should be_an_instance_of(Hpricot::Doc)
+    session.current_dom.should be_an_instance_of(Nokogiri::HTML::Document)
   end
   
   it &quot;should open the page in the browser&quot; do</diff>
      <filename>spec/webrat/core/session_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>006a70c0c52ca26b5417661f790faad9d9cfb1eb</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Helmkamp</name>
    <email>bryan@brynary.com</email>
  </author>
  <url>http://github.com/brynary/webrat/commit/5510a6a61dc3e94a3e32c1b97a1fa67a27ddcc7f</url>
  <id>5510a6a61dc3e94a3e32c1b97a1fa67a27ddcc7f</id>
  <committed-date>2008-11-06T14:53:41-08:00</committed-date>
  <authored-date>2008-11-06T14:53:41-08:00</authored-date>
  <message>Switching from Hpricot to  Nokogiri</message>
  <tree>924a198773e86d7da099eaad462e7c6458b23106</tree>
  <committer>
    <name>Bryan Helmkamp</name>
    <email>bryan@brynary.com</email>
  </committer>
</commit>
