ruby/lib
mame 2c1c462747 * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with
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
2008-09-25 12:24:54 +00:00
..
cgi * lib/cgi/core.rb (CGI::new, CGI::{accept_charset,accept_charset=}) : 2008-09-24 14:27:53 +00:00
date * lib/date/format.rb(strftime): can print with given arbitrary 2008-08-25 14:47:33 +00:00
drb * lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): should 2008-04-22 13:42:28 +00:00
irb * lib/irb/extend-command.rb (def_extend_command): check number of 2008-08-25 13:41:11 +00:00
mini Added passed? per Jim's request. Fixed file/line reporting bug for refutations per Dave's bug report. Very minor cleanup of some nits that were bugging me. Barring other bug reports, I'm 'done'. This version will most likely be released as a gem in the next day or two. 2008-09-25 07:53:19 +00:00
net * lib/net/http.rb (Net::HTTP#urlencode): str[0] returns char in 1.9. 2008-08-24 03:21:36 +00:00
optparse * lib/optparse.rb (OptionParser::Officious): moved from DefaultList. 2004-11-09 05:27:58 +00:00
racc * ext/racc/cparse/cparse.c: sync with original code, rev 1.8. 2006-07-06 12:50:51 +00:00
rake updated to rake code to rake-0.8.3 source code base 2008-09-25 07:01:07 +00:00
rbconfig Import RubyGems trunk revision 1493. 2007-11-10 07:48:56 +00:00
rdoc Import RDoc 2.2.1 r185 2008-09-25 02:43:03 +00:00
rexml * lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap): 2008-09-23 11:09:39 +00:00
rinda * golf_prelude.rb, lib/set.rb (TC_Set#test_each), 2008-08-13 08:03:30 +00:00
rss follow up the previous commit. 2008-06-29 09:05:21 +00:00
rubygems Update to RubyGems 1.3.0 r1891 2008-09-25 10:13:50 +00:00
shell * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:37:38 +00:00
test Not a typo. The name is better plural. Better English and more consistent with the other assertions. 2008-09-25 07:34:49 +00:00
uri Fix ruby -w warnings for mismatched indentation discovered by rdoc 2008-09-23 18:16:08 +00:00
webrick * lib/webrick/server.rb (WEBrick::GenericServer#shutdown): 2008-08-22 11:12:06 +00:00
xmlrpc * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires 2008-07-12 07:02:40 +00:00
yaml * lib/yaml/store.rb (YAML::load): modified to support empty 2008-04-11 07:43:31 +00:00
.document * lib/mathn.rb (Integer): moved into prime.rb. 2008-09-03 13:57:21 +00:00
English.rb * eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299] 2004-04-02 02:36:48 +00:00
README * lib/mathn.rb (Integer): moved into prime.rb. 2008-09-03 13:57:21 +00:00
abbrev.rb RDoc abbrev 2004-01-20 05:27:23 +00:00
base64.rb * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with 2008-09-25 12:24:54 +00:00
benchmark.rb * lib/benchmark.rb (Job::Benchmark#item): fix typo. 2008-02-10 15:29:00 +00:00
cgi.rb * lib/cgi*: split cgi.rb into four files. [ruby-dev:36041] 2008-09-09 13:09:56 +00:00
cmath.rb * complex.c: an instance method image has been removed and 2008-09-20 22:49:56 +00:00
complex.rb * lib/complex.rb: provides some obsolate methods. 2008-09-20 22:55:59 +00:00
csv.rb * lib/csv/csv.rb: Improved the idea of whitespace and word characters used 2008-09-23 14:40:24 +00:00
date.rb * lib/date.rb: no need to require the "lib/rational.rb" any more. 2008-08-22 11:00:05 +00:00
debug.rb * lib/debug.rb, lib/profile.rb: fix to use RubyVM. 2008-07-08 13:28:57 +00:00
delegate.rb * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:37:38 +00:00
drb.rb import from drb-2.0.4b3 2003-06-18 15:45:12 +00:00
e2mmap.rb * lib/e2mmap.rb (E2MM.def_e2message): typo. 2008-06-16 05:46:28 +00:00
erb.rb * lib/erb.rb: adjust line number for magic comment. 2008-06-27 08:48:24 +00:00
fileutils.rb * lib/fileutils.rb (copy_stream, fu_copy_stream0, copy_file): use 2008-09-01 02:31:56 +00:00
find.rb * lib/find.rb (Find#find): Return an enumerator if no block is 2008-06-10 18:41:25 +00:00
forwardable.rb * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:37:38 +00:00
getoptlong.rb * lib/getoptlong.rb: use $stderr instead of $deferr. 2008-05-04 12:10:13 +00:00
gserver.rb Documentation cleanup. 2006-08-04 18:05:50 +00:00
ipaddr.rb Added changes needed for miniunit. usually from using internal calls that aren't needed anymore. 2008-09-23 21:39:21 +00:00
irb.rb * lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols 2008-08-10 00:35:14 +00:00
logger.rb * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:37:38 +00:00
mathn.rb * complex.c: an instance method image has been removed and 2008-09-20 22:49:56 +00:00
matrix.rb * lib/matrix.rb (Matrix#eql?): fixed [ruby-dev:36298]. 2008-09-15 12:02:39 +00:00
mkmf.rb * lib/mkmf.rb (distclean): added RM_RF conftest.dSYM. 2008-09-01 13:44:54 +00:00
monitor.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
mutex_m.rb * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
observer.rb * lib/ostruct.rb: a patch from Florian Gross <florgro@gmail.com> 2005-09-05 08:29:52 +00:00
open-uri.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
open3.rb * process.c (rb_detach_process): store detached process ID in the 2008-06-20 03:40:02 +00:00
optparse.rb * lib/optparse.rb (summarize): separator "" should output new line. 2008-09-20 02:44:49 +00:00
ostruct.rb * lib/ostruct.rb (new_ostruct_member): Object#send no longer call 2005-09-12 23:09:39 +00:00
pathname.rb * lib/pathname.rb (each_filename): return Enumerator if no block 2008-09-23 00:03:42 +00:00
pp.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
prettyprint.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
prime.rb * lib/prime.rb (Prime::OldCompatibility#each): added compatibility to 2008-09-04 14:09:52 +00:00
profile.rb * lib/debug.rb, lib/profile.rb: fix to use RubyVM. 2008-07-08 13:28:57 +00:00
profiler.rb * lib/profiler.rb (Profiler__#print_profile): sort in the descending 2008-07-09 02:13:41 +00:00
pstore.rb * lib/pstore.rb (PStore#transaction): return the result from the 2008-07-10 13:06:03 +00:00
rake.rb updated to rake code to rake-0.8.3 source code base 2008-09-25 07:01:07 +00:00
rational.rb trivial change. 2008-04-07 14:18:50 +00:00
rdoc.rb Import RDoc 2.2.1 r185 2008-09-25 02:43:03 +00:00
resolv-replace.rb * lib/resolv.rb: randomize source port and transaction id. 2008-08-08 01:58:40 +00:00
resolv.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
rss.rb * lib/rss.rb, lib/rss/, test/rss/: 2007-09-15 04:41:28 +00:00
rubygems.rb Update to RubyGems 1.3.0 r1891 2008-09-25 10:13:50 +00:00
scanf.rb * lib/scanf.rb: fixed bug involving matching literal '[' 2008-09-03 12:54:13 +00:00
securerandom.rb * lib/securerandom.rb: Add Win32 support. 2008-01-06 09:11:34 +00:00
set.rb * golf_prelude.rb, lib/set.rb (TC_Set#test_each), 2008-08-13 08:03:30 +00:00
shell.rb * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:37:38 +00:00
shellwords.rb * lib/ipaddr.rb: Say that I am the current maintainer. 2008-03-21 12:15:06 +00:00
singleton.rb * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search 2008-06-18 03:05:33 +00:00
sync.rb * lib/sync.rb (Sync_m#sync_exclusive): fixed 2008-09-10 01:22:35 +00:00
tempfile.rb * lib/tempfile.rb (Tempfile#open): should return a value from the 2008-09-22 09:01:22 +00:00
thread.rb * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
thwait.rb * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has 2008-06-16 09:52:50 +00:00
time.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
timeout.rb * lib/timeout.rb (Timeout::timeout): made sensitive to location on the 2008-02-13 16:43:18 +00:00
tmpdir.rb * lib/tmpdir.rb: setup buffer with nul characters instead of spaces. 2008-09-24 05:39:39 +00:00
tracer.rb * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
tsort.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
ubygems.rb Import RubyGems trunk revision 1493. 2007-11-10 07:48:56 +00:00
un.rb * lib/un.rb (mkmf): new command to create makefile. 2008-06-27 03:29:00 +00:00
uri.rb * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS 2007-10-25 00:53:34 +00:00
weakref.rb * lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c: 2007-12-27 08:58:03 +00:00
webrick.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
yaml.rb Fix ruby -w warnings for mismatched indentation discovered by rdoc 2008-09-23 18:16:08 +00:00

README

English.rb	lets Perl'ish global variables have English names
README		this file
benchmark.rb	a benchmark utility
cgi.rb		CGI support library
cgi/session.rb	CGI session class
complex.rb	complex number support
csv.rb		CSV parser/generator
date.rb		date object
date/format.rb	date parsing and formatting
debug.rb	ruby debugger
delegate.rb	delegates messages to other object
drb.rb		distributed Ruby
e2mmap.rb	exception utilities
erb.rb		tiny eRuby library
fileutils.rb	file utilities
finalize.rb	adds finalizer to the object
find.rb		traverses directory tree
forwardable.rb	explicit delegation library
getoptlong.rb	GNU getoptlong compatible
gserver.rb	general TCP server
ipaddr.rb	defines the IPAddr class
irb.rb		interactive ruby
logger.rb	simple logging utility
mathn.rb	extended math operation
matrix.rb	matrix calculation library
mkmf.rb		Makefile maker
monitor.rb	exclusive region monitor for thread
mutex_m.rb	mutex mixin
net/ftp.rb	ftp access
net/http.rb	HTTP access
net/imap.rb	IMAP4 access
net/pop.rb	POP3 access
net/protocol.rb	abstract class for net library (DO NOT USE)
net/smtp.rb	SMTP access
net/telnet.rb	telnet library
observer.rb	observer desing pattern library (provides Observable)
open-uri.rb	easy-to-use network interface using URI and Net
open3.rb	opens subprocess connection stdin/stdout/stderr
optparse.rb	command line option analysis
ostruct.rb	python style object
parsedate.rb	parses date string (obsolete)
pathname.rb	Object-Oriented Pathname Class
pp.rb		pretty print objects
prettyprint.rb	pretty printing algorithm
prime.rb        prime numbers and factorization
profile.rb	runs ruby profiler
profiler.rb	ruby profiler module
pstore.rb	persistent object strage using marshal
racc/parser.rb	racc (Ruby yACC) runtime
rational.rb	rational number support
rdoc	source-code documentation tool
resolv-replace.rb	replace Socket DNS by resolve.rb
resolv.rb	DNS resolver in Ruby
rexml		an XML parser for Ruby, in Ruby
scanf.rb	scanf for Ruby
set.rb		defines the Set class
shell.rb	runs commands and does pipeline operations like shell
shellwords.rb	split into words like shell
singleton.rb	singleton design pattern library
sync.rb		2 phase lock
tempfile.rb	temporary file with automatic removal
test/unit	Ruby Unit Testing Framework
thread.rb	thread support
thwait.rb	thread syncronization class
time.rb		RFC2822, RFC2616, ISO8601 style time formatting/parsing
timeout.rb	provides timeout
tmpdir.rb	retrieve temporary directory path
tracer.rb	execution tracer
tsort.rb	topological sorting
un.rb		Utilities to replace common UNIX commands in Makefiles etc
uri.rb		URI support
uri/ftp.rb	ftp scheme support
uri/http.rb	http scheme support
uri/https.rb	https scheme support
uri/ldap.rb	ldap scheme support
uri/mailto.rb	mailto scheme support
weakref.rb	weak reference class
webrick.rb	WEB server toolkit
xmlrpc		XML-RPC implementation
yaml.rb		YAML implementation