Project

General

Profile

Activity

From 05/05/2019 to 05/11/2019

05/11/2019

11:40 PM Feature #15842 (Closed): Allow DelegateClass() to module_eval given block
Methods that return classes often module_eval the given block
(e.g. `Class.new` and `Struct.new`). This allows `Del...
jeremyevans0 (Jeremy Evans)
03:52 PM Revision 3211a0a1 (git): * 2019-05-12
git[bot]
03:13 PM Revision e9bb30d4 (git): Expect no conflict in the parser
nobu (Nobuyoshi Nakada)
01:42 PM Misc #15800 (Closed): Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most pattern matches are less than or equal to 4 results
nobu (Nobuyoshi Nakada)
01:40 PM Feature #15281 (Assigned): Speed up Set#intersect with size check.
nobu (Nobuyoshi Nakada)
01:40 PM Feature #15281: Speed up Set#intersect with size check.
The author of set.rb is knu. nobu (Nobuyoshi Nakada)
12:11 PM Feature #15829: Object#then_if(condition){}
I have exactly the same concern as nobu. And that problem stems from the fact that, in this proposal, the condition i... sawa (Tsuyoshi Sawada)
07:13 AM Feature #15829: Object#then_if(condition){}
As it seems useful only when `condition` doesn't use the parameter `query`, it is questionable to me if it is generic... nobu (Nobuyoshi Nakada)

05/10/2019

09:30 PM Feature #15840: configuration path search
I can't say much about the API/name but the functionality looks useful/good in my opinion. shevegen (Robert A. Heiler)
01:02 PM Revision 79931ddd (git): Propagate parser_params to rb_yytnamerr
nobu (Nobuyoshi Nakada)
01:00 PM Revision dc65e751 (git): Adjust indent
nobu (Nobuyoshi Nakada)
12:48 PM Revision aa52464e (git): 15f45ae4d1 and 56528da3e broke the darwin environment.
Revert "Propagate parser_params to rb_yytnamerr"
This reverts commit 15f45ae4d12f14714ab3021b60887d8c7bf4b095.
hsbt (Hiroshi SHIBATA)
12:45 PM Revision d4c8577a (git): Revert "Fix for bison 2.3"
This reverts commit 56528da3efb32bb773b22740c24450246b861e58. hsbt (Hiroshi SHIBATA)
07:58 AM Revision 56528da3 (git): Fix for bison 2.3
nobu (Nobuyoshi Nakada)
07:40 AM Revision 15f45ae4 (git): Propagate parser_params to rb_yytnamerr
nobu (Nobuyoshi Nakada)
06:22 AM Revision 9a4d39b9 (git): No longer svn & git-svn are used
nobu (Nobuyoshi Nakada)
05:13 AM Revision dbcc224f (git): Removed old names of internal methods
nobu (Nobuyoshi Nakada)
05:12 AM Revision a7b68e63 (git): Suppress a warning in Psych&YAML with verbose mode
nobu (Nobuyoshi Nakada)
03:21 AM Revision c8a891d1 (git): Fix missing `\A`
znz (Kazuhiro NISHIYAMA)
02:54 AM Revision bef58294 (git): Add one more retry for win32ole event matcher
to fix
https://ci.appveyor.com/project/ruby/ruby/builds/24438615/job/yld1utsltxag9dr2
k0kubun (Takashi Kokubun)
12:41 AM Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
wanabe (_ wanabe) wrote:
> How about delaying `gc_finalize_deferred()` phase after `gc_update_references()`?
Like...
wanabe (_ wanabe)
12:00 AM Revision a85ed432 (git): Do not access the internal member
nobu (Nobuyoshi Nakada)

05/09/2019

07:28 PM Revision c4d49749 (git): * 2019-05-10
git[bot]
07:27 PM Revision 5f05851a (git): add FROZEN to lldb debug output
tenderlovemaking (Aaron Patterson)
03:15 PM Bug #15409: OpenStruct error when attribute is called 'method'
I just encountered this issue trying to pop a json structure into an OpenStruct. It would be great if there was a wa... tansaku (Sam Joseph)
02:40 PM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
I felt uncomfortable with the behavior of `rb_num2ull`. I don't know if it is correct to comment on this ticket, but ... irxground (Daichi Ota)
11:46 AM Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
`rb_gc()` calls `garbage_collect()` and `gc_finalize_deferred()`.
Finalizers may create (or recycle) objects, but th...
wanabe (_ wanabe)
11:19 AM Bug #15841 (Closed): SegFault in OpenSSL::PKey::RSA#private_encrypt
Hi.
I am writing code that gets rsa private_key using `OpenSSL::PKey::RSA#set_key`.
As a test, I tried to run fol...
thekuwayama (tomoya kuwayama)
10:22 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
wishdev (John Higgins) wrote:
> The tests for this are incorrect and show why this does not work.
>
> From the te...
yennguyenh (yen nguyen)
08:09 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
nobu (Nobuyoshi Nakada) wrote:
> I think it should be under `Math` or `Float`, and a independent gem could be a good...
yennguyenh (yen nguyen)
08:01 AM Bug #15816: String#casecmp compares uppercase characters instead of lowercase
Indeed, `rb_enc_upper` is used at https://github.com/ruby/ruby/commit/269bd16b28e86d1333969389b7b402f2915e336f#diff-7... nobu (Nobuyoshi Nakada)
07:35 AM Bug #15816: String#casecmp compares uppercase characters instead of lowercase
Until ruby 1.8.7, it seemed to use downcase. It was changed at r14227 to support encoding. I think the behavior cha... mame (Yusuke Endoh)
03:38 AM Bug #15816: String#casecmp compares uppercase characters instead of lowercase
The documentation of `String#casecmp` does not specify how it is is implemented, so it seems fair to consider switchi... jeremyevans0 (Jeremy Evans)
06:50 AM Feature #13123 (Closed): NilClass#dig
jeremyevans0 (Jeremy Evans)
06:43 AM Feature #13123: NilClass#dig
I am convinced by shyouhei's comment. Please close this feature request. sawa (Tsuyoshi Sawada)
06:49 AM Feature #15840 (Open): configuration path search
Related to #15828, a standard method to search configuration files would be nice.
We (naruse and nobu) talked abou...
nobu (Nobuyoshi Nakada)
06:49 AM Feature #12096 (Closed): New notation for instance variables and class variables
jeremyevans0 (Jeremy Evans)
06:34 AM Feature #12096: New notation for instance variables and class variables
I withdraw this feature request. Please close it. sawa (Tsuyoshi Sawada)
06:49 AM Feature #11797 (Closed): `Enumerator#with_object` with multiple objects
jeremyevans0 (Jeremy Evans)
06:21 AM Feature #11797: `Enumerator#with_object` with multiple objects
I now realize that, for the given use case, I can use `with_object` multiple times as follows:
```ruby
e
.each.w...
sawa (Tsuyoshi Sawada)
06:45 AM Bug #15839 (Closed): mixed encoding heredoc should be a syntax error regardless the order
This heredoc isn't a syntax error,
```ruby
#encoding: cp932
p <<-STR
\xe9\x9d
\u1234
STR
```
whereas this...
nobu (Nobuyoshi Nakada)
06:10 AM Bug #15838 (Third Party's Issue): IOError: uninitialized stream
joeychou0235 (Joey Chou) wrote:
> - **Have you read our issues document, https://github.com/bundler/bundler/blob/mas...
nobu (Nobuyoshi Nakada)
05:12 AM Revision 025206d0 (git): Fallback to an invalid branch name if no branch found
nobu (Nobuyoshi Nakada)
05:02 AM Revision eb84b33c (git): Search a branch name at a detached head
nobu (Nobuyoshi Nakada)
03:41 AM Bug #15789 (Closed): Parse error when numbered parameter is used in a lambda that is a default value of other optarg
nobu committed my fix for this at commit:bb4ac7a6506971dc34b5656f1a69aadc7299fcab jeremyevans0 (Jeremy Evans)
02:55 AM Bug #15670: Ripper treats :"sym" as xstring
YARD is also broken, though I'm not sure how severe is that: https://github.com/lsegal/yard/issues/1243. I suspect th... skalee (Sebastian Skalacki)
01:04 AM Revision c06ddfee (git): str_duplicate: Don't share with a frozen shared string
This is a follow up for 3f9562015e651735bfc2fdd14e8f6963b673e22a.
Before this commit, it was possible to create a sha...
alanwu (Alan Wu)
01:01 AM Revision d802698d (git): Push the current (topic) branch to the remote upstream
nobu (Nobuyoshi Nakada)
01:00 AM Revision 4fabb744 (git): Show the commit command if dryrun
nobu (Nobuyoshi Nakada)
12:23 AM Revision f1486fea (git): require 'stringio'
naruse (Yui NARUSE)

05/08/2019

11:54 PM Revision 10723dd6 (git): dryrun option is for `push`, not `git`
nobu (Nobuyoshi Nakada)
10:56 PM Revision dc405eb7 (git): Pin finalizer table
Objects in the finalizer table stay pinned for now. In some cases, the
key could move which would cause a miss when ...
tenderlovemaking (Aaron Patterson)
10:26 PM Revision 4ff0911c (git): * 2019-05-09
git[bot]
10:26 PM Revision 8b12db6e (git): * expand tabs.
git[bot]
10:19 PM Revision c53f8794 (git): Calling `obj_info` during sweep is unsafe
`obj_info` will look at references of objects in some cases (for example
it will try to access path information on IS...
tenderlovemaking (Aaron Patterson)
05:37 PM Bug #15838 (Third Party's Issue): IOError: uninitialized stream
- **What did you do?**
I ran the command `/Users/joeychou/.rbenv/versions/2.3.0/bin/bundle install`
- **Wha...
joeychou0235 (Joey Chou)
03:04 PM Bug #15835: Path traversal symlink - WEBrick
While I agree with naruse, it may be worthwhile to mention this briefly at e. g.
https://ruby-doc.org/stdlib/libdoc...
shevegen (Robert A. Heiler)
02:21 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
@byroot thanks for sharing the benchmark!
IMO module names should be frozen
even if it's easy to fix, this chan...
ahorek (Pavel Rosický)
11:30 AM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
@mame re benchmark
So I decided to run this against redmine boot, using this branch: https://github.com/redmine/re...
byroot (Jean Boussier)
08:28 AM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
> Is HashWithIndifferentAccess the main rationale behind this request?
No. It's simply the poster child of how com...
byroot (Jean Boussier)
03:15 AM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
Is `HashWithIndifferentAccess` the main rationale behind this request?
I have doubts about the usefulness of `Hash...
marcandre (Marc-Andre Lafortune)
10:29 AM Feature #15837: Module#name_components
I was about to write a long reply, but I think it would become too long, so just a shorter comment.
I use somethin...
shevegen (Robert A. Heiler)
03:49 AM Feature #15837 (Assigned): Module#name_components
I sometimes wrote the expression like below to extract the components of class path:
```ruby
klass.name.split('::...
mrkn (Kenta Murata)
08:30 AM Revision a95ca6d5 (git): Trim MJIT output from TestHideSkip
to prevent failure like
https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cd28aa6ab79a30008ee819b?step=5cd28b2403f44...
k0kubun (Takashi Kokubun)
08:00 AM Revision 29fcb37a (git): Fixed a typo
nobu (Nobuyoshi Nakada)
08:00 AM Revision c54d5872 (git): Configure directories for headers and libraries automatically
[EXPERIMENTAL] nobu (Nobuyoshi Nakada)
07:51 AM Revision a1bab3d1 (git): Escape $@ in mjit-debug-on-fail
k0kubun (Takashi Kokubun)
07:46 AM Revision e8e415b5 (git): Add workaround for `Permission denied` of `cp`
see r67347
recent log: https://travis-ci.org/ruby/ruby/jobs/529640417
znz (Kazuhiro NISHIYAMA)
07:26 AM Revision b0965cc2 (git): Add missing chmod for mjit-debug-on-fail
k0kubun (Takashi Kokubun)
07:26 AM Revision 60869ebd (git): Wrap mjit-debug-on-fail for Wercker failure
for debugging failure like
https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cc98936ab79a30008eb86fa?step=5cc990d73d...
k0kubun (Takashi Kokubun)
06:45 AM Revision d736080c (git): Use ruby_bug guard
nobu (Nobuyoshi Nakada)
06:13 AM Revision a7cbb659 (git): Do not break rubyspec for old Ruby
Fixing 7d805e67f3275aef066d77aa9c32bef715c362ed k0kubun (Takashi Kokubun)
05:59 AM Revision 229e5053 (git): Drop -fs from rubyspec to see test results easily
Recently `ruby/spec on Ruby 2.4` seems stable. k0kubun (Takashi Kokubun)
02:18 AM Revision 6ec43d3d (git): * 2019-05-08
git[bot]
02:16 AM Revision d56b0cb5 (git): Use `start_with?(quoted)` instead of `[0] == char literal`
znz (Kazuhiro NISHIYAMA)

05/07/2019

11:05 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
> Matz said that but it will not be for ruby 3.0 at the least.
I assumed it was due for 3.0, but good to know it i...
byroot (Jean Boussier)
04:47 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
> frozen_string_literalAFAIK should become the default some day
Matz said that but it will not be for ruby 3.0 at ...
shevegen (Robert A. Heiler)
03:46 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
@mame very good point. I'll try to run our app against that patch tomorrow. byroot (Jean Boussier)
03:36 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
> how is the GC handling in case the Symbol was a dynamic generated one?
It copies it - strings and symbols aren’t...
chrisseaton (Chris Seaton)
02:54 PM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
is the String returned by rb_sym2str not always frozen?
how is the GC handling in case the Symbol was a dynamic ge...
Hanmac (Hans Mackowiak)
02:42 PM Feature #15836 (Feedback): [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
Could you show us a benchmark, especially non-micro one? I believe that it is definitely required to discuss this pr... mame (Yusuke Endoh)
02:33 PM Feature #15836 (Rejected): [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
# Why ?
In many codebases, especially Rails apps, these two methods are the source of quite a lot of object alloca...
byroot (Jean Boussier)
02:31 PM Revision efda52ba (git): Use cgit instead of svn.
hsbt (Hiroshi SHIBATA)
02:16 PM Revision 45b125ec (git): Update the canonical repository url.
hsbt (Hiroshi SHIBATA)
01:53 PM Revision 5eb5613f (git): Recent commits of trunk do not have svn revision
znz (Kazuhiro NISHIYAMA)
01:42 PM Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
Recursive finalizer definition raises a similar error on my environment.
```
$ ./miniruby -ve 'def foo(c = 10); O...
wanabe (_ wanabe)
12:58 PM Revision a47f598d (git): Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most pattern matches are less than or equal to 4 results
Closes: https://github.com/ruby/ruby/pull/2135 methodmissing (Lourens Naudé)
12:30 PM Bug #15835 (Feedback): Path traversal symlink - WEBrick
On Apache with `FollowSymLinks` enabled, it can traverse out of DocumentRoot.
hxxps://httpd.apache.org/docs/2.4/en/u...
naruse (Yui NARUSE)
09:33 AM Bug #15835 (Closed): Path traversal symlink - WEBrick
**Summary:**
A path traversal issue was observed in WEBrick ( WEBrick/1.4.2 (Ruby/2.6.3/2019-04-16)) via symlink. WE...
Dhiraj (Dhiraj Mishra)
12:21 PM Bug #15780 (Closed): Module#const_defined?(String) executes autoloads
Applied in changeset commit:git|7d805e67f3275aef066d77aa9c32bef715c362ed.
----------
Avoid triggering autoload in Mo...
byroot (Jean Boussier)
10:04 AM Bug #15780: Module#const_defined?(String) executes autoloads
I made a patch for this: https://github.com/ruby/ruby/pull/2172 byroot (Jean Boussier)
12:20 PM Revision 7d805e67 (git): Avoid triggering autoload in Module#const_defined?(String)
[Bug #15780] byroot (Jean Boussier)
11:13 AM Feature #15777: autoload?(cname, inherit=true)
I made a patch for this feature: https://github.com/ruby/ruby/pull/2173 byroot (Jean Boussier)
08:36 AM Revision 6786fe44 (git): * 2019-05-07
git[bot]
07:24 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Since it was recently mentioned, in particular in regards to names after kaigi 2019,
I think Threads::Feather as suc...
shevegen (Robert A. Heiler)
05:10 AM Revision 4dc5d3c5 (git): add new debug_counters about is_pointer_to_heap().
is_pointer_to_heap() is used for conservative marking. To analyze
this function's behavior, introduce some debug_coun...
ko1 (Koichi Sasada)
04:11 AM Bug #15834 (Closed): Mutating the result of SortedSet.to_a mutates the original set, potentially violating the set's guarantees
``` ruby
require 'set'
set = SortedSet[1, 2, 3]
set.to_a << -1
set.to_a << 3
set.each do |x|
puts x
end
...
viko (Viko Viko)
03:02 AM Bug #15794 (Third Party's Issue): Can not start Puma with Rails after bundle install
nagachika (Tomoyuki Chikanaga)

05/06/2019

10:42 PM Bug #15828: DOTfiles and DOTfolders aren't allowed in $HOME folder on Haiku
I'm considering to support XDG guideline with rubygems, irb and etc. hsbt (Hiroshi SHIBATA)
08:40 AM Bug #15828: DOTfiles and DOTfolders aren't allowed in $HOME folder on Haiku
References to dot-files under the HOME in standard libraries are:
* `~/.irbrc` by irb
* `~/.options/` by optparse
...
nobu (Nobuyoshi Nakada)
04:53 PM Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
Continuing to see intermittent SEGV's, today:
```
/ruby/test/ruby/test_gc_compact.rb:114: [BUG] ROOT finalizers poi...
MSP-Greg (Greg L)
03:47 PM Bug #15789: Parse error when numbered parameter is used in a lambda that is a default value of other optarg
jeremyevans0 (Jeremy Evans) wrote:
> I think the `ordinary parameter is defined` error makes sense if you consider t...
nobu (Nobuyoshi Nakada)
02:03 PM Bug #15490: socket.rb - recurring segmentation faults
Some background to how I have worked around this for now, which may be useful.
I use the parallel gem https://github...
matthew.oriordan (Matthew O'Riordan)
01:48 PM Bug #15490: socket.rb - recurring segmentation faults
This issue is still happening with the latest version of Ruby 2.6.3. Happy to provide more logs / run tests if I can... matthew.oriordan (Matthew O'Riordan)
10:29 AM Feature #15833 (Open): Some refactors for shared-root array
I wrote some patches for shared-root array.
But I can't decide whether to commit them because they include the modif...
wanabe (_ wanabe)
08:10 AM Misc #15782: DevelopersMeeting20190522Japan
greggzst (Grzegorz Jakubiak) wrote:
> * [Feature #15323] [PATCH] Proposal: Add Enumerable#filter_map
> * It's expr...
greggzst (Grzegorz Jakubiak)
06:30 AM Revision 7e72ce0f (git): Load OptionParser defaults from XDG and Haiku standards
nobu (Nobuyoshi Nakada)
06:01 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
What is the difference towards e. g. `hash.delete()`?
People may ask about this difference. The '!'
too since you...
shevegen (Robert A. Heiler)
02:08 AM Revision 970a25b1 (git): * 2019-05-06
git[bot]
02:02 AM Revision f1b0db2c (git): Revert "UTF-8 is one of byte based encodings"
This reverts commit 5776ae347540ac19c40d146a3566a806cd176bf1.
Mistaken `max` as `min`.
nobu (Nobuyoshi Nakada)

05/05/2019

11:36 PM Bug #15789: Parse error when numbered parameter is used in a lambda that is a default value of other optarg
nobu (Nobuyoshi Nakada) wrote:
> > ```ruby
> > m2 = ->(a = @1) {a}
> > # SyntaxError ((irb):1: ordinary parameter ...
jeremyevans0 (Jeremy Evans)
07:44 AM Bug #15789: Parse error when numbered parameter is used in a lambda that is a default value of other optarg
jeremyevans0 (Jeremy Evans) wrote:
> Attached is a one-line patch that fixes this issue, hopefully without causing a...
nobu (Nobuyoshi Nakada)
04:47 AM Bug #15789: Parse error when numbered parameter is used in a lambda that is a default value of other optarg
jeremyevans0 (Jeremy Evans) wrote:
> Attached is a one-line patch that fixes this issue, hopefully without causing a...
jeremyevans0 (Jeremy Evans)
04:28 AM Bug #15789: Parse error when numbered parameter is used in a lambda that is a default value of other optarg
Attached is a one-line patch that fixes this issue, hopefully without causing additional issues:
```ruby
m(a = ->...
jeremyevans0 (Jeremy Evans)
08:52 PM Bug #15832 (Closed): IPAddr.new accepts invalid mask IP address
IPAddr.new accepts IP address with multiple mask and/or zero padded one.
```
$ cat ipaddr.rb
require 'ipaddr'
a...
tsuna (Kenta Tsuna)
08:52 PM Feature #15831 (Rejected): Add `Array#extract`, `Hash#extract`, and `ENV.extract`
## Add `Array#extract`
The method removes and returns the elements for which the block returns a true value.
If n...
bogdanvlviv (Bogdan Denkovych)
08:51 PM Feature #15829: Object#then_if(condition){}
Related to https://bugs.ruby-lang.org/issues/15557. sawa (Tsuyoshi Sawada)
08:30 PM Feature #15829: Object#then_if(condition){}
A more complex example:
``` ruby
scope :blacklisted_at, -> (seller=nil, flag=true) {
then_if(! flag.nil?) {
...
foonlyboy (Eike Dierks)
06:48 PM Feature #15829: Object#then_if(condition){}
A (somehow contrived) example:
``` ruby
[1,2,3,4,5].map{|n| n.then_if(n.even?){'even'}}
=> [1, "even", 3, "even"...
foonlyboy (Eike Dierks)
06:35 PM Feature #15829: Object#then_if(condition){}
``` ruby
class Object
def then_if(condition, &block)
if condition
self.then(&block)
else
...
foonlyboy (Eike Dierks)
06:26 PM Feature #15829 (Rejected): Object#then_if(condition){}
I'd like to propose some sugar to Object#then
There should be `Object#then_if(condition, &block)`

The block sh...
foonlyboy (Eike Dierks)
08:11 PM Bug #15830 (Closed): SortedSet's lazy setup causes unpredictable behaviour in subclass's initialize
``` ruby
require 'set'
class SortedSetWithoutLowest < SortedSet
def initialize contents=[]
puts "initiali...
viko (Viko Viko)
07:27 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
Any news on this one? Can we get the ball rolling? :)
I really don't mind doing the work, but would like to get a ...
ivoanjo (Ivo Anjo)
05:31 PM Bug #15827: Haiku: SSL tests failing
Not related to the issue at hand, but perhaps it would be good if travis could
also run/use tests similar as what Gr...
shevegen (Robert A. Heiler)
03:51 PM Bug #15827 (Rejected): Haiku: SSL tests failing
Every SSL-aware testcase fails like this:
```
Generating RDoc documentation
No newer files.
Files: 0...
extrowerk (Zoltán Mizsei)
05:16 PM Bug #15828: DOTfiles and DOTfolders aren't allowed in $HOME folder on Haiku
We need something along theese lines, but integrated as default in ruby:
```
rubver=`ruby --version | cut -d" " -...
extrowerk (Zoltán Mizsei)
04:23 PM Bug #15828 (Closed): DOTfiles and DOTfolders aren't allowed in $HOME folder on Haiku
According to the guidelines, no program should create any file directly in $HOME
For config files we should use th...
extrowerk (Zoltán Mizsei)
03:57 PM Bug #15787: LoadError by EPERM on read-only volume
nobu (Nobuyoshi Nakada) wrote:
> Sorry, I have wrongly got this as a rubygems specific error by just reading the sub...
extrowerk (Zoltán Mizsei)
02:08 PM Bug #15787 (Feedback): LoadError by EPERM on read-only volume
Sorry, I have wrongly got this as a rubygems specific error by just reading the subject.
Opening in non-blocking mod...
nobu (Nobuyoshi Nakada)
10:15 AM Bug #15787: LoadError by EPERM on read-only volume
Here is my patchset against the current master. Please let me know if anything else required.
Patch tested working o...
extrowerk (Zoltán Mizsei)
03:47 PM Bug #15826 (Third Party's Issue): Haiku LIBC_SO and LIBM_SO support for test/fiddle/helper.rb
This is required for the tests.
Haiku comes currently in 2 different flavour: 32 and 64 bit.
64 bit have only one...
extrowerk (Zoltán Mizsei)
03:32 PM Feature #15824: respond_to pattern for pattern match
I don't want to comment so much on the issue as such, but I would like to point
out that it may be a better idea to ...
shevegen (Robert A. Heiler)
12:00 AM Feature #15824 (Open): respond_to pattern for pattern match
rubyに追加されそうなパターンマッチの機能について...
Interger, Array など constantを書くことで、オブジェクトのクラスにマッチングさせる機能があるのを拝見しました。
duck typingを確認するよ...
fukajun (Jun Fukaya)
10:38 AM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
ko1 (Koichi Sasada) wrote:
> it is local problem on it?
I guess, no. It is not a local problem.
It will cause by...
wanabe (_ wanabe)
09:58 AM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
As outlined in the proposal, the following diff fixes the WB miss local to `process_options`
```
diff --git a/rub...
methodmissing (Lourens Naudé)
04:25 AM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
I didn't understand completely, but it is local problem on it? or all of `rb_ary_replace()` calls have the same issue? ko1 (Koichi Sasada)
07:52 AM Revision 594a033f (git): Improve description of Ruby in README
Use improved description as suggested by Olivier Lacan (@olivierlacan),
see https://github.com/ruby/www.ruby-lang.org...
stomar (Marcus Stollsteimer)
07:51 AM Revision 35ff4ed4 (git): Improve documentation for String#{dump,undump}
stomar (Marcus Stollsteimer)
07:32 AM Revision bb4ac7a6 (git): Fix use of numbered parameter inside proc that is default value of optarg
This allows cases such as:
```ruby
m ->(a = ->{@1}) {a}
m.call.call(1)
m2 ->(a: ->{@1}) {a}
m2.call.call(2)
```
Pr...
jeremyevans (Jeremy Evans)
06:33 AM Revision 0c0ed1ce (git): Fix use of numbered parameter inside proc that is default value of optarg
This allows cases such as:
```ruby
m ->(a = ->{@1}) {a}
m.call.call(1)
m2 ->(a: ->{@1}) {a}
m2.call.call(2)
```
Pr...
jeremyevans (Jeremy Evans)
05:48 AM Bug #15825 (Closed): Fix a case where numbered parameters should not be allowed
Applied in changeset commit:git|b8f3be295b694964e88960c0228459b8aadd114a.
----------
Fix a case where numbered param...
jeremyevans (Jeremy Evans)
05:48 AM Bug #15825: Fix a case where numbered parameters should not be allowed
Probably I might think the latter case could be allowed (and forgot to separate these cases), but it doesn't seem wor... nobu (Nobuyoshi Nakada)
04:40 AM Bug #15825 (Closed): Fix a case where numbered parameters should not be allowed
Because `proc{|| @1}` is a syntax error, the following should
also be syntax errors:
```ruby
proc { |
| @1}
...
jeremyevans0 (Jeremy Evans)
05:46 AM Revision b8f3be29 (git): Fix a case where numbered parameters should not be allowed
Because `proc{|| @1}` is a syntax error, the following should
also be syntax errors:
```ruby
proc { |
| @1}
```
```...
jeremyevans (Jeremy Evans)
05:36 AM Bug #15823 (Closed): ARGF.lineno behavior and documentation disagree
Applied in changeset commit:git|374c8f4ebab1a740990330c732b9de965c5e8d10.
----------
Fixed about ARGF.lineno
[Bug #...
nobu (Nobuyoshi Nakada)
05:29 AM Bug #15823: ARGF.lineno behavior and documentation disagree
Thank you, that document is wrong. nobu (Nobuyoshi Nakada)
05:35 AM Revision 374c8f4e (git): Fixed about ARGF.lineno
[Bug #15823] nobu (Nobuyoshi Nakada)
02:13 AM Revision 84e71e9f (git): * 2019-05-05
git[bot]
02:13 AM Revision f1b52d3a (git): * expand tabs.
git[bot]
 

Also available in: Atom