lib/rubygems/deployment.rb in rubygems-update-0.8.8 vs lib/rubygems/deployment.rb in rubygems-update-0.8.10
- old
+ new
@@ -1,7 +1,9 @@
# The following is borrowed from setup.rb
+class File; end
+
def File.binread(fname)
open(fname, 'rb') {|f|
return f.read
}
end
@@ -260,6 +262,6 @@
new_checksum == @checksum
end
end
end
-end
\ No newline at end of file
+end