Project

General

Profile

Activity

From 10/01/2019 to 10/07/2019

10/07/2019

11:34 PM Feature #16244: Add a Time#before? and Time#after? method
Jeremy Evans is right about this.
But I agree that your second example
```
birthday > thirteen_years_ago
```
is a bit hard to comprehend. However,
```
birthday.after? thirteen_years_ago
```
is as hard to comprehend. Yo...
sawa (Tsuyoshi Sawada)
07:43 PM Feature #16244: Add a Time#before? and Time#after? method
jeremyevans0 (Jeremy Evans) wrote:
> I would guess the `>` and `<` symbols are probably more understandable to people whose native language is not English, at least.
It's hard to speak for all non-native English speakers one way ...
stevendaniels (Steven Daniels)
05:07 PM Feature #16244: Add a Time#before? and Time#after? method
stevendaniels (Steven Daniels) wrote:
> Comparing times using `>` and`<` can be pretty confusing.
This is subjective. I don't find such Time comparisons confusing. I would guess the `>` and `<` symbols are probably more understandab...
jeremyevans0 (Jeremy Evans)
04:47 PM Feature #16244 (Open): Add a Time#before? and Time#after? method
Comparing times using `>` and`<` can be pretty confusing.
I'd like to propose `Time#before?` and `Time#after?` methods for aliasing `Time#<` and `Time#>`
These method aliases would make the code more readable. :)
Current syntax...
stevendaniels (Steven Daniels)
10:52 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
sam.saffron (Sam Saffron) wrote:
> Koichi introduced an experimental gem: https://github.com/ko1/iseq_collector
> ...
I worked on `imemo_memsize` some time ago to correctly reflect the type sizes in https://github.com/ruby/ruby/commit/...
methodmissing (Lourens Naudé)
10:07 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
An alternative design could be to add 1 extra object to the heap
RubyVM::NonMaterializedInstructionSequences (sizeof all IMEMOS that are not wrapped)
Then `each_object` could include it and we could use that to measure size of all...
sam.saffron (Sam Saffron)
10:02 PM Feature #16245 (Open): Add interfaces to count and measure size all IMEMO objects
Koichi introduced an experimental gem: https://github.com/ko1/iseq_collector
It allows:
ObjectSpace.each_iseq{|iseq| ...}
ObjectSpace.count_iseq #=> Integer
ObjectSpace.memsize_of_all_iseq (should not generate RubyVM::Instruction...
sam.saffron (Sam Saffron)
10:41 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Just for your information.
This is today's blog from Travis CI. It's about supporting ARM 64-bit.
https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support
The syntax is unlike existing "os: linux-ppc64le", but "arch: a...
jaruga (Jun Aruga)
10:30 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
There is "Azure pipelines" CI too.
> BTW, I feel that we have too many CIs currently. Too many CIs brings too many notifications. Their formats are not uniform, which makes it harder to grasp the status.
Agree. Many CIs. Is there n...
jaruga (Jun Aruga)
10:25 PM Feature #16029: Expose fstring related APIs to C-extensions
I think the larger change here is allowing for a new type of API.
From a performance perspective the people using the new API would like to avoid allocating an RVALUE unless needed, the current fstring APIs require an RVALUE unless y...
sam.saffron (Sam Saffron)
09:27 PM Bug #7021 (Closed): WEBrick::HTTPUtils.parse_header "normalizing" white space of cookie values.
Pull request merged: https://github.com/ruby/webrick/pull/23 jeremyevans0 (Jeremy Evans)
09:25 PM Bug #8542 (Closed): BigMath::exp modifies its first argument
Pull request was merged: https://github.com/ruby/bigdecimal/pull/150 jeremyevans0 (Jeremy Evans)
09:24 PM Bug #8274 (Closed): No tests for PKCS7::write_smime
Pull request was merged: https://github.com/ruby/openssl/pull/268 jeremyevans0 (Jeremy Evans)
08:51 PM Revision 59c3b1c9 (git): Add section to extension.rdoc for backwards compatibility macros [ci skip]
These macros should make it easier to C extensions to switch to
the Ruby 2.7 C-API *_kw functions, but still have the code work
correctly on older Ruby versions.
jeremyevans (Jeremy Evans)
08:51 PM Revision c0eae130 (git): Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removed
There is no need for these in Ruby 3.0, and the plan is to
remove them.
jeremyevans (Jeremy Evans)
07:56 PM Revision 055a85d3 (git): Update NEWS with Module#ruby2_keywords and a few other things
jeremyevans (Jeremy Evans)
07:28 PM Revision 6abcd357 (git): Do not free too many pages.
Sweep step checks `heap_pages_freeable_pages`, so compaction should do
the same.
tenderlovemaking (Aaron Patterson)
07:10 PM Revision 058db33c (git): Move empty pages to the tomb
I think we need to be moving empty pages to the tomb after they become
empty.
tenderlovemaking (Aaron Patterson)
06:35 PM Feature #16147: List Comprehensions in Ruby
sammomichael (Samuel Michael) wrote:
> I also have added rudimentary support for nested comprehensions.
> ...

> # Build Matrix from nested loop
> ...

> # Flatten Matrix with nested loop
> ...
`$l[for x in 1..10 do for...
sammomichael (Samuel Michael)
01:01 PM Feature #16147: List Comprehensions in Ruby
I also have added rudimentary support for nested comprehensions.
# Build Matrix from nested loop
`p $l[[for x in 1..10 do end], for x in 2..20 do x end] ` #=> does (1..10).map{(2..20).map{|x|x}
# Flatten Matrix with nested loop
...
sammomichael (Samuel Michael)
05:57 PM Revision 0a2f04e1 (git): Eliminate second GC pass for eliminating T_MOVED
`T_MOVED` is a linked list, so we can just iterate through the `T_MOVED`
objects, clearing them out and adding them to respective free lists.
tenderlovemaking (Aaron Patterson)
03:00 PM Revision d8b6f585 (git): * 2019-10-08 [ci skip]
git[bot]
03:00 PM Revision 7abb0277 (git): Fix typo [ci skip]
pointed out by ruby-trunk-changes znz (Kazuhiro NISHIYAMA)
02:37 PM Revision 468184a9 (git): Allow ruby2_keywords to be used with bmethods
There are libraries that use define_method with argument splats
where they would like to pass keywords through the method. To
more easily allow such libraries to use ruby2_keywords to handle
backwards compatibility, it is necessary for r...
jeremyevans (Jeremy Evans)
10:33 AM Revision 3374e145 (git): Write yaml and json under destdir and print to stdout
znz (Kazuhiro NISHIYAMA)
10:05 AM Revision 96753e84 (git): Create info.yml and info.json
- `info.yml` is for ruby/www.ruby-lang.org/_data/releases.yml
- `info.json` is meta data for users of snapshot
znz (Kazuhiro NISHIYAMA)
10:03 AM Revision bb86611c (git): Remove `-s3` option
It will not use in `ruby/actions`, and `default=tmp` is not correct. znz (Kazuhiro NISHIYAMA)
08:58 AM Bug #16243: case/when is slower than if on MRI
The original benchmark allocates quite a bit, if we change it to just sum elements, the difference is around 20%:
```
Warming up --------------------------------------
deep_dup_case 44.804k i/100ms
deep_dup_if 5...
Eregon (Benoit Daloze)
06:47 AM Bug #16243: case/when is slower than if on MRI
Interesting.
I tried a couple approaches, but couldn't get significant results.
* `checkmatch` with call cache
https://github.com/nobu/ruby/pull/new/feature/checkmatch-cache
* replace simple `checkmatch` with `:===` call
https:/...
nobu (Nobuyoshi Nakada)
07:14 AM Revision f4252f64 (git): Version 0.0.3
aycabta (aycabta .)
07:04 AM Feature #16155 (Closed): Add an Array#intersection method
nobu (Nobuyoshi Nakada)
06:57 AM Feature #16155: Add an Array#intersection method
Implementation is currently based on `Array#&`, which is elegant but might end up allocating a whole bunch of arrays holding intermediate results. If needed I can implement `Array#intersection` so it only allocates the result array once,... prajjwal (Prajjwal Singh)
05:18 AM Feature #16155: Add an Array#intersection method
Hi all,
I've added an initial implementation of this based on `Array#&` on github (https://github.com/ruby/ruby/pull/2533).
One thing that stands out to me is the naming inconsistency between `rb_ary_and` and `rb_ary_intersection_m...
prajjwal (Prajjwal Singh)
06:59 AM Revision c8542ab4 (git): Add: Array#intersection method
prajjwal (Prajjwal Singh)
05:16 AM Revision d4ec37f6 (git): * 2019-10-07 [ci skip]
git[bot]
05:15 AM Revision a9e9cd20 (git): Flush console just after printing
aycabta (aycabta .)
05:15 AM Revision 13611681 (git): Use built-in Win32API on JRuby
It's fixed for JRuby dedicatedly. aycabta (aycabta .)
05:15 AM Revision 309f6a77 (git): Swap expected and actual correctly
aycabta (aycabta .)
02:23 AM Feature #13683: Add strict Enumerable#single
+1
I actually have this as `single` in my own code, but `only` sounds fine also. I'd want a non-raising version (perhaps via a `raise` keyword arg?), as my usage tends to be like this:
```ruby
if match = filenames.select{ |f| f.st...
Dan0042 (Daniel DeLorme)
12:44 AM Feature #16240 (Rejected): Are all objects and methods marshalable
see https://redmine.ruby-lang.org/issues/4818 hsbt (Hiroshi SHIBATA)

10/06/2019

11:14 PM Feature #16231: Add #location to Net::HTTPResponse
Seems like a good first issue, I'd like to take this up if there's any interest in having it. prajjwal (Prajjwal Singh)
08:43 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
Eregon (Benoit Daloze) wrote:
> but to me it sounds surprising that a method with `filter` in its name filters differently than `Enumerable#filter` (which removes both false and nil values).
Yes, I suppose that is surprising too... ...
jonathanhefner (Jonathan Hefner)
07:22 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
Isn't `enum.filter_map { |e| ... }` supposed to be (according to the name) the same as `enum.map { |e| ... }.filter { |e| e }`?
I'm not completely sure what is better, but to me it sounds surprising that a method with `filter` in its ...
Eregon (Benoit Daloze)
07:16 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
nobu (Nobuyoshi Nakada) wrote:
> IIRC, at the last meeting (20190522), the conclusion was that this method should select non-nil values only, like as `Array#compact`.
> ...
Checking master, it looks like this was not addressed. I agre...
jonathanhefner (Jonathan Hefner)
08:14 PM Feature #13683: Add strict Enumerable#single
matz (Yukihiro Matsumoto) wrote:
> Hmm, I don't like the name `single`. Besides that, I think it may be useful for database access, but I don't see the use-case of this method for generic Enumerable.
I use (monkey-patched) `Enumerabl...
jonathanhefner (Jonathan Hefner)
04:41 PM Feature #16146: Array .difference allow custom comparison
Dan0042 (Daniel DeLorme) wrote:
> What you're asking for is a O(n²) operation. I'm not sure it's a good idea to make that so easy and transparent as a core method.
Although the given example specified a two-argument block, the origin...
jonathanhefner (Jonathan Hefner)
04:15 PM Bug #16243 (Closed): case/when is slower than if on MRI
This comes from a discussion on a PR on Sidekiq: https://github.com/mperham/sidekiq/pull/4303
This benchmark:
```ruby
# frozen_string_literal: true
require "benchmark/ips"
def deep_dup_case(obj)
case obj
when Integer, Floa...
Eregon (Benoit Daloze)
09:20 AM Bug #16161: tailcall_optimization may be disabled after r67315
Oh I've pushed wrong commit on https://github.com/ruby/ruby/pull/2528 .
I retry to push my working branch on https://github.com/ruby/ruby/pull/2529 .
Sorry!
wanabe (_ wanabe)
07:00 AM Bug #16161: tailcall_optimization may be disabled after r67315
I created Pull-Request https://github.com/ruby/ruby/pull/2528 wanabe (_ wanabe)
08:01 AM Revision ddf5020e (git): Revert "tailcall optimization again (#2528)"
This reverts commit f62f90367fc3bce6714e7c34cbd040e14e43fe07. ko1 (Koichi Sasada)
07:56 AM Feature #15824: respond_to pattern for pattern match
The implementation can be very simple.
(I don't know whether `NODE_METHREF` is suitable.)
```diff
diff --git a/compile.c b/compile.c
index 7a88f81daa..f6eafb0ac2 100644
--- a/compile.c
+++ b/compile.c
@@ -5888,6 +5888,11 @@ iseq...
wanabe (_ wanabe)
07:52 AM Revision f62f9036 (git): tailcall optimization again (#2528)
This is follow up of r67315. wanabe (_ wanabe)
07:33 AM Bug #16242 (Closed): Refinements method call to failed
Refinements method call to failed with `prepend`.
## No problem
```ruby
module M
# Methods that you want to call only within this context
refine M do
def refine_method
"refine_method"
end
end
using M...
osyo (manga osyo)
06:30 AM Feature #15747 (Rejected): `(..1).last(2)` should return array but raise TypeError
Now, I think this proposal doesn't make sense.
So I reject it. thank you.
wanabe (_ wanabe)
06:23 AM Revision 6525d3bc (git): test/dtrace/helper.rb: Etc.getgrnam may return nil on some platforms
mame (Yusuke Endoh)
02:49 AM Revision 2ca353c2 (git): * 2019-10-06 [ci skip]
git[bot]
02:39 AM Revision 2409667a (git): time.c: Fix some bugs about WIDEVALUE
WIDEVALUE differs from VALUE in 32bit platform, but some codes assume
that they are the same.
There is `#define STRUCT_WIDEVAL` mode to check the consistency.
This change allows to build with STRUCT_WIDEVAL.
mame (Yusuke Endoh)

10/05/2019

10:53 PM Misc #16235: ENV.assoc spec test does not test invalid name
https://github.com/ruby/ruby/pull/2527 burdettelamar@yahoo.com (Burdette Lamar)
07:08 PM Misc #16235: ENV.assoc spec test does not test invalid name
Have put this up as a PR, so we're done here. burdettelamar@yahoo.com (Burdette Lamar)
10:40 PM Feature #16241: Shorter syntax for anonymous refinements
Hmm. I think there was another suggestion some months ago that also suggested
simplifications or "beautification" in regards to refinements.
In general I like ideas that try to make the refinement feature more accessible.
Syntax h...
shevegen (Robert A. Heiler)
10:05 PM Feature #16241: Shorter syntax for anonymous refinements
I believe that is really super-good thing. As I've written elsewhere in this tracker, the most useful case for refinements is "in current module, I want some shortcuts for my code to look cleaner". For example, [here](https://github.com/... zverok (Victor Shepelev)
07:04 PM Feature #16241 (Open): Shorter syntax for anonymous refinements
The original discussion is here https://bugs.ruby-lang.org/issues/14344.
tl;dr
- Refinements are often used in-place with anonymous modules
- Having shorter syntax could lower the barrier of entry for Rubyist wanting to explore this...
palkan (Vladimir Dementyev)
03:34 PM Feature #16240 (Rejected): Are all objects and methods marshalable

As I work with objects, some of them are not marshaled. Maybe there should be a method to tell whether an object is marshalable or not.
See below example:
hash = Hash.new {|h,k| k * 2}
this hash can't be marshaled because it ...
mattumd (Matt Zand)
10:08 AM Revision 06a04a1a (git): ext/openssl/ossl_ssl.c: Use const declaration if LibreSSL >= 2.8.0
to suppress a warning in OpenBSD.
```
ossl_ssl.c:938:31: warning: incompatible pointer types passing 'SSL_SESSION *(SSL *, unsigned char *, int, int *)' (aka 'struct ssl_session_st *(struct ssl_st *, unsigned char *, int, int *)') to pa...
mame (Yusuke Endoh)
09:28 AM Revision 96452373 (git): ext/json/parser/prereq.mk: use `if $. == 1` instead of a hacky code
mame (Yusuke Endoh)
08:54 AM Revision 70e3fda2 (git): ext/json/parser/prereq.mk: keep line numbers of ext/json/parser/parser.c
Follow up of 5717e55e9a7790c938afa694a9bf558c0e54bb83.
Adding a header with newline broke linenos.
mame (Yusuke Endoh)
02:30 AM Revision 3e3cc088 (git): Now keyword parameter warnings are suppressed by 871005bdd204
This reverts commits:
* 2a490d5660ac869f8f2bbcec4887b1dc2950643f
Suppress assert_match warnings.
* d4a86e407ec2057c2c7ad757aa76dad757f34c3a
Assert warnings message for the last argument is keyword parameter.
nobu (Nobuyoshi Nakada)
02:04 AM Revision 212da9a6 (git): Added dependencies on prerequisite makefiles
nobu (Nobuyoshi Nakada)
01:50 AM Revision 6dfe0c9d (git): [rubygems/rubygems] The date might have advanced since TODAY has been set
https://bugs.ruby-lang.org/issues/16189
https://github.com/rubygems/rubygems/commit/e331222163
nobu (Nobuyoshi Nakada)
01:50 AM Revision 7d4ab8bb (git): [rubygems/rubygems] Use dependency.identity in available_specs
https://github.com/rubygems/rubygems/commit/bde88f00a1 bronzdoc
01:50 AM Revision b659c1b9 (git): [rubygems/rubygems] Add Gem::Dependency#identity method
https://github.com/rubygems/rubygems/commit/05146bb2fd bronzdoc
01:50 AM Revision 871005bd (git): [rubygems/rubygems] Suppress keywords warning in ruby 2.7
https://github.com/rubygems/rubygems/commit/892bfc11fe nobu (Nobuyoshi Nakada)
01:50 AM Revision caa9d0bd (git): [rubygems/rubygems] Always pass an encoding option to Zlib::GzipReader.wrap
The arity of this method has been -1 since the import, so the
option has been passed always, even if Zlib::GzipReader#initialize
does not take the option. Actually it takes the option since 1.9.
https://github.com/rubygems/rubygems/com...
nobu (Nobuyoshi Nakada)
01:50 AM Revision 39e8d5e1 (git): [rubygems/rubygems] Use dedicated assertion methods
For better messages at failures.
https://github.com/rubygems/rubygems/commit/971455b16e
nobu (Nobuyoshi Nakada)
01:50 AM Revision f8104d9e (git): [rubygems/rubygems] Fixed assertion arguments
It is `assert_eqal(expected, actual)`.
https://github.com/rubygems/rubygems/commit/1d6197a090
nobu (Nobuyoshi Nakada)

10/04/2019

10:37 PM Revision 170d1540 (git): signal.c: Use MINSIGSTKSZ by casting to int
MINSIGSTKSZ is unsigned int in OpenBSD, which makes a warning of
comparison:
```
signal.c:535:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (size < MINSIGSTKSZ)
~~~~ ^ ~...
mame (Yusuke Endoh)
10:00 PM Revision 417c64b9 (git): ext/json/parser/parser.rl: Use "signed" char to contain negative values
char is not always signed. In fact, it is unsigned in arm.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20191004T181708Z.log.html.gz
```
compiling parser.c
parser.rl: In function ‘unescape_unicode’:
parser...
mame (Yusuke Endoh)
10:00 PM Revision 5717e55e (git): ext/json/parser/prereq.mk: Add a "automatically generated" header
to parser.c. mame (Yusuke Endoh)
09:34 PM Revision 076d3d75 (git): ext/json/parser/parser.rl: Update the source code of parser.c
There have been some direct changes in parser.c which is automatically
generated from parser.rl. This updates parser.rl to sync the changes:
* 91793b8967e0531bd1159a8ff0cc7e50739c7620
* 79ead821dd4880725c9c6bb9645b3fad71715c5b
* 80b5a0...
mame (Yusuke Endoh)
09:03 PM Bug #16237 (Closed): Set#union performance issue
This is a spec. The reason is because `Set#union` duplicates self and then merges the argument, which makes your "set" implementation O( n^2 ). You may want to use `Set#merge` instead of `Set#union` in this case.
```
def set2
re...
mame (Yusuke Endoh)
12:17 PM Bug #16237 (Closed): Set#union performance issue
I've discovered a very large difference in performances between Set#union and the use of a hash to compute this union.
The issue can be shown with the code below.
Here are the benchmark results:
```
user system to...
lionelperrin (Lionel Perrin)
07:02 PM Revision bd4b65f4 (git): IMEMO objects don't have a class, so return early
IMEMO objects don't have a class field to update, so we need to return
early, otherwise it can cause a segv.
tenderlovemaking (Aaron Patterson)
06:11 PM Revision a20ed056 (git): Don't allocate objects in `gc_compact`
I'd like to call `gc_compact` after major GC, but before the GC
finishes. This means we can't allocate any objects inside `gc_compact`.
So in this commit I'm just pulling the compaction statistics allocation
outside the `gc_compact` fun...
tenderlovemaking (Aaron Patterson)
06:11 PM Bug #16239 (Third Party's Issue): Crash when accessing postgresql-12
This crash happens inside the pg gem. It's either caused by the pg gem, libpq (PostgreSQL), or one of the internal Mac OS libraries listed.
```
7 ??? 0x0000000200000000 0 + 8589934592
8 com.apple.secu...
jeremyevans0 (Jeremy Evans)
05:59 PM Bug #16239 (Third Party's Issue): Crash when accessing postgresql-12
This may have been caused by a recent upgrade to postgresql 12 on my local machine (running OS X Mojave). pgAdmin 4 is also giving me an error.
I am running a rails console, and as soon as I try to do anything with ActiveRecord that a...
marksiemers (Mark Siemers)
06:07 PM Revision cbf88064 (git): * 2019-10-05 [ci skip]
git[bot]
06:02 PM Revision cbbe198c (git): Fix potential memory leaks by `rb_imemo_tmpbuf_auto_free_pointer`
This function has been used wrongly always at first, "allocate a
buffer then wrap it with tmpbuf". This order can cause a memory
leak, as tmpbuf creation also can raise a NoMemoryError exception.
The right order is "create a tmpbuf then...
nobu (Nobuyoshi Nakada)
05:57 PM Feature #14145: Proposal: Better Method#inspect
Thanks a ton for the proposal and feature. I love the idea of getting source location info by default! schneems (Richard Schneeman)
04:17 PM Feature #16131: Remove $SAFE, taint and trust
I've rebased my pull request against master and fixed the conflicts (https://github.com/ruby/ruby/pull/2476). I've also removed mentions of $SAFE and taint from the documentation.
Due to the extent of the changes, I don't want to wai...
jeremyevans0 (Jeremy Evans)
03:34 PM Bug #16238: Publish new WEBrick version to rubygems.org
I have added a short notice for people interested to https://stdgems.org/webrick/#notes
Btw, do you use a tool assisting with merging the upstream changes? If not I'd offer to build one (not totally automated, but might be helpful for...
rbjl (Jan Lelis)
01:58 PM Bug #16238: Publish new WEBrick version to rubygems.org
That was quick, thanks! rbjl (Jan Lelis)
01:53 PM Bug #16238 (Closed): Publish new WEBrick version to rubygems.org
Done
https://rubygems.org/gems/webrick/versions/1.5.0
hsbt (Hiroshi SHIBATA)
01:41 PM Bug #16238 (Assigned): Publish new WEBrick version to rubygems.org
I'm working on it now. I need to triage the changeset from ruby/ruby master.
Please wait a few days.
hsbt (Hiroshi SHIBATA)
01:21 PM Bug #16238 (Closed): Publish new WEBrick version to rubygems.org
The latest security releases of Ruby include some fixes in the webrick default gem:
- https://www.ruby-lang.org/en/news/2019/10/01/webrick-regexp-digestauth-dos-cve-2019-16201/
- https://www.ruby-lang.org/en/news/2019/10/01/http-resp...
rbjl (Jan Lelis)
03:02 PM Bug #16236: Cannot handle logrotate on Windows when one file is written from multi process/thread
Log rotation relies on renaming the current log file (`app.log` -> `app.log.0`) and the reopening the log file (`app.log`). This does not work on Windows in a multi-process environment because you cannot rename a file open by another pr... jeremyevans0 (Jeremy Evans)
06:30 AM Bug #16236 (Third Party's Issue): Cannot handle logrotate on Windows when one file is written from multi process/thread
### TL;DR
This issue occurred in Windows version of Fluentd.
It uses ServerEngine and its logger functionality delegates into Ruby logger library.
Fluentd's logrotate functionality is originated from Ruby logger library,
Then, I fo...
cosmo0920 (Hiroshi Hatake)
12:30 PM Revision c8a18e25 (git): iseq.c (rb_iseq_compile_on_base): Removed
ko1 cannot remember why he introduced the function. And it is not used.
After it is removed, the argument "base_block" of
rb_iseq_compile_with_option is always zero.
mame (Yusuke Endoh)
11:06 AM Feature #16233: winruby UTF8 Fallback for no CodePage
duerst (Martin Dürst) wrote:
> If codepage 720 is not supported, then we should look at supporting it.
fair point, however investigation on this Puppet ticket: https://tickets.puppetlabs.com/browse/PA-2191 concluded that falling back...
gabuscus (Gabriel Nagy)
04:44 AM Feature #16233: winruby UTF8 Fallback for no CodePage
If codepage 720 is not supported, then we should look at supporting it. duerst (Martin Dürst)
07:07 AM Revision 113bef69 (git): array.c (rb_mem_clear): remove "register" from arguments
to suppress the following warning:
```
compiling cxxanyargs.cpp
In file included from cxxanyargs.cpp:1:
In file included from ../../.././include/ruby/ruby.h:2150:
../../.././include/ruby/intern.h:56:19: warning: 'register' storage class...
mame (Yusuke Endoh)
01:15 AM Revision 5be2af5f (git): Remove call-seq for method that doesn't exist (#2521)
```
$ ruby -ve 'IO.popen("ls"){}; $?.to_int'
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
Traceback (most recent call last):
-e:1:in `<main>': undefined method `to_int' for #<Process::Status: pid 33989 SIGPIPE (signal 13)...
alanwu (Alan Wu)
12:58 AM Misc #16235: ENV.assoc spec test does not test invalid name
Got it, thanks. Will update the diff. burdettelamar@yahoo.com (Burdette Lamar)

10/03/2019

11:56 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Just FYI: There are other CIs that are created and maintained by ourselves.
* http://ci.rvm.jp/
* It tests Ruby under a variety of configurations (JIT, assertions enabled, parallel testing, etc.)
* It is the fastest CI: a notifi...
mame (Yusuke Endoh)
10:48 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Thanks for merging quickly!
I am looking forward to seeing ARM / Solaris / FreeBSD / OpenBSD / NetBSD CIs in .drone.yml or .drone.star :)
jaruga (Jun Aruga)
09:14 PM Misc #16234 (Closed): Enabling ARM 64/32-bit cases by Drone CI
Naruse enabled the Drone CI and merged your PR commit:bdbf8de4980ef54f466809ee27a9f2a00614b0f0. k0kubun (Takashi Kokubun)
07:24 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
I've never tried that, but the capability looks good. If the Solaris environment has Oracle Developer Studio, that'd be really nice. Even if not, ARM / FreeBSD / OpenBSD / NetBSD CIs would be nice to have, in addition to RubyCI's ones.
...
k0kubun (Takashi Kokubun)
07:20 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Now ARM 64-bit: success, ARM 32-bit: failed on the latest master branch again. :)
https://cloud.drone.io/junaruga/ruby/4
jaruga (Jun Aruga)
06:41 PM Misc #16234 (Closed): Enabling ARM 64/32-bit cases by Drone CI
Currently ruby project has 4 CIs on GitHub.
1. Travis CI: linux cases with flags and compilers.
2. GitHub Actions: macros, windows, ubuntu
3. Wercker: Ruby JIT cases
4. Appveyor: windows
I like to suggest 5th CI: Drone CI for AR...
jaruga (Jun Aruga)
11:30 PM Misc #16232: DevelopersMeeting20191017Japan
* [Bug #10314] Default argument lookup fails in Ruby 2.2 for circular shadowed variable names (jeremyevans)
* Do we want to change `def foo(bar=bar)` from warning to SyntaxError using the patch?
* [Bug #11055] autoload resets private...
jeremyevans0 (Jeremy Evans)
10:02 AM Misc #16232: DevelopersMeeting20191017Japan
* [Feature #16029] Expose fstring related APIs to C-extensions (byroot)
* Apparently the current implementation is complicated to expose, but no details were provided.
* Is there something I or others could change to the implementa...
byroot (Jean Boussier)
06:34 AM Misc #16232 (Closed): DevelopersMeeting20191017Japan
Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of the ticket comments)
*DO NOT* discuss then on thi...
mame (Yusuke Endoh)
11:07 PM Misc #16235: ENV.assoc spec test does not test invalid name
burdettelamar@yahoo.com (Burdette Lamar) wrote:
> Method :reserve_names fails if any name is already in use:
> ...
`reserve_names` is called in a `before :each` block. When it fails, the `after :each` block is called. That block call...
jeremyevans0 (Jeremy Evans)
09:54 PM Misc #16235: ENV.assoc spec test does not test invalid name
Method :reserve_names fails if any name is already in use:
```
def reserve_names(*names)
@reserved = names
@reserved.each do |name|
fail "Name #{name} is already in use" if ENV.include?(name)
end
end
```
So, not a...
burdettelamar@yahoo.com (Burdette Lamar)
09:31 PM Misc #16235: ENV.assoc spec test does not test invalid name
It appears if `reserve_names` is called with a name that is already an environment variable, `release_names` will remove that name from the environment, which seems like a bug. Now, that issue exists in the current code (environment var... jeremyevans0 (Jeremy Evans)
09:05 PM Misc #16235 (Open): ENV.assoc spec test does not test invalid name
The most important thing here is an added test for an invalid name argument to ENV.assoc, which should raise TypeError.
I've also added to spec_helper.rb:
- Methods :reserve_names and :release_names, to reserve and release names us...
burdettelamar@yahoo.com (Burdette Lamar)
10:58 PM Revision 7db83b04 (git): Revert "Simplify bin_path_spec.rb guard"
This reverts commit a56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc.
I was checking the CI result of the wrong revision. It actually worked
fine https://ci.appveyor.com/project/ruby/ruby/builds/27866303. Never
mind...
k0kubun (Takashi Kokubun)
10:33 PM Revision a56d742e (git): Simplify bin_path_spec.rb guard
For some reason the guard_not seems not working as expected
https://ci.appveyor.com/project/ruby/ruby/builds/27866153/job/v6wa6q6p7b7n7r37
k0kubun (Takashi Kokubun)
10:15 PM Revision ac69a051 (git): Ignore arm32 failure for now
k0kubun (Takashi Kokubun)
09:25 PM Revision 182336cc (git): bin_path_spec.rb has failed from the beginning
for mswin. This spec is not valid for mswin platform.
https://ci.appveyor.com/project/ruby/ruby/builds/27748774/job/85khngfpc806m5lj
k0kubun (Takashi Kokubun)
09:17 PM Revision 804672e7 (git): Try disabling build on trunk
k0kubun (Takashi Kokubun)
09:13 PM Revision 9f24e8fd (git): Document *_kw functions added to include/ruby/ruby.h [ci skip]
Also documents the non-*_kw functions if they were not already
documented.
jeremyevans (Jeremy Evans)
09:13 PM Revision c7715a49 (git): Add documentation regarding keyword argument separation [ci skip]
jeremyevans (Jeremy Evans)
09:13 PM Revision 12e27a41 (git): Minor updates to methods and calling_methods documentation [ci skip]
jeremyevans (Jeremy Evans)
09:12 PM Revision bdbf8de4 (git): Enable Drone CI for ARM 64/32-bit cases. (#2520)
https://bugs.ruby-lang.org/issues/16234 Jun Aruga
07:16 PM Misc #15723: Reconsider numbered parameters
Dan0042 (Daniel DeLorme) wrote:
> ```ruby
> ...
That’s actually really beautiful. And by extension, `.` alone would be the param itself.
```ruby
ary.map { meth(.) }
ary.map { meth . } # same
ary.map { meth _0 } # same
```
paddor (Patrik Wenger)
05:35 PM Revision c3dd3b95 (git): iseq.c (rb_iseq_compile_with_option): dummy parent_iseq for the parser
The parsing of `RubyVM::InstructionSequence.compile` does not support an
outer scope currently. So it specified NULL as parent_iseq for the
parser. However, it resulted in the following false-positive warning.
```
RubyVM::InstructionS...
mame (Yusuke Endoh)
05:34 PM Revision b732a9f8 (git): parse.y: use "struct rb_iseq_struct" instead of rb_iseq_t
typedef was not declared in parse.y. Sorry. mame (Yusuke Endoh)
05:30 PM Revision bb9604e1 (git): * 2019-10-04 [ci skip]
git[bot]
05:30 PM Revision b43afa0a (git): Make parser_params have parent_iseq instead of base_block
The parser needs to determine whether a local varaiable is defined or
not in outer scope. For the sake, "base_block" field has kept the outer
block.
However, the whole block was actually unneeded; the parser used only
base_block->iseq....
mame (Yusuke Endoh)
05:30 PM Revision 711c40eb (git): Refactor parser_params by removing "in_main" flag
The relation between parser_param#base_block and #in_main were very
subtle.
A main script (that is passed via a command line) was parsed under
base_block = TOPLEVEL_BINDING and in_main = 1.
A script loaded by Kernel#require was parsed un...
mame (Yusuke Endoh)
03:32 PM Feature #15912: Allow some reentrancy during TracePoint events
I tried my idea and, while it seemed [not hard to implement](https://github.com/ruby/ruby/commit/ed0fd5d015860f5b2fa190d9287506d5b5142230), it's not going to work, because many many more event would be generated and that breaks `byebug` ... deivid (David Rodríguez)
11:51 AM Feature #16231: Add #location to Net::HTTPResponse
Seems ok to me. shevegen (Robert A. Heiler)
03:53 AM Feature #16231 (Open): Add #location to Net::HTTPResponse
# Abstract
Add a location convenience method to the `Net::HTTPRedirection` class.
# Background
When developers receive 3xx responses, we tend to do one of two things: follow the redirect or pass the redirect location onto the co...
RichSeviora (Richard Seviora)
10:14 AM Revision 8f7fca78 (git): make-snapshot: touch updated files after prepared
Align mtime of files updated by `make prepare-package` to make
packages reproducible.
nobu (Nobuyoshi Nakada)
10:12 AM Revision 8142a9b4 (git): make-snapshot: suppress make error messages unless failed
nobu (Nobuyoshi Nakada)
10:09 AM Revision 47d143be (git): make-snapshot: copy cache files instead of linking
To get rid of setting mode and mtime of the original cache files. nobu (Nobuyoshi Nakada)
10:07 AM Revision b7ae26e2 (git): vcs.rb: fix to export git-svn version
* Use the given branch name instead of implicit 'HEAD".
* Format like as git-svn when `from` or `to` is SVN revision
number.
nobu (Nobuyoshi Nakada)
09:32 AM Revision ad67adb5 (git): [ruby/fileutils] Use pend instead of skip
https://github.com/ruby/fileutils/commit/ba2c24e2d7 hsbt (Hiroshi SHIBATA)
09:32 AM Revision c14755e9 (git): [ruby/fileutils] improve the compatibility of minitest
https://github.com/ruby/fileutils/commit/f16f5a0dd6 hsbt (Hiroshi SHIBATA)
07:29 AM Feature #16233 (Closed): winruby UTF8 Fallback for no CodePage
This is to deal specifically with setting the Region to Arabic which
sets the codepage to 720. This codepage isn't recognised by Ruby which
causes it to fail during initialisation when setting up LOCALE.
This patch to Ruby is necess...
gabuscus (Gabriel Nagy)
06:24 AM Revision 3ffd98c5 (git): add debug counters for vm_search_method_slowpath()
Implemented fine-grained inspection of cache misshits. Handy for
counting the reasons why an inline method cache was evicted.
shyouhei (Shyouhei Urabe)
06:24 AM Revision 84fc1de5 (git): use bind_call for test-all --gc-stress
This one allocation of Method object is worth avoiding. We don't
want to test UnboundMethod#bind right here. GC need not run.
shyouhei (Shyouhei Urabe)
04:44 AM Revision 1c999952 (git): Resolve unused local variable reported by LGTM
LGTM reports that the value assigned to local variable 'shared' is never
used:
https://lgtm.com/projects/g/ruby/ruby/snapshot/f319a5d064627c6641817ec2ed16b97b4d215148/files/misc/lldb_cruby.py#x6512c0281581a470:1
This problem was introdu...
Romain Tartière
03:48 AM Revision a515e3f9 (git): * 2019-10-03 [ci skip]
git[bot]
03:48 AM Revision 7e060d50 (git): * expand tabs. [ci skip]
Tabs were expanded because previously the file did not have any tab indentation.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
git[bot]
03:45 AM Revision eb92159d (git): Revert https://github.com/ruby/ruby/pull/2486
This reverts commits: 10d6a3aca7 8ba48c1b85 fba8627dc1 dd883de5ba
6c6a25feca 167e6b48f1 7cb96d41a5 3207979278 595b3c4fdd 1521f7cf89
c11c5e69ac cf33608203 3632a812c0 f56506be0d 86427a3219 .
The reason for the revert is that we observe AB...
shyouhei (Shyouhei Urabe)
02:27 AM Revision f9981d79 (git): Bump version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

10/02/2019

10:33 PM Bug #16100 (Closed): Visibility modifiers don't call super correctly when overridden in alternative ways
prebsch (Patrick Rebsch) wrote:
> The source code makes it clear that the argument-less version is dependent upon a scope. So if I understand you correctly, the call to `super` in `Parent` is what would be calling this, and since that i...
jeremyevans0 (Jeremy Evans)
10:26 PM Bug #16132 (Closed): Ruby 2.7 IRB crashes after pressing Insert and Delete
jeremyevans0 (Jeremy Evans)
10:24 PM Bug #15629: super_method fails on binded/unbinded/cloned methods
This bug is due to the fact that bind/unbind/clone do not copy the `iclass` entry, and without an `iclass` entry, `super_method` returns `nil`. Attached is a patch that fixes this issue. jeremyevans0 (Jeremy Evans)
09:36 PM Feature #15865: `<expr> in <pattern>` expression
mame (Yusuke Endoh) wrote:
> The difficult part is that `<pattern>` is not distinguishable from `<expr>` for a parser. For example, `[1, 2, x, y]` is valid not only as `<pattern>` but also as `<expr>`.
> ...
Yes, I see! I'm sorry I...
jonathanhefner (Jonathan Hefner)
03:18 PM Bug #16169 (Closed): rescue in a method argument
jeremyevans0 (Jeremy Evans)
03:14 PM Bug #16181 (Closed): return from a proc in a module/class body returns out of script. Should be LJE.
Fixed by commit:ef697388becedf36966a2edcdcf88baca342b9e2. jeremyevans0 (Jeremy Evans)
03:06 PM Bug #15355 (Closed): Random segmentation faults in development environment
jeremyevans0 (Jeremy Evans)
03:05 PM Bug #15173 (Closed): Segmentation fault
jeremyevans0 (Jeremy Evans)
03:04 PM Bug #14560 (Closed): Segmentation fault near the end of large Rails test suite
jeremyevans0 (Jeremy Evans)
03:03 PM Bug #14682 (Closed): Error [BUG] unexpected THREAD_KILLED
jeremyevans0 (Jeremy Evans)
03:03 PM Bug #14616 (Closed): Segmentation fault in net/http/response
jeremyevans0 (Jeremy Evans)
03:01 PM Bug #15816 (Closed): String#casecmp compares uppercase characters instead of lowercase
Fixed in commit:082424ef58116db9663a754157d6c441d60fd101. jeremyevans0 (Jeremy Evans)
02:58 PM Bug #16162 (Closed): Resque::DirtyExit - Child process received unhandled signal (You may have encountered a bug in the Ruby interpreter or extension libraries)
jeremyevans0 (Jeremy Evans)
02:57 PM Bug #16149 (Closed): Segfault during page reload in rails
jeremyevans0 (Jeremy Evans)
02:56 PM Revision ef697388 (git): Treat return in block in class/module as LocalJumpError (#2511)
return directly in class/module is an error, so return in
proc in class/module should also be an error. I believe the
previous behavior was an unintentional oversight during the
addition of top-level return in 2.4.
jeremyevans (Jeremy Evans)
11:18 AM Revision 545e51c1 (git): merge revision(s) 63ab7046a1a5c374a52dfa79406fe52d92d80344:
Skip POINTOPOINT of IPv4 too instead of IPv6 only
Fix following error on `utun*`:
```
1) Error:
TestSocket#test_udp_server:
Errno::ECONNREFUSED: Connection refused - recvmsg(2)
```
git-...
nagachika (Tomoyuki Chikanaga)
10:45 AM Bug #16198 (Closed): Packaging regression in ruby-2.4.8
znz (Kazuhiro NISHIYAMA)
10:37 AM Bug #16198: Packaging regression in ruby-2.4.8
This can be closed — I see now that it’s a duplicate. qyliss (Alyssa Ross)
10:33 AM Bug #16198 (Closed): Packaging regression in ruby-2.4.8
In the ruby-2.4.8 tarball, the ruby-2.4.8/gems directory does not
contain the extracted default gems. This is a change from 2.4.7, and is
also not the case in 2.5.7. I would not expect this to change for a
teeny release, and suspect...
qyliss (Alyssa Ross)
09:27 AM Bug #16197 (Closed): make install under non-root user fails for Ruby 2.4.8 tarball
We've released 2.4.9.
https://www.ruby-lang.org/en/news/2019/10/02/ruby-2-4-9-released/
Sorry for your inconvenience.
mame (Yusuke Endoh)
04:25 AM Bug #16197: make install under non-root user fails for Ruby 2.4.8 tarball
The cause should be resolved with the following commits:
- https://github.com/ruby/ruby/commit/5af2c8735a22e6b54acf4164b1f1f7bac98e7111
- https://github.com/ruby/ruby/commit/a61ae414b6f8310c9dff9a6f18b6064499167513
We're preparing...
sorah (Sorah Fukumori)
03:50 AM Bug #16197 (Closed): make install under non-root user fails for Ruby 2.4.8 tarball
http://www.ruby-lang.org/en/news/2019/10/01/ruby-2-4-8-released/
Ruby 2.4.8 tarball doesn't install under non-root user with the following error:
```
installing bundle gems: /usr/share/rbenv/versions/2.4.8/lib/ruby/gems/2.4....
sorah (Sorah Fukumori)
08:19 AM Revision 9759e3c9 (git): fix assertion number.
On parallel test, there are additional tests because of implicit
checkers which are enabled on 84cbce3d88.
ko1 (Koichi Sasada)
08:05 AM Feature #16182: Should `expr in a, b, c` be allowed or not?
I vote for 3 in the OP.
Matz.
matz (Yukihiro Matsumoto)
03:24 AM Feature #16182: Should `expr in a, b, c` be allowed or not?
I wonder if it would make sense to reverse this to be left-to-right (LTR) rather than right-to-left (RTL) to make it easier to parse.
I cannot think of another RTL syntax in Ruby at the moment, including the current `for ... in` state...
baweaver (Brandon Weaver)
08:03 AM Revision 4ed51b39 (git): Fixed failure message for `clean-cache`
nobu (Nobuyoshi Nakada)
07:23 AM Revision 84cbce3d (git): Enable checkers on parallel test.
parallel test (`make test-all TESTS=-j8`) runs tests on specified
number of processes. However, some test checkers written in
`runner.rb` are not loaded. This fix enable these checkers on
parallel tests.
See also: https://github.com/rub...
ko1 (Koichi Sasada)
07:22 AM Bug #16195 (Assigned): Invalid certificate on https://ruby-lang.org/
hsbt (Hiroshi SHIBATA)
07:05 AM Revision 99d3043b (git): Iseq#to_binary: dump flag for **nil (#2508)
RUBY_ISEQ_DUMP_DEBUG=to_binary and the attached test case was failing.
Dump the flag to make sure `**nil` can round-trip properly.
alanwu (Alan Wu)
05:38 AM Bug #16185: basictest failure on AIX 6.1 for 64bit build
I couldn't resolve this issue. Any updates? Reshma (Reshma Kumar)
05:01 AM Revision 817a6b9d (git): Bump to 2.4.9 for repackaging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:00 AM Revision 4946d83a (git): * 2019-10-02 [ci skip]
git[bot]
04:00 AM Revision a61ae414 (git): Fix the order of executing `after-update` task
U.Nakamura
03:59 AM Revision 5af2c873 (git): Should fail if `system` failed
U.Nakamura
02:19 AM Bug #16196 (Closed): `RUBY_DEBUG=gc_stress ruby -ropenssl` dumps core
```
% RUBY_DEBUG=gc_stress gdb --args ruby --disable-gems -ropenssl -ve0
GNU gdb (Ubuntu 8.2-0ubuntu1~18.04) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp...
shyouhei (Shyouhei Urabe)
01:28 AM Bug #16194: Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
@shevegen
There is no change that seems to affect openssl or build process between ruby-2.6.4 and ruby-2.6.5. Do you mean that you could build ruby-2.6.4 before? Can you still build ruby-2.6.4 in your current environment?
And, ar...
mame (Yusuke Endoh)

10/01/2019

10:38 PM Revision 51456215 (git): bump up teeny version to 2.6.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
09:53 PM Bug #16195 (Closed): Invalid certificate on https://ruby-lang.org/
https://ruby-lang.org/ is serving a Let’s Encrypt certificate for lists.ruby-lang.org, which is invalid for ruby-lang.org. qyliss (Alyssa Ross)
07:31 PM Bug #16136: String corruption in 2.6.4
Thanks so much! <3 deivid (David Rodríguez)
01:50 PM Bug #16136: String corruption in 2.6.4
FYI: Ruby 2.6.5 has been released, which includes the fix for this issue.
https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-6-5-released/
mame (Yusuke Endoh)
04:33 PM Bug #16194 (Feedback): Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
Could you check the followings?
openssl.so refers `EC_GROUP_new_curve_GF2m` defined in libcrypto.so.
```
$ ldd .ext/x86_64-linux/openssl.so
linux-vdso.so.1 (0x00007ffc594d3000)
libruby.so.2.7 => not found
libssl.so.1.1 => /...
nobu (Nobuyoshi Nakada)
02:57 PM Bug #16194 (Closed): Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
I am trying to compile the latest 2.6.5 release, just released recently:
https://ftp.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.xz
I had a problem, which will be mentioned soon; but I first made sure that I do not
have this pro...
shevegen (Robert A. Heiler)
03:03 PM Bug #16181: return from a proc in a module/class body returns out of script. Should be LJE.
I added a comment about removing the pre 2.7 spec as it is unintended behavior. enebo (Thomas Enebo)
01:36 PM Feature #16182: Should `expr in a, b, c` be allowed or not?
I can not comment/answer on the issue and questions; I think this is for
matz and the core team to decide either way, whatever the way.
I did, however had, want to add that:
json in {a:, b:, c:}
is quite difficult to read (...
shevegen (Robert A. Heiler)
01:19 PM Revision 15606963 (git): expose assert_raise and assert_join_threads
hsbt (Hiroshi SHIBATA)
12:26 PM Revision 55de0282 (git): Remove draft-release.yml [ci skip]
I thought default branch's workflow runs on any tags,
but it does not run for stable branches without draft-release.yml.
So I abandoned, and use workflow in ruby/actions instead.
znz (Kazuhiro NISHIYAMA)
11:06 AM Revision 1a45b044 (git): lib/shell/command-processor.rb (Shell#[]): prevent unknown command
`FileTest.send(command, ...)` allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.
patched by <mame@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67820...
U.Nakamura
11:05 AM Revision 8eff476b (git): merge revision(s) 3ce238b5f9795581eb84114dcfbdf4aa086bfecc
WEBrick: prevent response splitting and header injection
This is a follow up to d9d4a28.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
git-svn-id: svn...
U.Nakamura
11:05 AM Revision 38d2d0db (git): merge revision(s) 36e057e26ef2104bc2349799d6c52d22bb1c7d03
Loop with String#scan without creating substrings
Create the substrings necessary parts only, instead of cutting the
rest of the buffer. Also removed a useless, probable typo, regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
U.Nakamura
11:04 AM Revision 88387876 (git): merge revision(s) a0a2640b398cffd351f87d3f6243103add66575b
Fix for wrong fnmatch patttern
* dir.c (file_s_fnmatch): ensure that pattern does not contain a
NUL character. https://hackerone.com/reports/449617
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67817 b2dd03c8-39d4-4...
U.Nakamura
11:02 AM Revision 7dce4316 (git): Forgotten to update :)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:01 AM Revision 3af01ae1 (git): lib/shell/command-processor.rb (Shell#[]): prevent unknown command
`FileTest.send(command, ...)` allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.
patched by <mame@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67814...
U.Nakamura
11:01 AM Revision f98b3023 (git): merge revision(s) 3ce238b5f9795581eb84114dcfbdf4aa086bfecc
WEBrick: prevent response splitting and header injection
This is a follow up to d9d4a28.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
git-svn-id: svn...
U.Nakamura
10:59 AM Revision 05cdcdc6 (git): merge revision(s) 36e057e26ef2104bc2349799d6c52d22bb1c7d03
Loop with String#scan without creating substrings
Create the substrings necessary parts only, instead of cutting the
rest of the buffer. Also removed a useless, probable typo, regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
U.Nakamura
10:59 AM Revision d6adc68d (git): lib/shell/command-processor.rb (Shell#[]): prevent unknown command
`FileTest.send(command, ...)` allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67810 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nagachika (Tomoyuki Chikanaga)
10:58 AM Revision 02ea1fdf (git): merge revision(s) a0a2640b398cffd351f87d3f6243103add66575b
Fix for wrong fnmatch patttern
* dir.c (file_s_fnmatch): ensure that pattern does not contain a
NUL character. https://hackerone.com/reports/449617
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67809 b2dd03c8-39d4-4...
U.Nakamura
10:57 AM Revision 8d5d5d56 (git): merge revision(s) 3ce238b5f9795581eb84114dcfbdf4aa086bfecc:
WEBrick: prevent response splitting and header injection
This is a follow up to d9d4a28f1cdd05a0e8dabb36d747d40bbcc30f16.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.
...
nagachika (Tomoyuki Chikanaga)
10:56 AM Revision 1443dfd7 (git): merge revision(s) 36e057e26ef2104bc2349799d6c52d22bb1c7d03:
Loop with String#scan without creating substrings
Create the substrings necessary parts only, instead of cutting the
rest of the buffer. Also removed a useless, probable typo, regexp.
git-svn-id: svn+ssh://ci.ruby-lang...
nagachika (Tomoyuki Chikanaga)
10:56 AM Revision 529100b8 (git): merge revision(s) a0a2640b398cffd351f87d3f6243103add66575b:
Fix for wrong fnmatch patttern
* dir.c (file_s_fnmatch): ensure that pattern does not contain a
NUL character. https://hackerone.com/reports/449617
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67806 ...
nagachika (Tomoyuki Chikanaga)
10:27 AM Bug #16173: ENV.delete returns nil when name does not exist and block given
https://github.com/ruby/ruby/pull/2514 nobu (Nobuyoshi Nakada)
03:34 AM Bug #16173: ENV.delete returns nil when name does not exist and block given
burdettelamar@yahoo.com (Burdette Lamar) wrote:
> Thanks, @alanwu. I'm refreshing diff.txt with more fulsome documentation, along with enhanced testing.
Thank you for the patch.
```diff
+ * Deletes the environment variable for +...
nobu (Nobuyoshi Nakada)
10:19 AM Revision 3ce238b5 (git): WEBrick: prevent response splitting and header injection
This is a follow up to d9d4a28f1cdd05a0e8dabb36d747d40bbcc30f16.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
mame (Yusuke Endoh)
10:19 AM Revision 36e057e2 (git): Loop with String#scan without creating substrings
Create the substrings necessary parts only, instead of cutting the
rest of the buffer. Also removed a useless, probable typo, regexp.
nobu (Nobuyoshi Nakada)
10:19 AM Revision a0a2640b (git): Fix for wrong fnmatch patttern
* dir.c (file_s_fnmatch): ensure that pattern does not contain a
NUL character. https://hackerone.com/reports/449617
nobu (Nobuyoshi Nakada)
06:25 AM Feature #15865: `<expr> in <pattern>` expression
@jonathanhefner Thank you for your comment.
> * `<pattern> <~ <expr>`
The difficult part is that `<pattern>` is not distinguishable from `<expr>` for a parser. For example, `[1, 2, x, y]` is valid not only as `<pattern>` but also ...
mame (Yusuke Endoh)
03:24 AM Bug #16192: ENV.update hash values ignored when block given
I think this is a bug, for the same reason as [Bug #16173].
https://github.com/ruby/ruby/pull/2512
nobu (Nobuyoshi Nakada)
 

Also available in: Atom