55987 Commits

Author SHA1 Message Date
git
b9996b7b32 * 2019-06-10 2019-06-10 19:48:08 +09:00
Benoit Daloze
626ae5a9b6 Resolv specs should pass on Windows now 2019-06-10 12:47:08 +02:00
Benoit Daloze
60af6fef3c Fix Resolv specs to not depend on a system /etc/hosts file
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/archlinux/ruby-master/log/20190609T153804Z.fail.html.gz
* Thanks @naruse for the tip.
2019-06-10 12:45:00 +02:00
Hiroshi SHIBATA
614154bbb6 Added missing dependency for rake examples. 2019-06-09 13:25:56 +09:00
Hiroshi SHIBATA
2c59c58a47 Fixed wrong BUNDLE_BIN_PATH for ruby core. 2019-06-09 12:44:31 +09:00
Hiroshi SHIBATA
44f7f093ab Added the condition for ruby_core repository. 2019-06-09 12:44:27 +09:00
Hiroshi SHIBATA
57ccea6232 Revert to change for filelist of bundler gemspec. 2019-06-09 12:44:23 +09:00
Hiroshi SHIBATA
8f37629519 Merge bundler master from upstream.
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
2019-06-09 12:44:10 +09:00
Jeremy Evans
6650899248 Make Resolv::DNS#each_name accept Resolv::IPv{4,6} arguments
These arguments were previously documented as supported, but not
actually supported.

Patch from Toru Iwase

Fixes [Bug #15900]
2019-06-08 20:31:12 -07:00
git
a432c014c9 * 2019-06-09 2019-06-09 12:30:40 +09:00
Nobuyoshi Nakada
562c0bfeda
Split test_strip_bom for each encoding 2019-06-09 12:27:05 +09:00
Nobuyoshi Nakada
a8ef498d6b
Add tests of the encoding with BOM 2019-06-09 11:11:26 +09:00
Nobuyoshi Nakada
f42588f754
Make RUBY_RELEASE_DATE full on development
I cannot tell the order just by commit hashes.
2019-06-08 20:08:18 +09:00
Nobuyoshi Nakada
1ca03dc4f7
Suppress warnings by gcc 9.1 2019-06-08 19:46:32 +09:00
Nobuyoshi Nakada
27a59ca2c8
file.c: fix compile error with MacPorts gcc
With the SDK of Xcode 10.2.1, `API_AVAILABLE` and so on macros are
not defined in <os/availability.h> when using a compiler other
than clang (which has `__has_feature` and `__has_attribute`), but
`__API_AVAILABLE` macro and so on are defined, which are also
defined in <Availability.h>.

I suspect this is a bug of the SDK.
2019-06-08 19:40:55 +09:00
Nobuyoshi Nakada
5a840517ae
Fix broken gem unpack
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is
  required here, to fix broken `gem unpack` command.
2019-06-08 18:44:18 +09:00
Nobuyoshi Nakada
21de4a574f
io.c: fold very very long lines 2019-06-08 18:44:04 +09:00
Hiroshi SHIBATA
3776c48cf4 Revert "require rubygems/package where used"
This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235.

  It fails with `make test-bundler BUNDLER_SPECS=runtime/setup_spec.rb:1204`
2019-06-08 13:49:37 +09:00
git
1696f80f40 * 2019-06-08 2019-06-08 00:15:42 +09:00
aycabta
19977cc761 Remove unnecessary variables 2019-06-08 00:14:58 +09:00
Nobuyoshi Nakada
ffaefcadd8
Report a sudden death of workers 2019-06-07 23:49:13 +09:00
Yusuke Endoh
75751dca2b test/openssl/utils.rb: Extend the timeout for armv7l
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190607T051708Z.fail.html.gz
2019-06-07 23:37:55 +09:00
Nobuyoshi Nakada
b76630f73e
require rubygems/package where used
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is
  required.  fix the failure of `gem unpack` command.

* lib/rubygems/source/local.rb: ditto.

* lib/rubygems/source/specific_file.rb: ditto.
2019-06-07 22:48:45 +09:00
Nobuyoshi Nakada
6566919176
ripper_state_lex.rb: chomp CR
* lib/rdoc/parser/ripper_state_lex.rb (RDoc::Parser::RipperStateLex):
  chomp newline, including CR, from here document terminator.

Closes: ruby/rdoc#694
Closes: ruby/rdoc#697
Closes: ruby/rdoc#705
2019-06-07 18:57:58 +09:00
Yusuke Endoh
a6a26e42b1 compile.c: Partially revert r63870 which caused wrong optimization
[Bug #15906]
2019-06-07 14:46:59 +09:00
Jeremy Evans
b8af33e63b Skip one assertion for OpenSSL::PKey::EC::Point#mul on LibreSSL
LibreSSL 2.8.0+ does not support multiple elements in the first
argument.
2019-06-06 21:46:36 -07:00
Jeremy Evans
119ca4343c Make specs pass on OpenBSD
Skip Process clockres specs that don't work on either FreeBSD or
Solaris/AIX in addition to OpenBSD.

Run most current String#crypt specs on non-OpenBSD, and add a new
set of crypt specs for OpenBSD, which support bcrypt but not DES
in crypt(3).

Use @server.connect_address instead of @server.getsockname in some
socket tests, as OpenBSD does not treat connection to all zero
IPv4 or IPv6 addresses as connection to localhost.

When trying to connect using UDP on an unsupported address family,
allow Errno::EPROTONOSUPPORT in addition to Errno::EAFNOSUPPORT,
as OpenBSD raises the former.
2019-06-06 21:16:28 -07:00
Nobuyoshi Nakada
c55de95ff1
Dummy Makefile.in for CIs 2019-06-07 10:05:42 +09:00
Yusuke Endoh
7e403dc6c8 test/openssl/utils.rb: Extend the timeout
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190606T171708Z.fail.html.gz
2019-06-07 09:26:40 +09:00
Nobuyoshi Nakada
c7477c3e1f
Moved Makefile.in under template 2019-06-07 09:09:58 +09:00
Nobuyoshi Nakada
aef3bb3513
Remove the dependency of Makefile on Makefile.in transitionally 2019-06-07 09:06:55 +09:00
Nobuyoshi Nakada
200c840b95
Revert "Moved Makefile.in under template"
This reverts commits:
* 6f9d5fafe040cb02a1278fbfcdcb8063d564824c
* bb3c89b6437049e26669b2156310670d5e06e386

And remove the dependency of Makefile on Makefile.in
transitionally.
2019-06-07 09:03:25 +09:00
Nobuyoshi Nakada
bb3c89b643
Makefile.in moved under template 2019-06-07 08:58:53 +09:00
Nobuyoshi Nakada
6f9d5fafe0
Moved Makefile.in under template 2019-06-07 08:44:37 +09:00
git
aee7790131 * 2019-06-07 2019-06-07 02:04:51 +09:00
Nobuyoshi Nakada
2bc09665ab
win32/registry.rb: fix potential infinite loop
* ext/win32/lib/win32/registry.rb (Win32::Registry#each_value):
  advance the index even if an error occurred in #read.
2019-06-07 02:00:48 +09:00
Nobuyoshi Nakada
09a2189c1b
Adjust indent 2019-06-07 01:56:31 +09:00
Yusuke Endoh
9f941f61ef test/webrick/test_filehandler.rb: extend the timeout for Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190602T031908Z.fail.html.gz
2019-06-06 21:50:30 +09:00
Yusuke Endoh
60924636e5 test/net/http/test_http.rb: extend the timeout for Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190605T231909Z.fail.html.gz
2019-06-06 21:50:21 +09:00
Kazuhiro NISHIYAMA
fcc36d767b
Revert "Stop circular require warning"
This reverts commit c2a9c350249588677cf68b506539093504927eac.

It cannot stop `circular require` warning.
2019-06-06 16:49:40 +09:00
Kazuhiro NISHIYAMA
c2a9c35024
Stop circular require warning 2019-06-06 15:41:55 +09:00
Yusuke Endoh
861b50d81d lib/rubygems.rb: Stop "Leaked file descriptor" warning
Bundler.setup changes Gem::DefaultUserInteraction.ui and does not close
it.  This change makes sure that it is closed.
2019-06-06 15:25:18 +09:00
Yusuke Endoh
1e54903684 test/openssl: Support OpenSSL 1.1.1
OpenSSL 1.1.1 rejects some shorter keys, which caused some failures of
`make test-all TESTS=openssl`.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190606T003005Z.fail.html.gz

This change merges 6bbc31ddd1 and 63fb3a36d1 in
https://github.com/ruby/openssl.
Reference: https://github.com/ruby/openssl/pull/217
2019-06-06 14:20:58 +09:00
Nobuyoshi Nakada
d046fe9262
configure.ac: utilize wide columns for summary 2019-06-06 12:03:19 +09:00
Nobuyoshi Nakada
884576bf12
Update RDoc of RUBY_REVISION 2019-06-06 08:21:40 +09:00
aycabta
02880d1f4a Skip transpose-words if less than 2 word 2019-06-06 04:57:52 +09:00
git
fd17337228 * 2019-06-06 2019-06-06 04:25:58 +09:00
aycabta
eadc06ba16 Add test_ed_transpose_words_for_mbchar 2019-06-06 04:25:16 +09:00
Takashi Kokubun
6dc0541ed3
NEWS: Note about CGI.escapeHTML change [ci skip]
See https://github.com/ruby/ruby/pull/2226 for benchmark results.
2019-06-05 22:29:54 +09:00
Takashi Kokubun
0a29dc87e6
Optimize CGI.escapeHTML by reducing buffer extension
and switch-case branches.

Buffer allocation optimization using `ALLOCA_N` would be the main
benefit of patch. It eliminates the O(N) buffer extensions.

It also reduces the number of branches using escape table like
https://mattn.kaoriya.net/software/lang/c/20160817011915.htm.

Closes: https://github.com/ruby/ruby/pull/2226

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Yasuhiro MATSUMOTO <mattn.jp@gmail.com>
2019-06-05 21:07:04 +09:00