[Rubygems-developers] [patch] lib/rubygems/format.rb not compatible with Ruby 1.9 HEAD

Jos Backus jos at catnook.com
Fri Aug 17 14:58:01 EDT 2007


Fix:

--- ./lib/rubygems/format.rb.orig       2007-08-17 14:50:37.000000000 -0400
+++ ./lib/rubygems/format.rb    2007-08-17 14:50:59.000000000 -0400
@@ -60,8 +60,8 @@
         format.spec = pkg.metadata
         format.file_entries = []
         pkg.each do |entry|
-          format.file_entries << [{"size", entry.size, "mode", entry.mode,
-              "path", entry.full_name}, entry.read]
+          format.file_entries << [{"size" => entry.size, "mode" => entry.mode,
+              "path" => entry.full_name}, entry.read]
         end
       end
       format

-- 
Jos Backus
jos at catnook.com


More information about the Rubygems-developers mailing list