aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/split_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@30e1c35Benoit Daloze2023-06-261-90/+22
|
* Update to ruby/spec@9d69b95Benoit Daloze2023-01-051-2/+15
|
* Update to ruby/spec@1d9d5c6Benoit Daloze2022-09-281-0/+26
|
* Update to ruby/spec@cbfaf51Benoit Daloze2022-07-271-0/+16
|
* Update to ruby/spec@ab32a1aBenoit Daloze2022-06-261-4/+15
|
* Update to ruby/spec@3affe1eBenoit Daloze2022-04-251-61/+10
|
* Update to ruby/spec@aaf998fBenoit Daloze2022-03-281-0/+7
|
* Update to ruby/spec@902ab83Benoit Daloze2022-01-281-0/+11
|
* Update to ruby/spec@226cfdcBenoit Daloze2022-01-101-0/+4
|
* Update to ruby/spec@b65d01fBenoit Daloze2021-07-291-77/+75
|
* Update to ruby/spec@a0b7d0dBenoit Daloze2021-06-021-0/+10
|
* Update to ruby/spec@8cafaa5Benoit Daloze2021-01-281-0/+8
|
* Make String methods return String instances when called on a subclass instanceJeremy Evans2020-11-201-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@07164daBenoit Daloze2020-07-271-5/+63
|
* Update to ruby/spec@032ee74Benoit Daloze2020-05-031-2/+2
|
* Update to ruby/spec@f8a2d54Benoit Daloze2020-01-281-0/+18
|
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-27/+31
| | | | | | 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@875a09eBenoit Daloze2019-07-271-4/+4
|
* Update to ruby/spec@7de852dBenoit Daloze2019-04-281-12/+10
|
* Update to ruby/spec@15c9619Benoit Daloze2019-04-271-32/+28
|
* Suppress warningsnobu2019-04-181-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@7a16e01eregon2019-02-211-7/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@35a9fbaeregon2019-01-201-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@8b743a3eregon2018-10-271-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@c1b568beregon2018-03-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move spec/rubyspec to spec/ruby for consistencyeregon2017-09-201-0/+405
* Other ruby implementations use the spec/ruby directory. [Misc #13792] [ruby-core:82287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e