nobu
c3721fdcfc
* lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
...
encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04 05:01:12 +00:00
xibbar
ae8ad5ae27
* lib/cgi/core.rb: fix command-line option of
...
non-interactive terminal. [ruby-core:23016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 16:15:23 +00:00
nobu
78eaef0f8e
* lib/rake/contrib: added. [ruby-core:25918]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 15:40:20 +00:00
nobu
719b0f8e30
* lib/rake: updated to rake code to rake-0.8.7 source code base.
...
* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line):
respace dependencies too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02 19:07:55 +00:00
akr
0eddab8404
* lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec
...
is not enough to distinguish arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 13:22:27 +00:00
mame
c979cbfcf6
* lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:11:29 +00:00
nobu
5d6696c909
* lib/gauntlet_rubygems.rb: out of place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 23:27:17 +00:00
akr
4319c0235d
* lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect
...
method. [ruby-core:25804]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 04:08:31 +00:00
marcandre
3a4e1d768d
* lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-26 04:27:07 +00:00
nobu
dd7490d50d
* lib: updated keywords.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-25 23:45:52 +00:00
ryan
ff54193c83
Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc processing
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-24 21:05:35 +00:00
marcandre
399dace5ed
* lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when requiring lib/mathn
...
[ruby-core:25740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-24 00:42:23 +00:00
akr
7728a17a27
* lib/thread.rb (ConditionVariable#wait): add timeout argument.
...
[ruby-talk:346154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23 14:01:07 +00:00
nobu
970ec9c02d
* lib/cgi/cookie.rb: fixed indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-20 07:27:41 +00:00
nobu
2f2d213f7e
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
...
RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:03:18 +00:00
nobu
70f03998c0
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
...
are delimited by a semicolon. supported Vim style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:02:35 +00:00
nobu
80464f8f2a
* lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array.
...
[ruby-dev:39345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 21:36:53 +00:00
nobu
9312426c1e
* lib/mkmf.rb (create_header): open in binmode.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 21:34:24 +00:00
nobu
c922e50804
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
...
files.
* doc/re.rdoc: renamed from re.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:12:38 +00:00
marcandre
6023a79deb
* lib/matrix.rb (Matrix#rank): Two bug fixes. One made Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 21:04:07 +00:00
marcandre
d09cde1861
* lib/matrix.rb: Optimizations
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 21:02:54 +00:00
marcandre
405cfda0d2
* lib/matrix.rb (Matrix#/): Fix obvious bug
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:24:15 +00:00
marcandre
193a7db4e2
* lib/matrix.rb: fix previous optimization
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:17:22 +00:00
marcandre
52c3721af3
* lib/matrix.rb (determinant): Bug fix where determinant failed on some matrices [ruby-core:23597]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:39:51 +00:00
marcandre
c3db24a4dc
* lib/matrix.rb: Fix typos in doc and indent
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:39:37 +00:00
marcandre
9d3638448e
* lib/matrix.rb: trivial optimizations
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:36:37 +00:00
marcandre
b09845fa70
* lib/net/http.rb (each_*): return enumerator if no block present. Patch by Arthur Schreiber [ruby-core:18310]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 23:35:09 +00:00
marcandre
5904f64dbf
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie itself. Based on a patch by Arthur Schreiber [ruby-core:17634]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 22:36:45 +00:00
marcandre
a0c569a378
* lib/net/http.rb (fetch): Handle properly default values; a patch by Arthur Schreiber [ruby-core:18308]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 20:30:46 +00:00
marcandre
8ef3af646f
* lib/set.rb (==): Optimization; patch by Arthur Schreiber [ruby-core:17203]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 19:09:36 +00:00
akr
0cde80d36a
* lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 02:29:47 +00:00
nobu
a8998030fb
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
...
(TrialDivisionGenerator, Generator23): ditto. [ruby-core:25539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 00:38:07 +00:00
akr
db2be749b4
* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 16:18:03 +00:00
akr
188e9667dc
* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in
...
the URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 13:49:07 +00:00
nobu
50ef1b0676
* lib/tmpdir.rb (Dir::Tmpname): for internal use.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 09:46:53 +00:00
shyouhei
607b8e0732
Merge branch 'trunk' of git://github.com/swdyh/ruby into trunk
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 01:44:05 +00:00
marcandre
8cdbe2ab6f
* lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber, [ruby-core:18309].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 16:28:52 +00:00
nobu
3a224dbf45
* lib/mkmf.rb (create_makefile): fix for parallel execution.
...
[ruby-core:25509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 14:00:47 +00:00
nobu
ee647e1b96
* lib/fileutils.rb (FileUtils::Entry_#copy_file): open the source
...
file first to ensure it can be copied. [ruby-core:25498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 13:02:04 +00:00
nobu
032a314c50
* lib/tempfile.rb, lib/tmpdir.rb (Tmpname): extracted new module.
...
[ruby-dev:39197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 13:38:01 +00:00
matz
f69dff0ed1
* lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): support
...
object without #inspect defined. a patch from Daniel
Bovensiepen. [ruby-core:25200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 03:28:41 +00:00
naruse
238b979f17
* lib/uri/common.rb (URI.escape): obsoleted.
...
* lib/uri/common.rb (URI,unescape): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 18:24:53 +00:00
nobu
c0a09d9594
* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
...
are symbols now. [ruby-core:24580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-03 19:46:18 +00:00
nobu
be41711465
* lib/tmpdir.rb (Dir.mktmpdir): rolled back r24699. [ruby-dev:39193]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-29 03:16:56 +00:00
nobu
2235d504b7
* lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28 18:27:30 +00:00
nobu
c2a81f31ef
* lib/tempfile.rb (Tempfile#make_tmpname): removed thread race
...
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28 18:11:37 +00:00
knu
c6c6ab873e
* lib/tempfile.rb (Tempfile#callback): Debug information should be
...
output to stderr, not stdout; pointed out by akira yamada.
cf. [ruby-dev:39072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28 11:41:13 +00:00
nobu
0170c2fc4d
* lib/tempfile.rb: fixed typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26 13:36:28 +00:00
naruse
addd2cb06e
* lib/tempfile.rb: add documents from Hongli Lai's fork.
...
cf [ruby-core:25131].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26 12:50:57 +00:00
nobu
ffd0da0333
* lib/tempfile.rb (Tempfile#close!): should not undefine finalizer
...
by just unlink.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26 09:49:28 +00:00