aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Move fixture path to last pathHiroshi SHIBATA2019-08-171-1/+1
|
* change Proc#to_s format ('@...' -> ' ...') (#2362)Koichi Sasada2019-08-141-4/+4
| | | | | | | | Now Proc#to_s returns "#<Proc:0x00000237a0f5f170@t.rb:1>". However, it is convenient to select a file name by (double-)clicking on some terminals by separating ' ' instead of '@' like "#<Proc:0x00000237a0f5f170 t.rb:1>" [Feature #16101]
* Fix typo: duplicated the [skip-ci]ohbarye2019-08-092-2/+2
|
* Suppress warnings against locations in evalNobuyoshi Nakada2019-08-032-11/+11
|
* Split in two spec examplesBenoit Daloze2019-07-311-1/+3
|
* Attempt to fix Hash#rehash specBenoit Daloze2019-07-311-9/+12
|
* delete a check on bad assumption.Koichi Sasada2019-07-311-1/+5
| | | | | | If object was modified, but there is a case that hash values (#hash) are same between before modified and after modified objects.
* Warn if using return at top-level with an argumentJeremy Evans2019-07-291-6/+19
| | | | Fixes [Bug #14062]
* Update to ruby/spec@0526d8fBenoit Daloze2019-07-271-2/+2
|
* Update to ruby/spec@875a09eBenoit Daloze2019-07-271247-5031/+5319
|
* Initialize DST flagNobuyoshi Nakada2019-07-271-1/+1
| | | | | * time.c (zone_timelocal): initialize DST flag by asking the timezone object. [Bug #15988]
* Removed twisted testsNobuyoshi Nakada2019-07-161-8/+0
| | | | Why does only Process.daemon have these tests?
* Fixed ruby/spec for Logger::LogDevice changes.Hiroshi SHIBATA2019-07-152-6/+24
|
* File::Stat uses Time#inspectNobuyoshi Nakada2019-07-111-2/+2
|
* Revert "parse.y: Deprecate flip-flops"Nobuyoshi Nakada2019-07-111-12/+0
| | | | | | This reverts commit bae638ad5b782c44c80efe33834cb9039279af46. [Feature #5400]
* Revert self-referencing finalizer warning [Feature #15974]Nobuyoshi Nakada2019-07-041-28/+0
| | | | | | | | | | | | | | | | | | | | 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
* Version guard for [Feature #15974]Nobuyoshi Nakada2019-07-031-24/+26
|
* Warn in verbose mode on defining a finalizer that captures the objectChris Seaton2019-07-031-0/+26
| | | | | | [Feature #15974] Closes: https://github.com/ruby/ruby/pull/2264
* Prefer master rather than trunk in README [ci skip]Takashi Kokubun2019-07-011-1/+1
|
* Fix predicate to assert if object is sameNobuyoshi Nakada2019-06-291-2/+2
|
* Fix predicate to assert if object is sameNobuyoshi Nakada2019-06-291-1/+1
|
* Update to ruby/spec@94d98ffBenoit Daloze2019-06-2710-18/+18
|
* Update to ruby/spec@8d74d49Benoit Daloze2019-06-27157-540/+578
|
* Added version guard for backtrace printing feature of psych to ruby/spec.Hiroshi SHIBATA2019-06-261-2/+10
|
* Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087Hiroshi SHIBATA2019-06-251-1/+1
|
* Max length of UNIX socket path is 104 bytes on macOSNobuyoshi Nakada2019-06-231-2/+2
|
* Do not lengthen UNIX socket pathNobuyoshi Nakada2019-06-231-1/+1
| | | | | * spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not lengthen UNIX socket path, which is very stricted.
* Alias ENV.merge! as ENV.updateKenichi Kamiya2019-06-213-21/+31
| | | | | | [Feature #15947] Closes: https://github.com/ruby/ruby/pull/2246
* Use different names for autoload constants in specs for clarityBenoit Daloze2019-06-211-4/+4
|
* Add extra spec from https://github.com/ruby/ruby/pull/2173Jean Boussier2019-06-211-0/+5
|
* Add an optional `inherit` argument to Module#autoload?Jean Boussier2019-06-212-0/+18
| | | | | | [Feature #15777] Closes: https://github.com/ruby/ruby/pull/2173
* Remove spec testing undefined behaviorJeremy Evans2019-06-191-5/+0
| | | | Fixes [Bug #15432]
* Implement Complex#<=>Jeremy Evans2019-06-191-0/+27
| | | | | | | | | | | 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]
* Resolv specs should pass on Windows nowBenoit Daloze2019-06-104-26/+18
|
* Fix Resolv specs to not depend on a system /etc/hosts fileBenoit Daloze2019-06-105-15/+16
| | | | | * https://rubyci.org/logs/rubyci.s3.amazonaws.com/archlinux/ruby-master/log/20190609T153804Z.fail.html.gz * Thanks @naruse for the tip.
* Make specs pass on OpenBSDJeremy Evans2019-06-064-67/+118
| | | | | | | | | | | | | | | | | 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.
* Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada2019-06-051-1/+2
|
* `ruby -v` may no longer be ASCII-only on non-master branchesNobuyoshi Nakada2019-06-031-1/+1
|
* Update to ruby/spec@cfe908cBenoit Daloze2019-05-311-0/+35
|
* Let irb use an empty file as irbrcNobuyoshi Nakada2019-05-312-1/+3
| | | | to get rid of side-effect by existing .irbrc file.
* UNIX domain socket name length has a certain limitNobuyoshi Nakada2019-05-311-1/+6
|
* Update to ruby/spec@0ba5312Benoit Daloze2019-05-303-29/+58
|
* Skip spec broken since a66bc2c01194a9c017c874a30db5b3b6bd95e966Takashi Kokubun2019-05-291-23/+27
| | | | This has not worked since the merge https://travis-ci.org/ruby/ruby/jobs/538438184
* Fix shorten-64-to-32 warningNobuyoshi Nakada2019-05-291-1/+1
|
* Update to ruby/spec@0c5c5c1Benoit Daloze2019-05-281-7/+3
|
* Update to ruby/spec@9a501a8Benoit Daloze2019-05-2841-639/+699
|
* Add FrozenError#receiverJeremy Evans2019-05-261-0/+34
| | | | | | | | | | | | | | | | | 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]
* Add notes for the Process#clock_getres specBenoit Daloze2019-05-241-1/+4
|
* Only exclude the failing clocks for Process.clock_getres specs on AIXBenoit Daloze2019-05-242-1/+8
| | | | * https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz
* Skip the Process.clock_getres spec on AIXYusuke Endoh2019-05-241-1/+1
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz