ruby-changes:38479
From: mame <ko1@a...>
Date: Wed, 20 May 2015 23:25:18 +0900 (JST)
Subject: [ruby-changes:38479] mame:r50560 (trunk): * lib/base64.rb: Fix rdoc-formatting for padding argument.
mame 2015-05-20 23:24:58 +0900 (Wed, 20 May 2015) New Revision: 50560 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50560 Log: * lib/base64.rb: Fix rdoc-formatting for padding argument. [fix GH-905][ci skip] Patch by @davydovanton Modified files: trunk/ChangeLog trunk/lib/base64.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50559) +++ ChangeLog (revision 50560) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed May 20 23:19:05 2015 Yusuke Endoh <mame@r...> + + * lib/base64.rb: Fix rdoc-formatting for padding argument. + [fix GH-905][ci skip] Patch by @davydovanton + Wed May 20 13:16:23 2015 Nobuyoshi Nakada <nobu@r...> * configure.in (DEPRECATED_BY): deprecate warning with preferable Index: lib/base64.rb =================================================================== --- lib/base64.rb (revision 50559) +++ lib/base64.rb (revision 50560) @@ -78,7 +78,7 @@ module Base64 https://github.com/ruby/ruby/blob/trunk/lib/base64.rb#L78 # Alphabet'' in RFC 4648. # The alphabet uses '-' instead of '+' and '_' instead of '/'. # Note that the result can still contain '='. - # You can remove the padding by setting "padding" as false. + # You can remove the padding by setting +padding+ as false. def urlsafe_encode64(bin, padding: true) str = strict_encode64(bin).tr("+/", "-_") str = str.delete("=") unless padding -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/