diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 7 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Aug 8 14:54:18 2013 Shugo Maeda <shugo@ruby-lang.org> + + * NEWS: add description of incompatibility introduced by r42396. + [ruby-core:56329] [Bug #8722] + Thu Aug 8 14:50:36 2013 NARUSE, Yui <naruse@ruby-lang.org> * common.mk (mini): portable target to build miniruby @@ -76,6 +76,13 @@ with all sufficient information, see the ChangeLog file. * incompatible changes: * open ignore internal encoding if external encoding is ASCII-8BIT. +* Kernel#eval, Kernel#instance_eval, and Module#module_eval. + * Copies the scope information of the original environment, which means + that private, protected, public, and module_function without arguments + do not affect the environment outside the eval string. + For example, `class Foo; eval "private"; def foo; end; end' doesn't make + Foo#foo private. + * Kernel#untrusted?, untrust, and trust * These methods are deprecated and their behavior is same as tainted?, taint, and untaint, respectively. If $VERBOSE is true, they show warnings. |