<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,6 @@ require 'fileutils'
 require File.dirname(__FILE__) &lt;&lt; &quot;/../lib/fiveruns/tuneup/version&quot;
 
 # For older Rails versions
-# USAGE: fiveruns_manage [RAILS_ROOT]
 plugin_dir = File.join(ARGV[0] || Dir.pwd, 'vendor/plugins')
 unless File.directory?(plugin_dir)
   abort &quot;FiveRuns TuneUp: #{plugin_dir} does not exist; cannot install plugin&quot;</diff>
      <filename>bin/fiveruns_tuneup</filename>
    </modified>
    <modified>
      <diff>@@ -14,8 +14,7 @@ module Fiveruns
           &lt;script type=&quot;text/javascript&quot; src=&quot;/javascripts/tuneup/init.js&quot;&gt;&lt;/script&gt;
           &lt;!-- END FIVERUNS TUNEUP ASSETS --&gt;
           )
-          
-          response.headers[&quot;Content-Length&quot;] += insertion.size
+          add_content_length(response, insertion.size)
           response.body.replace(before &lt;&lt; insertion &lt;&lt; '&lt;/head&gt;' &lt;&lt; after)
           log :error, &quot;Inserted asset tags&quot;
         else
@@ -33,6 +32,20 @@ module Fiveruns
         &quot;&lt;script type='text/javascript' src='/javascripts/tuneup/prototype.js'&gt;&lt;/script&gt;&quot;
       end
       
+      # Modify the Content-Length header, regardless if String/Fixnum, and
+      # keep it the same type
+      def add_content_length(response, delta)
+        length = response.headers[&quot;Content-Length&quot;]
+        response.headers[&quot;Content-Length&quot;] = case length
+        when Fixnum
+          length + delta
+        when String
+          (length.to_i + delta).to_s
+        else
+          length # Shouldn't happen
+        end
+      end
+      
     end
     
   end</diff>
      <filename>lib/fiveruns/tuneup/asset_tags.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@
   &lt;ul id=&quot;tuneup-details&quot;&gt;
     &lt;%= render :partial =&gt; 'step.html.erb', :collection =&gt; tuneup_data.children %&gt;
 		&lt;li style=&quot;clear:both&quot;&gt;&lt;/li&gt;
-		&lt;li style=&quot;padding-top:10px;font-style:italic;float:right;font-size:0.8em;color:#ccc;&quot;&gt;For Rails monitoring in production, try 
-		  &lt;a href=&quot;http://www.fiveruns.com/products/manage?utm_source=TuneUpBar&amp;utm_medium=ManageURL&amp;utm_campaign=ManageClicks&quot; target=&quot;_blank&quot; style=&quot;font-style:italic&quot;&gt;FiveRuns Manage&lt;/a&gt;&lt;/li&gt;
+		&lt;li style=&quot;padding-top:10px;font-style:italic;float:right;font-size:0.8em;color:#ccc;&quot;&gt;For production technical and business metrics, try 
+		  &lt;a href=&quot;http://dash.fiveruns.com/?utm_source=TuneUpBar&amp;amp;utm_medium=DashURL&amp;amp;utm_campaign=Dash&quot; target=&quot;_blank&quot; style=&quot;font-style:italic&quot;&gt;FiveRuns Dash&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>views/tuneup/_data.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>129a6793adb47330d64ad15b09391e8d2b59ce9f</id>
    </parent>
  </parents>
  <author>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </author>
  <url>http://github.com/fiveruns/fiveruns_tuneup/commit/dc9666216eae8d9dda147a115708f176a3e01237</url>
  <id>dc9666216eae8d9dda147a115708f176a3e01237</id>
  <committed-date>2009-03-23T13:17:23-07:00</committed-date>
  <authored-date>2009-03-23T13:17:23-07:00</authored-date>
  <message>Support for Rails 2.3, experimental.
Switch product link from Manage to Dash.</message>
  <tree>1c08ec0d3b7776d3835a55758b48878f9a4f57db</tree>
  <committer>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </committer>
</commit>
