diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/mathn.rb | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Aug 26 09:27:10 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * lib/mathn.rb: mathn library is deprecated on ruby 2.2. + [Feature #10169][ruby-core:64553] + Tue Aug 26 09:25:03 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * lib/mathn.rb: removed commented-out code. @@ -121,6 +121,9 @@ with all sufficient information, see the ChangeLog file. === Stdlib compatibility issues (excluding feature bug fixes) +* lib/mathn.rb + * Show deprecated warning [Feature #10169] + * ext/date/lib/date/format.rb * Removed because it's empty file. diff --git a/lib/mathn.rb b/lib/mathn.rb index b18a0edb25..004f41748e 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -38,6 +38,8 @@ # class Numeric follows to make this documentation findable in a reasonable # location +warn('lib/mathn.rb is deprecated') if $VERBOSE + class Numeric; end require "cmath.rb" |