Project

General

Profile

« Previous | Next » 

Revision c1fecc5e

Added by nobu (Nobuyoshi Nakada) 10 months ago

[rubygems/rubygems] Simplify Gem.read_binary and Gem.write_binary

Since Gem.open_file no longer locks the target file and is same as
File.open now, simply Gem.read_binary should read in binary mode.
Also the body of Gem.write_binary is same as File.binwrite.

https://github.com/rubygems/rubygems/commit/44df9045df