diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-08-12 20:38:09 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-09-02 17:28:50 +0000 |
| commit | c1fecc5eabba5bb22a3ebd5616fa50ad612ef4d9 (patch) | |
| tree | 848ef6329272081c079a9f74eab5a3e020e31b19 /test/ruby | |
| parent | 1f00f6a09ef8c973be699ad27ab3df3787b4f7af (diff) | |
[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
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
