nobu
4e741f4b89
erb.rb: ERB#result does not accept a proc.
...
* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 01:22:23 +00:00
akr
2ad2007307
* lib/csv.rb (CSV.open): Close the opened file when an exception occur.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-29 10:44:59 +00:00
akr
cbd370f669
* lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when
...
any exception occur.
This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
which start_tls_session() raises an exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-28 10:02:54 +00:00
akr
592c6ba3b3
* lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfile
...
is closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 16:03:35 +00:00
akr
9b612d382d
* test/lib/minitest/unit.rb: Use Tempfile#close! instead of
...
Tempfile#unlink to close file descriptors.
* test/openssl/test_config.rb: Ditto.
* test/ruby/test_io.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 15:49:13 +00:00
akr
569ca78e97
* lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
...
exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 15:14:59 +00:00
akr
c968f908e1
* lib/cgi/core.rb: Use Tempfile#close(true) instead of Tempfile#unlink
...
to close file descriptors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 14:51:08 +00:00
nobu
76e37aa636
ext_conf_builder.rb: fix tempfile leak
...
* lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove
temporary siteconf script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 14:36:36 +00:00
nobu
eecf8b71b9
lib/optionparser.rb
...
* lib/optionparser.rb, lib/optparse.rb (OptParse): aliases.
[ruby-core:62751] [Feature #9864 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 03:25:38 +00:00
zzak
0aa197c6f2
* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.
...
[Fixes GH-580] https://github.com/ruby/ruby/pull/580
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 16:41:40 +00:00
akr
f414bfc681
* lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed
...
threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 07:32:26 +00:00
akr
9e0b0731ed
* lib/webrick/utils.rb: Override the inspect method of the thread
...
used in WEBrick::Utils::TimeoutHandler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 06:27:14 +00:00
naruse
a95be81ea2
Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344 ]"
...
zzak is not the maintainer of yaml.
This reverts commit r46097.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 03:33:22 +00:00
zzak
7833e69c2e
* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344 ]
...
* test/psych/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 02:33:51 +00:00
zzak
77a8010abd
* lib/irb.rb: [DOC] Fixed syntax error in example by @jasdeepsingh.
...
Patch submitted via documenting-ruby/ruby#32 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 01:02:59 +00:00
hsbt
cc0ca767f5
* lib/logger.rb: refactored to include Logger::Period.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 23:54:17 +00:00
nobu
598a95b3eb
prime.rb: fix a grammo
...
* lib/prime.rb (prime?): [DOC] fix a grammo, a missing article.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 08:14:20 +00:00
ryan
7cda8222ca
lib/minitest removed.
...
Need to support proper gem packaging / installation before minitest 5 can be added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-23 21:26:34 +00:00
ayumin
212ea12e3a
add information of incompatibility about Prime.prime? [Bug #7395 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-23 15:32:19 +00:00
nobu
1fd639393f
net/protocol.rb: fix SMTP dot stuffing
...
* net/protocol.rb (using_each_crlf_line): fix SMTP dot-stuffing
for messages not ending with a new-line.
[ruby-core:61441] [Bug #9627 ] [fix GH-616]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-23 12:36:30 +00:00
naruse
3f1f9e9a0a
show progress of rdoc parsing to prevent timeout on chkbuild
...
http://c64b.rubyci.org/~chkbuild/ruby-trunk/log/20140520T030303Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-20 06:39:08 +00:00
nobu
944994b4cc
mkmf.rb: add NULLCMD
...
* lib/mkmf.rb (configuration): add NULLCMD.
* lib/mkmf.rb (create_makefile): use NULLCMD macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17 23:23:37 +00:00
sorah
96f552670d
* lib/test: Removed because ruby's test cases now independent to
...
lib/test by r45970. [Feature #9711 ] [ruby-core:62620]
I'm still considering about the future of lib/minitest, lib/test.
(bundling gems?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17 08:01:15 +00:00
shirosaki
eceff15e68
parallel.rb: fix test-all parallel failure
...
* lib/test/unit/parallel.rb: fix test-all parallel failure if a test
is skipped after raise.
DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
But it causes Mashal.load failure due to undefined class/module
DL::DLError when doing test-all parallel and test-all doesn't
complete. We create new MiniTest::Skip object to avoid Mashal.load
failure.
[ruby-core:62133] [Bug #9767 ]
* test/testunit/test_parallel.rb (TestParallel): add a test.
* test/testunit/tests_for_parallel/ptest_forth.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-15 12:31:26 +00:00
ayumin
2ff10784e4
* lib/delegate.rb: Fix example of using delegator.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-08 19:02:36 +00:00
ayumin
8b6a874a59
* lib/shell.rb: add documentation in lib/shell.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-08 18:46:16 +00:00
ayumin
529461dff7
* lib/fileutils.rb: show fileutils require at top.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-08 18:32:24 +00:00
ayumin
bef8e4557c
* lib/prime.rb (Prime#prime?): negative numbers can't be primes
...
by definition. reported by Ivan Kataitsev. [Bug #7395 ]
* test/test_prime.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-08 18:22:29 +00:00
nobu
719804b5df
webrick/httpserver.rb: Stop handling requests on shutdown
...
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): stop
handling requests on shutdown, even if the socket is readable
and IO.select() returns true. [Fixes GH-607]
* lib/webrick/server.rb (WEBrick::GenericServer#start): IO.select()
raises ENOTSOCK on shutdown on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-08 01:17:07 +00:00
akr
e4b05d91eb
* lib/time.rb (Time.make_time): Adjust the time zone of "now".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-06 09:50:08 +00:00
akr
915ef9ed9b
* lib/time.rb (Time.make_time): Argument validation code moved from
...
Time.parse and Time.strptime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-06 09:04:09 +00:00
akr
1c3f862f58
[DOC] Use EST for previous documentation fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-06 08:27:47 +00:00
akr
252afcd9f1
* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
...
Reported by Marcus Stollsteimer.
[ruby-core:60778] [Bug #9521 ] and [ruby-core:61718] [Bug #9682 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-06 08:18:13 +00:00
akr
0c3d513185
* lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if
...
the StringIO object is not closed yet.
Reported by Jordi Massaguer Pla. [ruby-core:42538] [Bug #6010 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-05 16:38:53 +00:00
akr
c2a87a1fa1
* lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptime
...
doesn't extract date information.
Reported by tadayoshi funaba. [ruby-core:62349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-05 02:47:53 +00:00
akr
d9087ffebc
update a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-04 15:57:16 +00:00
akr
0b53b86d47
add comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-04 15:51:05 +00:00
akr
fffbcf2867
* lib/time.rb (Time.force_zone!): Use usual local time if it has
...
expected offset from UTC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-04 11:52:26 +00:00
akr
a18177d5ed
* lib/time.rb (Time.force_zone!): New private method.
...
(Time.make_time): Use Time.force_zone!.
(Time.strptime): Ditto.
(Time.rfc2822): Ditto.
(Time.xmlschema): Ditto.
* lib/rss/rss.rb (Time.w3cdtf): Use Time.force_zone!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-04 09:01:19 +00:00
akr
5de24423e6
* lib/time.rb (Time.httpdate): Always return a UTC Time object.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-03 18:47:29 +00:00
akr
7a39fcc195
* lib/time.rb (Time.make_time): Refactored.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-03 18:27:21 +00:00
akr
af56a2b6dc
* lib/time.rb (Time.rfc2822): Fix year completion.
...
Produce fixed-offset time object if appropriate.
(Time.xmlschema): Produce fixed-offset time object if appropriate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-03 18:11:53 +00:00
akr
c4f29a6576
* lib/time.rb (make_time): Produce fixed-offset time object if
...
appropriate.
(Time.strptime): Use d[:zone] instead of d[:offset].
* lib/rss/rss.rb (Time.w3cdtf): Produce fixed-offset time object if
appropriate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-03 15:23:29 +00:00
akr
4de238663a
* lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is not
...
given.
Reported by tadayoshi funaba. [ruby-core:62322]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-03 11:31:33 +00:00
hsbt
3fb8542b62
* lib/net/imap.rb: Proofreading docs. [ruby-core:61931][Bug #9720 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02 07:34:23 +00:00
hsbt
ba0002a986
* lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02 07:25:16 +00:00
nobu
29a2fe128a
mkmf.rb: no messages unless needed
...
* lib/mkmf.rb (create_makefile): no library scripts to install, no
installing messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02 03:26:48 +00:00
akr
07f2563745
* (lib/tmpdir.rb): Rescue LoadError on etc.so for miniruby.
...
Revert r45707, r45711, r45717.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29 05:19:38 +00:00
akr
17a4a9b993
* lib/fileutils.rb: Don't need to define fu_get_gid and fu_get_gid in
...
rescue LoadError on 'etc'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29 03:51:13 +00:00
nobu
37ce765ba3
fix typo [Fix GH-603]
...
* bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip]
* regexp.rdoc: fix typo of "organized". [ci skip]
* lib/session.rb: fix typo of "recognized". [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28 15:20:28 +00:00
ngoto
1377f38c9b
* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
...
ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
directory is not an empty directory, rmdir() shall fail and set
errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST.
[Bug #9571 ] [ruby-dev:48017]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-25 14:28:56 +00:00
akr
2f60d08519
* lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-25 10:17:15 +00:00
nobu
7cd7cfae77
mkmf.rb: workaround for tmpdir
...
* lib/mkmf.rb (try_link0): workaround for miniruby as 'tmpdir.rb'
always requires 'etc.so' now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-25 07:11:03 +00:00
usa
3c00fe9f41
* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
...
returns nil.
* lib/webrick/utils.rb (su): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-24 14:19:21 +00:00
akr
869c7ce0d1
* lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-24 11:53:31 +00:00
naruse
1e67cd2d81
fix to rescue when test-all runs without installation
...
https://api.travis-ci.org/jobs/23564212/log.txt?deansi=true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-23 04:31:56 +00:00
nobu
69ce2b7037
mkmf.rb: prefer $LIBPATH than $DEFLIBPATH
...
* lib/mkmf.rb (link_command, libpathflag, create_makefile): prefer
user specified `$LIBPATH` than `$DEFLIBPATH`. [ruby-core:62100]
[ruby-trunk - Bug #9760 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-19 23:41:36 +00:00
nobu
52ca908819
fileutils.rb: [DOC] update rdoc
...
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-17 01:03:55 +00:00
knu
537dac2713
* lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
...
anonymous login was changed to "anonymous@" in r25313.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-10 14:46:37 +00:00
knu
0192e15b4c
* lib/mkmf.rb (MakeMakefile#dir_config): Improve documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-08 13:55:57 +00:00
naruse
fc3b4d06ca
* lib/xmlrpc/client.rb (do_rpc): don't check body length.
...
If HTTP content-encoding is used, the length may be different.
[Bug #8182 ] [ruby-core:53811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-06 22:26:55 +00:00
marcandre
d11d87c362
* lib/matrix.rb: Add Matrix#cofactor [fix GH-568]
...
Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-06 17:46:16 +00:00
marcandre
b8ba202301
* lib/matrix.rb: Add first_minor [fix GH-568]
...
Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-06 17:45:54 +00:00
marcandre
bcf8dd1096
* lib/matrix: Handle empty diagonal matrix case [fix GH-576]
...
Patch by gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-06 17:45:07 +00:00
hsbt
22305ffea0
* lib/csv.rb: fix minor typo by @baroquebobcat [fix GH-583][ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-03 05:59:14 +00:00
jeg2
1170b057e0
* lib/csv.rb: Symbol HeaderConverter: strip leading/trailing space.
...
Reported by Skye Shaw
[Fixes GH-575]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-01 14:40:48 +00:00
jeg2
7c4d4e1eb2
* lib/csv.rb: Don't attempt to convert nil headers.
...
Reported by Skye Shaw
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-01 14:35:03 +00:00
nobu
ebd9f1d0e4
lib/rubygem.rb: Weirich
...
* lib/rubygem.rb: fix spelling of Jim Weirich. [Fixes GH-577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-25 23:29:44 +00:00
nobu
af1da410ca
cgi/util.rb: use alias
...
* lib/cgi/util.rb (escape_html, unescape_html): make synonyms
aliases instead of wrapper methods.
* lib/cgi/util.rb (escape_element, unescape_element): ditto.
[Fixes GH-573]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-21 21:46:17 +00:00
jeg2
3fb752a921
* lib/csv.rb: Fixed a broken regular expression that was causing
...
CSV to miss escaping some special meaning characters when used
in parsing.
Reported by David Unric
[ruby-core:54986] [Bug #8405 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-20 14:38:21 +00:00
zzak
2be728c45f
* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521 ]
...
Based on patch by @stomar [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-16 12:34:34 +00:00
zzak
1cefad432e
* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543 ] [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-15 20:52:48 +00:00
ktsj
c754b22797
* lib/find.rb (Find#find): should pass ignore_error option to enumerators.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-03 15:28:58 +00:00
nobu
aad895181e
find.rb: add ignore_error
...
* lib/find.rb (Find#find): add "ignore_error" keyword argument
defaulted to true. [ruby-core:51025] [Feature #7596 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 02:15:21 +00:00
akr
14ad015896
* lib/open3.rb (Open3.capture3): Ignore Errno::EPIPE for writing
...
stdin_data.
(Open3.capture2): Ditto.
(Open3.capture2e): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-01 10:56:39 +00:00
nobu
0b8233ab07
assertions.rb: assert_all? assert_not_all?
...
* lib/test/unit/assertions.rb (assert_all?, assert_not_all?): new
assertions for all iterations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-01 07:08:17 +00:00
zzak
a9625a2f8a
* lib/optparse.rb: [DOC] Add example of generating help with optparse.
...
Patch by @joelmccracken documenting-ruby/ruby#19
https://github.com/documenting-ruby/ruby/pull/19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-27 09:01:43 +00:00
kou
ba5ed845b3
* lib/rexml/xmltokens.rb: Add missing non ASCII valid characters
...
to element name characters. Now, REXML name tokens exactly
match "[5] Name" in the XML spec and "[4] NCName" in the
Namespaces in XML spec. See comment about the details.
[Bug #9539 ] [ruby-core:60901]
Reported by Mario Barcala. Thanks!!!
* test/rexml/xpath/test_node.rb: Add tests for the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-23 09:01:32 +00:00
akr
db537c5181
* lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
...
security.mac.portacl.port_high is changed.
See mac_portacl(4) for details.
Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 17:38:57 +00:00
kou
1513550611
* lib/rexml/xpath_parser.rb: Fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 14:17:27 +00:00
nobu
be5de49090
logger.rb: DST
...
* lib/logger.rb (next_rotate_time, previous_period_end): consider
DST change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21 07:45:55 +00:00
nobu
82d495134c
logger.rb: fix midnight log rotation miss
...
* lib/logger.rb (Logger::LogDevice#check_shift_log): compare the
current time with the time for the next rotation to fix rotation
miss when date changed between the comparison and log writing.
based on the patch by megayu <yuhg2310 AT gmail.com>.
[Fixes GH-539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21 07:11:03 +00:00
sorah
da61291a25
* lib/test/unit.rb: Requires minitest < 5.0.0 if Gem is available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-18 05:28:00 +00:00
sorah
7c030a5ded
* lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
...
* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
`add_runtime_dependency`, `add_development_dependency` for
Gem::Specification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-18 05:27:58 +00:00
ryan
b73610f18f
minor rdoc typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15 01:33:03 +00:00
nobu
14922c7033
httpservlet/filehandler.rb: pass queries
...
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): pass the
given queries to subdirectories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-12 09:01:30 +00:00
hsbt
98e82f3506
* lib/logger.rb: [DOC] Fix arg name for Logger.new by @ryotarai [ci skip] [fix GH-531]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-11 00:10:13 +00:00
zzak
7925015f4c
* lib/yaml.rb: [DOC] Add links to syck and psych on github [Bug #9501 ]
...
Based on a patch by Giorgos Tsiftsis [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08 19:08:45 +00:00
akr
f01b5e217b
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_labels):
...
Make it iterative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08 07:35:24 +00:00
akr
5323328f0c
* lib/resolv.rb: Don't set CLOEXEC flag explicitly. (Ruby set it by
...
default.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08 06:42:28 +00:00
akr
25a89ac0ac
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
...
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08 06:29:54 +00:00
akr
688606d2d9
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
...
socket creation.
Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-07 15:03:34 +00:00
zzak
da48c18c81
* lib/open-uri.rb: [DOC] use lower case version of core classes, same
...
as commit r44878, based on patch by Jonathan Jackson [Bug #9483 ] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-07 13:00:15 +00:00
drbrain
b9a4cf2aca
* lib/rubygems: Update to RubyGems 2.2.2. Complete history at:
...
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05 22:18:25 +00:00
nobu
c5038b22eb
assertions.rb: remove extra period
...
* lib/test/unit/assertions.rb (assert_raise): remove extra period,
which will be appended by `message`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05 06:41:00 +00:00
hsbt
b38d16dad9
* lib/set.rb: [DOC] Fix grammatical error by @bouk [fix GH-524]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05 00:33:38 +00:00
nobu
8d9b300a72
dir.c: glob cases on case-insensitive system
...
* dir.c (glob_helper): return the filename with actual cases on
the filesystem if it is case-insensitive. [ruby-core:42469]
[Feature #5994 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-04 08:20:05 +00:00
drbrain
ea2a00d785
* lib/rubygems: Update to RubyGems 2.2.2 prerelease to check fixes to
...
CI.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-04 00:48:31 +00:00
zzak
2d170da497
* lib/drb/drb.rb: [DOC] Add note about start_service for each process
...
Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
https://github.com/ruby/ruby/pull/514
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-31 21:40:18 +00:00
zzak
09c3f84566
* lib/securerandom.rb: [DOC] Add note on require for examples
...
Based on a patch by @schneems [Fixes GH-518] [ci skip]
https://github.com/ruby/ruby/pull/518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-31 21:12:49 +00:00
zzak
fa4af4d4cd
* lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?
...
Patch by xavier nayrac [Bug #9331 ] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-28 06:19:19 +00:00
zzak
308072092a
* lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
...
Patch by Giorgos Tsiftsis [Bug #9429 ] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-24 06:15:15 +00:00
nobu
d5d8097afd
assertions.rb: allow proc
...
* lib/test/unit/assertions.rb (assert_raise): allow a proc as
message like as other assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-23 09:18:47 +00:00
zzak
d89e8fb53a
* lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392 ]
...
Patch by Giorgos Tsiftsis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-23 05:28:36 +00:00
hsbt
94ebcc4aa7
* fix typo by @rrrene [fix GH-510]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-22 06:22:06 +00:00
zzak
63da4ce3bc
* lib/uri/common.rb: [DOC] Use static w3.org uri [ci skip]
...
Patch by @ykzts [Fix GH-484] https://github.com/ruby/ruby/pull/484
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-21 08:56:15 +00:00
zzak
dff0aa5a53
* lib/rubygems/version.rb: [DOC] Use gender-neutral pronouns [ci skip]
...
* lib/rubygems/security.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-20 04:57:31 +00:00
hsbt
0558b8a5c4
* ext/psych/lib/psych.rb: fix typo by @jwworth [fix GH-500]
...
* lib/rake/file_list.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-19 05:48:33 +00:00
hsbt
690be750cb
* lib/cgi/html.rb: fix typo by @windwiny [fix GH-506]
...
* lib/net/http.rb: ditto
* lib/rexml/attribute.rb: ditto
* lib/rexml/element.rb: ditto
* lib/rexml/source.rb: ditto
* lib/rexml/streamlistener.rb: ditto
* lib/rss/xmlparser.rb: ditto
* lib/rubygems/commands/generate_index_command.rb: ditto
* lib/shell.rb: ditto
* lib/uri/common.rb:ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-19 05:43:26 +00:00
akr
e86a90420d
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
...
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18 14:01:43 +00:00
akr
24a52978d4
* lib/open-uri.rb: Make proxy disabling working again.
...
Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18 12:20:31 +00:00
nobu
bcaec55695
delegate.rb: keep special methods
...
* lib/delegate.rb (Delegator): keep source information methods
which start and end with '__'. [ruby-core:58572] [Bug #9155 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-17 11:05:03 +00:00
zzak
94f35c9bc7
* lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA
...
Since RAA has been deprecated, and the SSL package has been replaced
with net/https this statement is entirely false and should be
deleted. [Bug #9152 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-13 05:57:35 +00:00
zzak
7433ce3e8c
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
...
Fixes the following bugs: [Bug #9152 ] [Bug #9268 ] [Bug #9394 ]
* lib/open-uri.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-13 05:49:12 +00:00
nobu
fe46b2d5f0
rubygems/test_case.rb: fix errors in mkmf tests
...
* lib/rubygems/test_case.rb (Gem#teardown): BASERUBY is not set
usually. fix errors in mkmf tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-08 08:13:56 +00:00
nobu
3e9e4a6a96
lib/timeout.rb: fallback to Timeout::Error
...
* lib/timeout.rb (Timeout::ExitException.catch): pass arguments
for new instance.
* lib/timeout.rb (Timeout::ExitException#exception): fallback to
Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380 ]
* lib/timeout.rb (Timeout#timeout): initialize ExitException with
message for the fallback case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-08 04:12:39 +00:00
nobu
1fa01c12df
timeout.rb: revert r44520
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 12:21:51 +00:00
nobu
82b1790df0
timeout.rb: current_target
...
* lib/timeout.rb (Timeout::ExitException#target): rename attribute.
* lib/timeout.rb (Timeout::ExitException.current_target): extract a
method to achieve the target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 12:08:45 +00:00
nobu
ed9f79df1a
timeout.rb: unused attribute
...
* lib/timeout.rb (Timeout::ExitException): remove unused attribute,
klass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 03:43:44 +00:00
nobu
97c0aaea71
timeout.rb: fix for ExitException
...
* lib/timeout.rb (Timeout#timeout): should not rescue ordinarily
raised ExitException, which should not be thrown.
* lib/timeout.rb (Timeout::ExitException.catch): set @thread only if
it ought to be caught.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 03:43:08 +00:00
nobu
9f5537c5b3
timeout.rb: defer creating custom exception
...
* lib/timeout.rb (Timeout#timeout): when a custom exception is given,
no instance is needed to be caught, so defer creating new instance
until it is raised. [ruby-core:59511] [Bug #9354 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 03:42:37 +00:00
drbrain
d5e810dbd2
* ChangeLog:
...
* lib/rubygems/basic_specification.rb (class Gem):
* lib/rubygems/commands/contents_command.rb (prefix or only the files that are requir):
* lib/rubygems/commands/install_command.rb (to write the specification by hand):
* lib/rubygems/commands/setup_command.rb (class Gem):
* lib/rubygems/commands/setup_command.rb (TEXT):
* lib/rubygems/compatibility.rb (module Gem):
* lib/rubygems/defaults.rb (module Gem):
* lib/rubygems/deprecate.rb (module Gem):
* lib/rubygems/installer.rb (class Gem):
* lib/rubygems/platform.rb (class Gem):
* lib/rubygems/rdoc.rb (class Gem):
* lib/rubygems/request_set/lockfile.rb (class Gem):
* lib/rubygems/resolver/installer_set.rb (class Gem):
* lib/rubygems/resolver.rb (class Gem):
* lib/rubygems/specification.rb (class Gem):
* lib/rubygems/test_case.rb (class Gem):
* lib/rubygems/test_case.rb (Also):
* lib/rubygems/uninstaller.rb (class Gem):
* lib/rubygems.rb (module Gem):
* test/rubygems/test_gem.rb (class TestGem):
* test/rubygems/test_gem_commands_contents_command.rb (lib):
* test/rubygems/test_gem_commands_environment_command.rb (class TestGemCommandsEnvironmentCommand):
* test/rubygems/test_gem_commands_install_command.rb (ERROR):
* test/rubygems/test_gem_commands_update_command.rb (class TestGemCommandsUpdateCommand):
* test/rubygems/test_gem_dependency_installer.rb (class TestGemDependencyInstaller):
* test/rubygems/test_gem_installer.rb (load Gem):
* test/rubygems/test_gem_installer.rb (gem):
* test/rubygems/test_gem_request_set_lockfile.rb (GEM):
* test/rubygems/test_gem_request_set_lockfile.rb (DEPENDENCIES):
* test/rubygems/test_gem_specification.rb (dependencies):
* test/rubygems/test_gem_specification.rb (duplicate dependency on b):
* test/rubygems/test_gem_uninstaller.rb (class TestGemUninstaller):
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07 01:19:28 +00:00
eregon
d781caaf31
* compar.c (cmp_equal): remove error hiding in Comparable#==.
...
Comparable#== no longer rescues exceptions silently.
This was the cause of quite a couple bugs. See #7688 . [EXPERIMENTAL]
* test/ruby/test_comparable.rb: adapt assertion to match new behavior.
* lib/rdoc/method_attr.rb: fix bugs discovered by this change.
* test/rdoc/test_rdoc_normal_class.rb: fix bugs in tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-05 11:14:59 +00:00
drbrain
7295607815
* lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
...
ipv4_multicast_ttl option for portability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-04 01:18:20 +00:00
drbrain
9b4f2adcc1
* lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
...
ipv4_multicast_loop option for portability. Patch by Jeremy Evans.
[ruby-trunk - Bug #9351 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-04 01:16:28 +00:00
nobu
5d26de2694
mkmf.rb: fix for 1.8 baseruby
...
* lib/mkmf.rb (init_mkmf): fix for 1.8 baseruby. RbConfig of 1.8
did not have CXXFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-31 09:32:38 +00:00
nobu
2bca263569
mkmf.rb: expand RUBY_SO_NAME
...
* lib/mkmf.rb (RbConfig): expand RUBY_SO_NAME for extensions
backward compatibility. [ruby-core:59426] [Bug #9329 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-31 06:44:58 +00:00
sorah
e8792774df
* lib/mkmf.rb (configuration): Make CXXFLAGS customizable.
...
Patch by Kohei Suzuki (eagletmt). [Fixes GH-492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-29 09:43:12 +00:00
a_matsuda
791ff28628
* lib/time.rb: [DOC] Fix typo
...
s/formating/formatting/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-26 13:17:48 +00:00
zzak
d3908b7f83
* lib/abbrev.rb: [DOC] rdoc format patch by Giorgos Tsiftsis [Bug #9146 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 13:34:27 +00:00
a_matsuda
69dbf68bbb
* lib/webrick/ssl.rb: [DOC] Fix typo
...
s/willbe/will be/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 05:10:12 +00:00
nobu
a8aefef874
fileutils.rb: rmdir parents option
...
* lib/fileutils.rb (FileUtils#rmdir): [DOC] add parents option.
[Bug #7824 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 16:56:31 +00:00
nobu
42d491cd1b
assertions.rb: fix return value
...
* lib/test/unit/assertions.rb (assert_throw): should return the
caught value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 10:05:18 +00:00
nobu
df7fc7ce1b
assertions.rb: improve assert_throw
...
* lib/test/unit/assertions.rb (assert_throw): revert r44379 and
improve failure message, since assert_throws cannot extract the
inspection from the execption message correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 09:36:46 +00:00
nobu
3c0cbea874
assertions.rb: assert_throw
...
* lib/test/unit/assertions.rb (assert_throw): make an alias of
assert_throws.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 07:13:35 +00:00
a_matsuda
1f861a6ea8
* lib/irb.rb: [DOC] Fix typo
...
s/degits/digits/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-23 05:34:39 +00:00
zzak
cadd660689
* doc/ChangeLog-1.9.3: [DOC] Fix typos by @dvsuresh
...
[Fixes GH-485] https://github.com/ruby/ruby/pull/485
* ext/openssl/ossl_config.c: ditto
* lib/rss/utils.rb, lib/time.rb: ditto
* test/ruby/envutil.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 18:21:14 +00:00
zzak
2c5dcdf0b4
* lib/{rake,rdoc,rss}/*, test/rexml/test_listener.rb: [DOC] Fix typos
...
by @dvsuresh [Fixes GH-486] https://github.com/ruby/ruby/pull/486
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 15:00:29 +00:00
drbrain
cb8be30ef1
* lib/rubygems/commands/install_command.rb: Restore gem install
...
--ignore-dependencies for remote gems
* test/rubygems/test_gem_commands_install_command.rb: Test for the
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 02:06:02 +00:00
drbrain
87923e02ba
* lib/rdoc.rb: Set RDoc to release version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 01:25:41 +00:00
drbrain
1d8484d421
* lib/rubygems.rb: Set RubyGems to release version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 01:19:20 +00:00
drbrain
67ec75152e
* lib/rubygems.rb (module Gem): Fix comment for
...
Gem::load_path_insert_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 01:16:22 +00:00
a_matsuda
54fdf15ad4
* lib/uri/generic.rb: [DOC] Fix typo
...
s/andn/and/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21 07:41:13 +00:00
nobu
1ffbe07e17
resolv.rb: no encodings
...
* lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not
consider encodings in hosts file. [ruby-core:59239] [Bug #9273 ]
* lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21 03:37:26 +00:00
drbrain
37e4a8d39d
* lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:
...
* Fixed typos.
* Relaxed Gem.ruby test for ruby packagers that do not use `ruby`.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19 22:09:19 +00:00
a_matsuda
6bd1988668
* lib/rexml/entity.rb: [DOC] Fix typo
...
s/matchs/matches/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19 07:58:36 +00:00
drbrain
f8bcd57cb7
* lib/rubygems: Update to RubyGems master af60443. Changes include:
...
* Improved speed of `gem install --ignore-dependencies`.
* Open read-write for exclusive flock. [ruby-trunk - Bug #9257 ]
* Remove specification before install to prevent infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19 03:05:37 +00:00
a_matsuda
0e04af5263
* lib/test/unit/assertions.rb: [DOC] Fix typo
...
s/maye be/may be/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18 04:20:25 +00:00
drbrain
228ad3d799
* lib/rubygems: Update to RubyGems master d8f12e2. This increases the
...
speed of `gem install --ignore-dependencies` which helps bundler
tests.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18 01:02:58 +00:00
a_matsuda
d103d3a94d
* lib/e2mmap.rb: Fix typo in an error message
...
s/registerd/registered/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17 11:20:10 +00:00
drbrain
e80f2c118a
* lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygems
...
repackagers to disable backward-compatible shared gem directory
behavior.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-16 20:18:29 +00:00
a_matsuda
82eef27f46
* lib/shell/filter.rb: [DOC] Fix typo
...
s/exection/execution/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-15 02:09:41 +00:00
drbrain
6c9a3cb681
* lib/rubygems/basic_specification.rb (class Gem): Revert r44213, it
...
causes SystemStackError for bundler
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-15 00:51:37 +00:00
drbrain
23201ab1c4
* lib/rdoc: Update to RDoc master 263a9e5. This improves the
...
accessibility of the search box.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 22:09:35 +00:00
drbrain
e6147745d5
* lib/rubygems/basic_specification.rb: Update to RubyGems master
...
9c718fe. Removes code duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 20:28:45 +00:00
a_matsuda
4618b7f200
[DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]
...
* lib/shellwords.rb: Fix output of Shellwords.escape()
https://github.com/ruby/ruby/pull/483
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 18:26:59 +00:00
a_matsuda
65b9ee0838
* lib/debug.rb: [DOC] Fix typo
...
s/useage/usage/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 14:48:36 +00:00
a_matsuda
adb1ee65b7
[DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
...
* doc/ChangeLog-YARV: Correct a typo in comment
* lib/rubygems/specification.rb: ditto.
* test/rexml/data/tutorial.xml: ditto.
* test/ruby/test_settracefunc.rb: ditto.
* tool/instruction.rb: ditto.
https://github.com/ruby/ruby/pull/482
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:54:54 +00:00
nobu
95ed081663
logger.rb: fix extra log ratation
...
* lib/logger.rb (lock_shift_log): no need to rotate the log file
if it has been rotated by another process. based on the patch
by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 05:43:01 +00:00
nobu
1e4a955435
scanf.rb: fix rescue modifier
...
* lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier.
a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 02:55:33 +00:00
hsbt
967677aba0
* lib/uri/common.rb: [DOC] Fix a broken link by @namusyaka [fix GH-478]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 23:22:41 +00:00
akr
4fd53e476e
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
...
it may be set before the body.
Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247 ]
* lib/cgi/core.rb: Ditto.
* lib/drb/ssl.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 16:11:12 +00:00
nobu
287d2adab0
assertions.rb: last match in assert_raise_with_message
...
* lib/test/unit/assertions.rb (assert_raise_with_message): set
caller's last match if expected is a Regexp.
* test/ruby/test_arity.rb (err_mess): use assert_raise_with_message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 09:17:55 +00:00
a_matsuda
d8f619e1a7
* lib/net/pop.rb: [DOC] Fix typo
...
s/deguging/debugging/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 02:38:55 +00:00
drbrain
d35e7b5be2
* lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669
...
with a 1.8.7 compatibility fix.
* test/rubygems/test_gem_request_set_lockfile.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 01:04:36 +00:00
nobu
955a6258a3
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 00:56:06 +00:00
drbrain
8fadbe5f3e
* lib/rubygems: Update to RubyGems master ddac51f. Changes:
...
* Allow override for the shared gem installation directory for
rubygems packagers.
* Lock gem cache files for read and write to improve thread safety.
* Use io/console when available.
* Minor cleanup.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 00:51:04 +00:00
a_matsuda
ba672b6de1
* lib/resolv.rb: Fix typo in an error message
...
s/postive/positive/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 06:17:31 +00:00
hsbt
a4b26274dd
* lib/xmlrpc.rb: [DOC] fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 03:09:19 +00:00
a_matsuda
e1db3605fd
* ext/win32ole/sample/olegen.rb: Fix typo
...
* ext/openssl/ossl_asn1.c: [DOC] Fix typo
* lib/webrick/accesslog.rb: ditto
* template/yarvarch.ja: ditto
s/recieve/receive/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-11 03:58:07 +00:00
drbrain
d6a5fe709e
* lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
...
include:
* Renamed extension_install_dir to extension_dir (backwards
compatible).
* Fixed creation of gem.deps.rb.lock file from
TestGemRequestSet#test_install_from_gemdeps_install_dir
* Fixed a typo and some documentation.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-10 19:54:19 +00:00
a_matsuda
28fd53d2de
* lib/xmlrpc/httpserver.rb: [DOC] Fix typo
...
s/authentification/authentication/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-09 07:04:43 +00:00
drbrain
05ba6fffcc
* lib/rubygems: Update to RubyGems master bf37240. Fixes useless
...
error message with `gem install -g` with no gem dependencies file.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 23:41:14 +00:00
drbrain
da3e610adf
* lib/rubygems: Update to RubyGems master 096db36. Changes include
...
support for PATH in Gemfile.lock and a typo fix from Akira Matsuda.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 19:32:07 +00:00
naruse
91539d71d8
* lib/net/http/responses.rb:
...
Add `HTTPIMUsed`, as it is also supported by rack/rails.
RFC - http://tools.ietf.org/html/rfc3229
by Vipul A M <vipulnsward@gmail.com>
https://github.com/ruby/ruby/pull/447 fix GH-447
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 17:11:46 +00:00
a_matsuda
2aa57843f2
* lib/xmlrpc/client.rb: [DOC] Fix typo
...
s/explicitely/explicitly/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 03:51:11 +00:00
drbrain
12c8533e1a
* lib/rubygems.rb: Update version for upcoming ruby 2.1.0 RC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 01:25:05 +00:00
drbrain
7ed9b794b4
* lib/rubygems: Update to RubyGems master 14749ce. This fixes bugs
...
handling of gem dependencies lockfiles (Gemfile.lock).
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 01:22:39 +00:00
hsbt
5728783a04
* lib/net/http/header.rb: [DOC] Net::HTTP#to_hash returns pair of key and array values. Thanks @bjhaid [fix GH-467]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-07 10:33:16 +00:00
a_matsuda
7a9f701692
* ext/tk/lib/tk/canvas.rb: [DOC] Fix typo (s/paramter/parameter/)
...
* ext/tk/lib/tk/text.rb: Ditto.
* ext/tk/lib/tkextlib/blt/component.rb: Ditto.
* ext/tk/lib/tkextlib/blt/tree.rb: Ditto.
* ext/tk/lib/tkextlib/blt/treeview.rb: Ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: Ditto.
* lib/xmlrpc/server.rb: Ditto.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-07 10:27:27 +00:00
hsbt
218755f306
* lib/fileutils.rb: remove unnecessary initialization. by @vipulnsward [fix GH-463]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-07 10:25:33 +00:00
a_matsuda
c52eadeb77
* lib/webrick/httpstatus.rb: [DOC] Fix typo
...
s/sucess/success/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-06 04:34:35 +00:00
hsbt
56654cb04d
* lib/erb.rb: [DOC] fix broken link.
...
Use rubygems.org and www.ruby-toolbox.com instead of RAA. [Bug #9197 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-06 02:54:55 +00:00
hsbt
86d6d4d57c
* lib/webrick/compat.rb, lib/xmlrpc/datetime.rb: [DOC] fix typo by @vipulnsward [fix GH-464]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-06 02:10:11 +00:00
hsbt
ea1180ef80
* lib/webrick/httprequest.rb: [DOC] Fix broken link of CGI specification by @udzura [fix GH-466]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-06 01:56:44 +00:00
nobu
1a1c0aeb50
mkmf.rb: strip destdir from prefix
...
* lib/mkmf.rb (configuration): strip destdir part from prefix to get
rid of duplication. a patch by arton at [ruby-core:58859].
[ruby-core:58856] [Bug #9213 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-05 13:18:07 +00:00
a_matsuda
8740ac0aeb
* lib/webrick/httpresponse.rb: [DOC] Fix typo
...
s/resopnse/response/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-05 11:32:26 +00:00
a_matsuda
46b4eca8e2
* lib/webrick/httpproxy.rb: [DOC] Fix typo
...
s/bacause/because/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-04 14:06:52 +00:00
nobu
fc4de12302
delegate.rb: ignore unset target
...
* lib/delegate.rb (Delegator#method_missing): ignore the target if not
set, and delegate to global methods. [ruby-core:58572] [Bug #9155 ]
* lib/delegate.rb (Delegator#respond_to_missing): ditto.
* lib/delegate.rb (SimpleDelegator#__getobj__): yield and return if
not delegated but a block is given, like as Hash#fetch.
* lib/delegate.rb (DelegateClass#__getobj__): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-04 03:47:57 +00:00
a_matsuda
1083b375ec
* lib/net/smtp.rb: [DOC] Fix typo
...
s/raies/raises/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-03 12:14:22 +00:00
nobu
41a73480c6
rdoc/constant.rb: reapply r43006 for workaround of
...
NoMethodError
* lib/rdoc/constant.rb (RDoc::Constant#documented?): workaround for
NoMethodError when the original of alias is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-03 03:18:52 +00:00
drbrain
f462cdb5d9
* lib/rdoc: Update to RDoc master 900de99. Changes include:
...
Fixed documentation display of constants
Fixed handling of unknown parsers
* test/rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-03 00:42:49 +00:00
a_matsuda
01b1f00461
* lib/csv.rb: [DOC] Fix typos
...
s/occurrs/occurs/, s/interation/iteration/, s/intetionally/intentionally/,
s/modfied/modified/, s/axception/exception/, s/curcuit/circuit/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-02 05:36:00 +00:00
drbrain
34e57abf23
* lib/net/smtp.rb (Net::SMTP#critical): Always return a
...
Net::SMTP::Response. Patch by Pawel Veselov.
[ruby-trunk - Bug #9125 ]
* test/net/smtp/test_smtp.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-02 05:18:04 +00:00
drbrain
673efdceef
* lib/rubygems: Update to RubyGems master baa965b. Notable changes:
...
Copy directories to lib/ when installing extensions. This completes
the fix for [ruby-trunk - Bug #9106 ]
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 20:52:57 +00:00
a_matsuda
64ac49e6fe
* lib/open3.rb: [DOC] Fix typo (s/thumnail/thumbnail/)
...
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 03:13:11 +00:00
drbrain
73fc703f7c
* lib/rubygems: Update to RubyGems master 66e5c39. Notable changes:
...
Implement gem.deps.rb (Gemfile) .lock support
Fixed `gem uninstall` for a relative directory in GEM_HOME.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-30 23:27:52 +00:00
a_matsuda
4f5d3c5e53
* lib/fileutils.rb: [DOC] Fix typo (s/perserve/preserve/)
...
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-30 14:41:55 +00:00
a_matsuda
adf511efc6
* lib/irb/inspector.rb: [DOC] Fix typo (s/dependant/dependent/)
...
* lib/irb/workspace.rb: [DOC] Fix typo (s/binging/binding/)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-30 09:50:11 +00:00
a_matsuda
ef510b4f5b
* lib/drb/ssl.rb: [DOC] Fix typo
...
s/currenly/currently/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-29 18:13:34 +00:00