aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Use an exclusive range for ruby_version_isNobuyoshi Nakada2019-04-231-1/+1
|
* Fix RUBY_REVISION specTakashi Kokubun2019-04-221-2/+10
| | | | broken by 5da52d1210625fb00acd573b3f32281b4bde1730
* Add `Time#floor`nobu2019-04-201-0/+37
| | | | | | | | | [Feature #15653] [Fix GH-2092] From: manga_osyo <manga.osyo@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: warn non-nil $,nobu2019-04-185-13/+21
| | | | | | | | * array.c (rb_ary_join_m): warn use of non-nil $,. * io.c (rb_output_fs_setter): warn when set to non-nil value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warningsnobu2019-04-182-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* OpenStruct: improve error message when passing wrong number of arguments.marcandre2019-04-141-1/+8
| | | | | | Patch by Lisa Ugray (issue #15515) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Enabled to some bundler examples again.hsbt2019-04-145-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip to failing examples on ruby core repository.hsbt2019-04-1410-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added rspec dependency for bundler examples.hsbt2019-04-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler 2.1.0.pre.1 as developed version from upstream.hsbt2019-04-14137-3829/+3126
| | | | | | https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Proc.new: change deprecation warning for clarity (issue #15539)marcandre2019-04-132-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Introduce beginless range [Feature#14799]mame2019-04-031-3/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make spec for the jit feature more general and not MRI-specificeregon2019-04-011-4/+4
| | | | | | * Other implementations should not define RubyVM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Simplify spec as there is no easy way to tell if MJIT support is availableeregon2019-04-011-14/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix Float#to_s specs to not depend on the platform representation of doubleseregon2019-04-011-127/+124
| | | | | | * AIX, Solaris, etc have a different binary representation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add some more buffer for timeout checkk0kubun2019-03-291-1/+1
| | | | | | | This spec is unstable on our CI environment: https://gist.github.com/ko1/efa58acf4cd1d7b5bf1f63881537afe8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* strip trailing spaces [ci skip]nobu2019-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Guard spec against msys2 shellk0kubun2019-03-281-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Do not fail with --disable-jit-supportk0kubun2019-03-281-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@e81b3cderegon2019-03-2853-106/+932
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typoskazu2019-03-271-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip EBADF spec in MJIT test for nowk0kubun2019-03-271-11/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip Bundler's test made fail by r67226k0kubun2019-03-141-0/+1
| | | | | | | Possible fix would be https://github.com/bundler/bundler/pull/7038, but Ruby script ending with `^~~` could be wrongly stripped by that? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The combination of non-Symbol keys and Symbol keys is now allowed againmame2019-03-112-90/+30
| | | | | | Revert r64358. [Bug #15658] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Directories in RbConfig may not exist until installationnobu2019-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip to not support color tty environment.hsbt2019-02-271-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/../rbconfig_spec.rb: skip spec not working on MinGWk0kubun2019-02-231-9/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/../shared/write.rb: suppress random failurek0kubun2019-02-231-3/+5
| | | | | | due to MJIT worker's known race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* File#birthtime depends on the kernel version on Linuxnobu2019-02-221-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@7a16e01eregon2019-02-2175-258/+940
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/mspec@2ee5661eregon2019-02-213-61/+141
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adjust the rubycop rules of Bundler upstream repository.hsbt2019-02-203-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revise the example on OpenBSDnobu2019-02-201-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rubyspec test to pass tests. please revisit it @nobu?ko12019-02-201-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/ruby: Tweak Enuemrator::Chain#rewind spec so that arity of block ↵marcandre2019-02-201-2/+2
| | | | | | | | | matches what is yielded Calling `and_yield(*args)` adds an implicit expectation that all the `args` are passed to a block that can accept them, even though blocks that are not lambda-like don't mind extra arguments. It so happens that this spec passed on Ruby 2.6.1 See [Bug #15613] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use ENV["BUNDLE_GEM"] instead of gem command provided by system ruby.hsbt2019-02-182-7/+12
| | | | | | | It break the examples of bundler. Because some examples detect the different version of system ruby than test target version like trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixup r66984. It breakes bundler's examples.hsbt2019-02-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The ruby core applied the difference structure from bundler upstream ↵hsbt2019-02-182-7/+19
| | | | | | repository. We need to modify a configuration for test-bundler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Accept a third value for NaNs, as produced by the Sun Studio C Compilereregon2019-02-111-4/+12
| | | | | | * See http://rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20190211T142523Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix specs for yield in singleton class being deprecatederegon2019-02-072-2/+8
| | | | | | | * Use eval to trigger warning only when the method is called. * Suppress warnings and clarify this will be removed in 3.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@6cf8ebeeregon2019-02-07111-231/+1031
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/mspec@231e2ceeregon2019-02-072-20/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make sure to wait with IO.select before using Socket#accept_nonblock and ↵eregon2019-02-052-4/+5
| | | | | | | | recvfrom_nonblock * On all platforms, as this is the recommended code pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make sure to wait with IO.select before using Socket#recvfrom_nonblockeregon2019-02-051-4/+4
| | | | | | * On all platforms, as this is the recommended code pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Pass the Array from select() to Socket.udp_server_recveregon2019-02-051-4/+4
| | | | | | | | * As mentioned in the documentation. * Use Array#size instead of #count, it's more common. * Use :unset, it clarifies things if the specs fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore to add bundler lib direcotry if it is same as rubylibdir.hsbt2019-02-051-0/+9
| | | | | | [Bug #15469][ruby-core:90742] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make sure to wait for socket to be readable.samuel2019-02-051-9/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add debug codeko12019-02-041-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixup r66984. Update the location of bundler gemspec.hsbt2019-02-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add refinements support to method/instance_method.nobu2019-01-281-8/+66
| | | | | | | | [Fix GH-2034] From: manga_osyo <manga.osyo@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e