<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>CHANGELOG</filename>
    </added>
    <added>
      <filename>Manifest</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,23 +1,21 @@
-require File.dirname(__FILE__) &lt;&lt; &quot;/lib/rtex/version&quot;
-
-load 'tasks/setup.rb'
-
-PROJ.name = 'rtex'
-PROJ.authors = ['Bruce Williams', 'Wiebe Cazemier']
-PROJ.email = ['bruce@codefluency.com']
-PROJ.url = 'http://rtex.rubyforge.org'
-PROJ.rubyforge_name = 'rtex'
+require 'rubygems'
+require 'echoe'
 
-PROJ.libs = %w[]
-PROJ.ruby_opts = []
-PROJ.test_opts = []
-
-PROJ.rdoc_main = 'README.rdoc'
-PROJ.rdoc_include.push 'README.rdoc', 'README_RAILS.rdoc'
-
-PROJ.description = &quot;LaTeX preprocessor for PDF generation; Rails plugin&quot;
-PROJ.summary = PROJ.description
+require File.dirname(__FILE__) &lt;&lt; &quot;/lib/rtex/version&quot;
 
-PROJ.version = RTeX::Version::STRING
+Echoe.new 'rtex' do |p|
+  p.version = RTeX::Version::STRING
+  p.author = ['Bruce Williams', 'Wiebe Cazemier']
+  p.email  = 'bruce@codefluency.com'
+  p.project = 'rtex'
+  p.summary = &quot;LaTeX preprocessor for PDF generation; Rails plugin&quot;
+  p.url = &quot;http://rtex.rubyforge.org&quot;
+  p.include_rakefile = true
+  p.development_dependencies = %w(Shoulda echoe)
+  p.rcov_options = '--exclude gems --exclude version.rb --sort coverage --text-summary --html -o coverage'
+  p.ignore_pattern = /^(pkg|doc|site)|\.svn|CVS|\.bzr|\.DS|\.git/
+end
 
-task 'gem:package' =&gt; 'manifest:assert'
\ No newline at end of file
+task :coverage do
+  system &quot;open coverage/index.html&quot; if PLATFORM['darwin']
+end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,70 +1,74 @@
 require File.dirname(__FILE__) &lt;&lt; '/test_helper'
 
-context &quot;Document Generation&quot; do
+class DocumentTest &lt; Test::Unit::TestCase
+
+  context &quot;Document Generation&quot; do
   
-  def setup
-    change_tmpdir_for_testing
-  end
+    setup do
+      change_tmpdir_for_testing
+    end
   
-  specify &quot;documents have a to_pdf method&quot; do
-    assert document(:first).respond_to?(:to_pdf)
-  end
+    should &quot;have a to_pdf method&quot; do
+      assert document(:first).respond_to?(:to_pdf)
+    end
   
-  specify &quot;can escape characters&quot; do
-    assert_equal '\textbackslash{}\textasciitilde{}', RTeX::Document.escape('\~')
-  end
+    should &quot;escape characters&quot; do
+      assert_equal '\textbackslash{}\textasciitilde{}', RTeX::Document.escape('\~')
+    end
   
-  specify &quot;documents can use a to_pdf block to move a file to a relative path&quot; do
-    begin
-      path = File.expand_path(File.dirname(__FILE__) &lt;&lt; '/tmp/this_is_relative_to_pwd.pdf')
-      document(:first).to_pdf do |filename|
-        assert_nothing_raised do
-          FileUtils.move filename, path
+    should &quot;use a to_pdf block to move a file to a relative path&quot; do
+      begin
+        path = File.expand_path(File.dirname(__FILE__) &lt;&lt; '/tmp/this_is_relative_to_pwd.pdf')
+        document(:first).to_pdf do |filename|
+          assert_nothing_raised do
+            FileUtils.move filename, path
+          end
+          assert File.exists?(path)
         end
-        assert File.exists?(path)
+      ensure
+        FileUtils.rm path rescue nil
       end
-    ensure
-      FileUtils.rm path rescue nil
     end
-  end
   
-  specify &quot;can generate PDF and return as a string&quot; do
-    @author = 'Foo'
-    assert_equal '%PDF', document(:first).to_pdf(binding)[0, 4]
-  end
+    should &quot;generate PDF and return as a string&quot; do
+      @author = 'Foo'
+      assert_equal '%PDF', document(:first).to_pdf(binding)[0, 4]
+    end
   
-  specify &quot;can generate TeX source and return as a string with debug option&quot; do
-    @author = 'Foo'
-    assert_not_equal '%PDF', document(:first, :tex =&gt; true).to_pdf(binding)[0, 4]    
-  end
+    should &quot;generate TeX source and return as a string with debug option&quot; do
+      @author = 'Foo'
+      assert_not_equal '%PDF', document(:first, :tex =&gt; true).to_pdf(binding)[0, 4]    
+    end
   
-  specify &quot;can generate PDF and give access to file directly&quot; do
-    @author = 'Foo'
-    data_read = nil
-    invocation_result = document(:first).to_pdf(binding) do |filename|
-      data_read = File.open(filename, 'rb') { |f| f.read }
-      :not_the_file_contents
+    should &quot;generate PDF and give access to file directly&quot; do
+      @author = 'Foo'
+      data_read = nil
+      invocation_result = document(:first).to_pdf(binding) do |filename|
+        data_read = File.open(filename, 'rb') { |f| f.read }
+        :not_the_file_contents
+      end
+      assert_equal '%PDF', data_read[0, 4]
+      assert_equal :not_the_file_contents, invocation_result
     end
-    assert_equal '%PDF', data_read[0, 4]
-    assert_equal :not_the_file_contents, invocation_result
-  end
   
-  specify &quot;can generate TeX source and give access to file directly&quot; do
-    @author = 'Foo'
-    data_read = nil
-    invocation_result = document(:first, :tex =&gt; true).to_pdf(binding) do |filename|
-      data_read = File.open(filename, 'rb') { |f| f.read }
-      :not_the_file_contents
+    should &quot;generate TeX source and give access to file directly&quot; do
+      @author = 'Foo'
+      data_read = nil
+      invocation_result = document(:first, :tex =&gt; true).to_pdf(binding) do |filename|
+        data_read = File.open(filename, 'rb') { |f| f.read }
+        :not_the_file_contents
+      end
+      assert_not_equal '%PDF', data_read[0, 4]
+      assert_equal :not_the_file_contents, invocation_result
+    end
+  
+    should &quot;wrap in a layout using `yield'&quot; do
+      doc = document(:fragment, :layout =&gt; 'testing_layout[&lt;%= yield %&gt;]')
+      @name = 'ERB'
+      source = doc.source(binding)
+      assert source =~ /^testing_layout.*?ERB, Fragmented/
     end
-    assert_not_equal '%PDF', data_read[0, 4]
-    assert_equal :not_the_file_contents, invocation_result
-  end
   
-  specify &quot;can wrap in a layout using `yield'&quot; do
-    doc = document(:fragment, :layout =&gt; 'testing_layout[&lt;%= yield %&gt;]')
-    @name = 'ERB'
-    source = doc.source(binding)
-    assert source =~ /^testing_layout.*?ERB, Fragmented/
   end
   
 end
\ No newline at end of file</diff>
      <filename>test/document_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,24 @@
 require File.dirname(__FILE__) &lt;&lt; '/test_helper'
 
-context &quot;Filtering Documents&quot; do
+class FilterTest &lt; Test::Unit::TestCase
+
+  context &quot;Filtering Documents&quot; do
   
-  specify &quot;can filter through textile&quot; do
-    doc = document('text.textile', :filter =&gt; 'textile')
-    source = doc.source(binding)
-    assert source.include?('\item')
-  end
+    should &quot;filter through textile&quot; do
+      doc = document('text.textile', :filter =&gt; 'textile')
+      source = doc.source(binding)
+      assert source.include?('\item')
+    end
   
-  specify &quot;does not affect layouts&quot; do
-    doc = document('text.textile',
-            :filter =&gt; 'textile',
-            :layout =&gt; &quot;* layout\n* is\n&lt;%= yield %&gt;&quot;)
-    source = doc.source(binding)
-    assert source.include?(&quot;* layout&quot;), &quot;filtered layout&quot;
-    assert source.include?('\item'), &quot;didn't filter content&quot;
-  end
+    should &quot;not affect layouts&quot; do
+      doc = document('text.textile',
+              :filter =&gt; 'textile',
+              :layout =&gt; &quot;* layout\n* is\n&lt;%= yield %&gt;&quot;)
+      source = doc.source(binding)
+      assert source.include?(&quot;* layout&quot;), &quot;filtered layout&quot;
+      assert source.include?('\item'), &quot;didn't filter content&quot;
+    end
 
+  end
+  
 end
\ No newline at end of file</diff>
      <filename>test/filter_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,63 +1,67 @@
 require File.dirname(__FILE__) &lt;&lt; '/test_helper'
 
-context &quot;Creating a temporary directory&quot; do
+class TempdirTest &lt; Test::Unit::TestCase
+
+  context &quot;Creating a temporary directory&quot; do
   
-  def setup
-    change_tmpdir_for_testing
-  end
+    setup do
+      change_tmpdir_for_testing
+    end
   
-  specify &quot;changes directory&quot; do
-    old_location = Dir.pwd
-    block_location = nil
-    RTeX::Tempdir.open do
-      assert_not_equal old_location, Dir.pwd
-      block_location = Dir.pwd
+    should &quot;change directory&quot; do
+      old_location = Dir.pwd
+      block_location = nil
+      RTeX::Tempdir.open do
+        assert_not_equal old_location, Dir.pwd
+        block_location = Dir.pwd
+      end
+      assert_equal old_location, Dir.pwd
+      assert !File.exists?(block_location)
     end
-    assert_equal old_location, Dir.pwd
-    assert !File.exists?(block_location)
-  end
   
-  specify &quot;uses a 'rtex' name prefix&quot; do
-    RTeX::Tempdir.open do
-      assert_equal 'rtex-', File.basename(Dir.pwd)[0,5]
+    should &quot;use a 'rtex' name prefix&quot; do
+      RTeX::Tempdir.open do
+        assert_equal 'rtex-', File.basename(Dir.pwd)[0,5]
+      end
     end
-  end
   
-  specify &quot;by default, removes the directory after use if no exception occurs&quot; do
-    path = nil
-    RTeX::Tempdir.open do
-      path = Dir.pwd
-      assert File.exists?(path)
+    should &quot;remove the directory after use if no exception occurs by default&quot; do
+      path = nil
+      RTeX::Tempdir.open do
+        path = Dir.pwd
+        assert File.exists?(path)
+      end
+      assert !File.exists?(path)
     end
-    assert !File.exists?(path)
-  end
   
-  specify &quot;returns result of last statment if automatically removing the directory&quot; do
-    result = RTeX::Tempdir.open do
-      :last
+    should &quot;return the result of the last statement if automatically removing the directory&quot; do
+      result = RTeX::Tempdir.open do
+        :last
+      end
+      assert_equal :last, :last
     end
-    assert_equal :last, :last
-  end
   
-  specify &quot;returns result of last statment if not automatically removing the directory&quot; do
-    tempdir = nil # to capture value
-    result = RTeX::Tempdir.open do |tempdir|
-      :last
+    should &quot;return the result of the last statment if not automatically removing the directory&quot; do
+      tempdir = nil # to capture value
+      result = RTeX::Tempdir.open do |tempdir|
+        :last
+      end
+      tempdir.remove!
+      assert_equal :last, :last
     end
-    tempdir.remove!
-    assert_equal :last, :last
-  end
   
-  specify &quot;does not remove the directory after use if an exception occurs&quot; do
-    path = nil
-    assert_raises RuntimeError do
-      RTeX::Tempdir.open do
-        path = Dir.pwd
-        assert File.directory?(path)
-        raise &quot;Test exception!&quot;
+    should &quot;not remove the directory after use if an exception occurs&quot; do
+      path = nil
+      assert_raises RuntimeError do
+        RTeX::Tempdir.open do
+          path = Dir.pwd
+          assert File.directory?(path)
+          raise &quot;Test exception!&quot;
+        end
       end
+      assert File.directory?(path)
     end
-    assert File.directory?(path)
+  
   end
   
 end
\ No newline at end of file</diff>
      <filename>test/tempdir_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,12 @@
 require 'test/unit'
 
-require 'rubygems' rescue nil
-require 'test/spec'
-require 'flexmock'
-require 'flexmock/test_unit'
+require 'rubygems'
+begin
+  require 'shoulda'
+  require 'flexmock/test_unit'
+rescue LoadError
+  abort &quot;the `Shoulda' and `flexmock' gems are required for testing&quot;
+end
 
 require File.dirname(__FILE__) &lt;&lt; '/../lib/rtex'
 </diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>HISTORY.rdoc</filename>
    </removed>
    <removed>
      <filename>Manifest.txt</filename>
    </removed>
    <removed>
      <filename>tasks/doc.rake</filename>
    </removed>
    <removed>
      <filename>tasks/gem.rake</filename>
    </removed>
    <removed>
      <filename>tasks/manifest.rake</filename>
    </removed>
    <removed>
      <filename>tasks/post_load.rake</filename>
    </removed>
    <removed>
      <filename>tasks/setup.rb</filename>
    </removed>
    <removed>
      <filename>tasks/test.rake</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>d226f07cac31201d1ef241c8dcbca851d1ae40c5</id>
    </parent>
  </parents>
  <author>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </author>
  <url>http://github.com/bruce/rtex/commit/61c7d14b57f72af1bb40d8ed39dfa5052eced87f</url>
  <id>61c7d14b57f72af1bb40d8ed39dfa5052eced87f</id>
  <committed-date>2008-08-17T13:45:41-07:00</committed-date>
  <authored-date>2008-08-17T13:42:27-07:00</authored-date>
  <message>Administrative Changes
* Convert testing from test/spec -&gt; shoulda
* Convert packaging from bones -&gt; echoe</message>
  <tree>3485ca60598721177096904a35ef2f3434a30e55</tree>
  <committer>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </committer>
</commit>
