<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>AUTHORS</filename>
    </added>
    <added>
      <filename>CHANGELOG</filename>
    </added>
    <added>
      <filename>LICENSE</filename>
    </added>
    <added>
      <filename>MANIFEST</filename>
    </added>
    <added>
      <filename>doc/LEGAL</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) &lt;rubyists@rubyists.com&gt;
+# Distributed under the terms of the MIT license.
+# See the LICENSE file which accompanies this software for the full text
+#
 begin; require 'rubygems'; rescue LoadError; end
 
 require 'rake'
@@ -5,7 +9,6 @@ require 'rake/clean'
 require 'rake/gempackagetask'
 require 'time'
 require 'date'
-require &quot;lib/cgi_fast_escape&quot;
 
 PROJECT_SPECS = FileList[
   'spec/*/**/*.rb'
@@ -68,6 +71,8 @@ GEMSPEC = Gem::Specification.new{|s|
   s.version      = PROJECT_VERSION
   s.files        = PROJECT_FILES
   s.require_path = &quot;lib&quot;
+  s.add_dependency &quot;url_escape&quot;
+  s.rubyforge_project = &quot;url-escape&quot;
   
 
   s.post_install_message = &lt;&lt;MESSAGE</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,7 @@
+# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) &lt;rubyists@rubyists.com&gt;
+# Distributed under the terms of the MIT license.
+# See the LICENSE file which accompanies this software for the full text
+#
 %w{cgi url_escape}.each { |lib|
   begin
     require lib</diff>
      <filename>lib/cgi_fast_escape.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
 module CgiFastEscape
-  VERSION = &quot;0.0.2&quot;
+  VERSION = &quot;2009.06.24&quot;
 end</diff>
      <filename>lib/cgi_fast_escape/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,7 @@
-require &quot;pathname&quot;
+# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) &lt;rubyists@rubyists.com&gt;
+# Distributed under the terms of the MIT license.
+# See the LICENSE file which accompanies this software for the full text
+#
 %w{bacon rack}.each { |lib|
   begin
     require lib
@@ -9,8 +12,8 @@ require &quot;pathname&quot;
 }
 
 begin
-  if (local_path = Pathname.new(__FILE__).dirname.join(&quot;..&quot;, &quot;lib&quot;, &quot;cgi_fast_escape.rb&quot;)).file?
-    require local_path
+  if File.file?(local_path = File.expand_path(&quot;../../lib/cgi_fast_escape.rb&quot;, __FILE__))
+    require File.join(File.dirname(local_path),File.basename(local_path, &quot;.rb&quot;))
   else
     require &quot;cgi_fast_escape&quot;
   end</diff>
      <filename>spec/helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,7 @@
+# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) &lt;rubyists@rubyists.com&gt;
+# Distributed under the terms of the MIT license.
+# See the LICENSE file which accompanies this software for the full text
+#
 require File.expand_path(&quot;../../helper&quot;, __FILE__)
 describe &quot;CgiFastEscape&quot; do
   describe &quot;module embedding&quot; do</diff>
      <filename>spec/lib/cgi_fast_escape.rb</filename>
    </modified>
    <modified>
      <diff>@@ -26,13 +26,16 @@ task :copyright =&gt; [:legal] do
   puts
 
   (Pathname.glob('{controller,model,app,lib,test,spec}/**/*{.rb}') + 
-   Pathname.glob(&quot;tasks/*.rake&quot;) +
    Pathname.glob(&quot;Rakefile&quot;)).each do |file|
     next if ignore.include? file.expand_path
     lines = file.readlines.map{ |l| l.chomp }
+    if lines.first.match(/^# \* \w.*/)
+      @f = lines.shift
+    end
     unless lines.first(PROJECT_COPYRIGHT_SUMMARY.size) == PROJECT_COPYRIGHT_SUMMARY
       oldlines = file.readlines
-      file.open(&quot;w+&quot;) { |f| f.puts PROJECT_COPYRIGHT_SUMMARY + oldlines }
+      oldlines.shift if @f
+      file.open(&quot;w+&quot;) { |f| f.puts @f if @f;f.puts PROJECT_COPYRIGHT_SUMMARY + oldlines }
     end
   end
 end</diff>
      <filename>tasks/copyright.rake</filename>
    </modified>
    <modified>
      <diff>@@ -23,13 +23,13 @@ INSTRUCTIONS
   # TODO: Not tested
   desc 'Display instructions to release on rubyforge'
   task :rubyforge =&gt; [:reversion, :gemspec, :package] do
-    name, version = GEMSPEC.name, GEMSPEC.version.to_s
+    rf_project, name, version = GEMSPEC.rubyforge_project, GEMSPEC.name, GEMSPEC.version.to_s
 
     puts &lt;&lt;INSTRUCTIONS
 To publish to rubyforge do following:
 
 rubyforge login
-rubyforge add_release #{name} #{name} #{version.dump} pkg/#{name}-#{version}.gem
+rubyforge add_release #{rf_project} #{name} #{version.dump} -n README pkg/#{name}-#{version}.gem
 
 After you have done these steps, see:
 
@@ -40,11 +40,11 @@ INSTRUCTIONS
 
   desc 'Display instructions to add archives after release:rubyforge'
   task :rubyforge_archives do
-    name, version = GEMSPEC.name, GEMSPEC.version.to_s
+    rf_project, name, version = GEMSPEC.rubyforge_project, GEMSPEC.name, GEMSPEC.version.to_s
     puts &quot;Adding archives for distro packagers is:&quot;, &quot;&quot;
 
     Dir[&quot;pkg/#{name}-#{version}.{tgz,zip}&quot;].each do |file|
-      puts &quot;rubyforge add_file %s %s %p %p&quot; % [name, name, version, file]
+      puts &quot;rubyforge add_file %s %s %p %p&quot; % [rf_project, name, version, file]
     end
 
     puts</diff>
      <filename>tasks/release.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5707c73c430d2cf732c5fe2cfc2ab4433a814290</id>
    </parent>
  </parents>
  <author>
    <name>TJ Vanderpoel</name>
    <email>TJ Vanderpoel tj@rubyists.com</email>
  </author>
  <url>http://github.com/bougyman/cgi_fast_escape/commit/0373cb36cd17b6613b3a099fe041b858ae97c31a</url>
  <id>0373cb36cd17b6613b3a099fe041b858ae97c31a</id>
  <committed-date>2009-06-24T17:19:27-07:00</committed-date>
  <authored-date>2009-06-24T17:19:27-07:00</authored-date>
  <message>added copyright and fixed publishing tasks</message>
  <tree>efeb7f5f5a402b1435b1a3c47f4995983edfa328</tree>
  <committer>
    <name>TJ Vanderpoel</name>
    <email>TJ Vanderpoel tj@rubyists.com</email>
  </committer>
</commit>
