| Age | Commit message (Collapse) | Author |
|
When providing a single array to a block that takes a splat, pass the
array as one argument of the splat instead of as the splat itself,
even if the block also accepts keyword arguments. Previously, this
behavior was only used for blocks that did not accept keywords.
Implements [Feature#16166]
Notes:
Merged: https://github.com/ruby/ruby/pull/2502
|
|
As `String#split` with the default argument drops trailing newline
as a separator, preceding `String#chomp` is futile.
|
|
|
|
openbsd current seems to behave the same as other OSs.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20200305T063005Z.fail.html.gz
|
|
|
|
Bumps [rake](https://github.com/ruby/rake) from 10.5.0 to 12.3.3.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v10.5.0...v12.3.3)
Signed-off-by: dependabot[bot] <support@github.com>
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
|
|
|
|
Fixes [Bug #13675]
Notes:
Merged: https://github.com/ruby/ruby/pull/2935
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2920
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2920
|
|
|
|
So its arity should be -2 instead of -1.
[Bug #16640]
https://bugs.ruby-lang.org/issues/16640#change-84337
|
|
|
|
IP_MAX_MEMBERSHIPS seems not to be defined on Android
|
|
FreeBSD's GETNAMEINFO(3) says:
> If a link-layer address or UNIX-domain address is passed to
> getnameinfo(), its ASCII representation will be stored in host. The
> string pointed to by serv will be set to the empty string if non-NULL;
> flags will always be ignored.
Android seems to behave like FreeBSD.
|
|
User/group system on Android seems different from normal Linux.
|
|
on Android
SOCK_SEQPACKET seems not to be supported on Android
|
|
LOG_PERROR is defined on Android, but not implemented yet.
See also f3c4e620ac612eab6370b1fb82feaa4e651542bb.
|
|
There is no /etc/passwd on Android
|
|
There seems to be no _CS_PATH on Android.
|
|
because there is no /tmp on Android.
|
|
in the same way as FreeBSD and OpenBSD.
I guess that the spec makes too strong assumption.
|
|
Android
nl_langinfo(CODESET) always returns UTF-8 on Android, regardless to
LC_ALL=C.
|
|
I couldn't find a robust way to get the home path except ENV["HOME"] on
Android Termux.
|
|
This behavior was deprecated in 2.7 and scheduled to be removed
in 3.0.
Calling yield in a class definition outside a method is now a
SyntaxError instead of a LocalJumpError, as well.
Notes:
Merged: https://github.com/ruby/ruby/pull/2901
|
|
MSpec requires Ruby 2.4 or more recent.
|
|
Under some Ext4 filesystem settings, a timestamp is limited up to
0x37fffffff (2446-05-10).
https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps
> Therefore, timestamps should not overflow until May 2446.
Actually the spec fails under one of our CI environments, like:
```
1)
File.utime allows Time instances in the far future to set mtime and atime FAILED
Expected 2446 == 559444
to be truthy but was false
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz
|
|
|
|
RDoc says nothing about them. Added an example that
ConditionVariable#wait can be woken up by
ConditionVariable#signal, instead.
|
|
|
|
Check if threads are stopped by Thread#stop? instead of the status
name.
|
|
|
|
|
|
These specs were probably added in the commit to fully
separate keyword arguments after the release of 2.7.0, but
apparently not tested on 2.7 before hand. The enclosing
ruby_version guard for these specs limits them to 2.7.
|
|
|
|
|
|
It is not specific to particular methods that keyword option
arguments are coerced to `Hash`es using `to_hash` method.
|
|
|
|
|
|
|
|
|
|
fix up 98ef38ada43338c073f50a0093196f0356284625
|
|
[Feature #8948] [Feature #16377]
Since Regexp literals always reference the same instance,
allowing to mutate them can lead to state leak.
Notes:
Merged: https://github.com/ruby/ruby/pull/2705
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2832
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2832
|
|
On macOS, GNU coreutils `id` is limited to NGROUPS_MAX groups,
because of the backward compatibility of getgroups(2).
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2822
|
|
This removes the warning that was added in
3802fb92ff8c83eed3e867db20f72c53932f542d, and switches the behavior
so that the eval does not use the binding's __FILE__ and __LINE__
implicitly.
Fixes [Bug #4352]
Notes:
Merged: https://github.com/ruby/ruby/pull/2816
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2794
|