nobu
e0431daa00
test with psych
...
* test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml):
test with psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:45 +00:00
nobu
c2cc5fc961
ignore unnecessary test
...
* test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly):
ignore unnecessary test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:43 +00:00
nobu
77b1d88513
skip OpenSSL dependent tests if not available
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:41 +00:00
nobu
535a28c737
see OpenSSL::SSL
...
* lib/net/imap.rb (Net::IMAP): see if actually used SSL is defined to
get rid of autoloaded OpenSSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:38 +00:00
nobu
cf6116150c
autoload in module scope.
...
* lib/net/http.rb (Net::OpenSSL): get rid of autoload in global scope
not to make tests confused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:36 +00:00
nobu
7255d93b08
deal with timeout exceptions
...
* lib/net/http.rb (Net::HTTP#transport_request): deal with
Net::OpenTimeout and Net::ReadTimeout first to get rid of loading
OpenSSL as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:31 +00:00
akr
146aff91c4
* test/socket/test_unix.rb (bound_unix_socket): make temporary
...
filename shorter for less possibility of Unix socket path over
107 bytes when TMPDIR has long path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:09:48 +00:00
usa
ee8c98e5cc
* win32/win32.c (szInternalCmds, internal_match, internal_cmd_match):
...
get rid of a segmentation fault with GCC 4.7.0.
reported by raylinn@gmail.com (ray linn) at [ruby-core:44505]
[Bug #6333 ], and patched by mame.
* test/ruby/test_system.rb (TestSystem#test_system): test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 11:47:02 +00:00
akr
c2086cc7ff
* lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
...
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
reported by Bohuslav Kabrda.
[ruby-core:43844] [ruby-trunk - Bug #6221 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 11:15:35 +00:00
akr
8f16d22e99
* test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill.
...
[ruby-dev:45551] reported by NARUSE, Yui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 10:55:39 +00:00
naruse
90d99ef1bd
* .gdbinit (rb_ps_vm): follow st_table's packing change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 05:19:54 +00:00
nobu
e2b54072b5
* configure.in: disable rubygems not to load rbconfig.rb before
...
fake.rb. [ruby-core:44492][Bug #6329 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 01:43:35 +00:00
svn
c9bbb3a8b8
* 2012-04-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 15:04:53 +00:00
naruse
eab4183f14
Wait until the proxy stops.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 15:04:44 +00:00
nobu
628d3807d2
* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:43:53 +00:00
nobu
f2e9040aff
* ext/openssl/extconf.rb: ignore broken version by Apple.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:39:55 +00:00
nobu
ec646dccdd
* ext/openssl/extconf.rb: configure.in adds -Wall to warnflags, not
...
CPPFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:22:57 +00:00
akr
f7d01d27a6
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 11:37:22 +00:00
akr
e16e961bab
* lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to
...
invoke service subprocess. mark detach threads for clean up.
* test/drb/drbtest.rb: clean up the service subprocess in teardown.
* test/drb/test_drb.rb: set @service_name for teardown.
* test/drb/test_drbunix.rb: ditto.
* test/drb/test_drbssl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 11:35:03 +00:00
naruse
f46ffca1c7
avoid thread switching.
...
The test may fail if thread switches to d or e before assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 01:46:45 +00:00
akr
cc19bcf11f
* lib/drb/ssl.rb: close accepted TCP socket if SSL accept is failed.
...
[ruby-dev:45541]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 22:52:23 +00:00
svn
5849614d02
* 2012-04-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 16:21:46 +00:00
nagachika
2346056e6a
* ChangeLog: fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 16:21:41 +00:00
svn
694fbfd6c0
* 2012-04-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 06:10:25 +00:00
seki
b384fe5e4f
* test/rinda/test_rinda.rb: fix sticks on some testsf problem
...
[Bug #6272 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 06:10:21 +00:00
akr
d6ba4bcaa5
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20 10:51:25 +00:00
drbrain
b68e0dbfdf
* lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Removed to avoid
...
conflict with ca-bundle.pem
* lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem:
ditto.
* lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem:
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20 03:28:49 +00:00
nobu
4dd7483141
* ChangeLog: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 23:41:36 +00:00
drbrain
064bf602e0
* lib/rubygems: Update to RubyGems 1.8.23 which contains security
...
fixes:
RubyGems now disallows redirection from HTTPS to HTTP.
RubyGems now verifies SSL connections.
See https://github.com/rubygems/rubygems/blob/1.8/History.txt for
changes since 1.8.22.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 23:07:48 +00:00
svn
83ed985182
* 2012-04-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 15:34:06 +00:00
kazu
0968c22e10
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 15:34:01 +00:00
nobu
e0ffb9b59b
* strftime.c (rb_strftime_with_timespec): fix carrir-up bug and
...
overwrite '+' with '-' if negative offset less than a hour.
[ruby-core:44447][Bug #6323 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 07:33:55 +00:00
naruse
ec0bd633e2
Run TC_JSONGenerate#test_gc in a separate process.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 03:21:23 +00:00
naruse
c1903a9f17
Fix multithread issue in the test of r35391
...
pipe() uses threads and its reader thread may work before the writer
writes "foob". On such case, the reader will raise error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 02:49:48 +00:00
nobu
1ff181cf8c
* ext/-test-/win32/dln/extconf.rb: need import library for ordinal
...
entry even on mingw. [ruby-core:44441][Bug #6320 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:40:00 +00:00
nobu
0ba3c640f5
* ChangeLog: remove garbage spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:38:11 +00:00
drbrain
42a9234cc4
* random.c (random_init): Clarify that the default seed is
...
Random.new_seed, not zero. Based on patch by Roger Pack.
[ruby-trunk - Bug #6313 ]
* random.c (rb_f_srand): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:35:32 +00:00
drbrain
6878e597c4
* ext/curses/curses.c (window_nodelay): Fixed call-seq of nodelay to
...
include the '='.
Improved description window.nodelay=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:59:22 +00:00
drbrain
ab0eb272f9
* io.c (io_readpartial): Document the output buffer parameter is
...
overwritten with the read contents even when non-empty.
Patch by yu nobuoka. [ruby-trunk - Bug #6285 ]
* io.c (io_read_nonblock): ditto.
* io.c (io_read): ditto.
* io.c (rb_io_sysread): ditto.
* io.c (argf_read): ditto.
* io.c (argf_readpartial): ditto.
* ext/stringio/stringio.c (strio_read): ditto.
* test/ruby/test_argf.rb (class TestArgf): Add test for existing
behavior of read outbuf.
* test/ruby/test_io.rb (class TestIO): ditto.
* test/stringio/test_stringio.rb (class TestStringIO): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:48:27 +00:00
svn
aa883f84da
* 2012-04-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:14:29 +00:00
naruse
61c1fb7058
Use mock of Gem::Security::OPT[:trust_dir]
...
Gem::Security::OPT[:trust_dir] depends Gem.user_home but doesn't reset
on setup/teardown.
NOTE: Gem.user_home won't be recovered now, so teardown doesn't work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:14:26 +00:00
nobu
7cfc4be298
* configure.in (DOT, DOXYGEN): use AC_CHECK_PROGS instead of
...
AC_CHECK_PROG which needs the third argument. [ruby-core:44433]
[Bug #6316 ]
* configure.in (PKG_CONFIG): fix condition to skip older version
of pkg-config. continue in backticks does not affect outside.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 13:59:00 +00:00
nobu
336cf57584
* test/ruby/test_time_tz.rb (TestTimeTZ): run TZ tests on Mac OS X,
...
except for "right" timezonez.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 07:10:38 +00:00
usa
ab649ef3c4
* win32/file.c (INVALID_FILE_ATTRIBUTES): commit miss of r35384.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 05:50:45 +00:00
usa
ff19b1d81e
* win32/file.c (INVALID_FILE_ATTRIBUTES): define for old SDK.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 05:00:07 +00:00
naruse
62c9ecfa12
Revert r35339-35343 because of no tests.
...
* hash.c: Alias ENV.to_h to ENV.to_hash [ref #6276 ]
* lib/ostruct.rb: Add OpenStruct#to_h [Feature #6276 ]
* struct.c: Add Struct#to_h [Feature #6276 ]
* object.c: Add NilClass#to_h [Feature #6276 ]
* hash.c: Add Hash#to_h [Feature #6276 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:59:15 +00:00
naruse
cc6ab53f59
Run separate process this GC.stress test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:38:09 +00:00
naruse
8de83c5198
Disable GC for slow this test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:31:11 +00:00
nobu
9d96fc17d7
split method definitions
...
* test/ruby/test_time_tz.rb (TestTimeTZ#with_tz, TestTimeTZ#time_to_s):
split method definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:58:49 +00:00
nobu
62885f1ed1
update .gitignore
...
* .gitignore: removed duplicate entry and obsolete entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:58:46 +00:00