Yusuke Endoh
00f7e42451
spec/ruby/core/hash/constructor_spec.rb: add "ruby_version_is" guard
...
follow up for d3f1c615c5
2019-05-23 01:46:21 +09:00
Yusuke Endoh
d3f1c615c5
hash.c (rb_hash_s_create): Reject `Hash[[nil]]`
...
The behavior of `Hash[[nil]] #=> {}` was a bug until 1.9.3, but had been
remained with a warning because some programs depended upon it.
Now, six years passed. We can remove the compatibility behavior.
[Bug #7300 ]
2019-05-23 00:19:56 +09:00
Alan Wu
b00f280d4b
Eagerly name modules and classes
...
* variable.c: make the hidden ivars `classpath` and `tmp_classpath` the source
of truth for module and constant names. Assign to them when modules are bind
to constants.
* variable.c: remove references to module name cache, as what used to be the cache
is now the source of truth. Remove rb_class_path_no_cache().
* variable.c: remove the hidden ivar `classid`. This existed for the purposes of
module name search, which is now replaced. Also, remove the associated
rb_name_class().
* class.c: use rb_set_class_path_string to set the name of Object during boot.
Must use a fstring as this runs before rb_cString is initialized and
creating a normal string leads to a VALUE without a class.
* spec/ruby/core/module/name_spec.rb: add a few specs to specify what happens
to Module#name across multiple operations. These specs pass without other
code changes in this commit.
[Feature #15765 ]
2019-05-22 15:46:47 +09:00
Benoit Daloze
8c8f2d97cf
Remove redundant ignore rule for Process#clock_getres specs
2019-05-20 10:41:57 +02:00
Benoit Daloze
2a34543e11
Move exclusion for Hyper-V next to other skipped constants
2019-05-20 10:41:40 +02:00
Koichi Sasada
ab0f2deab1
skip a test for CLOCK_MONOTONIC_RAW.
...
On my Linux guest machine on Hyper-V, I got an error.
Process.clock_gettime(CLOCK_MONOTONIC_RAW, :nanosecond) returns like:
...
875573945119100
875573945119600
...
even if `Process.clock_getres(value, :nanosecond)` returns 1.
So I simply skip this test for CLOCK_MONOTONIC_RAW.
2019-05-20 14:43:04 +09:00
Nobuyoshi Nakada
a85ed43294
Do not access the internal member
2019-05-10 09:00:25 +09:00
Nobuyoshi Nakada
d736080c8b
Use ruby_bug guard
2019-05-08 15:45:13 +09:00
Takashi Kokubun
a7cbb65956
Do not break rubyspec for old Ruby
...
Fixing 7d805e67f3
2019-05-08 15:13:34 +09:00
Jean Boussier
7d805e67f3
Avoid triggering autoload in Module#const_defined?(String)
...
[Bug #15780 ]
2019-05-07 21:20:01 +09:00
aycabta
17350c7e55
Add Reline as a fallback library for Readline
...
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible
library.
* lib/readline.rb: Readline uses a fallback to Reline when ext/readline
doesn't exist.
* tool/sync_default_gems.rb: add ruby/reline as a default gem.
* appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit
of Reline, and add "--exclude readline" to "nmake test-all" on Visual
Studio builds because of strange behavior.
* spec/ruby/library/readline/spec_helper.rb: skip Reline as with
RbReadline.
2019-04-30 11:44:20 +09:00
NAKAMURA Usaku
eb45ba6116
Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild
2019-04-30 04:09:25 +09:00
Benoit Daloze
daa0874056
CLOCK_MONOTONIC_RAW_APPROX seems less precise than advertised on macOS
...
* https://travis-ci.org/ruby/ruby/builds/525651487
2019-04-28 23:29:49 +02:00
Benoit Daloze
79671ec57e
Update to ruby/spec@7de852d
2019-04-28 23:20:11 +02:00
Benoit Daloze
994833085a
Update to ruby/mspec@c25d63d
2019-04-28 23:20:09 +02:00
Benoit Daloze
bbb93608a3
Move the check for CentOS CLOCK_MONOTONIC_RAW next to others
...
* Fixes "No behavior expectation was found in the example"
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos6/ruby-trunk/log/20190428T093004Z.fail.html.gz
2019-04-28 23:17:42 +02:00
Benoit Daloze
d906dd87b0
Skip CLOCK_UPTIME_RAW_APPROX since it seems less precise than advertised on macOS
...
* See https://travis-ci.org/ruby/ruby/jobs/525595997
2019-04-28 15:25:09 +02:00
Benoit Daloze
9426da83c6
Exclude failing Process.clock_getres specs on AIX
2019-04-28 14:59:14 +02:00
Benoit Daloze
a27f7e499c
Add missing platform guard
2019-04-28 14:55:30 +02:00
Benoit Daloze
9a0dbb3414
Skip problematic Process.clock_getres specs on ARM
...
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20190428T051708Z.fail.html.gz
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-trunk/log/20190428T045405Z.fail.html.gz
2019-04-28 14:55:30 +02:00
Benoit Daloze
13abf5519a
Workaround a CentOS bug in Process.clock_getres specs
2019-04-28 14:44:12 +02:00
Benoit Daloze
16695af0ef
Refactor logic in Process.clock_gettime spec
2019-04-28 14:36:03 +02:00
Benoit Daloze
fc37a045a0
Fix typo in spec
2019-04-28 14:35:17 +02:00
Benoit Daloze
5d24fba544
Skip the entire Process.clock_getres spec on FreeBSD
...
* Clocks don't match the reported precision.
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20190428T093003Z.fail.html.gz
2019-04-28 12:37:29 +02:00
Benoit Daloze
2c283655a6
Some Solaris versions seem to only provide millisecond accuracy for CLOCK_REALTIME
...
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20190427T182404Z.fail.html.gz
2019-04-27 23:46:08 +02:00
Benoit Daloze
b7c301569d
Skip clock_getres spec on BSD
...
* clock_getres() seems to be incorrect on BSD:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20190427T183003Z.fail.html.gz
2019-04-27 23:42:31 +02:00
Benoit Daloze
0d227d1ce6
Try to more accurately reflect MRI's logic in specs for finding the home if $HOME is unset
2019-04-27 19:42:54 +02:00
Benoit Daloze
5b93321064
Update to ruby/spec@14e6148
2019-04-27 19:23:45 +02:00
Benoit Daloze
a1b4816759
Update to ruby/spec@15c9619
2019-04-27 18:53:23 +02:00
Benoit Daloze
00c33d9c23
Update to ruby/mspec@18c5a7d
2019-04-27 18:53:20 +02:00
Nobuyoshi Nakada
18eb9e5855
Use an exclusive range for ruby_version_is
2019-04-23 15:13:36 +09:00
Takashi Kokubun
4cd67a848a
Fix RUBY_REVISION spec
...
broken by 5da52d1210
2019-04-22 22:00:48 +09:00
nobu
1686c0d470
Add `Time#floor`
...
[Feature #15653 ]
[Fix GH-2092]
From: manga_osyo <manga.osyo@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-20 05:00:43 +00:00
nobu
3ee0648dc7
io.c: warn non-nil $,
...
* array.c (rb_ary_join_m): warn use of non-nil $,.
* io.c (rb_output_fs_setter): warn when set to non-nil value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-18 21:56:55 +00:00
nobu
b86d87c81a
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-18 09:56:03 +00:00
marcandre
816c5323fe
OpenStruct: improve error message when passing wrong number of arguments.
...
Patch by Lisa Ugray (issue #15515 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 13:47:24 +00:00
hsbt
3ac518f9bd
Enabled to some bundler examples again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:05:27 +00:00
hsbt
2e8b9aba9b
Skip to failing examples on ruby core repository.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:03:58 +00:00
hsbt
59fa123204
Added rspec dependency for bundler examples.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:02:47 +00:00
hsbt
68ddd4d300
Merge Bundler 2.1.0.pre.1 as developed version from upstream.
...
a53709556b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:01:35 +00:00
marcandre
d3da5fbd30
Proc.new: change deprecation warning for clarity (issue #15539 )
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-13 00:56:12 +00:00
mame
95f7992b89
Introduce beginless range [Feature#14799]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-03 08:11:41 +00:00
eregon
990df87302
Make spec for the jit feature more general and not MRI-specific
...
* Other implementations should not define RubyVM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-01 20:46:10 +00:00
eregon
960d059ef7
Simplify spec as there is no easy way to tell if MJIT support is available
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-01 20:45:55 +00:00
eregon
c71c59feeb
Fix Float#to_s specs to not depend on the platform representation of doubles
...
* AIX, Solaris, etc have a different binary representation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-01 20:35:10 +00:00
k0kubun
49f1b71144
Add some more buffer for timeout check
...
This spec is unstable on our CI environment:
https://gist.github.com/ko1/efa58acf4cd1d7b5bf1f63881537afe8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-29 12:00:44 +00:00
nobu
f27d4354c8
strip trailing spaces [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-29 00:59:32 +00:00
k0kubun
b6c04a7ad7
Guard spec against msys2 shell
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 16:25:25 +00:00
k0kubun
68987d4ae1
Do not fail with --disable-jit-support
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 15:25:43 +00:00
eregon
a28aa80c73
Update to ruby/spec@e81b3cd
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 14:22:29 +00:00
kazu
ede77e64a7
Fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-27 23:56:14 +00:00
k0kubun
41d36d2ce2
Skip EBADF spec in MJIT test for now
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-27 13:31:36 +00:00
k0kubun
4d6e202977
Skip Bundler's test made fail by r67226
...
Possible fix would be https://github.com/bundler/bundler/pull/7038 ,
but Ruby script ending with `^~~` could be wrongly stripped by that?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-14 13:47:10 +00:00
mame
76fc1ce0a7
The combination of non-Symbol keys and Symbol keys is now allowed again
...
Revert r64358. [Bug #15658 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 12:48:33 +00:00
nobu
19d3aaff5c
Directories in RbConfig may not exist until installation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-05 00:28:22 +00:00
hsbt
19408c785c
skip to not support color tty environment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-27 12:40:19 +00:00
k0kubun
f22ffd83e9
spec/../rbconfig_spec.rb: skip spec not working on MinGW
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-23 02:22:05 +00:00
k0kubun
052dbbe74f
spec/../shared/write.rb: suppress random failure
...
due to MJIT worker's known race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-23 02:17:54 +00:00
nobu
b9357e4d1b
File#birthtime depends on the kernel version on Linux
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-22 06:07:30 +00:00
eregon
da7976235f
Update to ruby/spec@7a16e01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-21 15:38:59 +00:00
eregon
92d3a72624
Update to ruby/mspec@2ee5661
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-21 15:38:36 +00:00
hsbt
7c2bbd1c7d
Adjust the rubycop rules of Bundler upstream repository.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 10:43:23 +00:00
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