summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 00:56:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 00:56:06 +0000
commit955a6258a345494756a4a5cd1a129e03c88ec0c1 (patch)
tree3175331dbff063a59754d39ef8977a483ae26297 /lib
parent8fadbe5f3e5e8b2d9f635a274b4121811313de84 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems.rb4
1 files changed, 2 insertions, 2 deletions
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