aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base64.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use `unpack1` instead of `unpack` and `first`kazu2017-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/base64.rb: Specify frozen_string_literal: true.kazu2017-02-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: Fix rdoc-formatting for padding argument.mame2015-05-201-1/+1
| | | | | | [fix GH-905][ci skip] Patch by @davydovanton git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: make urlsafe mode user-friendly.mame2015-02-131-3/+18
| | | | | | | | | | | | | * lib/base64.rb (Base64.urlsafe_encode64): a new option "padding" to suppress the padding character ("="). * lib/base64.rb (Base64.urlsafe_decode64): now it accepts not only correctly-padded input but also unpadded input. [Feature #10740][ruby-core:67570] * test/base64/test_base64.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos. Patch by k_takata.ktsj2013-05-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: typo fixed. a patch from okkez. [ruby-dev:38564]matz2009-06-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies withmame2008-09-251-0/+91
| | | | | | | | | | | | | | RFC 4648. It adds no line feed when encoding, and raise ArgumentError if the encoded string contains non-alphabet (including CR and LF). * lib/base64.rb: added. This provides encoding/decoding method for Base64 in standard RFC 2045, Base64 in standard RFC 4648 and ``Base 64 Encoding with URL and Filename SafeAlphabet'' in RFC 4648. * test_pack.c, test/base64/test_base64.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.matz2007-12-171-136/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): should not specify /o optionmatz2007-07-161-1/+1
| | | | | | for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): Fix documentation; submittedknu2007-02-271-1/+1
| | | | | | | by David Symonds <dsymonds@gmail.com> in [ruby-core:10432]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: added and tidied documentationgsinclair2004-02-121-25/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* :nodoc: the "Deprecated" moduledave2004-01-211-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: enclosed in a module. [ruby-core:02285]nobu2004-01-211-60/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document base64dave2004-01-201-0/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-35/+10
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionv1_0_r2matz1998-01-161-0/+54
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e