summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 13:39:07 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 13:39:07 +0000
commit1e14391978ea5da3f86d58b664ce91f86fc0694d (patch)
tree9c1352c5134be1baf4d574d9a5ecc7c4aa272a1f
parentc33a807643c39713870cca66e0777e40bf4e45f5 (diff)
merge revision(s) r40833:
Default script encoding is now UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/envutil.rb2
-rw-r--r--version.h6
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f8549443e6..a035245923 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 18 22:38:01 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
+ specify the encoding of source.
+
Mon Feb 17 02:00:36 2014 Tanaka Akira <akr@fsij.org>
* lib/open-uri.rb: Make proxy disabling working again.
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 69bd7f7472..b3384234d5 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -160,7 +160,7 @@ module Test
code.sub!(/\A(?:\xef\xbb\xbf)?(\s*\#.*$)*(\n)?/n) {
"#$&#{"\n" if $1 && !$2}BEGIN{throw tag, :ok}\n"
}
- code.force_encoding("us-ascii")
+ code.force_encoding(Encoding::UTF_8)
verbose, $VERBOSE = $VERBOSE, nil
yield if defined?(yield)
case
diff --git a/version.h b/version.h
index 7cf73dea81..a2967c8e11 100644
--- a/version.h
+++ b/version.h
@@ -1,10 +1,10 @@
#define RUBY_VERSION "2.0.0"
-#define RUBY_RELEASE_DATE "2014-02-17"
-#define RUBY_PATCHLEVEL 433
+#define RUBY_RELEASE_DATE "2014-02-18"
+#define RUBY_PATCHLEVEL 434
#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 2
-#define RUBY_RELEASE_DAY 17
+#define RUBY_RELEASE_DAY 18
#include "ruby/version.h"