<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>examples/spec_converter_example.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -4,56 +4,36 @@ require 'rubygems'
 require 'lib/spec_converter'
 require 'rcov/rcovtask'
 require 'echoe'
+gem &quot;spicycode-micronaut&quot;
+require 'micronaut'
+require 'micronaut/rake_task'
 
 Echoe.new(&quot;spec_converter&quot;) do |p|
   p.rubyforge_name = &quot;thinkrelevance&quot;
-  p.description = &quot;Convert your tests to test/spec specs.  See http://opensource.thinkrelevance.com/wiki/spec_converter for details.&quot;
+  p.description = &quot;Convert your tests to test/spec specs.  See http://github.com/relevance/spec_converter/ for details.&quot;
   p.name = 'spec_converter'
   p.summary = &quot;Convert your tests to test/spec specs&quot;
   p.author = &quot;Relevance&quot;
   p.email = &quot;opensource@thinkrelevance.com&quot;
-  p.url = &quot;http://opensource.thinkrelevance.com/wiki/spec_converter&quot;
+  p.url = &quot;http://github.com/relevance/spec_converter/&quot;
   p.rdoc_pattern = /^(lib|bin|ext)|txt|rdoc|CHANGELOG|MIT-LICENSE$/
   rdoc_template = `allison --path`.strip &lt;&lt; &quot;.rb&quot;
   p.rdoc_template = rdoc_template
 end
 
-desc 'Default: run unit tests.'
-task :default =&gt; :test
+task(:default).clear
 
-desc 'Default for CruiseControl'
-task :cruise =&gt; ['test', 'test:flog']
+desc 'Default: run examples.'
+task :default =&gt; :examples
 
-desc 'Test for flog failure'
-namespace :test do
-  task :flog do
-    threshold = (ENV['FLOG_THRESHOLD'] || 120).to_i
-    dirs = %w(lib tasks test)
-    result = IO.popen(&quot;flog #{dirs.join(' ')} 2&gt;/dev/null | grep \&quot;(\&quot; | grep -v \&quot;main#none\&quot; | head -n 1&quot;).readlines.join('')
-    result =~ /\((.*)\)/
-    flog = $1.to_i
-    result =~ /^(.*):/
-    method = $1
-    if flog &gt; threshold
-      raise &quot;FLOG failed for #{method} with score of #{flog} (threshold is #{threshold}).&quot;
-    end  
-    puts &quot;FLOG passed, with highest score being #{flog} for #{method}.&quot;
-  end
-end
+desc &quot;Run all micronaut examples&quot;
+Micronaut::RakeTask.new(:examples)
 
-desc 'Run all tests.'
-Rake::TestTask.new(:test) do |t|
-  t.libs &lt;&lt; 'lib'
-  t.pattern = 'test/**/*_test.rb'
-  t.verbose = true
+namespace :examples do
+  desc &quot;Run all micronaut examples using rcov&quot;
+  Micronaut::RakeTask.new :coverage do |t|
+    t.pattern = &quot;examples/**/*_example.rb&quot;
+    t.rcov = true
+    t.rcov_opts = %[--exclude &quot;gems/*,/Library/Ruby/*,config/*&quot; --text-summary  --sort coverage --no-validator-links]
+  end
 end
-
-Rcov::RcovTask.new(&quot;rcov&quot;) do |t|
-  rcov_output = &quot;tmp/coverage&quot;
-  FileUtils.mkdir_p rcov_output unless File.exist? rcov_output
-  t.libs &lt;&lt; &quot;lib&quot;
-  t.test_files = FileList[&quot;test/**/*_test.rb&quot;]
-  t.output_dir = &quot;#{rcov_output}/&quot;
-  t.verbose = true
-  t.rcov_opts = [&quot;-x&quot;, &quot;^/Library&quot;, &quot;--sort coverage&quot;]
-end          </diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>test/spec_converter_test.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>3236c7809da4428cbf82d3c674517325ebdbdc6a</id>
    </parent>
  </parents>
  <author>
    <name>Rob Sanheim</name>
    <email>rsanheim@gmail.com</email>
  </author>
  <url>http://github.com/relevance/spec_converter/commit/9cdfd9f3be4bb37b5616134ec763fd1b7bf20ca4</url>
  <id>9cdfd9f3be4bb37b5616134ec763fd1b7bf20ca4</id>
  <committed-date>2009-01-17T00:17:50-08:00</committed-date>
  <authored-date>2009-01-17T00:17:50-08:00</authored-date>
  <message>Convert to Micronaut</message>
  <tree>c8e7da62e9af85f0258e5200d887f9ea69e7bcee</tree>
  <committer>
    <name>Rob Sanheim</name>
    <email>rsanheim@gmail.com</email>
  </committer>
</commit>
