[前][次][番号順一覧][スレッド一覧]

ruby-changes:13453

From: nobu <ko1@a...>
Date: Sun, 4 Oct 2009 14:01:25 +0900 (JST)
Subject: [ruby-changes:13453] Ruby:r25227 (trunk): * lib/rubygems.rb (Gem::binary_mode): binary mode uses binary

nobu	2009-10-04 14:01:12 +0900 (Sun, 04 Oct 2009)

  New Revision: 25227

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25227

  Log:
    * lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
      encoding.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 25226)
+++ ChangeLog	(revision 25227)
@@ -1,3 +1,8 @@
+Sun Oct  4 14:01:10 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
+	  encoding.
+
 Sun Oct  4 08:27:10 2009  Tanaka Akira  <akr@f...>
 
 	* enum.c (slicebefore_ii): use id_eqq.
@@ -4,7 +9,8 @@
 
 Sun Oct  4 06:40:09 2009  Alexander Zavorine  <alexandre.zavorine@n...>
 
-    * 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@a...>
 
Index: lib/rubygems.rb
===================================================================
--- lib/rubygems.rb	(revision 25226)
+++ lib/rubygems.rb	(revision 25227)
@@ -388,7 +388,7 @@
   # 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
 
   ##

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]