<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,11 +15,7 @@ class RspecControllerGenerator &lt; ControllerGenerator
       m.directory File.join('spec/helpers', class_path)
       m.directory File.join('spec/views', class_path, file_name)
 
-			if Rails::VERSION::STRING &lt; &quot;2.0.0&quot;
-        @default_file_extension = &quot;rhtml&quot;
-      else
-        @default_file_extension = &quot;html.erb&quot;
-      end
+      @default_file_extension = &quot;html.erb&quot;
 
       # Controller spec, class, and helper.
       m.template 'controller_spec.rb',</diff>
      <filename>generators/rspec_controller/rspec_controller_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,13 +30,8 @@ class RspecScaffoldGenerator &lt; Rails::Generator::NamedBase
       @controller_class_name = &quot;#{@controller_class_nesting}::#{@controller_class_name_without_nesting}&quot;
     end
     
-    if Rails::VERSION::STRING &lt; &quot;2.0.0&quot;
-      @resource_generator = &quot;scaffold_resource&quot;
-      @default_file_extension = &quot;rhtml&quot;
-		else
-      @resource_generator = &quot;scaffold&quot;
-      @default_file_extension = &quot;html.erb&quot;
-    end
+    @resource_generator = &quot;scaffold&quot;
+    @default_file_extension = &quot;html.erb&quot;
     
     if ActionController::Base.respond_to?(:resource_action_separator)
       @resource_edit_path = &quot;/edit&quot;</diff>
      <filename>generators/rspec_scaffold/rspec_scaffold_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,9 +19,7 @@ require 'spec/rails/example'
 require 'spec/rails/extensions'
 require 'spec/rails/interop/testcase'
 
-if Rails::VERSION::STRING &gt;= &quot;2.0&quot;
-  # This is a temporary hack to get rspec's auto-runner functionality to not consider
-  # ActionMailer::TestCase to be a spec waiting to run.
-  require 'action_mailer/test_case'
-  Spec::Example::ExampleGroupFactory.register(:ignore_for_now, ActionMailer::TestCase)
-end
\ No newline at end of file
+# This is a temporary hack to get rspec's auto-runner functionality to not consider
+# ActionMailer::TestCase to be a spec waiting to run.
+require 'action_mailer/test_case'
+Spec::Example::ExampleGroupFactory.register(:ignore_for_now, ActionMailer::TestCase)</diff>
      <filename>lib/spec/rails.rb</filename>
    </modified>
    <modified>
      <diff>@@ -35,15 +35,6 @@ module Spec
         # cookies in examples using the same API with which you set and read
         # them in controllers.
         #
-        # == Examples (Rails &gt;= 1.2.6)
-        #
-        #   cookies[:user_id] = '1234'
-        #   get :index
-        #   assigns[:user].id.should == '1234'
-        #
-        #   post :login
-        #   cookies[:login].expires.should == 1.week.from_now
-        #
         # == Examples (Rails 2.0 &gt; 2.2)
         #
         #   cookies[:user_id] = {:value =&gt; '1234', :expires =&gt; 1.minute.ago}</diff>
      <filename>lib/spec/rails/example/functional_example_group.rb</filename>
    </modified>
    <modified>
      <diff>@@ -129,11 +129,9 @@ require 'controller_spec_controller'
         get 'action_which_gets_cookie', :expected =&gt; &quot;cookie value&quot;
       end
       
-      if Rails::VERSION::STRING &gt;= &quot;2.0.0&quot;
-        it &quot;should support a Hash value&quot; do
-          cookies[:cookie_key] = {'value' =&gt; 'cookie value', 'path' =&gt; '/not/default'}
-          get 'action_which_gets_cookie', :expected =&gt; {'value' =&gt; 'cookie value', 'path' =&gt; '/not/default'}
-        end
+      it &quot;should support a Hash value&quot; do
+        cookies[:cookie_key] = {'value' =&gt; 'cookie value', 'path' =&gt; '/not/default'}
+        get 'action_which_gets_cookie', :expected =&gt; {'value' =&gt; 'cookie value', 'path' =&gt; '/not/default'}
       end
       
     end
@@ -178,35 +176,33 @@ require 'controller_spec_controller'
       end
     end
     
-    if Rails::VERSION::MAJOR &gt;= 2
-      describe &quot;with an error that is rescued in the controller&quot; do
-        context &quot;without rails' error handling&quot; do
-          it &quot;does not raise error&quot; do
-            lambda do
-              get 'rescued_error_action'
-            end.should_not raise_error
-          end
-
-          it &quot;executes rescue_from&quot; do
+    describe &quot;with an error that is rescued in the controller&quot; do
+      context &quot;without rails' error handling&quot; do
+        it &quot;does not raise error&quot; do
+          lambda do
             get 'rescued_error_action'
-            response.body.should == 'Rescued!'
-          end
+          end.should_not raise_error
         end
 
-        context &quot;with rails' error handling&quot; do
-          before(:each) do
-            controller.use_rails_error_handling!
-          end
-          it &quot;does not raise error&quot; do
-            lambda do
-              get 'rescued_error_action'
-            end.should_not raise_error
-          end
+        it &quot;executes rescue_from&quot; do
+          get 'rescued_error_action'
+          response.body.should == 'Rescued!'
+        end
+      end
 
-          it &quot;executes rescue_from&quot; do
+      context &quot;with rails' error handling&quot; do
+        before(:each) do
+          controller.use_rails_error_handling!
+        end
+        it &quot;does not raise error&quot; do
+          lambda do
             get 'rescued_error_action'
-            response.body.should == 'Rescued!'
-          end
+          end.should_not raise_error
+        end
+
+        it &quot;executes rescue_from&quot; do
+          get 'rescued_error_action'
+          response.body.should == 'Rescued!'
         end
       end
     end</diff>
      <filename>spec/spec/rails/example/controller_spec_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -26,19 +26,17 @@ module Spec
             end
           end
           
-          if ::Rails::VERSION::STRING &gt;= &quot;2.0.0&quot;
-            it &quot;should accept a Hash value&quot; do
-              cookies = CookiesProxy.new(self)
-              cookies['key'] = { :value =&gt; 'value', :expires =&gt; expiration = 1.hour.from_now, :path =&gt; path = '/path' }
-              get :index
-              if ::Rails::VERSION::STRING &gt;= &quot;2.3&quot;
-                cookies['key'].should == 'value'
-              else
-                cookies['key'].should == ['value']
-                cookies['key'].value.should == ['value']
-                cookies['key'].expires.should == expiration
-                cookies['key'].path.should == path
-              end
+          it &quot;should accept a Hash value&quot; do
+            cookies = CookiesProxy.new(self)
+            cookies['key'] = { :value =&gt; 'value', :expires =&gt; expiration = 1.hour.from_now, :path =&gt; path = '/path' }
+            get :index
+            if ::Rails::VERSION::STRING &gt;= &quot;2.3&quot;
+              cookies['key'].should == 'value'
+            else
+              cookies['key'].should == ['value']
+              cookies['key'].value.should == ['value']
+              cookies['key'].expires.should == expiration
+              cookies['key'].path.should == path
             end
           end
             
@@ -57,19 +55,17 @@ module Spec
             end
           end
 
-          if ::Rails::VERSION::STRING &gt;= &quot;2.0.0&quot;
-            it &quot;should accept a Hash value&quot; do
-              example_cookies = CookiesProxy.new(self)
-              example_cookies[:key] = { :value =&gt; 'value', :expires =&gt; expiration = 1.hour.from_now, :path =&gt; path = '/path' }
-              get :index
-              if ::Rails::VERSION::STRING &gt;= &quot;2.3&quot;
-                example_cookies[:key].should == 'value'
-              else
-                example_cookies[:key].should == ['value']
-                example_cookies[:key].value.should == ['value']
-                example_cookies[:key].expires.should == expiration
-                example_cookies[:key].path.should == path
-              end
+          it &quot;should accept a Hash value&quot; do
+            example_cookies = CookiesProxy.new(self)
+            example_cookies[:key] = { :value =&gt; 'value', :expires =&gt; expiration = 1.hour.from_now, :path =&gt; path = '/path' }
+            get :index
+            if ::Rails::VERSION::STRING &gt;= &quot;2.3&quot;
+              example_cookies[:key].should == 'value'
+            else
+              example_cookies[:key].should == ['value']
+              example_cookies[:key].value.should == ['value']
+              example_cookies[:key].expires.should == expiration
+              example_cookies[:key].path.should == path
             end
           end
 </diff>
      <filename>spec/spec/rails/example/cookies_proxy_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -112,8 +112,6 @@ module Spec
           ActionView::Helpers::TextHelper,
           ActionView::Helpers::UrlHelper
         ]
-        helpers &lt;&lt; ActionView::Helpers::PaginationHelper rescue nil       #removed for 2.0
-        helpers &lt;&lt; ActionView::Helpers::JavaScriptMacrosHelper rescue nil #removed for 2.0
         helpers.each do |helper_module|
           it &quot;should include #{helper_module}&quot; do
             self.class.ancestors.should include(helper_module)</diff>
      <filename>spec/spec/rails/example/helper_spec_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -149,18 +149,16 @@ describe &quot;A view that includes a partial using :collection and :spacer_template&quot;
 
 end
 
-if Rails::VERSION::MAJOR &gt;= 2
-  describe &quot;A view that includes a partial using an array as partial_path&quot;, :type =&gt; :view do
-    before(:each) do
-      renderable_object = Object.new
-      renderable_object.stub!(:name).and_return(&quot;Renderable Object&quot;)
-      assigns[:array] = [renderable_object]
-    end
+describe &quot;A view that includes a partial using an array as partial_path&quot;, :type =&gt; :view do
+  before(:each) do
+    renderable_object = Object.new
+    renderable_object.stub!(:name).and_return(&quot;Renderable Object&quot;)
+    assigns[:array] = [renderable_object]
+  end
 
-    it &quot;should render the array passed through to render_partial without modification&quot; do
-      render &quot;view_spec/template_with_partial_with_array&quot; 
-      response.body.should match(/^Renderable Object$/)
-    end
+  it &quot;should render the array passed through to render_partial without modification&quot; do
+    render &quot;view_spec/template_with_partial_with_array&quot; 
+    response.body.should match(/^Renderable Object$/)
   end
 end
 </diff>
      <filename>spec/spec/rails/example/view_spec_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,11 +30,7 @@ require File.dirname(__FILE__) + '/../../../spec_helper'
   
     it &quot;should match an rjs template&quot; do
       xhr :post, 'some_action'
-      if Rails::VERSION::STRING &lt; &quot;2.0.0&quot;
-        response.should render_template('render_spec/some_action.rjs')
-      else
-        response.should render_template('render_spec/some_action')
-      end
+      response.should render_template('render_spec/some_action')
     end
   
     it &quot;should match a partial template (simple path)&quot; do</diff>
      <filename>spec/spec/rails/matchers/render_template_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f6a82199a0e6d583f8b219484c66c0f9168a7202</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/bmabey/rspec-rails/commit/7cea2cbddb47ec4d156ad5ad2491a8ac2e09544c</url>
  <id>7cea2cbddb47ec4d156ad5ad2491a8ac2e09544c</id>
  <committed-date>2009-01-12T05:59:40-08:00</committed-date>
  <authored-date>2009-01-12T05:59:40-08:00</authored-date>
  <message>remove remaining conditionals checking for rails &gt;=&lt; 2.0</message>
  <tree>033d8e12ec1d4d54da7e9802e531fcdce8c27ef8</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
