nobu
c3e0244efe
Revise the example on OpenBSD
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 08:09:32 +00:00
ko1
8ed1709616
fix rubyspec test to pass tests. please revisit it @nobu?
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 07:46:15 +00:00
marcandre
b7f8996813
* spec/ruby: Tweak Enuemrator::Chain#rewind spec so that arity of block matches what is yielded
...
Calling `and_yield(*args)` adds an implicit expectation that all the `args` are passed to a block that can accept them, even though blocks that are not lambda-like don't mind extra arguments.
It so happens that this spec passed on Ruby 2.6.1 See [Bug #15613 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 04:39:56 +00:00
hsbt
d04963501b
Use ENV["BUNDLE_GEM"] instead of gem command provided by system ruby.
...
It break the examples of bundler. Because some examples detect the
different version of system ruby than test target version like trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-18 13:33:25 +00:00
hsbt
bef0c0a367
Fixup r66984. It breakes bundler's examples.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-18 09:53:13 +00:00
hsbt
3661d0521f
The ruby core applied the difference structure from bundler upstream repository. We need to modify a configuration for test-bundler.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-18 09:46:25 +00:00
eregon
2f1bf4fae3
Accept a third value for NaNs, as produced by the Sun Studio C Compiler
...
* See http://rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20190211T142523Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-11 21:57:10 +00:00
eregon
713279550a
Fix specs for yield in singleton class being deprecated
...
* Use eval to trigger warning only when the method is called.
* Suppress warnings and clarify this will be removed in 3.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:40:27 +00:00
eregon
75334db3c6
Update to ruby/spec@6cf8ebe
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:35:33 +00:00
eregon
820f99791e
Update to ruby/mspec@231e2ce
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:35:03 +00:00
eregon
c1f0daeb6a
Make sure to wait with IO.select before using Socket#accept_nonblock and recvfrom_nonblock
...
* On all platforms, as this is the recommended code pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-05 10:19:29 +00:00
eregon
920b924e56
Make sure to wait with IO.select before using Socket#recvfrom_nonblock
...
* On all platforms, as this is the recommended code pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-05 09:58:50 +00:00
eregon
8552ee87b6
Pass the Array from select() to Socket.udp_server_recv
...
* As mentioned in the documentation.
* Use Array#size instead of #count, it's more common.
* Use :unset, it clarifies things if the specs fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-05 09:50:11 +00:00
hsbt
0fadb48498
Ignore to add bundler lib direcotry if it is same as rubylibdir.
...
[Bug #15469 ][ruby-core:90742]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-05 04:58:46 +00:00
samuel
c7628071b0
Make sure to wait for socket to be readable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-05 02:19:51 +00:00
ko1
0c18a3d982
add debug code
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-04 06:12:27 +00:00
hsbt
8cca079d3b
Fixup r66984. Update the location of bundler gemspec.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-02 10:41:22 +00:00
nobu
2a4c87dc31
Add refinements support to method/instance_method.
...
[Fix GH-2034]
From: manga_osyo <manga.osyo@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-28 11:45:21 +00:00
eregon
42921458ff
Update to ruby/spec@e57f49c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-27 13:12:39 +00:00
eregon
4487562da1
Update to ruby/spec@e2fbd4d
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20 21:25:08 +00:00
eregon
6204e0804b
Update to ruby/spec@35a9fba
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20 20:38:57 +00:00
eregon
58573c33e4
Update to ruby/mspec@e9a482d
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20 20:38:27 +00:00
nobu
d25a27abba
call rb_str_modify to make a copy unshared
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-17 00:36:08 +00:00
shyouhei
d154bec0d5
setbyte / ungetbyte allow out-of-range integers
...
* string.c: String#setbyte to accept arbitrary integers [Bug #15460 ]
* io.c: ditto for IO#ungetbyte
* ext/strringio/stringio.c: ditto for StringIO#ungetbyte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-15 06:41:58 +00:00
nobu
056c24d398
RbConfig::CONFIG never had "exeext"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-12 04:53:09 +00:00
nobu
0a5655a5be
Drop whole examples
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-11 09:36:49 +00:00
nobu
8197abf9aa
Fix r66791
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-11 08:44:41 +00:00
nobu
d03771d85a
Fix r66772
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-11 07:50:23 +00:00
nobu
9f1fb0a17f
proc.c: proc without block
...
* proc.c (proc_new): promoted lambda/proc/Proc.new with no block
in a method called with a block to a warning/error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 08:19:14 +00:00
hsbt
e97741e12a
Merge Bundler 2.0.1 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-04 13:10:58 +00:00
eregon
7e4e641c00
Exclude Solaris in Process.clock_gettime specs
...
* It declares clocks which are invalid for clock_gettime(), which I consider OS bug.
* I want to keep testing all declared clocks on other platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 17:48:11 +00:00
eregon
eeedf7d57a
Revert "clock_gettime_spec.rb: exclude invalid clocks for Solaris"
...
* This reverts commit a7edd05f7d
.
* I prefer to exclude Solaris, I want to keep testing these clocks on Linux/macOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 17:47:56 +00:00
k0kubun
695cc19be9
accept_nonblock_spec.rb: wait before calling #accept_nonblock
...
fixes r66593 in a better way like r66646.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 07:36:27 +00:00
k0kubun
a7edd05f7d
clock_gettime_spec.rb: exclude invalid clocks for Solaris
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20181230T041806Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20181230T042407Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20181230T032505Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20181230T022505Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 06:17:16 +00:00
normal
230fe41825
accept_nonblock_spec: IO.select instead of sleep
...
Waiting on socket I/O using IO.select should work on all platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 00:46:02 +00:00
eregon
7f54f1b554
Update to ruby/spec@2d89e48
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 00:05:56 +00:00
eregon
65b1cf0e82
Skip specs on AIX as it doesn't have /dev/fd
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 21:55:12 +00:00
eregon
c608af0f1e
Reenable spec on Solaris to find out which clocks fail on Solaris
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 21:54:59 +00:00
eregon
be8d3ed1fd
Exclude CLOCKs which require special permissions in Process.clock_gettime specs
...
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-trunk/log/20181229T135406Z.fail.html.gz
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-trunk/log/20181229T143303Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 21:54:45 +00:00
eregon
31a60184f4
Reenable spec on Linux to find out which clocks fail on RHEL
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 10:54:37 +00:00
eregon
21f4795e80
Refactor Process.clock_gettime spec to give more information when it fails
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 10:54:22 +00:00
k0kubun
d8008fc29d
clock_gettime_spec.rb: add more platform guards for RubyCI
...
`Errno::EINVAL: Invalid argument - clock_gettime` could occur even on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 07:41:20 +00:00
k0kubun
952b218ffe
spawn_spec.rb: add missing platform guard
...
this exists for `context "when passed close_others: false" do`, but this
seems to be missing for `context "when passed close_others: true"`.
And this seems to hang forever on Windows since r66622.
https://ci.appveyor.com/project/ruby/ruby/builds/21277729
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 03:57:15 +00:00
k0kubun
40b689c71a
clock_gettime_spec.rb: skip a new spec broken on solaris
...
introduced in r66622, but this does not succeed on Solaris
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20181229T002409Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 01:51:34 +00:00
eregon
c027f22443
Update to ruby/spec@c8b36c4
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 00:54:10 +00:00
eregon
2076c2c3c4
Update to ruby/spec@944ea57
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 00:22:52 +00:00
eregon
548defb608
Update to ruby/mspec@2bd2ead
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 00:22:31 +00:00
k0kubun
006afb858d
accept_nonblock_spec.rb: skip spurious failure
...
on solaris until it gets stable.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20181227T142405Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27 16:28:40 +00:00
nobu
d9cce0814d
Fix restoration
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27 14:18:16 +00:00
nobu
71987f3f09
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27 14:15:36 +00:00
mame
2914522ffc
spec/ruby/library/socket/socket/bind_spec.rb: allow to run under docker
...
A root user runs the spec without Errno::EACCES
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-26 07:04:31 +00:00
mame
7453cdba1b
spec/ruby/core/process/setpriority_spec.rb: allow to run under docker
...
Docker container is not always able to lower the nice value even if the
euid is a root. It depends upon the configuration of docker which
cannot check from the container itself.
This change does check it by actually trying to lower the value first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-26 07:02:31 +00:00
marcandre
1e30df6f77
ostruct.rb: Accept block for to_h [ #15451 ].
...
Patch by Shuji Kobayashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-22 17:05:03 +00:00
kou
0d1abb904e
rexml: upgrade to 3.1.8
...
See https://github.com/ruby/rexml/blob/master/NEWS.md for change summary.
Changes for spec/ has been reported: https://github.com/ruby/spec/pull/639
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-20 02:49:10 +00:00
k0kubun
9fa6af24f4
spec/../initialize_spec.rb: skip fd-specific spec
...
https://gist.github.com/ko1/72c03695e81a54d40649f29d0c421f26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-16 00:55:56 +00:00
suke
2812ffc679
use System Monitor Control for spec of Win32OLE.
...
* spec/ruby/library/win32ole/win32ole_method/event_interface_spec.rb:
use System Monitor Control instead of Microsoft Internet Control
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-15 05:04:40 +00:00
hsbt
36d93e831b
Merge Bundler 1.17.2 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 11:02:41 +00:00
naruse
23ff1abc9c
Same as r66334 add Errno::EISDIR
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 10:55:07 +00:00
hsbt
91533d9ab1
Downgrade Bundler 1.17.x from 2.0.0.
...
We have the platform issue on heroku:
* https://gist.github.com/schneems/26452540f6e2bbbcf2ea144f45f6b305
* https://github.com/heroku/heroku-buildpack-ruby/issues/833
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 03:07:37 +00:00
nobu
42ab1fd2a6
Array#any? just returns true/false
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-07 14:37:28 +00:00
suke
0c00335038
should not use Internet Explorer
...
* spec/ruby/library/win32ole/fixtures/classes.rb: add
SYSTEM_MONITOR_CONTROL_AVAILABLE.
* spec/ruby/library/win32ole/win32ole_method/event_spec.rb: Internet
Explorer is not available in some environment. Instead, try to use
System Monitor Control.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-07 12:12:45 +00:00
k0kubun
33dab9cdc9
accept_loop_spec.rb: avoid random hang
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 23:26:53 +00:00
suke
3a94b881b9
should not use Microsoft Internet Controller
...
* spec/ruby/library/win32ole/win32ole_method/helpcontext_spec.rb:
Use FileSystemObject. Microsoft Internet Explorer is not available
in some environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 21:56:55 +00:00
mrkn
2810c12a99
Import bigdecimal 1.4.0.pre.20181205a
...
* https://github.com/ruby/bigdecimal/compare/74d25ef..v1.4.0.pre.20181205a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 11:30:24 +00:00
mrkn
f15cf0918a
Revert bigdecimal 1.4.0 related commits
...
* Revert "Remove unnecessary linker flags"
This reverts commit 49efa01579
.
* Revert "Move dependency on gemspec"
This reverts commit bfb64d4765
.
* Revert "Remove unnecessary directory listing"
This reverts commit 86661b5c60
.
* Revert "* expand tabs."
This reverts commit 35ada33f83
.
* Revert "Import bigdecimal-1.4.0.pre-20181204a"
This reverts commit 8891bb3bd6
.
* Revert "ext/bigdecimal/bigdecimal.c: drop unused function"
This reverts commit 5ceeea4da1
.
* Revert "* expand tabs."
This reverts commit e021386e90
.
* Revert "Import bigdecimal-1.4.0.pre-20181130a"
This reverts commit a0e438cd3c
.
* Revert "NEWS: write about bigdecimal updates"
This reverts commit 89455ff2ba
.
* Revert "Fix rubyspec of bigdecimal for ruby <2.6"
This reverts commit 4bcdeeb65e
.
* Revert "Fix rubyspec against bigdecimal updates"
This reverts commit c8fb30fc9e
.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 04:01:53 +00:00
hsbt
cfa6c55347
Merge 2-0-stable branch from bundler/bundler.
...
It's release version of Bundler 2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 23:33:29 +00:00
naruse
3b871be4b2
fix typo of r66177
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 07:52:08 +00:00
naruse
5e8e1fcf87
Use getent and cut on Solaris to get home directory
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 00:40:49 +00:00
naruse
7ea31367bb
Use Dir.home to avoid platform dependency
...
On Solaris 10, `echo ~#{ENV['USER']}` As expected
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 00:40:48 +00:00
naruse
35d7ae85ee
Use /bin/echo instead of shell builtin echo
...
builtin echo of Solaris 10's sh doesn't expand `~`.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20181203T061807Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 09:55:05 +00:00
normal
07a5db2c32
spec/ruby/core/io/*_spec.rb: explain MJIT failures
...
These random failures happen because FD number allocation
is not predictable when multiple threads are running (since
MJIT thread is opening/closing files all the time).
Real-world code practically never relies on predictable FD
number allocation (because much real-world code is
multi-threaded); so it's highly unlikely there'll be any
breakage to the user.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 09:34:49 +00:00
nobu
b65a43ca2f
Cherry-picked spec/mspec/lib/mspec/helpers/fs.rb
...
From 316f60e3be
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 03:15:42 +00:00
mrkn
4bcdeeb65e
Fix rubyspec of bigdecimal for ruby <2.6
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-02 06:43:15 +00:00
mrkn
c8fb30fc9e
Fix rubyspec against bigdecimal updates
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-02 05:21:55 +00:00
k0kubun
16d6a91a5d
Revert "using_spec.rb: skip broken test for MinGW for now"
...
This reverts commit 110273c534
.
Try this with r66087
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-29 06:51:08 +00:00
k0kubun
110273c534
using_spec.rb: skip broken test for MinGW for now
...
ko1 is fixing this and he suggested to skip it for now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 01:53:46 +00:00
eregon
50441014ff
Update to ruby/spec@cdd6ff7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 20:38:57 +00:00
eregon
eae7fbb682
Update to ruby/mspec@820486a
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 20:38:20 +00:00
hsbt
fc9509bdd2
Merge bundler-2.0.0.pre.2 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 12:08:19 +00:00
ko1
b02f3731b6
restore using_spec.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 05:42:33 +00:00
ko1
a9ace57505
enable another assertion
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 03:12:58 +00:00
ko1
eea3fe0a3b
enable at least one behavior
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 00:44:14 +00:00
ko1
b0ba0595fa
to debug https://ci.appveyor.com/project/ruby/ruby/builds/20566898/job/hda29416yal9h6hn use binary search
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 00:39:46 +00:00
hsbt
a943328194
Use stub executables generated by RubyGems istead of original executables.
...
It resolved the conflict issues when invoking `gem i rdoc` and the binstub
issues with Bundler and Rails.
[Bug #5060 ][ruby-core:38257][Fix GH-2023]
* https://github.com/rubygems/rubygems/pull/2338
* https://github.com/heroku/heroku-buildpack-ruby/issues/829
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-25 01:20:00 +00:00
naruse
69c59f4fd0
Wait accept is ready also on Solaris
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20181121T212405Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-22 11:03:19 +00:00
normal
6a65f2b1e4
io + socket: make pipes and sockets nonblocking by default
...
All normal Ruby IO methods (IO#read, IO#gets, IO#write, ...) are
all capable of appearing to be "blocking" when presented with a
file description with the O_NONBLOCK flag set; so there is
little risk of incompatibility within Ruby-using programs.
The biggest compatibility risk is when spawning external
programs. As a result, stdin, stdout, and stderr are now always
made blocking before exec-family calls.
This change will make an event-oriented MJIT usable if it is
waiting on pipes on POSIX_like platforms.
It is ALSO necessary to take advantage of (proposed lightweight
concurrency (aka "auto-Fiber") or any similar proposal for
network concurrency: https://bugs.ruby-lang.org/issues/13618
Named-pipe (FIFO) are NOT yet non-blocking by default since
they are rarely-used and may introduce compatibility problems
and extra syscall overhead for a common path.
Please revert this commit if there are problems and if I am afk
since I am afk a lot, lately.
[ruby-core:89950] [Bug #14968 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-22 08:46:51 +00:00
nobu
16a642c331
Enable refinements at Object#respond_to?
...
[Feature #15327 ] [Fix GH-2020]
From: osyo-manga <manga.osyo@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-22 08:29:02 +00:00
nobu
633fef6dec
Enable refinements to public_send.
...
[Feature #15326 ] [Fix GH-2019]
From: manga_osyo <manga.osyo@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-22 07:53:07 +00:00
k0kubun
0017e3867e
Skip known MJIT random test failures
...
Let me silence this until I have time to work on them, and make the CI
usable for testing other features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-20 15:46:09 +00:00
shyouhei
412b6b5b02
io.c: ungetbyte silently ignores upper bits
...
The behaviour of IO#ungetbyte has been depending on the width of
Fixnums. Fixnums should be invisible nowadays. It must be a
bug. Fix [Bug #14359 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19 08:10:48 +00:00
hsbt
3ec3d7d943
Switch to 2-0-stable branch of bundler/bundler repository from our fork repository.
...
https://github.com/bundler/bundler/tree/2-0-stable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-16 23:27:37 +00:00
k0kubun
5a10e835ae
erb/new_spec.rb: fix spec failure by other specs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-12 07:58:29 +00:00
nobu
8ad336b5c5
Adopt [Misc #15294 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-12 07:32:21 +00:00
hsbt
8f4aa4fd2a
Merge Bundler-2.0.0.pre1 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-12 00:53:15 +00:00
hsbt
e6bf368cac
Removed VCR cassettes files for reducing package size.
...
[Bug #14219 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-06 20:47:09 +00:00
nobu
125e9ef747
Refine Timezone class in test-spec
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-04 02:02:28 +00:00
hsbt
2fbbbba5bd
Merge upstream changes from 2-0-stable branch of bundler/bundler.
...
* It update bundler 2 mode to bundler 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-04 01:14:48 +00:00
hsbt
59c8d50653
Added bundler as default gems. Revisit [Feature #12733 ]
...
* bin/*, lib/bundler/*, lib/bundler.rb, spec/bundler, man/*:
Merge from latest stable branch of bundler/bundler repository and
added workaround patches. I will backport them into upstream.
* common.mk, defs/gmake.mk: Added `test-bundler` task for test suite
of bundler.
* tool/sync_default_gems.rb: Added sync task for bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-02 23:07:56 +00:00
marcandre
55961ac9d7
Revert "Matrix: Add #reflexive? method. [Fix GH-1730]"
...
This reverts commit 19fe6552c4
.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-02 17:51:56 +00:00
usa
c4cc4725ec
Remove wrong spec.
...
[Bug#15067] [ruby-core:88828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-01 05:19:16 +00:00