<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README.markdown</filename>
    </added>
    <added>
      <filename>lib/rspec-custom-matchers.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,54 @@
 require 'rake'
+require 'rubygems'
+require 'rake/rdoctask'
+require 'spec/rake/spectask'
 
-task :default =&gt; :test
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |s|
+    s.name        = &quot;rspec-custom-matchers&quot;
+    s.summary     = &quot;Define RSpec custom matchers in 1 line&quot;
+    s.email       = &quot;remi@remitaylor.com&quot;
+    s.homepage    = &quot;http://github.com/remi/rspec-custom-matchers&quot;
+    s.description = &quot;Define RSpec custom matchers in 1 line&quot;
+    s.authors     = %w( xdotcommer remi )
+  end
+rescue LoadError
+  puts &quot;Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com&quot;
+end
 
-desc 'Run specs'
-task :test do
-  system('spec -cfs spec/*_spec.rb')
-end
\ No newline at end of file
+Spec::Rake::SpecTask.new do |t|
+  t.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+desc &quot;Run all examples with RCov&quot;
+Spec::Rake::SpecTask.new('rcov') do |t|
+  t.spec_files = FileList['spec/**/*_spec.rb']
+  t.rcov = true
+end
+
+Rake::RDocTask.new do |rdoc|
+  rdoc.rdoc_dir = 'rdoc'
+  rdoc.title    = 'rspec-custom-matchers'
+  rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
+  rdoc.rdoc_files.include('README*')
+  rdoc.rdoc_files.include('lib/**/*.rb')
+end
+
+desc 'Confirm that gemspec is $SAFE'
+task :safe do
+  require 'yaml'
+  require 'rubygems/specification'
+  data = File.read('rspec-custom-matchers.gemspec')
+  spec = nil
+  if data !~ %r{!ruby/object:Gem::Specification}
+    Thread.new { spec = eval(&quot;$SAFE = 3\n#{data}&quot;) }.join
+  else
+    spec = YAML.load(data)
+  end
+  spec.validate
+  puts spec
+  puts &quot;OK&quot;
+end
+
+task :default =&gt; :spec</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>custom_matcher.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>0ecfccd659d5038cdfc88fdc1fee08373e1ee75c</id>
    </parent>
  </parents>
  <author>
    <name>remi</name>
    <email>remi@remitaylor.com</email>
  </author>
  <url>http://github.com/xdotcommer/rspec-custom-matchers/commit/78815a4c4a02a766e5901fba589d7d50abad9469</url>
  <id>78815a4c4a02a766e5901fba589d7d50abad9469</id>
  <committed-date>2009-03-07T09:22:16-08:00</committed-date>
  <authored-date>2009-01-28T14:43:14-08:00</authored-date>
  <message>added README, moved custom_matcher to lib/ to support gem layout ... added jeweler Rakefile

Signed-off-by: Michael Cowden &lt;mcowden@yahoo.com&gt;</message>
  <tree>1b60b138c56b1cc246a53de4e050d4ca5e671ba6</tree>
  <committer>
    <name>Michael Cowden</name>
    <email>mcowden@yahoo.com</email>
  </committer>
</commit>
