From d0da57ac40bafaad95e90a375216ba1d9a658747 Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 5 Nov 2016 13:53:38 +0000 Subject: IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails * lib/ipaddr.rb (IPAddr#==): If coercion fails, return false instead of passing through the exception. [ruby-core:77451] [Bug #12799] * lib/ipaddr.rb (IPAddr#<=>): If coercion fails, return nil instead of passing through the exception. [ruby-core:77451] [Bug #12799] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 014e2141a0..806dc28fb4 100644 --- a/NEWS +++ b/NEWS @@ -181,6 +181,11 @@ with all sufficient information, see the ChangeLog file or Redmine * Add a liberal_parsing option. [Feature #11839] +* IPAddr + + * IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails. + [Bug #12799] + * Logger * Allow specifying logger parameters in constructor such -- cgit v1.2.3