<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,10 @@
 History.txt
-lib
+Manifest.txt
+README.txt
+Rakefile
 lib/hmac-md5.rb
 lib/hmac-rmd160.rb
 lib/hmac-sha1.rb
 lib/hmac-sha2.rb
 lib/hmac.rb
-Manifest.txt
-Rakefile
-README.txt
-test/
 test/test_hmac.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -13,3 +13,13 @@ Hoe.new('ruby-hmac', HMAC::VERSION) do |p|
   p.changes = p.paragraphs_of('History.txt', 0..1).join(&quot;\n\n&quot;)
   p.remote_rdoc_dir = '' # Release to root
 end
+
+desc &quot;Simple require on packaged files to make sure they are all there&quot;
+task :verify =&gt; :package do
+  # An error message will be displayed if files are missing
+  if system %(ruby -e &quot;require 'pkg/ruby-hmac-#{HMAC::VERSION}/lib/hmac'&quot;)
+    puts &quot;\nThe library files are present&quot;
+  end
+end
+
+task :release =&gt; :verify</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -10,11 +10,15 @@
 # These APIs are inspired by JCE 1.2's javax.crypto.Mac interface.
 #
 #   &lt;URL:http://java.sun.com/security/JCE1.2/spec/apidoc/javax/crypto/Mac.html&gt;
+#
+# Source repository is at
+#
+#   http://github.com/topfunky/ruby-hmac/tree/master
 
 module HMAC
-  
+
   VERSION = '0.3.2'
-  
+
   class Base
     def initialize(algorithm, block_size, output_length, key)
       @algorithm = algorithm
@@ -29,8 +33,8 @@ module HMAC
     private
     def check_status
       unless @initialized
-	raise RuntimeError,
-	  &quot;The underlying hash algorithm has not yet been initialized.&quot;
+        raise RuntimeError,
+        &quot;The underlying hash algorithm has not yet been initialized.&quot;
       end
     end
 
@@ -42,8 +46,8 @@ module HMAC
       key_xor_ipad = &quot;\x36&quot; * @block_size
       key_xor_opad = &quot;\x5C&quot; * @block_size
       for i in 0 .. key.size - 1
-	key_xor_ipad[i] ^= key[i]
-	key_xor_opad[i] ^= key[i]
+        key_xor_ipad[i] ^= key[i]
+        key_xor_opad[i] ^= key[i]
       end
       @key_xor_ipad = key_xor_ipad
       @key_xor_opad = key_xor_opad
@@ -90,21 +94,21 @@ module HMAC
     # held a key even if it's no longer in use.
     def Base.digest(key, text)
       begin
-	hmac = self.new(key)
-	hmac.update(text)
-	hmac.digest
+        hmac = self.new(key)
+        hmac.update(text)
+        hmac.digest
       ensure
-	hmac.reset_key
+        hmac.reset_key
       end
     end
 
     def Base.hexdigest(key, text)
       begin
-	hmac = self.new(key)
-	hmac.update(text)
-	hmac.hexdigest
+        hmac = self.new(key)
+        hmac.update(text)
+        hmac.hexdigest
       ensure
-	hmac.reset_key
+        hmac.reset_key
       end
     end
 </diff>
      <filename>lib/hmac.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f53c9e68380854e28d8a80ddc7deb7fb98a4717e</id>
    </parent>
  </parents>
  <author>
    <name>Geoffrey Grosenbach</name>
    <email>boss@topfunky.com</email>
  </author>
  <url>http://github.com/entangledstate/ruby-hmac/commit/9ed0f3f7484f8869a7636a15562eb31e0a452bb6</url>
  <id>9ed0f3f7484f8869a7636a15562eb31e0a452bb6</id>
  <committed-date>2008-08-21T09:17:42-07:00</committed-date>
  <authored-date>2008-08-21T09:17:42-07:00</authored-date>
  <message>Formatting cleanup. Added verify task for release.</message>
  <tree>41d361f2909a4c19edd722a21ff9ac16e9ed3a15</tree>
  <committer>
    <name>Geoffrey Grosenbach</name>
    <email>boss@topfunky.com</email>
  </committer>
</commit>
