[前][次][番号順一覧][スレッド一覧]

ruby-changes:42681

From: hsbt <ko1@a...>
Date: Mon, 25 Apr 2016 10:21:24 +0900 (JST)
Subject: [ruby-changes:42681] hsbt:r54755 (trunk): * encoding.c: Fix return value of `Encoding::ISO8859_1.name`

hsbt	2016-04-25 11:17:54 +0900 (Mon, 25 Apr 2016)

  New Revision: 54755

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54755

  Log:
    * encoding.c: Fix return value of `Encoding::ISO8859_1.name`
      [Bug #12313][ruby-core:75147][ci skip]
    * ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/ext/bigdecimal/bigdecimal.c
Index: encoding.c
===================================================================
--- encoding.c	(revision 54754)
+++ encoding.c	(revision 54755)
@@ -1718,7 +1718,7 @@ rb_enc_aliases(VALUE klass) https://github.com/ruby/ruby/blob/trunk/encoding.c#L1718
  * optionally, aliases:
  *
  *   Encoding::ISO_8859_1.name
- *   #=> #<Encoding:ISO-8859-1>
+ *   #=> "ISO-8859-1"
  *
  *   Encoding::ISO_8859_1.names
  *   #=> ["ISO-8859-1", "ISO8859-1"]
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54754)
+++ ChangeLog	(revision 54755)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Apr 25 11:17:50 2016  Marcus Stollsteimer  <sto.mar@w...>
+
+	* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
+	  [Bug #12313][ruby-core:75147][ci skip]
+	* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
+
 Sun Apr 24 23:29:16 2016  Rei Odaira  <Rei.Odaira@g...>
 
 	* configure.in: add missing -lm for AIX.
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 54754)
+++ ext/bigdecimal/bigdecimal.c	(revision 54755)
@@ -1103,7 +1103,7 @@ BigDecimal_comp(VALUE self, VALUE r) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L1103
  *
  * Values may be coerced to perform the comparison:
  *
- *   BigDecimal.new('1.0') == 1.0  -> true
+ *   BigDecimal.new('1.0') == 1.0  #=> true
  */
 static VALUE
 BigDecimal_eq(VALUE self, VALUE r)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]