Benoit Daloze
6d05967468
Update to ruby/spec@b0b7f53
2020-11-13 13:17:24 +01:00
Jeremy Evans
2a294d499b
Make Array methods return Array instances instead of subclass instances
...
This changes the following methods to return Array instances instead
of subclass instances:
* Array#drop
* Array#drop_while
* Array#flatten
* Array#slice!
* Array#slice/#[]
* Array#take
* Array#take_while
* Array#uniq
* Array#*
Fixes [Bug #6087 ]
2020-11-03 14:01:38 -08:00
Nobuyoshi Nakada
826f44834f
Drop support for ruby 2.4 from ruby/spec
2020-04-01 15:36:20 +09:00
Nobuyoshi Nakada
3a2073e61b
Use FrozenError instead of frozen_error_class
2020-04-01 15:36:20 +09:00
Jeremy Evans
ffd0820ab3
Deprecate taint/trust and related methods, and make the methods no-ops
...
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.
2019-11-18 01:00:25 +02:00
Benoit Daloze
5c276e1cc9
Update to ruby/spec@875a09e
2019-07-27 12:40:09 +02:00
eregon
4fbb9aa3cb
Update to ruby/spec@6f38a82
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28 19:50:06 +00:00
eregon
401b64c4e8
Update to ruby/spec@c1b568b
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-04 15:09:32 +00:00
eregon
a34db218ad
Update to ruby/spec@0fe33ac
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-27 16:12:47 +00:00
eregon
5193ad1319
check_funcall_missing() should call respond_to_missing?(name, priv=true)
...
* Improve spec rather than constrain implementation.
* Coercion ignores visibility in Ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 22:02:10 +00:00
eregon
1d15d5f080
Move spec/rubyspec to spec/ruby for consistency
...
* 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
2017-09-20 20:18:52 +00:00