summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rake: updated to rake code to rake-0.8.4 source code base.nobu2009-03-093-54/+123
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb (Gem::Installer#initialize): env maynobu2009-03-091-16/+23
| | | | | | | | | | | not be under /usr/bin. * lib/rubygems/installer.rb (Gem::Installer#shebang): uses /bin/sh if shebang has any options, since env shebang trick does not work with options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb (SecureRandom.urlsafe_base64): add optionalakr2009-03-061-6/+13
| | | | | | | argument to add padding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/loaders/makefile.rb (Rake::MakefileLoader#load): deals withnobu2009-03-061-9/+14
| | | | | | | escaped spaces. incorporated from rake 0.8.4. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/testtask.rb (Rake::TestTask#define): passes each libsnobu2009-03-061-2/+2
| | | | | | | as each arguments with expanded. incorporated from rake 0.8.4. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/digest/digest_adapter.rb: removed.nobu2009-03-064-60/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/**/*.rb: removed unnecessary shbang lines.nobu2009-03-0619-34/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-06268-3565/+3565
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb (Dir.tmpdir): not use USERPROFILE, and ignoresnobu2009-03-051-4/+3
| | | | | | | non-existent directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (SizedQueue#push): fix limit condition.mame2009-03-041-1/+1
| | | | | | | [ruby-dev:38135] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Some minor documentation fixes from Gregory Brown.jeg22009-03-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinitejeg22009-03-031-3/+1
| | | | | | | | loop while reading some encodings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prime.rb (Prime::prime?): used to return a wrong answer.yugui2009-03-031-0/+2
| | | | | | | | [ruby-core:22646]. * test/test_prime.rb (test_prime?): test case for [ruby-core:22646]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake), lib/mkmf.rb (create_makefile): $objs andnobu2009-03-031-3/+2
| | | | | | | $srcs are always Array or nil now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb (SecureRandom.urlsafe_base64): delete padding.akr2009-03-021-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::Parser#escape): escaped string is asciinobu2009-03-021-2/+2
| | | | | | | | | | only. * lib/uri/common.rb (URI::Parser#unescape): converts bytewise. [ruby-dev:38005], [ruby-dev:38110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged a patch from Alessandro Di Maria in [ruby-core:22560].seki2009-03-011-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missingnobu2009-03-011-2/+2
| | | | | | | | | | | | | | argument numbers. [ruby-core:22601] * ext/dl/dl.h (DLSTACK_PROTO0_): added. * ext/dl/mkcallback.rb (gencallback, gen_callback_file), (rb_dl_init_callbacks): omit stdcall functions unless supported. * lib/rubygems/config_file.rb (SHGetFolderPath): stdcall. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: suppress warnings of non-existing instance variableakr2009-02-281-1/+4
| | | | | | | access for SSL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc (add Pathname#binread)kazu2009-02-271-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: don't define assert_not_* if alreadyakr2009-02-271-2/+4
| | | | | | | overridden. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (modifiable): check if really frozen.nobu2009-02-271-2/+4
| | | | | | | [ruby-core:22559] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): use un.rb as cp instead ofusa2009-02-251-1/+1
| | | | | | | | | | | cmd.exe's copy command. * lib/mkmf.rb (create_makefile): no longer need to convert path separator when copying file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#foreachline): removed wronglymatz2009-02-231-6/+0
| | | | | | resurrected method. [ruby-dev:38065] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): added description for the case ofnobu2009-02-231-1/+1
| | | | | | | different partitions. [ruby-talk:329072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#binread): added. [ruby-dev:37952]matz2009-02-211-1/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.nobu2009-02-191-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): added phony targets.nobu2009-02-191-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): removes directories in the depthnobu2009-02-191-2/+1
| | | | | | | order. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): creates target directories beforenobu2009-02-191-2/+1
| | | | | | | copying. [ruby-core:21958] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl: avoid cyclic require.akr2009-02-172-2/+2
| | | | | | | | | | | | | | | | * ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb * ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb. * lib/net/imap.rb: require openssl, instead of openssl/ssl. * lib/net/pop.rb: require openssl, instead of openssl/ssl. [ruby-dev:38018] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.nobu2009-02-151-8/+12
| | | | | | | [ruby-talk:328195], [ruby-core:22142] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions): aliasesnobu2009-02-151-0/+4
| | | | | | | assert_not_ methods. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb (SecureRandom.urlsafe_base64): new method.akr2009-02-151-0/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-151-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_pp.rb: extract from lib/pp.rb.akr2009-02-143-747/+0
| | | | | | | | | * test/test_prettyprint.rb: extract from lib/prettyprint.rb. * test/test_tsort.rb: extract from lib/tsort.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don'takr2009-02-141-3/+8
| | | | | | | | extract date information. [ruby-core:20912] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove Id keyword.akr2009-02-141-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove Id keyword.akr2009-02-141-4/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_time.rb: extracted from lib/time.rb.akr2009-02-141-364/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: obsolete methods removed.akr2009-02-141-52/+0
| | | | | | | | [ruby-core:21564] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc [ruby-core:20407] #835gotoken2009-02-111-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix grammos regarding the verb "refer".knu2009-02-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):akr2009-02-081-1/+1
| | | | | | | detach spawned process. [ruby-dev:37936] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_header): needs dependent headers if trying tonobu2009-02-071-2/+2
| | | | | | | | | compile. * ext/socket/extconf.rb: net/if.h depends on other headers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed typokazu2009-02-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: validate data before sending to a server.shugo2009-02-031-4/+55
| | | | | | | [ruby-core:20320] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (hmac_md5): should use String#ord to get asciishugo2009-02-031-2/+2
| | | | | | | code from the one-character string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: bump up to 1.9.2 patchlevel -1.akr2009-02-021-1/+1
| | | | | | | | | | yugui recommend "-1" strongly. * lib/rubygems/version.rb: accept negative patchlevel. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e