[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.
[rubygems/rubygems] Simplify
Gem.read_binaryandGem.write_binarySince
Gem.open_fileno longer locks the target file and is same asFile.opennow, simplyGem.read_binaryshould read in binary mode.Also the body of
Gem.write_binaryis same asFile.binwrite.https://github.com/rubygems/rubygems/commit/44df9045df