<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>benchmarks/bootup.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,7 @@ $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib
 require &quot;rubygems&quot;
 require &quot;rack&quot;
 require &quot;rack/router&quot;
+require &quot;rack/router/optimizations&quot;
 require &quot;rbench&quot;
 # For comparison purposes
 require &quot;merb-core&quot;           # Merb</diff>
      <filename>benchmarks/setup.rb</filename>
    </modified>
    <modified>
      <diff>@@ -42,7 +42,7 @@ class Rack::Router::Builder
       
       request_conditions[:request_method] = upcase_method(method) if method
       
-      route = Rack::Router::Route.new(options[:to], options[:at], request_conditions, segment_conditions, options[:with] || {}, !options[:anchor])
+      route = Rack::Router::Route.new(options[:to], request_conditions, segment_conditions, options[:with] || {}, !options[:anchor])
       route.name = options[:name].to_sym if options[:name]
       
       @routes &lt;&lt; route</diff>
      <filename>lib/rack/router/builders/simple.rb</filename>
    </modified>
    <modified>
      <diff>@@ -65,9 +65,8 @@ class Rack::Router
     # mount_point&lt;Boolean&gt;::
     #
     # :api: plugin
-    def initialize(app, path_info, request_conditions, segment_conditions, params, mount_point = true)
+    def initialize(app, request_conditions, segment_conditions, params, mount_point = true)
       @app                = app
-      @path_info          = path_info
       @request_conditions = request_conditions
       @segment_conditions = segment_conditions
       @params             = params
@@ -158,9 +157,7 @@ class Rack::Router
     
     # :api: private
     def shift_path_info(env, params, matched)
-      new_path_info = @path_info.dup if @path_info
-      new_path_info ||= env[&quot;PATH_INFO&quot;].sub(/^#{Regexp.escape(matched)}/, '')
-      new_path_info.gsub!(SEGMENT_REGEXP) { |s| params[$2.to_sym] }
+      new_path_info = env[&quot;PATH_INFO&quot;].sub(/^#{Regexp.escape(matched)}/, '')
       env[&quot;SCRIPT_NAME&quot;] = Utils.normalize(env[&quot;SCRIPT_NAME&quot;] + matched)
       env[&quot;PATH_INFO&quot;]   = Utils.normalize(new_path_info)
     end</diff>
      <filename>lib/rack/router/route.rb</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ describe &quot;When recognizing requests&quot; do
       end
     end
   
-    it &quot;matches the path and return the paramters passed in&quot; do
+    it &quot;matches the path and return the parameters passed in&quot; do
       route_for(&quot;/&quot;).should have_route(FooApp, :action =&gt; &quot;root&quot;)
       route_for(&quot;/info&quot;).should have_route(FooApp, :action =&gt; &quot;info&quot;)
       route_for(&quot;/info/bar&quot;).should have_route(FooApp, :action =&gt; &quot;bar&quot;)</diff>
      <filename>spec/recognition/conditions_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -88,7 +88,7 @@ describe Rack::Router do
       
       def put(opts)
         raise &quot;FAIL!&quot; unless opts[:so_that] == &quot;you can route while you route&quot;
-        @routes &lt;&lt; Rack::Router::Route.new(opts[:a], nil, { :path_info =&gt; opts[:in_your] }, {}, { :yo_dawg =&gt; true }, false)
+        @routes &lt;&lt; Rack::Router::Route.new(opts[:a], { :path_info =&gt; opts[:in_your] }, {}, { :yo_dawg =&gt; true }, false)
       end
       
     end</diff>
      <filename>spec/router_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>spec/recognition/rewriting_spec.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>10f6080b3d578a8956073173aaacb5ec8d940ca0</id>
    </parent>
  </parents>
  <author>
    <name>Carl Lerche</name>
    <email>carllerche@mac.com</email>
  </author>
  <url>http://github.com/carllerche/rack-router/commit/1861d1904c08a02ac8f94d38ee042bc7c5a56a5a</url>
  <id>1861d1904c08a02ac8f94d38ee042bc7c5a56a5a</id>
  <committed-date>2009-05-05T11:27:53-07:00</committed-date>
  <authored-date>2009-05-05T11:27:53-07:00</authored-date>
  <message>Removed path rewriting, it's stupid for the router to do this and should be separate middleware</message>
  <tree>d7f165b28794029ca994de8f3833ab8bab1757f0</tree>
  <committer>
    <name>Carl Lerche</name>
    <email>carllerche@mac.com</email>
  </committer>
</commit>
