<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>VERSION</filename>
    </added>
    <added>
      <filename>rack-bug.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,19 +1,28 @@
 require &quot;rubygems&quot;
-require &quot;rake/gempackagetask&quot;
-require &quot;rake/clean&quot;
 require &quot;spec/rake/spectask&quot;
 
 $LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'
-
 require &quot;rack/bug&quot;
 
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |s|
+    s.name      = &quot;rack-bug&quot;
+    s.author    = &quot;Bryan Helmkamp&quot;
+    s.email     = &quot;bryan&quot; + &quot;@&quot; + &quot;brynary.com&quot;
+    s.homepage  = &quot;http://github.com/brynary/rack-bug&quot;
+    s.summary   = &quot;Debugging toolbar for Rack applications implemented as middleware&quot;
+    # s.description  = &quot;TODO&quot;
+    s.extra_rdoc_files = %w(README.rdoc MIT-LICENSE.txt)
+  end
+rescue LoadError
+  puts &quot;Jeweler not available. Install it with: gem install jeweler&quot;
+end
+
 Spec::Rake::SpecTask.new do |t|
   t.spec_opts = ['--options', &quot;\&quot;#{File.dirname(__FILE__)}/spec/spec.opts\&quot;&quot;]
 end
 
-desc &quot;Run the specs&quot;
-task :default =&gt; :spec
-
 desc &quot;Run all specs in spec directory with RCov&quot;
 Spec::Rake::SpecTask.new(:rcov) do |t|
   t.spec_opts = ['--options', &quot;\&quot;#{File.dirname(__FILE__)}/spec/spec.opts\&quot;&quot;]
@@ -23,27 +32,5 @@ Spec::Rake::SpecTask.new(:rcov) do |t|
   end
 end
 
-spec = Gem::Specification.new do |s|
-  s.name         = &quot;rack-bug&quot;
-  s.version      = Rack::Bug::VERSION
-  s.author       = &quot;Bryan Helmkamp&quot;
-  s.email        = &quot;bryan&quot; + &quot;@&quot; + &quot;brynary.com&quot;
-  s.homepage     = &quot;http://github.com/brynary/rack-bug&quot;
-  s.summary      = &quot;Debugging toolbar for Rack applications implemented as middleware&quot;
-  s.description  = s.summary
-  s.files        = %w[History.txt Rakefile README.rdoc] + Dir[&quot;lib/**/*&quot;]
-  
-  # rdoc
-  s.has_rdoc         = true
-  s.extra_rdoc_files = %w(README.rdoc MIT-LICENSE.txt)
-end
-
-Rake::GemPackageTask.new(spec) do |package|
-  package.gem_spec = spec
-end
-
-desc 'Install the package as a gem.'
-task :install =&gt; [:clean, :package] do
-  gem = Dir['pkg/*.gem'].first
-  sh &quot;sudo gem install --no-rdoc --no-ri --local #{gem}&quot;
-end
\ No newline at end of file
+desc &quot;Run the specs&quot;
+task :default =&gt; :spec
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ module Rack::Bug
   autoload :TemplatesPanel,         &quot;rack/bug/panels/templates_panel&quot;
   autoload :TimerPanel,             &quot;rack/bug/panels/timer_panel&quot;
 
-  VERSION = &quot;0.1.0&quot;
+  VERSION = File.read(File.join(File.dirname(__FILE__), &quot;..&quot;, &quot;..&quot;, &quot;VERSION&quot;)).strip
 
   class SecurityError &lt; StandardError
   end</diff>
      <filename>lib/rack/bug.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e973490f5a3adfbcbf008ae3ce14f0d90638630f</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Helmkamp</name>
    <email>bryan@brynary.com</email>
  </author>
  <url>http://github.com/brynary/rack-bug/commit/5203c43078e811336bce85cc23b5f78c1bfc1562</url>
  <id>5203c43078e811336bce85cc23b5f78c1bfc1562</id>
  <committed-date>2009-08-06T14:45:25-07:00</committed-date>
  <authored-date>2009-08-06T14:34:56-07:00</authored-date>
  <message>Add Jeweler for gem management</message>
  <tree>8aab5dc229d03e9df55494b32bc5af10a8935968</tree>
  <committer>
    <name>Bryan Helmkamp</name>
    <email>bryan@brynary.com</email>
  </committer>
</commit>
