aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/shared
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@c3206f6Benoit Daloze2023-11-271-1/+1
|
* Update to ruby/spec@bd7017fBenoit Daloze2023-10-301-1/+7
|
* Update to ruby/spec@96d1072Benoit Daloze2023-09-041-5/+0
|
* [Bug #19784] Fix behaviors against prefix with broken encodingNobuyoshi Nakada2023-08-261-2/+4
| | | | | | - String#start_with? - String#delete_prefix - String#delete_prefix!
* Update to ruby/spec@9e278f5Benoit Daloze2023-08-021-1/+23
|
* Update to ruby/spec@30e1c35Benoit Daloze2023-06-266-29/+44
|
* Fix typo in spec file description [ci skip]Ivanov-Anton2023-05-211-1/+1
| | | fixed typo for spec description
* Update to ruby/spec@7f69c86Benoit Daloze2023-04-251-0/+4
|
* Update to ruby/spec@e7dc804Benoit Daloze2023-02-276-0/+110
|
* Update to ruby/spec@9d69b95Benoit Daloze2023-01-051-24/+24
|
* Update to ruby/spec@740ccc8Benoit Daloze2022-11-071-0/+133
|
* thread_sync.c: Clarify and document the behavior of timeout == 0Jean Boussier2022-10-172-1/+14
| | | | | | | | | | | [Feature #18982] Instead of introducing an `exception: false` argument to have `non_block` return nil rather than raise, we can clearly document that a timeout of 0 immediately returns. The code is refactored a bit to avoid doing a time calculation in such case.
* Update to ruby/spec@d01709fBenoit Daloze2022-08-291-2/+7
|
* Implement SizedQueue#push(timeout: sec)Jean Boussier2022-08-181-0/+57
| | | | | | | [Feature #18944] If both `non_block=true` and `timeout:` are supplied, ArgumentError is raised.
* Implement Queue#pop(timeout: sec)Jean Boussier2022-08-021-0/+55
| | | | | | | | | [Feature #18774] As well as `SizedQueue#pop(timeout: sec)` If both `non_block=true` and `timeout:` are supplied, ArgumentError is raised.
* Update to ruby/spec@cbfaf51Benoit Daloze2022-07-278-1/+146
|
* Update to ruby/spec@3affe1eBenoit Daloze2022-04-252-12/+6
|
* Update to ruby/spec@aaf998fBenoit Daloze2022-03-282-2/+38
|
* Update to ruby/spec@82cd3a3Benoit Daloze2022-03-031-48/+0
|
* Update to ruby/spec@902ab83Benoit Daloze2022-01-282-6/+6
|
* Fix typosNobuyoshi Nakada2021-11-021-1/+1
|
* Update to ruby/spec@b65d01fBenoit Daloze2021-07-291-28/+26
|
* Update to ruby/spec@a0b7d0dBenoit Daloze2021-06-022-5/+13
|
* Update to ruby/spec@fd6edddBenoit Daloze2021-03-271-0/+22
|
* Suppress too big exponent warningsNobuyoshi Nakada2020-12-281-5/+15
|
* Update to ruby/spec@4ce9f41Benoit Daloze2020-12-273-10/+18
|
* Use Integer instead of Fixnum/BignumNobuyoshi Nakada2020-12-216-17/+17
|
* Update to ruby/spec@ac878adBenoit Daloze2020-11-271-0/+5
|
* Make String methods return String instances when called on a subclass instanceJeremy Evans2020-11-201-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the following String methods to return String instances instead of subclass instances: * String#* * String#capitalize * String#center * String#chomp * String#chop * String#delete * String#delete_prefix * String#delete_suffix * String#downcase * String#dump * String#each/#each_line * String#gsub * String#ljust * String#lstrip * String#partition * String#reverse * String#rjust * String#rpartition * String#rstrip * String#scrub * String#slice! * String#slice/#[] * String#split * String#squeeze * String#strip * String#sub * String#succ/#next * String#swapcase * String#tr * String#tr_s * String#upcase This also fixes a bug in String#swapcase where it would return the receiver instead of a copy of the receiver if the receiver was the empty string. Some string methods were left to return subclass instances: * String#+@ * String#-@ Both of these methods will return the receiver (subclass instance) in some cases, so it is best to keep the returned class consistent. Fixes [#10845]
* Update to ruby/spec@b0b7f53Benoit Daloze2020-11-132-11/+41
|
* Update to ruby/spec@4f59d86Benoit Daloze2020-10-241-0/+24
|
* relax Fiber#transfer's restrictionKoichi Sasada2020-10-121-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Using Fiber#transfer with Fiber#resume for a same Fiber is limited (once Fiber#transfer is called for a fiber, the fiber can not be resumed more). This restriction was introduced to protect the resume/yield chain, but we realized that it is too much to protect the chain. Instead of the current restriction, we introduce some other protections. (1) can not transfer to the resuming fiber. (2) can not transfer to the yielding fiber. (3) can not resume transferred fiber. (4) can not yield from not-resumed fiber. [Bug #17221] Also at the end of a transferred fiber, it had continued on root fiber. However, if the root fiber resumed a fiber (and that fiber can resumed another fiber), this behavior also breaks the resume/yield chain. So at the end of a transferred fiber, switch to the edge of resume chain from root fiber. For example, root fiber resumed f1 and f1 resumed f2, transferred to f3 and f3 terminated, then continue from the fiber f2 (it was continued from root fiber without this patch).
* Make the test suite pass on real Android/Termux environmentYusuke Endoh2020-10-121-1/+5
| | | | Attempting to create a hard link raises EACCES
* Update to ruby/spec@e829fb0Benoit Daloze2020-09-172-0/+126
|
* Update to ruby/spec@07164daBenoit Daloze2020-07-272-19/+28
|
* Update to ruby/spec@4e486faBenoit Daloze2020-05-311-0/+6
|
* Update to ruby/spec@032ee74Benoit Daloze2020-05-031-1/+1
|
* [ruby/spec] Temporary directories should be under the mock_dirNobuyoshi Nakada2020-04-292-2/+2
|
* Drop support for ruby 2.4 from ruby/specNobuyoshi Nakada2020-04-013-68/+22
|
* spec/ruby: skip the specs that use /etc/passwd on AndroidYusuke Endoh2020-02-133-3/+6
| | | | There is no /etc/passwd on Android
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-5/+7
| | | | | | This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby.
* Update to ruby/spec@34e6246Benoit Daloze2019-09-294-6/+5
|
* Update to ruby/spec@875a09eBenoit Daloze2019-07-2732-127/+135
|
* Update to ruby/spec@8d74d49Benoit Daloze2019-06-272-6/+7
|
* Update to ruby/spec@7de852dBenoit Daloze2019-04-282-12/+8
|
* Update to ruby/spec@15c9619Benoit Daloze2019-04-272-27/+32
|
* Update to ruby/spec@e81b3cderegon2019-03-281-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@7a16e01eregon2019-02-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@35a9fbaeregon2019-01-206-210/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@cdd6ff7eregon2018-11-2713-5/+311
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e