nobu
2e498843b6
* lib/mkmf.rb (CXX_EXT): checks for case-sensitive filesystem with
...
FNM_SYSCASE rather than build_os.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-14 01:39:15 +00:00
matz
70e504b34e
* lib/fileutils.rb (FileUtils#fu_get_gid): stringify group
...
argument before making regexp match. [ruby-dev:38155]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 22:42:16 +00:00
nobu
700a2b2350
* lib/rake: updated to rake code to rake-0.8.4 source code base.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 07:49:14 +00:00
nobu
e09da0d092
* lib/rubygems/installer.rb (Gem::Installer#initialize): env may
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 07:03:39 +00:00
akr
42d25de958
* lib/securerandom.rb (SecureRandom.urlsafe_base64): add optional
...
argument to add padding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 14:36:33 +00:00
nobu
cf4f718bc8
* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#load): deals with
...
escaped spaces. incorporated from rake 0.8.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 04:47:12 +00:00
nobu
c520d1fc84
* lib/rake/testtask.rb (Rake::TestTask#define): passes each libs
...
as each arguments with expanded. incorporated from rake 0.8.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 04:45:38 +00:00
nobu
84880187bd
* lib/rubygems/digest/digest_adapter.rb: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 04:25:25 +00:00
nobu
f378f10473
* lib/**/*.rb: removed unnecessary shbang lines.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 04:23:05 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
nobu
e691ba3bac
* lib/tmpdir.rb (Dir.tmpdir): not use USERPROFILE, and ignores
...
non-existent directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 07:56:19 +00:00
mame
40c2dd156b
* lib/thread.rb (SizedQueue#push): fix limit condition.
...
[ruby-dev:38135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 12:23:37 +00:00
jeg2
f45caa14f6
* lib/csv.rb: Some minor documentation fixes from Gregory Brown.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 20:20:08 +00:00
jeg2
111c48e611
* lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
...
loop while reading some encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 18:43:53 +00:00
yugui
294f45b0fc
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
...
[ruby-core:22646].
* test/test_prime.rb (test_prime?): test case for [ruby-core:22646].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 15:57:15 +00:00
nobu
2b3a204832
* ext/extmk.rb (extmake), lib/mkmf.rb (create_makefile): $objs and
...
$srcs are always Array or nil now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 07:25:50 +00:00
akr
1c2005fbf6
* lib/securerandom.rb (SecureRandom.urlsafe_base64): delete padding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 16:56:40 +00:00
nobu
3f0060c042
* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
...
only.
* lib/uri/common.rb (URI::Parser#unescape): converts bytewise.
[ruby-dev:38005], [ruby-dev:38110]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 10:43:04 +00:00
seki
4104010c88
merged a patch from Alessandro Di Maria in [ruby-core:22560].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 15:57:33 +00:00
akr
4ca8057c3e
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 12:59:59 +00:00
nobu
3465e37e63
* ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:02:06 +00:00
akr
8746e342bc
* lib/net/http.rb: suppress warnings of non-existing instance variable
...
access for SSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 07:19:55 +00:00
kazu
2f83f7a7f4
update doc (add Pathname#binread)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 19:51:56 +00:00
akr
0f82f65cee
* lib/test/unit/assertions.rb: don't define assert_not_* if already
...
overridden.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 13:10:07 +00:00
nobu
1942710d42
* lib/ostruct.rb (modifiable): check if really frozen.
...
[ruby-core:22559]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 05:23:10 +00:00
usa
3540727af5
* win32/Makefile.sub (config.status): use un.rb as cp instead of
...
cmd.exe's copy command.
* lib/mkmf.rb (create_makefile): no longer need to convert path
separator when copying file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-25 06:07:10 +00:00
matz
b47b9fbb87
* lib/pathname.rb (Pathname#foreachline): removed wrongly
...
resurrected method. [ruby-dev:38065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-23 15:20:35 +00:00
nobu
bcf6fd2c86
* lib/fileutils.rb (mv): added description for the case of
...
different partitions. [ruby-talk:329072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-23 05:47:06 +00:00
matz
3b39217fb4
* lib/pathname.rb (Pathname#binread): added. [ruby-dev:37952]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-21 19:32:39 +00:00
nobu
a285f8565d
* lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 06:17:01 +00:00
nobu
030eed8f39
* lib/mkmf.rb (create_makefile): added phony targets.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:22:04 +00:00
nobu
fb3fee22ca
* lib/mkmf.rb (create_makefile): removes directories in the depth
...
order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:18:27 +00:00
nobu
6784d8fda6
* lib/mkmf.rb (create_makefile): creates target directories before
...
copying. [ruby-core:21958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:14:30 +00:00
akr
e14c9923b4
* ext/openssl: avoid cyclic require.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:09:44 +00:00
nobu
a4eb339564
* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
...
[ruby-talk:328195], [ruby-core:22142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 12:43:46 +00:00
nobu
8fc45476eb
* lib/test/unit/assertions.rb (Test::Unit::Assertions): aliases
...
assert_not_ methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 12:22:50 +00:00
akr
357f66670c
* lib/securerandom.rb (SecureRandom.urlsafe_base64): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 07:58:31 +00:00
akr
d40578e438
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 07:18:14 +00:00
akr
29f73c43a5
* test/test_pp.rb: extract from lib/pp.rb.
...
* test/test_prettyprint.rb: extract from lib/prettyprint.rb.
* test/test_tsort.rb: extract from lib/tsort.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 23:36:45 +00:00
akr
1b4c1f715e
* lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't
...
extract date information. [ruby-core:20912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:03:28 +00:00
akr
a8167d58b9
remove Id keyword.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 12:14:38 +00:00
akr
f343c9d3b7
remove Id keyword.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 12:00:54 +00:00
akr
5b512b7fa9
* test/test_time.rb: extracted from lib/time.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 11:19:52 +00:00
akr
23843e8b3c
* lib/pathname.rb: obsolete methods removed.
...
[ruby-core:21564]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 10:21:15 +00:00
gotoken
208b52a3d3
update rdoc [ruby-core:20407] #835
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11 15:49:58 +00:00
knu
df0f575e1d
Fix grammos regarding the verb "refer".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 08:55:40 +00:00
akr
c79dac1c3e
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
...
detach spawned process. [ruby-dev:37936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-08 12:06:42 +00:00
nobu
7c93e56560
* lib/mkmf.rb (have_header): needs dependent headers if trying to
...
compile.
* ext/socket/extconf.rb: net/if.h depends on other headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-07 02:44:07 +00:00
kazu
22f6e2e771
fixed typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:30:52 +00:00
shugo
3f59f0e06c
* lib/net/imap.rb: validate data before sending to a server.
...
[ruby-core:20320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 05:14:26 +00:00