Project

General

Profile

« Previous | Next » 

Revision c1fecc5e

Added by nobu (Nobuyoshi Nakada) about 1 year 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