<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -70,7 +70,11 @@ Rake::RDocTask.new('rdoc') do |task|
   task.main = 'README'
   task.title = &quot;Mocha #{Mocha::VERSION}&quot;
   task.rdoc_dir = 'doc'
-  task.template = File.expand_path(File.join(File.dirname(__FILE__), &quot;templates&quot;, &quot;html_with_google_analytics&quot;))
+  template = File.expand_path(File.join(File.dirname(__FILE__), &quot;templates&quot;, &quot;html_with_google_analytics.rb&quot;))
+  if File.exist?(template)
+    puts &quot;*** Using RDoc template incorporating Google Analytics&quot;
+    task.template = template
+  end
   task.rdoc_files.include(
     'README',
     'RELEASE',</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b0dc908a71f2e07aa8a9fb4b5447dcde06bb969f</id>
    </parent>
  </parents>
  <author>
    <name>James Mead</name>
    <email>james@floehopper.org</email>
  </author>
  <url>http://github.com/jferris/mocha/commit/ae8678ef95408c9fb4701667e1268097e0808774</url>
  <id>ae8678ef95408c9fb4701667e1268097e0808774</id>
  <committed-date>2009-07-24T07:30:37-07:00</committed-date>
  <authored-date>2009-07-24T07:30:37-07:00</authored-date>
  <message>The RDoc template incorporating Google Analytics isn't distributed in the gem (because it is only used when publishing the RDoc to Rubyforge), so we should ensure that the rdoc rake task still works when the custom template is not available. See http://floehopper.lighthouseapp.com/projects/22289/tickets/51.</message>
  <tree>87b1708afcc0dc4c5854a7515993b4dbd18edf54</tree>
  <committer>
    <name>James Mead</name>
    <email>james@floehopper.org</email>
  </committer>
</commit>
