1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--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
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
racc
rake updated to rake code to rake-0.8.3 source code base 2008-09-25 07:01:07 +00:00
rbconfig
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
rss
rubygems Update to RubyGems 1.3.0 r1891 2008-09-25 10:13:50 +00:00
shell
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
xmlrpc
yaml
.document * lib/mathn.rb (Integer): moved into prime.rb. 2008-09-03 13:57:21 +00:00
abbrev.rb
base64.rb * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with 2008-09-25 12:24:54 +00:00
benchmark.rb
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
debug.rb
delegate.rb
drb.rb
e2mmap.rb
English.rb
erb.rb
fileutils.rb * lib/fileutils.rb (copy_stream, fu_copy_stream0, copy_file): use 2008-09-01 02:31:56 +00:00
find.rb
forwardable.rb
getoptlong.rb
gserver.rb
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
logger.rb
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
mutex_m.rb
observer.rb
open-uri.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
open3.rb
optparse.rb * lib/optparse.rb (summarize): separator "" should output new line. 2008-09-20 02:44:49 +00:00
ostruct.rb
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
profiler.rb
pstore.rb
rake.rb updated to rake code to rake-0.8.3 source code base 2008-09-25 07:01:07 +00:00
rational.rb
rdoc.rb Import RDoc 2.2.1 r185 2008-09-25 02:43:03 +00:00
README * lib/mathn.rb (Integer): moved into prime.rb. 2008-09-03 13:57:21 +00:00
resolv-replace.rb
resolv.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
rss.rb
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
set.rb
shell.rb
shellwords.rb
singleton.rb
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
thwait.rb
time.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
timeout.rb
tmpdir.rb * lib/tmpdir.rb: setup buffer with nul characters instead of spaces. 2008-09-24 05:39:39 +00:00
tracer.rb
tsort.rb trailing spaces removed. 2008-09-14 15:18:53 +00:00
ubygems.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb Fix ruby -w warnings for mismatched indentation discovered by rdoc 2008-09-23 18:16:08 +00:00

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