aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-04 05:01:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-04 05:01:12 +0000
commitc3721fdcfc72e63610f074f396422bdbae8a45da (patch)
tree4b9d26a1e809cf308906788c290d771de4c04e10
parent47dfb32c43ad463bf62912613dde191594772816 (diff)
downloadruby-c3721fdcfc72e63610f074f396422bdbae8a45da.tar.gz
* lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog8
-rw-r--r--lib/rubygems.rb2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b172a0bd46..3fa2a82767 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,16 @@
+Sun Oct 4 14:01:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
+ encoding.
+
Sun Oct 4 08:27:10 2009 Tanaka Akira <akr@fsij.org>
* enum.c (slicebefore_ii): use id_eqq.
Sun Oct 4 06:40:09 2009 Alexander Zavorine <alexandre.zavorine@nokia.com>
- * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
+ * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the
+ change in dln.c
Sun Oct 4 05:34:34 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 8e6d8c9636..5faca8695f 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -388,7 +388,7 @@ module Gem
# The mode needed to read a file as straight binary.
def self.binary_mode
- @binary_mode ||= RUBY_VERSION > '1.9' ? 'rb:ascii-8bit' : 'rb'
+ 'rb'
end
##