ruby-changes:35134
From: nagachika <ko1@a...>
Date: Mon, 18 Aug 2014 23:38:40 +0900 (JST)
Subject: [ruby-changes:35134] nagachika:r47216 (ruby_2_1): merge revision(s) r46481: [Backport #9966]
nagachika 2014-08-18 23:38:34 +0900 (Mon, 18 Aug 2014) New Revision: 47216 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47216 Log: merge revision(s) r46481: [Backport #9966] * encoding.c (enc_find): [DOC] never accepted a symbol. [ruby-dev:48308] [Bug #9966] Modified directories: branches/ruby_2_1/ Modified files: branches/ruby_2_1/ChangeLog branches/ruby_2_1/encoding.c branches/ruby_2_1/version.h Index: ruby_2_1/encoding.c =================================================================== --- ruby_2_1/encoding.c (revision 47215) +++ ruby_2_1/encoding.c (revision 47216) @@ -1142,13 +1142,11 @@ enc_list(VALUE klass) https://github.com/ruby/ruby/blob/trunk/ruby_2_1/encoding.c#L1142 /* * call-seq: * Encoding.find(string) -> enc - * Encoding.find(symbol) -> enc * * Search the encoding with specified <i>name</i>. - * <i>name</i> should be a string or symbol. + * <i>name</i> should be a string. * * Encoding.find("US-ASCII") #=> #<Encoding:US-ASCII> - * Encoding.find(:Shift_JIS) #=> #<Encoding:Shift_JIS> * * Names which this method accept are encoding names and aliases * including following special aliases Index: ruby_2_1/ChangeLog =================================================================== --- ruby_2_1/ChangeLog (revision 47215) +++ ruby_2_1/ChangeLog (revision 47216) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1 +Mon Aug 18 23:38:21 2014 Nobuyoshi Nakada <nobu@r...> + + * encoding.c (enc_find): [DOC] never accepted a symbol. + [ruby-dev:48308] [Bug #9966] + Mon Aug 18 23:22:03 2014 Nobuyoshi Nakada <nobu@r...> * string.c (rb_str_resize): update capa only when buffer get Index: ruby_2_1/version.h =================================================================== --- ruby_2_1/version.h (revision 47215) +++ ruby_2_1/version.h (revision 47216) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1 #define RUBY_VERSION "2.1.2" #define RUBY_RELEASE_DATE "2014-08-18" -#define RUBY_PATCHLEVEL 201 +#define RUBY_PATCHLEVEL 202 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 8 Property changes on: ruby_2_1 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r46481 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/