nobu
e824b15653
* lib/rubygems/require_paths_builder.rb (write_require_paths_file_if_needed):
...
no reason that bin directory should be included in $LOAD_PATH.
it is for executable files, but not libraries. [ruby-core:25936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27 01:41:40 +00:00
nobu
eb6731dcc1
* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 21:15:33 +00:00
nobu
e7ad51a53a
* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 20:49:37 +00:00
marcandre
137e060b86
merge from trunk (28382)
...
* lib/fileutils.rb: Fix warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 06:07:46 +00:00
marcandre
b76c33fead
Backport of r28376:
...
* lib/delegate.rb: Forward #trust, #untrust, #taint and #untaint
to both the delegator and __getobj__ [ruby-core:26138]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 04:29:59 +00:00
tarui
0418aab850
merge from trunk (r28316)
...
* lib/drb/drb.rb: raise DRbConnError instead of ArgumentError if too
many arguments. [ruby-dev:41481]
* test/drb/test_drb.rb: ditto.
* test/drb/drbtest.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-21 17:02:29 +00:00
tarui
b808fcae8f
merge from trunk (r28354)
...
* lib/webrick/httpservlet/filehandler.rb
(prevent_directory_traversal): apply filesystem encoding to path
only during calling File.expand_path. [ruby-dev:41423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-21 16:34:42 +00:00
marcandre
4e968660ee
Backport revision 28309:
...
* lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 19:28:54 +00:00
mame
a260025a02
merges r28279 from trunk into ruby_1_9_2.
...
---
* lib/rubygems/install_update_options.rb
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
--test option which has not worked. [ruby-core:21714]
* test/rubygems/test_gem_command_manager.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 14:02:18 +00:00
yugui
940104867a
merges r28093 from trunk into ruby_1_9_2.
...
--
* lib/tempfile.rb (Tempfile#unlink): leave @data. Assigning nil to
@data caused double closing error of the same IO in finalizer. a
patch from Simon Nicholls. [ruby-core:29395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:58:59 +00:00
naruse
3c6fac490d
merge revision(s) 28245:
...
------------------------------------------------------------------------
r28245 | naruse | 2010-06-10 13:31:08 +0900 (Thu, 10 Jun 2010) | 4 lines
Revert r28200.
It caused many failures on test-all and following is SEGV.
./ruby -e 'require %!#{"foo/" * 10000}foo!'
------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 05:04:20 +00:00
naruse
78af046e86
merge revision(s) 27667:
...
* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.
* ext/etc/etc.c (etc_sysconfdir): added.
* lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08 13:14:51 +00:00
nobu
7fca371db4
* gem_prelude.rb: load full rubygems at LoadError for activation
...
check. [ruby-core:29486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:27:16 +00:00
marcandre
be77d0276d
* lib/matrix.rb (eql?, ==, minor): Fix bugs when comparing/returning some
...
empty matrices.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05 04:12:19 +00:00
marcandre
906f8026d0
* lib/matrix.rb: trivial optimizations
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05 04:12:02 +00:00
marcandre
75266f9910
* lib/delegate: Delegator: combine (public|protected) methods with
...
those of the delegated object. [ruby-core:27224]
DelegateClass: combine (public|protected) instance methods
with those of the delegated superclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 16:40:02 +00:00
marcandre
e286d4ef60
* lib/set.rb (keep_if, select!): New methods [ruby-core:29749]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 13:15:17 +00:00
naruse
d602853a41
merge revision(s) 28083:
...
* lib/rdoc/generator/template/darkfish/classpage.rhtml:
fix encoding value of XML declaration. [ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 09:49:54 +00:00
nobu
5668c8ac5e
* lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.
...
[ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 03:05:55 +00:00
nobu
10e347864d
* lib/mkmf.rb (STRING_OR_FAILED_FORMAT.%): nodoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:43:09 +00:00
nobu
9792f30e57
* lib/mkmf.rb (checking_for): ignore toplevel.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 01:40:39 +00:00
yugui
a8e4a2aa17
merges r27690 and r27903 from trunk into ruby_1_9_2.
...
--
* lib/net/imap.rb (disconnect): terminates @receiver_thread even if
@sock.shutdown raises an exception. [ruby-dev:34881]
--
* lib/net/imap.rb (disconnect): closes the socket of a Net::IMAP
object only when it is not closed. [ruby-dev:41350]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 12:18:20 +00:00
nobu
4cfff33faa
* ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
...
lib/irb/cmd/fork.rb, lib/mutex_m.rb,
lib/shell/process-controller.rb, lib/sync.rb, object.c:
suppress warnings patched by Benoit Daloze at [ruby-core:30366].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 08:48:44 +00:00
marcandre
51208b8e84
* lib/matrix.rb (determinant): Trivial optimization (thanks to Benoit Daloze)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:50:31 +00:00
usa
777f21290a
merge from trunk (r27856, r27857)
...
* lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in
UTF-8 on Windows to allow FileUtils accessing all pathnames
internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 02:10:42 +00:00
yugui
4549056ff8
merges r27731 from trunk into ruby_1_9_2.
...
--
* lib/uri/mailto.rb: clean up regexp [ruby-core:29894]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 11:35:59 +00:00
usa
abf45abeac
merge from trunk (r27749)
...
* lib/rdoc/generator/ri.rb (generate): should load existing cache
before generating it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 06:51:34 +00:00
akr
3b9c00306f
* lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoid
...
LoadError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 05:14:10 +00:00
mame
57c1406697
* lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip the
...
last newline of chunk. [ruby-core:29229]
* test/net/http/utils.rb: add an option for chunked response test.
* test/net/http/test_http.rb: add tests for chunked response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-03 23:42:26 +00:00
nobu
24bc7af43a
* lib/rdoc/task.rb (RDoc::Task): should not override newer code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 08:52:20 +00:00
marcandre
ec8b5d0625
* NEWS: List all changes to lib/matrix
...
* lib/matrix.rb: Improve doc and style. Trivial optimizations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 05:43:29 +00:00
nobu
6874c8d686
* lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value instead
...
of fragile check by platform name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 23:54:39 +00:00
nobu
12d39082c5
* lib/mkmf.rb (dir_config): should not modify argument arrays
...
themselves.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 22:38:45 +00:00
nobu
5e02a28a8b
* lib/tempfile.rb (Tempfile#size): stat by path name when it is
...
closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 13:54:01 +00:00
nobu
9ad152e555
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
keep the first trace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 13:41:10 +00:00
nobu
8657912211
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
fixed filtering. [ruby-core:29908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 13:27:49 +00:00
drbrain
40cd5e8a79
Merge fix for gem server, bump RubyGems version to 1.3.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 05:19:16 +00:00
drbrain
9111bbf818
Upgrade to RDoc 2.5.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 05:06:21 +00:00
nobu
9d094c7a25
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
filter out traces in minitest directory. [ruby-core:29908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 00:43:10 +00:00
nobu
11caac1663
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
assertion message must be String or Proc. suggested by caleb
clausen at [ruby-core:29884].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30 15:26:34 +00:00
marcandre
0a3c78face
* lib/matrix.rb: Improve algorithm for Matrix#determinant and Matrix#rank
...
{determinant,det,rank}_e are now deprecated. [ruby-core:28273]
Also fixes a bug in Determinant#rank (e.g. [[0,1][0,1][0,1]])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 18:19:12 +00:00
marcandre
a3a4542fb4
* lib/matrix.rb (Matrix#singular?, Matrix#regular?): raise on rectangular
...
matrices, and use determinant instead of rank.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 18:18:58 +00:00
nobu
f88284b91e
* lib/thwait.rb (ThreadsWait#join): refined rdoc again.
...
[ruby-core:29863] [ruby-dev:41092]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 09:39:52 +00:00
nobu
4c205de3e6
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
reverted. [ruby-core:29872]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 05:24:52 +00:00
nobu
e21741e254
* lib/thwait.rb (ThreadsWait#join): refined rdoc. [ruby-core:29863]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 03:33:44 +00:00
nobu
33cf9431da
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): reject
...
non-boolean values. [ruby-core:29868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29 03:16:24 +00:00
jeg2
fa9da31def
* lib/xmlrpc/utils.rb: Fixing an incompatibility with
...
reflection methods returning Symbols. Patch by
HD Moore. [ruby-core:29821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 18:51:35 +00:00
mame
c6871cef32
* lib/thwait.rb: revise rdoc. a patch from Roger Pack in
...
[ruby-core:27362].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 14:53:58 +00:00
naruse
2f40495328
Cleaning up syntax warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 21:09:46 +00:00
nobu
6fd326e76c
* lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.
...
[ruby-core:29809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 09:00:52 +00:00