From 955a6258a345494756a4a5cd1a129e03c88ec0c1 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 Dec 2013 00:56:06 +0000 Subject: * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 9baee34b2d..7dea86c3dd 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -764,9 +764,9 @@ module Gem # Safely read a file in binary mode on all platforms. def self.read_binary(path) - File.open path, binary_mode do |f| + File.open path, binary_mode do |f| f.flock(File::LOCK_EX) - f.read + f.read end end -- cgit v1.2.3