<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 nbproject
 coverage
 doc
+pkg</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,8 @@ require 'rake'
 require 'spec'
 require 'spec/rake/spectask'
 require 'rake/rdoctask'
+require 'rubygems/specification'
+require 'rake/gempackagetask'
 
 task :default =&gt; [:spec]
 
@@ -20,3 +22,12 @@ Rake::RDocTask.new { |rdoc|
   rdoc.rdoc_files.include('README', 'COPYING')
   rdoc.rdoc_files.include('lib/**/*.rb')
 }
+
+# Gem build task - load gemspec from file
+gemspec = File.read('amee-ruby.gemspec')
+spec = nil
+# Eval gemspec in SAFE=3 mode to emulate github build environment
+Thread.new { spec = eval(&quot;$SAFE = 3\n#{gemspec}&quot;) }.join
+Rake::GemPackageTask.new(spec) do |p|
+  p.gem_spec = spec
+end
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0e7e775f5c0ecc655ecb2319aade6357da214fa1</id>
    </parent>
  </parents>
  <author>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </author>
  <url>http://github.com/Floppy/amee-ruby/commit/f01ddb9968e3327d2ff74164353f65db1d48ad24</url>
  <id>f01ddb9968e3327d2ff74164353f65db1d48ad24</id>
  <committed-date>2008-08-20T12:52:50-07:00</committed-date>
  <authored-date>2008-08-20T12:52:50-07:00</authored-date>
  <message>added gem build task to Rakefile</message>
  <tree>49054d114a6c409cdf6d8dec75691bc0d64fba04</tree>
  <committer>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </committer>
</commit>
