Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove bad expectation in spec | Jeremy Evans | 2019-09-03 | 1 | -1/+0 |
| | | | | | This spec should not be checking where methods are defined, only that the method works as expected (returns a Lazy instance). | ||||
* | Prohibit nul-separated glob pattern [Feature #14643] (#2419) | Nobuyoshi Nakada | 2019-09-02 | 1 | -1/+7 |
| | |||||
* | Warn for keyword to last hash parameter when method has no optional/rest ↵ | Jeremy Evans | 2019-08-30 | 1 | -4/+12 |
| | | | | | | | | | parameters Previously, there was no warning in this case, even though we will be changing the behavior in Ruby 3. Fixes [Bug #14130] | ||||
* | Update specs to handle non-Symbols for keyword splats in 2.7 | Jeremy Evans | 2019-08-30 | 5 | -150/+378 |
| | | | | Also handle some warnings for behavior that will change in 3.0. | ||||
* | spec/ruby/core/unboundmethod/bind_call_spec.rb: Add ruby_version_is guard | Yusuke Endoh | 2019-08-30 | 1 | -36/+38 |
| | |||||
* | spec/ruby/core/unboundmethod/bind_call_spec.rb: Added | Yusuke Endoh | 2019-08-30 | 1 | -0/+50 |
| | | | | | For UnboundMethod#bind_call [Feature #15955] introduced in 002e592e0d67bb0271d16314a32380ad947c9ae9. | ||||
* | Fixed a comment [ci skip] | Nobuyoshi Nakada | 2019-08-29 | 1 | -1/+1 |
| | | | | | | A range literal in conditional expression is turned into a flip-flop, as a Range object is never falsy and does not make a sense. | ||||
* | Revert "Remove warnings of flip-flop deprecation from tests and specs" | Nobuyoshi Nakada | 2019-08-29 | 3 | -15/+10 |
| | | | | | | | | This reverts commit bf7a32d22079cc44eb19794e41d82b886d5d17b3. flip-flop is no longer deprecated. [Feature #5400] | ||||
* | Follows callback declaration updates | Nobuyoshi Nakada | 2019-08-28 | 4 | -11/+16 |
| | |||||
* | Fix rb_thread_create argument type | Takashi Kokubun | 2019-08-27 | 1 | -1/+1 |
| | | | | | | | | | | in response to the declaration change in e3fc30564e9466d6926f9d25a090dcf787bd5c33. Fixing the AppVeyor mswin CI failure: https://ci.appveyor.com/project/ruby/ruby/builds/26980881/job/2j6h1qwjnbc8cpop ref: https://github.com/ruby/ruby/pull/2404 | ||||
* | Move fixture path to last path | Hiroshi SHIBATA | 2019-08-17 | 1 | -1/+1 |
| | |||||
* | change Proc#to_s format ('@...' -> ' ...') (#2362) | Koichi Sasada | 2019-08-14 | 1 | -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] | ohbarye | 2019-08-09 | 2 | -2/+2 |
| | |||||
* | Suppress warnings against locations in eval | Nobuyoshi Nakada | 2019-08-03 | 2 | -11/+11 |
| | |||||
* | Split in two spec examples | Benoit Daloze | 2019-07-31 | 1 | -1/+3 |
| | |||||
* | Attempt to fix Hash#rehash spec | Benoit Daloze | 2019-07-31 | 1 | -9/+12 |
| | |||||
* | delete a check on bad assumption. | Koichi Sasada | 2019-07-31 | 1 | -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 argument | Jeremy Evans | 2019-07-29 | 1 | -6/+19 |
| | | | | Fixes [Bug #14062] | ||||
* | Update to ruby/spec@0526d8f | Benoit Daloze | 2019-07-27 | 1 | -2/+2 |
| | |||||
* | Update to ruby/spec@875a09e | Benoit Daloze | 2019-07-27 | 1247 | -5031/+5319 |
| | |||||
* | Initialize DST flag | Nobuyoshi Nakada | 2019-07-27 | 1 | -1/+1 |
| | | | | | * time.c (zone_timelocal): initialize DST flag by asking the timezone object. [Bug #15988] | ||||
* | Removed twisted tests | Nobuyoshi Nakada | 2019-07-16 | 1 | -8/+0 |
| | | | | Why does only Process.daemon have these tests? | ||||
* | Fixed ruby/spec for Logger::LogDevice changes. | Hiroshi SHIBATA | 2019-07-15 | 2 | -6/+24 |
| | |||||
* | File::Stat uses Time#inspect | Nobuyoshi Nakada | 2019-07-11 | 1 | -2/+2 |
| | |||||
* | Revert "parse.y: Deprecate flip-flops" | Nobuyoshi Nakada | 2019-07-11 | 1 | -12/+0 |
| | | | | | | This reverts commit bae638ad5b782c44c80efe33834cb9039279af46. [Feature #5400] | ||||
* | Revert self-referencing finalizer warning [Feature #15974] | Nobuyoshi Nakada | 2019-07-04 | 1 | -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 Nakada | 2019-07-03 | 1 | -24/+26 |
| | |||||
* | Warn in verbose mode on defining a finalizer that captures the object | Chris Seaton | 2019-07-03 | 1 | -0/+26 |
| | | | | | | [Feature #15974] Closes: https://github.com/ruby/ruby/pull/2264 | ||||
* | Prefer master rather than trunk in README [ci skip] | Takashi Kokubun | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | Fix predicate to assert if object is same | Nobuyoshi Nakada | 2019-06-29 | 1 | -2/+2 |
| | |||||
* | Fix predicate to assert if object is same | Nobuyoshi Nakada | 2019-06-29 | 1 | -1/+1 |
| | |||||
* | Update to ruby/spec@94d98ff | Benoit Daloze | 2019-06-27 | 10 | -18/+18 |
| | |||||
* | Update to ruby/spec@8d74d49 | Benoit Daloze | 2019-06-27 | 157 | -540/+578 |
| | |||||
* | Added version guard for backtrace printing feature of psych to ruby/spec. | Hiroshi SHIBATA | 2019-06-26 | 1 | -2/+10 |
| | |||||
* | Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087 | Hiroshi SHIBATA | 2019-06-25 | 1 | -1/+1 |
| | |||||
* | Max length of UNIX socket path is 104 bytes on macOS | Nobuyoshi Nakada | 2019-06-23 | 1 | -2/+2 |
| | |||||
* | Do not lengthen UNIX socket path | Nobuyoshi Nakada | 2019-06-23 | 1 | -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.update | Kenichi Kamiya | 2019-06-21 | 3 | -21/+31 |
| | | | | | | [Feature #15947] Closes: https://github.com/ruby/ruby/pull/2246 | ||||
* | Use different names for autoload constants in specs for clarity | Benoit Daloze | 2019-06-21 | 1 | -4/+4 |
| | |||||
* | Add extra spec from https://github.com/ruby/ruby/pull/2173 | Jean Boussier | 2019-06-21 | 1 | -0/+5 |
| | |||||
* | Add an optional `inherit` argument to Module#autoload? | Jean Boussier | 2019-06-21 | 2 | -0/+18 |
| | | | | | | [Feature #15777] Closes: https://github.com/ruby/ruby/pull/2173 | ||||
* | Remove spec testing undefined behavior | Jeremy Evans | 2019-06-19 | 1 | -5/+0 |
| | | | | Fixes [Bug #15432] | ||||
* | Implement Complex#<=> | Jeremy Evans | 2019-06-19 | 1 | -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 now | Benoit Daloze | 2019-06-10 | 4 | -26/+18 |
| | |||||
* | Fix Resolv specs to not depend on a system /etc/hosts file | Benoit Daloze | 2019-06-10 | 5 | -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 OpenBSD | Jeremy Evans | 2019-06-06 | 4 | -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 f1f04caf60e4fc9dc3b12109e0be831f2d692810 | Nobuyoshi Nakada | 2019-06-05 | 1 | -1/+2 |
| | |||||
* | `ruby -v` may no longer be ASCII-only on non-master branches | Nobuyoshi Nakada | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | Update to ruby/spec@cfe908c | Benoit Daloze | 2019-05-31 | 1 | -0/+35 |
| | |||||
* | Let irb use an empty file as irbrc | Nobuyoshi Nakada | 2019-05-31 | 2 | -1/+3 |
| | | | | to get rid of side-effect by existing .irbrc file. |