summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2019-07-16Removed twisted testsNobuyoshi Nakada
Why does only Process.daemon have these tests?
2019-07-15Fixed ruby/spec for Logger::LogDevice changes.Hiroshi SHIBATA
2019-07-11File::Stat uses Time#inspectNobuyoshi Nakada
2019-07-11Revert "parse.y: Deprecate flip-flops"Nobuyoshi Nakada
This reverts commit bae638ad5b782c44c80efe33834cb9039279af46. [Feature #5400]
2019-07-04Revert self-referencing finalizer warning [Feature #15974]Nobuyoshi Nakada
It has caused CI failures. * d0cd0866d82a58933e5dccd073c753c0c2ad4eb5 Disable GC during rb_objspace_reachable_object_p * 89cef1c56b3a0f9c5e6ccc22a5044477a4fd16c1 Version guard for [Feature #15974] * 796eeb6339952d92ae1b353d450c7883e589852d. Fix up [Feature #15974] * 928260c2a613bbdd4402c300e0bf86ae7562e52a. Warn in verbose mode on defining a finalizer that captures the object
2019-07-03Version guard for [Feature #15974]Nobuyoshi Nakada
2019-07-03Warn in verbose mode on defining a finalizer that captures the objectChris Seaton
[Feature #15974] Closes: https://github.com/ruby/ruby/pull/2264
2019-07-01Prefer master rather than trunk in README [ci skip]Takashi Kokubun
2019-06-29Fix predicate to assert if object is sameNobuyoshi Nakada
2019-06-29Fix predicate to assert if object is sameNobuyoshi Nakada
2019-06-27Update to ruby/spec@94d98ffBenoit Daloze
2019-06-27Update to ruby/spec@8d74d49Benoit Daloze
2019-06-27Update to ruby/mspec@ca2bc42Benoit Daloze
2019-06-27Expand and clarify documentation about version guards for specsBenoit Daloze
2019-06-26Added version guard for backtrace printing feature of psych to ruby/spec.Hiroshi SHIBATA
2019-06-25Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087Hiroshi SHIBATA
2019-06-23Max length of UNIX socket path is 104 bytes on macOSNobuyoshi Nakada
2019-06-23Do not lengthen UNIX socket pathNobuyoshi Nakada
* spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not lengthen UNIX socket path, which is very stricted.
2019-06-21Alias ENV.merge! as ENV.updateKenichi Kamiya
[Feature #15947] Closes: https://github.com/ruby/ruby/pull/2246
2019-06-21Use different names for autoload constants in specs for clarityBenoit Daloze
2019-06-21Add extra spec from https://github.com/ruby/ruby/pull/2173Jean Boussier
2019-06-21Add an optional `inherit` argument to Module#autoload?Jean Boussier
[Feature #15777] Closes: https://github.com/ruby/ruby/pull/2173
2019-06-19Remove spec testing undefined behaviorJeremy Evans
Fixes [Bug #15432]
2019-06-19Implement Complex#<=>Jeremy Evans
Implement Complex#<=> so that it is usable as an argument when calling <=> on objects of other classes (since #coerce will coerce such numbers to Complex). If the complex number has a zero imaginary part, and the other argument is a real number (or complex number with zero imaginary part), return -1, 0, or 1. Otherwise, return nil, indicating the objects are not comparable. Fixes [Bug #15857]
2019-06-11Fixed the code-style with the upstream rule.Hiroshi SHIBATA
2019-06-10Resolv specs should pass on Windows nowBenoit Daloze
2019-06-10Fix Resolv specs to not depend on a system /etc/hosts fileBenoit Daloze
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/archlinux/ruby-master/log/20190609T153804Z.fail.html.gz * Thanks @naruse for the tip.
2019-06-09Fixed wrong BUNDLE_BIN_PATH for ruby core.Hiroshi SHIBATA
2019-06-09Added the condition for ruby_core repository.Hiroshi SHIBATA
2019-06-09Merge bundler master from upstream.Hiroshi SHIBATA
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
2019-06-06Make specs pass on OpenBSDJeremy Evans
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-05spec/bundler/bundler/dsl_spec.rb: fix exception to raiseNobuyoshi Nakada
When describing "Runtime errors", raise a `RuntimeError` as-is.
2019-06-05Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada
2019-06-03`ruby -v` may no longer be ASCII-only on non-master branchesNobuyoshi Nakada
2019-05-31Update to ruby/spec@cfe908cBenoit Daloze
2019-05-31Update to ruby/mspec@a57a9afBenoit Daloze
2019-05-31Let irb use an empty file as irbrcNobuyoshi Nakada
to get rid of side-effect by existing .irbrc file.
2019-05-31UNIX domain socket name length has a certain limitNobuyoshi Nakada
2019-05-30Update to ruby/spec@0ba5312Benoit Daloze
2019-05-30Update to ruby/mspec@3cc36d0Benoit Daloze
2019-05-29Skip spec broken since a66bc2c01194a9c017c874a30db5b3b6bd95e966Takashi Kokubun
This has not worked since the merge https://travis-ci.org/ruby/ruby/jobs/538438184
2019-05-29Fix shorten-64-to-32 warningNobuyoshi Nakada
2019-05-28Update to ruby/spec@0c5c5c1Benoit Daloze
2019-05-28Update to ruby/spec@9a501a8Benoit Daloze
2019-05-26Add FrozenError#receiverJeremy Evans
Similar to NameError#receiver, this returns the object on which the modification was attempted. This is useful as it can pinpoint exactly what is frozen. In many cases when a FrozenError is raised, you cannot determine from the context which object is frozen that you attempted to modify. Users of the current rb_error_frozen C function will have to switch to using rb_error_frozen_object or the new rb_frozen_error_raise in order to set the receiver of the FrozenError. To allow the receiver to be set from Ruby, support an optional second argument to FrozenError#initialize. Implements [Feature #15751]
2019-05-24Add notes for the Process#clock_getres specBenoit Daloze
2019-05-24Only exclude the failing clocks for Process.clock_getres specs on AIXBenoit Daloze
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz
2019-05-24Skip the Process.clock_getres spec on AIXYusuke Endoh
https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz
2019-05-23Add `Time#ceil`.manga_osyo
Closes: https://github.com/ruby/ruby/pull/2133
2019-05-23Adding Enumerable#filter_mapAlfonso Jiménez
[Feature #15323] Closes: https://github.com/ruby/ruby/pull/2017