Activity
From 03/19/2018 to 03/25/2018
03/25/2018
-
09:47 PM Bug #14556: Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
- I implemented IRB's new logic with Ripper without these patches. Please close this.
-
09:41 PM Bug #14263: Array Intersection does not seem to use hash
- Attached are two patches:
- One which uses hash comparison for both the optimised "small" array branch and the default implementation of the `Array` set operations (essentially restoring the behaviour of Ruby < 2.5)
- Another which a... -
03:56 PM Feature #14473: Add Range#subrange?
- I've attached an updated patch; it includes the renamed (by `s/set/range/`) methods and a performance improvement for `strict_subset?` (before, we would calculate `max` on the receiver twice, which is potentially slow when the receiver ...
-
03:54 PM Bug #14630 (Closed): DON'T IGNORE ME!!! Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
- I'm attempting to connect to a server with verify_mode = OpenSSL::SSL::VERIFY_PEER. It fails with the error:
Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
/usr/local/Cella... -
02:06 PM Revision f28d6165 (git): assertions for r62914
- * test/ruby/test_keyword.rb (test_splat_hash): assertion on
mandatory and rest arguments. r62914 is not only for optional
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 PM Feature #4513 (Closed): allow whitespace following EOL continuation backslash
- Now:
```
$ ruby -e ' \ '
-e:1: syntax error, unexpected escaped space
```
Close this for now. -
09:51 AM Bug #14239 (Closed): warn open("|...")
-
07:32 AM Feature #14594: Rethink yield_self's name
- I disagree with the names proposed, but I agree that the current name is too long.
Here are yet other name candidates from me:
* deform
* expand
* reform
Edit. I just realized that reform has already been mentioned. Sorry. -
07:23 AM Feature #14594: Rethink yield_self's name
- `map` is one of the worst names for this feature in my opinion. Generalizaing from cmoel's proposal to use `map` for this feature, we expect:
```ruby
[1].map{|e| e * 2} #=> [1, 1]
```
but that is not what we currently have, nor d... -
06:11 AM Bug #14604: Backport r62725 to ruby 2.3 to 2.5
- ruby_2_4 r62918 merged revision(s) 62725.
-
06:11 AM Revision 31d6b6f7 (git): merge revision(s) 62725: [Backport #14604]
- Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for already defined methods on a
class to set the visibility on.
[Fix GH-1834]
From: Dylan Thacker-Smith... -
05:54 AM Bug #14577: CPU 100% in custom backtrace method with IO.readlines
- ruby_2_4 r62917 merged revision(s) 62673.
-
05:54 AM Revision e59be153 (git): merge revision(s) 62673: [Backport #14577]
- thread.c: deadlock in backtrace
* thread.c (unblock_function_set): check interrupts just once
during raising exceptions, as they are deferred since r16651.
[ruby-core:85939] [Bug #14577]
git-svn-id: svn+ssh:... -
05:35 AM Bug #14469: private_constant and deprecate_constant are ignored by autoloading
- ruby_2_4 r62916 merged revision(s) 62394,62395.
-
05:35 AM Revision 9869b655 (git): merge revision(s) 62394,62395: [Backport #14469]
- vm_insnhelper.c: rb_autoloading_value flag
* vm_insnhelper.c (vm_get_ev_const): add flag argument of
`rb_autoloading_value`.
* constant.h (rb_autoloading_value): moved the declaration from
vm_core.h ... -
04:20 AM Bug #14571: File descriptor leak in resolv.rb
- ruby_2_4 r62915 merged revision(s) 62671.
-
04:12 AM Revision ad0b27d0 (git): merge revision(s) 62671: [Backport #14571]
- resolv.rb: close socket
* lib/resolv.rb (UnconnectedUDP#lazy_initialize): store new
sockets before binding, so the sockets get closed when the
requester is closing.
* lib/resolv.rb (ConnectedUDP#lazy... -
02:22 AM Revision a23eca26 (git): vm_args.c: warn splat to var
- * vm_args.c (setup_parameters_complex): [EXPERIMENTAL] warn when
splat keyword arguments is passed as a single ordinary argument,
not as a keyword rest argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62914 b2dd03c8-39d4-... - 01:52 AM Revision 0de07300 (git): * 2018-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 AM Revision 21a63760 (git): extmk.rb: get rid of shadowing outer local variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 AM Bug #14338: IO#write without args seems wrong
- normalperson (Eric Wong) wrote:
> Opinions? Should we raise or just return 0 when no args are given?
I vote for the latter.
03/24/2018
-
04:36 PM Bug #14629: Option Parser bug
- nobu (Nobuyoshi Nakada) wrote:
> It is a spec, the long option name completion, so that users do not have to type the whole option name.
Thanks ! Sorry for the false positive -
04:05 PM Bug #14629 (Rejected): Option Parser bug
- It is a spec, the long option name completion, so that users do not have to type the whole option name.
-
03:35 PM Bug #14629 (Rejected): Option Parser bug
- Reproduce process:
Case 1:
$ruby testarg.rb --fail-if-changed
"fail if change arg provided"
Case 2:
$ruby testarg.rb --fail-if-change
"fail if change arg provided"
Case 3:
$ruby testarg.rb --fail-if-chang
"fail if change a... -
04:02 PM Bug #14403: Crash and coredump (Stack consistency error) on ruby 2.5.0
- ruby_2_5 r62911 merged revision(s) 61587,61617,61618.
-
04:00 PM Bug #14273: Stack Consistency Error from return in loop
- ruby_2_5 r62911 merged revision(s) 61587,61617,61618.
-
03:24 PM Bug #14273: Stack Consistency Error from return in loop
- Added r61587 to associated revisions.
-
04:00 PM Revision 2d414cb1 (git): merge revision(s) 61587,61617,61618: [Backport #14273]
- compile.c: next label
* compile.c (compile_next): label for jump to the end of block is
removable.
compile.c: remove more unreachable chunk
* compile.c (remove_unreachable_chunk): remove beyond labels... -
03:27 PM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
- > but do I need to run
Most build systems do perform `configure`, `make`, and `make install` before testing.
If you want to run tests on an existing build, you can run something like the following (when in the test folder):
```
... -
02:28 PM Revision 2936d4b3 (git): configure.ac: named blocks
- * configure.ac: turned section block comments into named blocks.
http://c16e.com/1603281120/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 PM Bug #14345: http_proxy setting should respect both parent domain and subdomain
- I think this will be discussed at the next ruby developer meeting
in April 2018 so stay tuned for updates to it (less than a month
to go for the next developer meeting).
See here:
https://bugs.ruby-lang.org/projects/ruby/wiki/D... -
11:43 AM Bug #14584: Squigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
- ruby_2_5 r62909 merged revision(s) 62723,62724.
-
11:43 AM Revision 2bedc514 (git): merge revision(s) 62723,62724: [Backport #14584]
- parse.y: reduce duplicate code
parse.y: fix interpolated string literal dedent
* parse.y (heredoc_dedent): fix interpolated string literal dedent,
remove indentations from only nodes with the newline flag.
... -
11:15 AM Revision 4a145f6e (git): compile.c: split add_insn_info
- * compile.c (add_insn_info, add_adjust_info): split for each
list->type, to remove unnecessary repeated conditions and casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:04 AM Revision b19a14ec (git): * 2018-03-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:04 AM Revision afa1d508 (git): compile.c: suppress missing-noreturn
- * compile.c (add_insn_info): move return statement to suppress
missing-noreturn warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:57 AM Bug #14324: Should Exception#full_message include escape sequences?
- ruby_2_5 r62905 merged revision(s) 62548,62894.
-
10:57 AM Revision ed9c67c9 (git): merge revision(s) 62548,62894: [Backport #14324]
- eval_error.c: rb_error_write flags
* eval_error.c (rb_error_write): add highlight and reverse mode
flags. defaulted to rb_stderr_tty_p() if Qnil.
error.c: full_message options
* error.c (exc_full_mes... -
10:54 AM Bug #14628 (Closed): Misplaced colon causes segmentation fault
- Thank you, that bug has been fixed already in the repository, and the next release will work fine.
-
08:16 AM Bug #14628: Misplaced colon causes segmentation fault
- Indeed, good find.
I believe the ruby parser is correct when it thinks it is a
constant, since it obviously is a constant (A, B, C).
However had, I think the ruby parser makes two mistakes:
(1) it assumes that there is a dynami... -
07:24 AM Bug #14628 (Closed): Misplaced colon causes segmentation fault
- The following program with a misplaced colon causes a segmentation fault when you try to run it in Ruby 2.5.0p0 on both the Manjaro Linux and the MSYS2 platforms:
~~~{ruby}
def a(x)
case x
when A
:
when B, C
end
end... -
10:30 AM Bug #14627 (Feedback): class_eval "def foo(N:)\n end" regression
-
10:30 AM Bug #14627: class_eval "def foo(N:)\n end" regression
- I can't reproduce it.
```
$ ruby -v -e 'Class.new.class_eval "def foo(N:)\n end"'
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux-gnu]
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:in `class_eval': (eva...
03/23/2018
-
08:16 PM Feature #14594: Rethink yield_self's name
- > Why not use `map`
```ruby
paragraphs
.map { something }
.reject { something }
.yield_self { |ps| external_post_processor(ps, **options) }
``` -
08:08 PM Feature #14594: Rethink yield_self's name
- I also agree `yield_self` isn't the best name but I'm also skeptical of `then`. Why not use `map`, which we already have for collections? Generally speaking, the `map` function isn't just about collections (though that's usually how it's...
-
07:48 PM Feature #14625: yield_self accepts an argument, calling to_proc
- I can't answer all questions zverok posed but in regards to:
```ruby
.yield_self(method :filter2)
```
versus
```ruby
.yield_self(&method(:filter1))
```
The first variant is cleaner IMO.
As for `(&.:filter1)` I don't re... -
08:41 AM Feature #14625: yield_self accepts an argument, calling to_proc
Question 1. How is this (proposed):
```ruby
result = collection
.yield_self(method :filter1)
.yield_self(method :filter2)
```
better than this (already works):
```ruby
result = collection
.yield_self(&method(:filte...-
08:04 AM Feature #14625 (Open): yield_self accepts an argument, calling to_proc
- Currently, yield_self doesn't accept any argument other than a block.
But there are situations where I would like to pass a method object to yield_self.
e.g.
~~~ ruby
result = collection
.yield_self(&method(:filter1))
.yie... -
05:01 PM Bug #14627 (Closed): class_eval "def foo(N:)\n end" regression
- Ruby crashes with a segfault in case of `class_eval` defining method with a keyword starts with a capital letter. It seems like it's a regression of one of the latest versions.
-
12:43 PM Bug #13994: Socket.getnameinfo が NUL終端文字列を期待している
- ruby_2_4 r62904 merged revision(s) 60162.
-
12:42 PM Revision 206a7980 (git): merge revision(s) 60162: [Backport #13994]
- socket.c: null byte at Socket.getnameinfo
* ext/socket/socket.c (sock_s_getnameinfo): check null byte.
patched by tommy (Masahiro Tomita) in [ruby-dev:50286].
[Bug #13994]
git-svn-id: svn+ssh://ci.ruby-lang.... -
12:04 PM Bug #14557: rubyコマンド引数にファイルを渡す際, プロセス置換を使用するとエラー
- ruby_2_4 r62903 merged revision(s) 62607.
-
12:03 PM Revision f40c6377 (git): merge revision(s) 62607: [Backport #14557]
- file.c: realpath on special symlink
* file.c (realpath_rec): fallback to symlink path when it is
accessible but the link target is not actual entry on file
systems. [ruby-dev:50487] [Bug #14557]
git-svn-id:... -
09:22 AM Feature #14624: #{nil} allocates a fresh empty string each time
- i have a problem with that, what if someone might do:
~~~ ruby
x = obj.to_s
x << obj2.to_s
~~~
then it might be `nil`, return a frozen string and it would do a `RuntimeError`
better imo would be that if `"#{nil}"` would do a ... -
03:49 AM Feature #14624 (Open): #{nil} allocates a fresh empty string each time
- This causes a bunch of unnecessary string allocations in the following scenario: `"#{'rails' unless boolean_condition} is great"`. Each time this line is called when `boolean_condition` is true, it evaluates to `nil` and when `nil` is in...
-
09:12 AM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
- I will follow this guide http://engineering.appfolio.com/appfolio-engineering/2016/6/7/git-bisect-to-find-a-ruby-regression
-
08:45 AM Bug #14626 (Closed): One failing test on trunk 58fbe69a5b and OSX
- I'm using ruby/trunk on 58fbe69a5b. When I run *make test-all TESTS='rubygems/test_require.rb'*
~~~ text
Run options: "--ruby=./miniruby -I../ruby/lib -I. -I.ext/common ../ruby/tool/runruby.rb --extout=.ext -- --disable-gems" --exc... -
06:21 AM Bug #14596: Ruby master is broken with bootsnap
- https://github.com/Shopify/bootsnap/issues/145
-
06:18 AM Bug #14596: Ruby master is broken with bootsnap
- https://github.com/ruby/ruby/commit/f3fbf1dfadea80646c68719d439da699d527b0dc
```bash
$ rails s
/Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-6aa5cf03ea82/activesupport/lib/active_support/dependencies.rb:253: [BUG] Segmenta... -
01:09 AM Revision f3fbf1df (git): parse.y: k_else in bodystmt
- * parse.y (bodystmt): expand opt_else to show the error message at
the right place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 AM Revision 140512d2 (git): parse.y: else without rescue
- * parse.y (bodystmt): [EXPERIMENTAL] make `else` without `rescue`
a syntax error. [DevelopersMeeting20180315Japan]
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20180315Japan
https://docs.google.com/document/d/1R...
03/22/2018
-
09:03 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- This seems to be the number one time-wasters in my project (metasploit-framework), where nobody can agree if we should use it, shouldn't, whether it affects performance, behavior on nil, etc.
It would be great if this just got added t... -
04:44 PM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
- Obviously, 2.2 changes are soon to be stopped.
Recently in Puma, Travis was changed from 2.2.8 to 2.2.9, and in code using a pipe, the "can't modify frozen IOError" occurred.
This was not an issue with 2.2.8, which was used in Puma... - 04:05 PM Revision 631272ff (git): * 2018-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision e852f9d6 (git): test_exception.rb: assertions with Exception.to_tty?
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 PM Revision 9d091c85 (git): sample/timeout.rb: Remove unnecessary increment [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:20 AM Revision 234a3045 (git): set UTF-8 if given URI string is ASCII
- Now URI is normally UTF-8, and US-ASCII URI string is considered as
escaped a UTF-8 string.
https://github.com/rails/rails/issues/32294
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Bug #14363: each_grapheme_cluster.size returns the wrong size
- ruby_2_5 r62896 merged revision(s) 62892,62893.
-
06:59 AM Bug #14363 (Closed): each_grapheme_cluster.size returns the wrong size
- Applied in changeset trunk|r62892.
----------
fix each_grapheme_cluster's size [Bug #14363]
From: Hugo Peixoto hugo.peixoto@gmail.com -
11:18 AM Revision c40df5a7 (git): merge revision(s) 62892,62893: [Backport #14363]
- fix each_grapheme_cluster's size [Bug #14363]
From: Hugo Peixoto <hugo.peixoto@gmail.com>
Factor out get_reg_grapheme_cluster
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62896 b2dd03c8-39d4-4d8f-98ff-... -
10:02 AM Revision 06e42980 (git): teenyup
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:26 AM Bug #14324 (Closed): Should Exception#full_message include escape sequences?
- Applied in changeset trunk|r62894.
----------
error.c: full_message options
* error.c (exc_full_message): add highlight: and reverse: keyword
options. [Bug #14324] -
08:26 AM Revision b9881083 (git): error.c: full_message options
- * error.c (exc_full_message): add highlight: and reverse: keyword
options. [Bug #14324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 AM Revision 42f1b589 (git): Factor out get_reg_grapheme_cluster
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:58 AM Revision 41b2ef46 (git): fix each_grapheme_cluster's size [Bug #14363]
- From: Hugo Peixoto <hugo.peixoto@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 AM Revision 6e0f5b84 (git): Revert "each_grapheme_cluster shouldn't return size [Bug #14363]"
- This reverts commit r62887.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:00 AM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
- ruby_2_5 r62889 merged revision(s) 62042,62044.
- 07:00 AM Revision 9e11d394 (git): * 2018-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Revision 54717626 (git): merge revision(s) 62042,62044: [Backport #14380]
- hash.c: support key swapping in Hash#transform_keys!
* hash.c (rb_hash_transform_keys_bang): support key swapping in
Hash#transform_keys!
[Bug #14380] [ruby-core:84951]
* test/ruby/test_hash.rb (test... -
06:59 AM Revision 613decd0 (git): each_grapheme_cluster shouldn't return size [Bug #14363]
- From: Stefan Schüßler <mail@stefanschuessler.de>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Revision 721b55d7 (git): parse.y: reorder in the place
- * parse.y (new_args_tail): reorder required and optional keyword
argument variable IDs in the place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:38 AM Revision 889afb8b (git): merge revision(s) 57081:
- Removed the obstacle to running test-all with VC14.
* test/fiddle/test_import.rb (LIBC.fprintf): VC14's `fprintf` is very distinct
name, then, just ignore this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch... - 03:33 AM Revision c2fdfb05 (git): merge https://github.com/ruby/openssl/commit/3af2635f117f8da563d180bc1c58702aecb16e0c
- patched by Kazuki Yamaguchi <k@rhe.jp>
bio: prevent possible GC issue in ossl_obj2bio()
Prevent the new object created by StringValue() from being GCed.
Luckily, as none of the callers of ossl_obj2bio() reads fr... - 02:28 AM Revision 85ddcb93 (git): merge revision(s) 54737,54740,55792: [Backport #14623]
- Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported after MSVC14.
[Bug #12014] [GH-884]
win32.c: suppress warnings
* win32/win32.c (set_pioinfo_extra): remove "/*" within comment.
... -
01:29 AM Bug #14623 (Closed): backport r54737, r54740 and r55792
- バックポート管理用チケットです。
-
12:40 AM Misc #14622: Improve documentation for 'string '.split to also mention trailing spaces being ignored
- Thanks :-)
03/21/2018
-
04:46 PM Misc #14622 (Closed): Improve documentation for 'string '.split to also mention trailing spaces being ignored
-
02:09 PM Misc #14622 (Closed): Improve documentation for 'string '.split to also mention trailing spaces being ignored
- The current documentation only talks about leading spaces being ignored when a single space is used as an argument. I've suggested a few changes to the documentation and example to make it clearer that trailing spaces are also ignored in...
-
04:44 PM Bug #14616: Segmentation fault in net/http/response
- The trace is great. Please also try to make a minimal ruby example to reproduce it.
What made you suspect the memory leak as the cause of the seg fault?
Also please explain a little about this part of your application: is it an htt... -
04:17 PM Bug #14363: each_grapheme_cluster.size returns the wrong size
- Calculating the enumerator size here requires iterating through the whole text and do grapheme detection on all bytes, so I'm not sure what's the right approach.
I'm attaching two patches, one that makes it return `nil` and one that d... -
04:17 PM Bug #14549: abort Date#step
- ruby_2_4 r62883 merged revision(s) 62572.
-
04:17 PM Revision 29fa5cc8 (git): merge revision(s) 62572: [Backport #14549]
- date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/date_core.c (d_lite_step): deal with the comparison
result more defensively. [ruby-core:85796] [Bug #14549]
gi... -
04:10 PM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
- The point is that the phrase "hard to remember" in the OP is bit weak when we already have methods with the proposed behavior (`grep` and `grep_v`).
Matz.
-
03:49 PM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
- This issue is also related https://bugs.ruby-lang.org/issues/9602
One interesting point there is the case where a pattern and a block are given:
~~~ ruby
%w{ant bear cat}.select(/bear/) {||x| x === "cat" }
~~~
This issue also ... -
04:03 PM Revision b6e2c528 (git): Docs and tests on URI.hierarchical?, URI.absolute?
- Improve code coverage and clarify meaning of hierarchical based on RFC
text.
[Fix GH-1846]
From: Xavier Riley <xavriley@hotmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 PM Revision 7506fde3 (git): Improve documentation for 'text '.split
- The documentation didn't mention trailing spaces and the
example only demonstrated the case with leading spaces.
[Fix GH-1845]
From: Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62881 b... -
03:58 PM Bug #14368: backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)
- ruby_2_4 r62880 merged revision(s) 61862.
-
03:57 PM Revision 31ccc99d (git): merge revision(s) 61862: [Backport #14368]
- parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'{U+3044}'}/` in non UTF-8
Mixing other encoding string literals in one Regexp caused SEGV.
This bug was found by CoverityScan.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... - 03:46 PM Revision eb02dd3c (git): * 2018-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:46 PM Revision 365338d9 (git): Remove outdated proc.c binding comment.
- Passing a proc as the second argument to eval is no longer supported.
[Fix GH-1843]
From: Tieg Zaharia <tieg.zaharia@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 PM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
- ruby_2_4 r62877 merged revision(s) 62107.
-
03:27 PM Revision bb9a770c (git): merge revision(s) 62107: [Backport #14420]
- force fixable
* complex.c (nucomp_hash): force hash values fixable.
[ruby-core:85224] [Bug #14420]
* rational.c (nurat_hash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62877 b2dd03c... -
03:04 PM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
- ruby_2_4 r62875 merged revision(s) 62040.
- 03:04 PM Revision 49e950c8 (git): * 2018-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision 681d1e79 (git): merge revision(s) 62040: [Backport #14388]
- string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
be valid or broken. patch by tommy (Masahiro Tomita) at
[ruby-dev:50430] [Bug #14388].
git-svn-id: svn... -
03:01 PM Bug #14573: rb_ary_or doesn't check objects hash when the array contains less than SMALL_ARRAY_LEN
- Related to https://bugs.ruby-lang.org/issues/14263. We have posted a note there about our investigation and the inconsistent behaviour between small and larger arrays.
-
02:51 PM Bug #11948: Segfault on blank line in IRB
- I was unable to reproduce this with alpine 3.7 in docker, with ruby 2.4.3p205:
```
$ docker run --rm -ti alpine:3.7
/ # apk update && apk add ruby-irb
...
/ # ruby -v
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux-mus... -
02:29 PM Bug #14612: IPv6 address inconsistency (downcase vs. upcase)
- shevegen (Robert A. Heiler) wrote:
> Is there a standard that mandates or prefers either variant?
RFC 5952 recommends the usage of lower case letters: https://tools.ietf.org/html/rfc5952#section-4.3
The `Resolv` module seems to be... -
02:26 PM Bug #14263: Array Intersection does not seem to use hash
- We (myself and [Lewis Buckley](https://github.com/lewispb)) investigated this issue as part of the Ruby Hack Day at Cookpad.
We were able to replicate the issue on Ruby 2.6 (trunk)—digging a bit deeper we found that the unexpected beh... -
02:26 PM Bug #14453: Crash in w32_cmdvector() if MS Application Verifier is enabled
- ruby_2_4 r62874 merged revision(s) 57637.
-
02:26 PM Revision 05292160 (git): merge revision(s) 57637: [Backport #14453]
- win32.c: memcpy instead of strlcpy
* win32/win32.c (cmdglob): memcpy the exact size instead of
strlcpy with +1.
* win32/win32.c (w32_cmdvector): ditto, with NUL-terminating.
git-svn-id: svn+ssh://ci.ruby-lang... -
12:40 PM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
- Applied in changeset trunk|r62873.
----------
parse.y: terminator at continued line
* parse.y (here_document): a continuing line is not the
terminator. [ruby-core:86283] [Bug #14621] -
11:22 AM Bug #14621 (Open): Extra whitespace in squiggly heredoc with escaped newline
-
11:22 AM Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
- r62872 has a bug.
```ruby
<<-TEXT
\
TEXT
```
should raise a syntax error, "`can't find string "TEXT" anywhere before EOF`".
I'll fix it.
-
10:32 AM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
- Applied in changeset trunk|r62872.
----------
parse.y: unindent continued line
* parse.y (tokadd_string): stop at continued line in dedented here
documents, to dedent for each lines before removing escaped
newlines. [ruby-core:862... -
06:43 AM Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
- Tested in ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] - same result.
-
06:38 AM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
- ~~~ruby
puts <<~TXT.inspect
1 \
2
TXT
~~~
Expected:
~~~
"1 2\n"
~~~
Got:
~~~
"1 2\n"
~~~ -
12:40 PM Revision 58fbe69a (git): parse.y: terminator at continued line
- * parse.y (here_document): a continuing line is not the
terminator. [ruby-core:86283] [Bug #14621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:32 AM Revision 491f523a (git): parse.y: unindent continued line
- * parse.y (tokadd_string): stop at continued line in dedented here
documents, to dedent for each lines before removing escaped
newlines. [ruby-core:86236] [Bug #14621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62872 b2dd03c... -
10:06 AM Revision bc7e5fcb (git): test_iseq.rb: disable load_from_binary
- * test/ruby/test_iseq.rb (test_to_binary_with_objects): disable
load_from_binary right now, r62851 seems having a trouble around
get_insn_info_succinct_bitvector() yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62871 b2dd03c... -
04:00 AM Feature #14618: Add display width method to String for CLI
- My e-mail to the mailing list [ruby-core] is not synced with Redmine.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/86213 - 02:20 AM Revision 53865346 (git): * 2018-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 AM Revision c700bb1a (git): iseq.c: constfied validate_get_insn_info [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/20/2018
-
06:07 PM Bug #14279: Modifying splat argument causes segmentation fault
- ruby_2_4 r62868 merged revision(s) 61603.
-
06:07 PM Revision 1e189822 (git): merge revision(s) 61603: [Backport #14279]
- check array for zsuper. [Bug #14279]
* compile.c (iseq_compile_each0): for zsuper (NODE_ZSUPER), we need to check
given argument is Array or not.
* test/ruby/test_super.rb: add a test for this bug.
git-svn-i... -
05:55 PM Bug #14323: net/ftp: fix FrozenError in BufferedSocket
- ruby_2_4 r62867 merged revision(s) 61639.
-
05:55 PM Revision b1612ced (git): merge revision(s) 61639: [Backport #14323]
- net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
RUBYOPT=-d on, existing test cases all passed with it.
Note: I use String.new because it is the local style, her... -
05:30 PM Feature #13383: [PATCH] Module#source_location
- What is the status of this proposal? I think this feature would be very nice for debugging. If being able to show all the locations of where the class is defined is not possible, I think pointing to the last location would be the most us...
-
04:21 PM Bug #14421: super_method segfaults when called on a re-bound Method
- ruby_2_4 r62866 merged revision(s) 62115.
-
04:21 PM Revision f634fc1f (git): merge revision(s) 62115: [Backport #14421]
- proc: fix super_method segfault after bind
* proc.c: handle undefined iclass
[ruby-core:85231] [Bug #14421]
From: Eric Wong <e@80x24.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62866 b2... -
03:53 PM Bug #13973: super_method fails on some UnboundMethods
- ruby_2_4 r62865 merged revision(s) 58245,60127.
-
03:53 PM Revision 9e7b5784 (git): merge revision(s) 58245,60127: [Backport #13973]
- Refactored using Method#owner.
proc.c: super_method of included method
* proc.c (method_super_method): search the next super method along
the included ancestor chain. [ruby-core:83114] [Bug #13973]
... -
03:41 PM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
- > change will also be applied in ActiveSupport
Where did you get that information?
This change silently breaks applications when upgrading to 2.6 version. Backward compatibility not only with active support but with an already rele... -
02:18 PM Bug #14380 (Closed): Expected transform_keys! to work just as transform_keys, but it doesn't
- Considered a bug and the behavior change will also be applied in ActiveSupport.
-
03:33 PM Bug #14619: method(m) is not invoking respond_to_missing?
- It has been backported to 2.2 and released already.
As we don't release branch-from-branch, "patch for 2.2.2" doesn't make sense.
-
03:28 PM Bug #14619: method(m) is not invoking respond_to_missing?
- Thanks nobu, indeed, I just wanted to make sure this is seen for a possible p9? patch for 2.2.2, feel free to close if this doesn't need to be backported.
-
08:44 AM Bug #14619 (Rejected): method(m) is not invoking respond_to_missing?
- It works in ruby 2.2.9.
-
02:54 PM Bug #14620 (Closed): Incorrect assignment causes segfault
- Already fixed bug.
-
02:52 PM Bug #14620: Incorrect assignment causes segfault
- Actually just the last line is enough to cause the fault.
-
01:01 PM Bug #14620 (Closed): Incorrect assignment causes segfault
- The following code when executed on Ruby 2.5 causes a segfault on my machine (macOS High Sierra). This has been reproduced with a self-compiled Ruby as well as one from home-brew.
~~~ruby
def foo
puts 'hi'
end
foo, true
~~~
... -
02:37 PM Bug #14273: Stack Consistency Error from return in loop
- Ah okay sorry, thanks!
-
09:55 AM Bug #14273 (Closed): Stack Consistency Error from return in loop
- Backporting is managed with "Backport" field.
Status: Closed is expected one. -
02:18 PM Bug #14270: backport r61564, r61565, r61571 (fix SEGV touching uninitialized memory)
- ruby_2_4 r62864 merged revision(s) 61564,61565,61571.
-
02:18 PM Revision ab2e7357 (git): merge revision(s) 61564,61565,61571: [Backport #14270]
- fix SEGV touching uninitialized memory
This function can be called from Init_VM().
No assumption can be made about object internals.
(lldb) run
Process 15734 launched: './miniruby' (x86_64)
Proce... -
01:52 PM Bug #14231: __uint128_t check in hash.c is broken, use
- ruby_2_4 r62863 merged revision(s) 61471,61472.
-
01:52 PM Revision c0848eed (git): merge revision(s) 61471,61472: [Backport #14231]
- Use UINT128_T support flag from configure
Current check for __uint128_t in hash.c is not valid, since it ignores
compilers other than gcc. We hit this on lcc on e2k platform.
Configure script properly checks fro... -
01:50 PM Bug #14218: Addition of negative Object#hash values can overflow
- ruby_2_4 r62849 merged revision(s) 61413.
-
01:38 PM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
- ruby_2_4 r62862 merged revision(s) 58438,58439,58451.
-
01:38 PM Revision 01fcd07b (git): merge revision(s) 58438,58439,58451: [Backport #13493]
- clean autogenerated files
* enc/depend (clean, clean-srcs): fix path of name2ctype.h, and
remove casefold.h too.
* enc/jis/props.h: autogenerated file.
[ruby-core:80823] [Bug #13493]
use $(s... -
01:30 PM Revision b4b3de3e (git): node.c: predicates for special NODEs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 AM Bug #14604: Backport r62725 to ruby 2.3 to 2.5
- ruby_2_5 r62860 merged revision(s) 62725.
-
09:52 AM Revision f4aea910 (git): merge revision(s) 62725: [Backport #14604]
- Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for already defined methods on a
class to set the visibility on.
[Fix GH-1834]
From: Dylan Thacker-Smith... -
09:39 AM Bug #14613: [Docs] Backport r62734 to ruby 2.5
- ruby_2_5 r62859 merged revision(s) 62734.
-
09:39 AM Revision 42fdd940 (git): merge revision(s) 62734: [Backport #14613]
- Add missing class FrozenError to Exception subclasses list documentation
[Fix GH-1818]
From: Miguel Landaeta <miguel@miguel.cc>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62859 b2dd03c8-39d4-4d8f-98f... -
09:37 AM Bug #14357: thread_safe tests suite segfaults
- ruby_2_5 r62858 merged revision(s) 62396.
-
09:37 AM Revision ba81ac79 (git): merge revision(s) 62396: [Backport #14357]
- st.c: retry operations if rebuilt
Calling the .eql? and .hash methods during a Hash operation can
result in a thread switch or a signal handler to run: allowing
one execution context to rebuild the hash table whi... -
09:09 AM Feature #14245 (Closed): Add File.read etc.
- Applied in changeset trunk|r62857.
----------
io.c: Methods of File should not invoke external commands
For security reasons, File.read, File.binread, File.write, File.binwrite,
File.foreach, and File.readlines should not invoke extern... -
09:09 AM Revision 798316ea (git): io.c: Methods of File should not invoke external commands
- For security reasons, File.read, File.binread, File.write, File.binwrite,
File.foreach, and File.readlines should not invoke external commands even
if the path starts with the pipe character |.
[ruby-core:84495] [Feature #14245]
git-svn... -
08:36 AM Revision ce848356 (git): compile.c: fix ibf_load_code
- * compile.c (ibf_load_iseq_each): manage iseq_size to point loaded
objects in iseq_encoded. now marking iseq scans iseq_encoded
directly.
* test/ruby/test_iseq.rb (test_to_binary_with_objects): skip for
now, but fix argument orde... - 05:36 AM Revision 9852802c (git): * test/ruby/test_vm_dump.rb: try to fix test failures on darwin introduced at
- r62810. ruby_2_3 does not output "[IMPORTANT]" message.
see [Backport #13566]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:09 AM Bug #14577: CPU 100% in custom backtrace method with IO.readlines
- ruby_2_5 r62854 merged revision(s) 62673.
-
02:09 AM Revision e02e7379 (git): merge revision(s) 62673: [Backport #14577]
- thread.c: deadlock in backtrace
* thread.c (unblock_function_set): check interrupts just once
during raising exceptions, as they are deferred since r16651.
[ruby-core:85939] [Bug #14577]
git-svn-id: svn+ssh:... -
02:08 AM Bug #14578: Forking a child process inside of a mutex crashes the ruby interpreter
- ruby_2_5 r62852 merged revision(s) 62668.
- 02:08 AM Revision c28d3d02 (git): * 2018-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Revision 59a6ed8c (git): merge revision(s) 62668: [Backport #14578]
- thread.c: reset waitq of keeping mutexes in child
We must not maintain references to threads in the parent process
in any mutexes held by the child process.
* thread_sync.c (rb_mutex_cleanup_keeping_mutexes): ne... -
01:57 AM Bug #14617 (Assigned): rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
03/19/2018
-
11:55 PM Feature #14618: Add display width method to String for CLI
- Martin Dürst is doing some unicode stuff; perhaps he can chime in
when he has some time. -
09:02 PM Feature #14618: Add display width method to String for CLI - Dne 19.3.2018 v 20:00 aycabta@gmail.com napsal(a):
>
> ## Use-case
>
> I'm developing Readline compatible library by pure Ruby implementation for Ruby core.
> https://github.com/aycabta/reline
>
> I'm discussing it with @hsbt, an... -
07:00 PM Feature #14618 (Open): Add display width method to String for CLI
- ## Abstract
Unicode has display width data of characters, "Narrow" or "Wide".
For example, "A" is "Narrow", "💎" ("\u{1f48e}") is "Wide".
http://unicode.org/reports/tr11/
This data is very important for CLI tools.
## Use-case
... -
10:13 PM Bug #14619: method(m) is not invoking respond_to_missing?
- Possibly a regression from a fix that was made for https://bugs.ruby-lang.org/issues/10985?
-
09:54 PM Bug #14619 (Rejected): method(m) is not invoking respond_to_missing?
- ~~~ ruby
class VariantHash < Hash
def respond_to_missing?(method_name, *args)
true
end
def method_missing(method_name, *args, &blk)
42
end
end
m = "foo_"
h = VariantHash.new(m => 'a')
puts h.method(m)
pu... -
08:30 PM Bug #14273 (Open): Stack Consistency Error from return in loop
-
06:21 PM Revision 9e26858e (git): Reverting r62775, this should fix i686 builds
- We need to mark default values for kwarg methods. This also fixes
Bootsnap. IBF iseq loading needed to mark iseqs as "having markable
objects".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 PM Bug #14269: backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
- ruby_2_4 r62850 merged revision(s) 61562,61563,61566,61568,61569.
-
06:16 PM Revision 4b0b1d7a (git): merge revision(s) 61562,61563,61566,61568,61569: [Backport #14269]
- fix SEGV touching uninitialized memory
This function can be called from boot_defclass().
No assumption can be made about object internals.
(lldb) run
Process 2386 launched: './miniruby' (x86_64)
... -
05:30 PM Revision 58b2297d (git): merge revision(s) 61413: [Backport #14218]
- force hash values fixable
* include/ruby/ruby.h (RB_ST2FIX): force fixable on LLP64 environment.
* hash.c (any_hash): ditto.
[ruby-core:84395] [Bug #14218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche... -
05:13 PM Bug #14208: raise error if value contains CR/LF in iniheader of initialize_http_header
- ruby_2_4 r62848 merged revision(s) 61359.
-
05:13 PM Revision 6423e5b4 (git): merge revision(s) 61359: [Backport #14208]
- raise error if value contains CR/LF in iniheader of initialize_http_header
like r59693, initialize_http_header also should raise error. [Bug #14208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62848 b2dd03c8-3... -
04:59 PM Bug #14206: Null-byte ignored inside class/module/method bodies
- ruby_2_4 r62847 merged revision(s) 61346.
-
04:59 PM Revision fe2165c8 (git): merge revision(s) 61346: [Backport #14206]
- parse.y: end of script at newline
* parse.y (parser_yylex): deal with end of script chars just after
ignored newline as other places. [ruby-core:84349] [Bug #14206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche... -
04:27 PM Bug #13655: external encoding named "-" (doc issue or…?)
- ruby_2_4 r62846 merged revision(s) 61278,61281.
-
04:27 PM Revision cc163957 (git): merge revision(s) 61278,61281: [Backport #13655]
- IO.new doesn't recive "-" as external_encoding [Bug #13655]
[DOC] `IO.new` accepts `external_encoding`
Revert part of r61278 [Bug #13655]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@... -
04:23 PM Bug #13935: Backport openssl v2.0.7
- Update openssl to 2.0.7 in ruby_2_4 branch at r62845.
-
03:14 PM Bug #13935: Backport openssl v2.0.7
- Update openssl 2.0.6 in ruby_2_4 branch at r62842.
I made a mistake in my commit message...
-
04:22 PM Revision 3e00a2d7 (git): Update openssl to 2.0.7. [Bug #13935]
- The patch is provided by Kazuki Yamaguchi.
From: Kazuki Yamaguchi <k@rhe.jp>
Date: Mon, 25 Sep 2017 01:32:02 +0900
Subject: [PATCH] openssl: import v2.0.7
Import Ruby/OpenSSL 2.0.7. This contains only bug fixes and test
improvements. T... - 03:40 PM Revision c9dee850 (git): * 2018-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:40 PM Revision de87b969 (git): * win32/README.win32: `make up` is only necessary when building from SVN source.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision b503ff8b (git): Update rubygems to 2.0.6. [Bug #13935]
- The patch is provided by Kazuki Yamaguchi.
From: Kazuki Yamaguchi <k@rhe.jp>
Date: Mon, 25 Sep 2017 01:32:02 +0900
Subject: [PATCH] openssl: import v2.0.6
Import Ruby/OpenSSL 2.0.6. This contains only bug fixes and test
improvements. T... -
02:12 PM Revision 69161305 (git): parse.y: NUL-terminate ruby_sourcefile
- * parse.y (yycompile): in some cases (warning, error, dtrace,...),
ruby_sourcefile is expected to be NUL-terminated, so ensure it.
* template/prelude.c.tmpl (prelude_name): NUL-terminate to get rid
of copying static data.
git-svn-i... - 01:04 PM Revision 68f37472 (git): note that patch is required and need to run make up before make
- * win32/README.win32: patch(1) is required, and running `make up` before
`make` is also required.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 PM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
- > I was made aware of this issue via this bug [1] report, but it has been already reported [2] and fixed [3] upstream. Would be nice if this is fixed in RDoc shipped in Ruby.
> ...
Sorry, I understand this issue's intention.
This iss... -
12:54 PM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
- This bug is fixed. RDoc 6.0.2 was released two days ago. Please use it.
-
11:42 AM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
- ~~~
$ rdoc -v
6.0.1
~~~ -
11:39 AM Bug #14617 (Closed): rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
- RDoc might fail when comment is inside code, such as:
~~~ruby
def meth
variable # comment
.chain
end
~~~
I was made aware of this issue via this bug [1] report, but it has been already reported [2] and fixed [3] upstream... -
12:40 PM Revision 7e199e41 (git): parse.y: push `do` token info
- * parse.y (k_rescue, k_ensure): revert r62838.
* parse.y (k_do, k_do_LAMBDA, k_do_block): push token infos of
`do`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:32 AM Bug #14616 (Closed): Segmentation fault in net/http/response
- I'm seeing a memory leak in my production application, which is culminating an a segmentation fault from within net/http/response.rb.
I'm not sure exactly what information you need but here's a backtrace:
~~~
2018-03-18T21:56:59Z:... -
08:37 AM Revision 5399951b (git): parse.y: ignore do indentations
- * parse.y (k_rescue, k_ensure): ignore indentations of `do`, it
is not at the beginning of line usually.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Bug #14481: Backport request for RubyGems 2.7.6
- ruby_2_5 r62837 merged revision(s) 62244,62246,62301,62302,62303,62422,62436,62452.
-
08:27 AM Revision 90df7a08 (git): merge revision(s) 62244,62246,62301,62302,62303,62422,62436,62452: [Backport #14481]
- Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html
test_gem_util.rb: fix broken test
* test/rubygems/test_gem_util.rb: no guarantee that tmpdir... -
08:21 AM Revision d34bc779 (git): parse.y: mismatched indentations at middle
- * parse.y (k_rescue, k_ensure, k_when, k_else, k_elsif): warn
mismatched indentations at keywords in middle of blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Revision 6d6880ff (git): Merge r62197 to ease next merge
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:15 AM Revision 332938df (git): merge revision(s) 61501,61758: [Backport #14481]
- fix concurrent test.
* test/rubygems/test_require.rb (test_concurrent_require):
Synchronizations should be in ensure clause. Sometimes
`require` fails (not sure why) and latch is not released.
Such ... -
04:08 AM Bug #14611 (Closed): Exotic method parameters bug
- Applied in changeset trunk|r62833.
----------
compile.c: arg var index
* compile.c (iseq_set_arguments): determine argument variable
indexes by the order, not by just IDs. arguments begin with `_`
can be duplicate, so by-ID index ... -
04:08 AM Revision 9720136d (git): compile.c: arg var index
- * compile.c (iseq_set_arguments): determine argument variable
indexes by the order, not by just IDs. arguments begin with `_`
can be duplicate, so by-ID index may result in a wrong value.
[ruby-core:86159] [Bug #14611]
git-svn-id... -
03:16 AM Revision 62182eb0 (git): parse.y: fix duplicate kwrest
- * parse.y (f_kwrest): add the variable name as an argument, as
well as an internal variable.
* parse.y (new_args_tail): now keyword rest argument variable is
always placed between keyword arguments and block argument, so
so just r... -
12:35 AM Bug #14604 (Closed): Backport r62725 to ruby 2.3 to 2.5
-
12:34 AM Bug #14613 (Closed): [Docs] Backport r62734 to ruby 2.5
-
12:32 AM Revision c6e50e51 (git): iseq.c: append local var index to name
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:32 AM Revision affd2b76 (git): * 2018-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 AM Revision a6534541 (git): iseq.c: mark kwrest arg
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e