From 143a2f7ef1a16e22709af87a227e9a6323aefd84 Mon Sep 17 00:00:00 2001 From: marcandre Date: Fri, 22 Feb 2013 23:57:58 +0000 Subject: * doc/NEWS-*: Update NEWS from their respective branches git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS-1.8.7 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'doc/NEWS-1.8.7') diff --git a/doc/NEWS-1.8.7 b/doc/NEWS-1.8.7 index 91862e97ba..51fb5f1c6a 100644 --- a/doc/NEWS-1.8.7 +++ b/doc/NEWS-1.8.7 @@ -54,7 +54,7 @@ with all sufficient information, see the ChangeLog file. * Array#flatten * Array#flatten! - Take an optional argument that determines the level of recursion + Takes an optional argument that determines the level of recursion to flatten. * Array#eql? @@ -77,6 +77,7 @@ with all sufficient information, see the ChangeLog file. * Array#reject * Array#reject! * Array#delete_if + * Array#select Return an enumerator if no block is given. @@ -161,6 +162,10 @@ with all sufficient information, see the ChangeLog file. New alias to #inject. + * Enumerable#to_a + + Can take optional arguments and pass them to #each. + * Hash#eql? * Hash#hash * Hash#== @@ -262,12 +267,17 @@ with all sufficient information, see the ChangeLog file. * Regexp.union accepts an array of patterns. + * String#bytes + + New method + * String#bytesize New method, returning the size in bytes. (alias length and size) * String#chars * String#each_char + * String#lines * String#partition * String#rpartition * String#start_with? @@ -501,6 +511,15 @@ with all sufficient information, see the ChangeLog file. always use Date.strptime() when you know what you are dealing with. +* REXML + + * REXML::Document.entity_expansion_limit= + + New method to set the entity expansion limit. By default the limit is + set to 10000. See the following URL for details. + + http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ + * stringio * StringIO#each_byte -- cgit v1.2.3