<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/hanna/version.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,10 @@
 desc &quot;generates .gemspec file&quot;
 task :gemspec do
-  require 'lib/hanna/rdoc_version'
+  require 'lib/hanna/version'
   
   spec = Gem::Specification.new do |gem|
     gem.name = 'hanna'
-    gem.version = '0.1.9'
+    gem.version = Hanna::VERSION
     
     gem.summary = &quot;An RDoc template that scales&quot;
     gem.description = &quot;Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind.&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ end
 $:.unshift(hanna_dir) unless $:.include?(hanna_dir)
 
 require 'rubygems'
-require 'hanna/rdoc_version'
+require 'hanna/version'
 Hanna::require_rdoc
 require 'rdoc/rdoc'
 </diff>
      <filename>bin/hanna</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 Gem::Specification.new do |s|
   s.name = %q{hanna}
-  s.version = &quot;0.1.9&quot;
+  s.version = &quot;0.1.10&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Mislav Marohni\304\207&quot;]
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
   s.description = %q{Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind.}
   s.email = %q{mislav.marohnic@gmail.com}
   s.executables = [&quot;hanna&quot;]
-  s.files = [&quot;Rakefile&quot;, &quot;bin/hanna&quot;, &quot;lib/hanna/hanna.rb&quot;, &quot;lib/hanna/rdoc_version.rb&quot;, &quot;lib/hanna/rdoctask.rb&quot;, &quot;lib/hanna/template_files/class_index.haml&quot;, &quot;lib/hanna/template_files/file_index.haml&quot;, &quot;lib/hanna/template_files/index.haml&quot;, &quot;lib/hanna/template_files/layout.haml&quot;, &quot;lib/hanna/template_files/method_index.haml&quot;, &quot;lib/hanna/template_files/method_list.haml&quot;, &quot;lib/hanna/template_files/method_search.js&quot;, &quot;lib/hanna/template_files/page.haml&quot;, &quot;lib/hanna/template_files/prototype-1.6.0.3.js&quot;, &quot;lib/hanna/template_files/sections.haml&quot;, &quot;lib/hanna/template_files/styles.sass&quot;, &quot;lib/hanna/template_helpers.rb&quot;, &quot;lib/hanna/template_page_patch.rb&quot;, &quot;lib/hanna.rb&quot;, &quot;lib/rubygems_plugin.rb&quot;, &quot;README.markdown&quot;]
+  s.files = [&quot;Rakefile&quot;, &quot;bin/hanna&quot;, &quot;lib/hanna/hanna.rb&quot;, &quot;lib/hanna/rdoctask.rb&quot;, &quot;lib/hanna/template_files/class_index.haml&quot;, &quot;lib/hanna/template_files/file_index.haml&quot;, &quot;lib/hanna/template_files/index.haml&quot;, &quot;lib/hanna/template_files/layout.haml&quot;, &quot;lib/hanna/template_files/method_index.haml&quot;, &quot;lib/hanna/template_files/method_list.haml&quot;, &quot;lib/hanna/template_files/method_search.js&quot;, &quot;lib/hanna/template_files/page.haml&quot;, &quot;lib/hanna/template_files/prototype-1.6.0.3.js&quot;, &quot;lib/hanna/template_files/sections.haml&quot;, &quot;lib/hanna/template_files/styles.sass&quot;, &quot;lib/hanna/template_helpers.rb&quot;, &quot;lib/hanna/template_page_patch.rb&quot;, &quot;lib/hanna/version.rb&quot;, &quot;lib/hanna.rb&quot;, &quot;lib/rubygems_plugin.rb&quot;, &quot;README.markdown&quot;]
   s.homepage = %q{http://github.com/mislav/hanna}
   s.require_paths = [&quot;lib&quot;]
   s.rubygems_version = %q{1.3.5}</diff>
      <filename>hanna.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-require 'hanna/rdoc_version'
+require 'hanna/version'
 require 'rake'
 require 'rake/rdoctask'
 </diff>
      <filename>lib/hanna/rdoctask.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,23 +1,18 @@
 unless defined?(Hanna) or defined?(RDoc)
   require 'rubygems/doc_manager'
   require 'rubygems/requirement'
-  require 'hanna/rdoc_version'
+  require 'hanna/version'
 
   class &lt;&lt; Gem::DocManager
     alias load_rdoc_without_version_constraint load_rdoc
 
     # overwrite load_rdoc to load the exact version of RDoc that Hanna works with
     def load_rdoc
-      requirement = Gem::Requirement.create Hanna::RDOC_VERSION_REQUIREMENT
-      
-      begin
-        gem 'rdoc', requirement.to_s
-      rescue Gem::LoadError
-        # ignore
-      end
+      Hanna::require_rdoc(false) # don't terminate if failed
 
       # call the original method
       load_rdoc_without_version_constraint
+      requirement = Gem::Requirement.create Hanna::RDOC_VERSION_REQUIREMENT
 
       unless requirement.satisfied_by? rdoc_version
         raise Gem::DocumentError, &quot;ERROR: RDoc version #{requirement} not installed&quot;</diff>
      <filename>lib/rubygems_plugin.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/hanna/rdoc_version.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>79348d70727c0c4fca7fc3137ac55eab12554d8d</id>
    </parent>
  </parents>
  <author>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </author>
  <url>http://github.com/mislav/hanna/commit/028f2dde354bf3ed62c5b0644da6350f871a9b84</url>
  <id>028f2dde354bf3ed62c5b0644da6350f871a9b84</id>
  <committed-date>2009-09-17T06:07:59-07:00</committed-date>
  <authored-date>2009-09-17T06:07:59-07:00</authored-date>
  <message>release 0.1.10 -- provide Hanna::VERSION string</message>
  <tree>bbab0af39ce2bee125aab461075515fa459e85b4</tree>
  <committer>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </committer>
</commit>
