drbrain
2ba247275a
* lib/mkmf.rb: Fix indentations of constants at end of module.
...
Document some constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 01:08:16 +00:00
drbrain
b1f1e46ce2
* lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 23:45:42 +00:00
drbrain
194882cc40
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
...
documentation. [Ruby 1.9 - Feature #5658 ]
* ext/extmk.rb: Use MakeMakefile::CONFIG instead of Object::CONFIG
* test/mkmf/base.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 21:54:33 +00:00
naruse
b361c5adec
Fix typo in r33849.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-26 20:03:32 +00:00
naruse
b6b8cc01a5
* lib/net/http.rb (Net::HTTP::SSL_IVNAMES): rerefix 33701.
...
SSL_ATTRIBUTES stores names for set_params, they are symbol.
SSL_IVNAMES stores instance variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-26 19:59:11 +00:00
naruse
708d76a3b1
* lib/net/http.rb (Net::HTTP.get_response): enable use_ssl
...
if given URI object is https.
patched by Mark Ferlatte [ruby-core:40665] [Bug #5545 ]
* lib/net/http.rb (Net::HTTP.post_form): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-26 11:44:45 +00:00
naruse
9d4db2d4d9
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): refix 33701.
...
store instance variable symbol names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-26 11:06:53 +00:00
kosaki
b418bc9be4
* lib/mkmf.rb: get rid of warnings of mkmf.rb if -Wmissing-declarations
...
and/or -Wold-style-definition warnings if specified.
Patch by Nikolai Weibull. Thank you! [Bug #5459 ] [ruby-core:40200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-24 23:02:44 +00:00
naruse
a0ef626241
Use proc to delay making exception_details.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-22 05:38:55 +00:00
nobu
c2c6687ddb
* ext/extmk.rb (extract_makefile, extmake): regenerate makefiels
...
if globbed source file list is changed.
* lib/mkmf.rb (create_makefile): store ORIG_SRCS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-20 14:22:44 +00:00
akr
901ed0b318
* lib/set.rb (SortedSet.setup): remove old_init after initialize
...
method is redefined. The remove before redefinition makes the
warning prevention fragile. [ruby-dev:44892]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-20 02:02:14 +00:00
akr
562c42a668
* lib/set.rb (SortedSet.setup): don't remove old_init. The remove
...
makes the warning prevention fragile. [ruby-dev:44892]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-20 01:21:01 +00:00
usa
7491541e16
* test/unit/assertions.rb (MINI_DIR): quick dirty hack to get rid of
...
warnings when using assert/assert_respond_to.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-18 04:21:23 +00:00
ryan
d6c86e631d
Imported minitest 2.8.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-17 23:02:16 +00:00
naruse
ff187b0267
Refix r33766.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-16 02:43:03 +00:00
naruse
b4664c781b
Fix r33766.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-16 02:12:37 +00:00
naruse
12bde2dfab
* lib/minitest/unit.rb (assert_raises): experimental fix to run
...
correctly on chkbuild over 64bit linux. call exception_details only
when the detail is really needed to avoid create needless inspect
under ulimit-ed environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-16 00:59:56 +00:00
nobu
a0146d1e87
* lib/mkmf.rb (checking_for): should not modify the result.
...
* lib/mkmf.rb (have_struct_member): accept compiler opttions.
* lib/mkmf.rb (convertible_int): add restricted support of struct
member, and TYPEOF_ macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-13 14:46:01 +00:00
nobu
214fd6ce77
* lib/mkmf.rb (have_library, find_library, have_func): allow
...
arguments of function to be checked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-11 08:21:17 +00:00
drbrain
661a936e64
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
...
of string keys to avoid duplicating parameters in
OpenSSL::SSL:SSLContext#set_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-10 23:35:35 +00:00
nobu
fc5f37f0e1
* lib/mkmf.rb (try_func): ignore empty opts.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-10 06:13:37 +00:00
nobu
cfe220d8f3
* lib/mkmf.rb (have_library, have_func, have_var, have_header):
...
add compiler option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-10 06:02:40 +00:00
nobu
7c7514b206
* lib/mkmf.rb (cpp_command): remove multiple -arch flags since cpp
...
cannot work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08 08:30:53 +00:00
ayumin
ae1943bee9
* lib/debug.rb: add help for 'pp' and 'r[estart]'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-06 16:18:26 +00:00
akr
df334f5277
* lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]
...
should be an array. This fixes
"./ruby test/runner.rb test/testunit/test_parallel.rb"
[ruby-dev:44782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05 15:14:33 +00:00
ktsj
c3749b6a6d
* ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb,
...
ext/tk/sample/demos-en/widget, lib/benchmark.rb, lib/irb/cmd/fork.rb,
lib/mkmf.rb, lib/net/ftp.rb, lib/net/smtp.rb, lib/open3.rb,
lib/pstore.rb, lib/rexml/element.rb, lib/rexml/light/node.rb,
lib/rinda/tuplespace.rb, lib/rss/maker/base.rb,
lib/rss/maker/entry.rb, lib/scanf.rb, lib/set.rb, lib/shell.rb,
lib/shell/command-processor.rb, lib/shell/process-controller.rb,
lib/shell/system-command.rb, lib/uri/common.rb: remove unused block
arguments to avoid creating Proc objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05 07:37:47 +00:00
akr
c852d76f46
* lib/webrick/utils.rb: fix fcntl call.
...
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-01 23:17:53 +00:00
akr
6533f070ba
* lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-31 12:03:49 +00:00
akr
be561cbebe
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-24 11:08:52 +00:00
akr
931226061b
* lib/resolv.rb: fix a exception name in previous patch.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 08:47:13 +00:00
akr
16f4ecbc8c
* lib/resolv.rb: make timeout configurable for DNS query.
...
patch by Eric Wong. [ruby-core:38533] [Feature #5100 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 08:46:12 +00:00
ryan
9bec8ef50c
Imported minitest 2.6.2 (r6712)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-19 20:34:21 +00:00
xibbar
673448c27d
Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput'
from '$stdin' because using fast cgi. [Bug #5451 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-17 17:33:57 +00:00
drbrain
627c179a99
* lib/pp.rb: Move PP documentation to top of class PP. Patch by
...
Sylvain Daubert. [Ruby 1.9 - Bug #5430 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-10 21:10:02 +00:00
drbrain
92af97c607
* lib/shell.rb: Document some methods of Shell. Patch by Carol
...
Nichols. [Ruby 1.9 - Bug #5417 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-07 18:21:01 +00:00
nobu
e50c05f7f6
* lib/test/unit/assertions.rb (assert_send, assert_not_send):
...
parenthesize non-empty arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-07 08:54:30 +00:00
drbrain
60d83c5da4
* lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.
...
[Ruby 1.9 - Bug #5416 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-06 05:59:35 +00:00
drbrain
0d900cecdf
* time.c (Init_Time): Improve Time documentation. Patch by Shane
...
Emmons. [Ruby 1.9 - Bug #5404 ]
* lib/time.rb: Improve time.rb documentation including Time.strptime.
Patch by Shane Emmons. [Ruby 1.9 - Bug #5402 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-06 00:14:55 +00:00
naruse
4eb497d90b
* lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.
...
Reported by Christopher Eberz. [ruby-core:39903] Bug #5399
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-04 07:37:11 +00:00
drbrain
6be866e262
* lib/shellwords.rb: Update toplevel comment with an example. Patch
...
by Samnang Chhun. [Ruby 1.9 - Bug #5388 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-03 23:23:24 +00:00
drbrain
90dfc8f99e
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
...
Gem namespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-03 22:15:47 +00:00
tenderlove
9bb327f132
* lib/yaml/store.rb: make initialize method signature match the
...
superclass signature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-02 02:29:27 +00:00
nobu
49cc468ad4
* lib/mkmf.rb (have_framework): try as Objective-C.
...
https://twitter.com/nagachika/status/120294447660539904
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-02 01:03:30 +00:00
naruse
7b6677f1e6
* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
...
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 02:28:54 +00:00
ayumin
73bd9e566b
* lib/yaml/dbm/dbm.rb: fix #update, add #key for using istead #index.
...
[Bug #5305 ][ruby-dev:44485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 12:05:02 +00:00
ayumin
6ec841b2df
* lib/fileutils.rb (module FileUtils): improve performance of
...
FileUtils.compare_stream. a patch by Masaki Matsushita.
[Feature #5337 ] [ruby-core:39622]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 10:34:30 +00:00
ktsj
d52be39fb7
* lib/find.rb (Find.find): add documentation that Find.find
...
without block returns an enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-17 03:49:20 +00:00
nobu
4e7c8bbe03
* lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-13 11:21:52 +00:00
nobu
f7081431f2
* lib/pstore.rb (PStore): always open in binary mode even if
...
default encodings are set. [Bug #5311 ] [ruby-core:39503]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-13 06:02:59 +00:00
nobu
53fd35c304
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_send): fix message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-12 13:24:19 +00:00