ruby-changes:46039
From: usa <ko1@a...>
Date: Sun, 26 Mar 2017 02:34:18 +0900 (JST)
Subject: [ruby-changes:46039] usa:r58110 (ruby_2_2): merge revision(s) 57539: [Backport #11752]
usa 2017-03-26 02:34:13 +0900 (Sun, 26 Mar 2017) New Revision: 58110 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58110 Log: merge revision(s) 57539: [Backport #11752] rational.c: fix rdoc [ci skip] * rational.c (rb_rational_plus): [DOC] fix an example. A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in [ruby-core:71755]. [Bug #11752] Modified directories: branches/ruby_2_2/ Modified files: branches/ruby_2_2/rational.c branches/ruby_2_2/version.h Index: ruby_2_2/rational.c =================================================================== --- ruby_2_2/rational.c (revision 58109) +++ ruby_2_2/rational.c (revision 58110) @@ -744,7 +744,7 @@ f_addsub(VALUE self, VALUE anum, VALUE a https://github.com/ruby/ruby/blob/trunk/ruby_2_2/rational.c#L744 * Performs addition. * * Rational(2, 3) + Rational(2, 3) #=> (4/3) - * Rational(900) + Rational(1) #=> (900/1) + * Rational(900) + Rational(1) #=> (901/1) * Rational(-2, 9) + Rational(-9, 2) #=> (-85/18) * Rational(9, 8) + 4 #=> (41/8) * Rational(20, 9) + 9.8 #=> 12.022222222222222 Index: ruby_2_2/version.h =================================================================== --- ruby_2_2/version.h (revision 58109) +++ ruby_2_2/version.h (revision 58110) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1 #define RUBY_VERSION "2.2.7" #define RUBY_RELEASE_DATE "2017-03-26" -#define RUBY_PATCHLEVEL 442 +#define RUBY_PATCHLEVEL 443 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Property changes on: ruby_2_2 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57539 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/