<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>LICENSE</filename>
    </added>
    <added>
      <filename>README.rdoc</filename>
    </added>
    <added>
      <filename>example/README.rdoc</filename>
    </added>
    <added>
      <filename>lib/yard-rspec.rb</filename>
    </added>
    <added>
      <filename>lib/yard-rspec/handler.rb</filename>
    </added>
    <added>
      <filename>lib/yard-rspec/legacy.rb</filename>
    </added>
    <added>
      <filename>templates/default/method_details/html/specs.erb</filename>
    </added>
    <added>
      <filename>templates/default/method_details/setup.rb</filename>
    </added>
    <added>
      <filename>templates/default/method_details/text/specs.erb</filename>
    </added>
    <added>
      <filename>yard-rspec.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,25 @@
+require 'rubygems'
+require 'rake/gempackagetask'
+require 'spec'
+require 'spec/rake/spectask'
 require 'yard'
 
-YARD::Rake::YardocTask.new
\ No newline at end of file
+WINDOWS = (PLATFORM =~ /win32|cygwin/ ? true : false) rescue false
+SUDO = WINDOWS ? '' : 'sudo'
+
+task :default =&gt; :install
+
+load 'yard-rspec.gemspec'
+Rake::GemPackageTask.new(SPEC) do |pkg|
+  pkg.gem_spec = SPEC
+  pkg.need_zip = true
+  pkg.need_tar = true
+end
+
+desc &quot;Install the gem locally&quot;
+task :install =&gt; :package do 
+  sh &quot;#{SUDO} gem install pkg/#{SPEC.name}-#{SPEC.version}.gem --local --no-rdoc --no-ri&quot;
+  sh &quot;rm -rf pkg/yard-#{SPEC.version}&quot; unless ENV['KEEP_FILES']
+end
+
+YARD::Rake::YardocTask.new</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -11,12 +11,14 @@ end
 # 
 # Specs
 # 
-describe String, '#pig_latin' do
-  it &quot;should be a pig!&quot; do
-    &quot;hello&quot;.pig_latin.should == &quot;ellohay&quot;
-   end
+describe String do
+  describe '#pig_latin' do
+    it &quot;should be a pig!&quot; do
+      &quot;hello&quot;.pig_latin.should == &quot;ellohay&quot;
+     end
 
-  it &quot;should fail to be a pig!&quot; do
-    &quot;hello&quot;.pig_latin.should == &quot;hello&quot;
+    it &quot;should fail to be a pig!&quot; do
+      &quot;hello&quot;.pig_latin.should == &quot;hello&quot;
+    end
   end
 end
\ No newline at end of file</diff>
      <filename>example/example_code.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>example/README.txt</filename>
    </removed>
    <removed>
      <filename>lib/yard-spec.rb</filename>
    </removed>
    <removed>
      <filename>templates/default/method/html/specs.erb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>675f1fb0f58c010ae3bff9ffd5e8ad60a1f47d98</id>
    </parent>
  </parents>
  <author>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </author>
  <url>http://github.com/lsegal/yard-spec-plugin/commit/ea96363d01825df152f98d891a073ea6e58e2282</url>
  <id>ea96363d01825df152f98d891a073ea6e58e2282</id>
  <committed-date>2009-11-01T23:47:01-08:00</committed-date>
  <authored-date>2009-11-01T23:47:01-08:00</authored-date>
  <message>Update yard-spec-plugin for new yard release</message>
  <tree>96ccbe8b69b4130aec31c9057b288de0907da24f</tree>
  <committer>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </committer>
</commit>
