Project

General

Profile

Activity

From 02/19/2019 to 02/25/2019

02/25/2019

10:38 PM Bug #15622 (Rejected): Default version of Bundler incorrectly invoked when using binstubs
When trying to run a binstub with Ruby 2.6.1 with Bundler 2.0.1 on the system, the wrong version of Bundler gets load... schneems (Richard Schneeman)
08:25 PM Feature #15619: Support blacklisting certain dependency versions
Thanks for your suggestion. Moved to https://github.com/rubygems/rubygems/issues/2659. skalee (Sebastian Skalacki)
02:19 AM Feature #15619 (Third Party's Issue): Support blacklisting certain dependency versions
This request makes a lot of sense to me.
However, while the gem library is part of Ruby, they are developed separa...
duerst (Martin Dürst)
08:51 AM Bug #15621 (Closed): system({}, ...) breaks nonascii ENV["PATH"] on Windows

### Problem
It seems that `system({}, ...)` breaks nonascii `ENV["PATH"]` after execution.
`system(...)` isn't ...
kenhys (Kentaro Hayashi)
06:14 AM Bug #15616 (Rejected): Chained destructive methods fail when using +@ to unfreeze a frozen string
Yes. It's a matter of precedence. The "Pickaxe" book describes it as
> Single terms in an expression may be any of...
duerst (Martin Dürst)

02/24/2019

06:57 PM Bug #15620 (Closed): Block argument usage affects lambda semantic
The following snippet demonstrate the issue:
``` ruby
def pass_after_use(&block)
raise unless block
lambda(...
alanwu (Alan Wu)
06:41 PM Feature #15619 (Third Party's Issue): Support blacklisting certain dependency versions
# Abstract
This feature request proposes introducing a new dependency constraint "!=", which will allow to blackli...
skalee (Sebastian Skalacki)
05:16 PM Feature #15618: Implement Enumerator::Yielder#to_proc
I have no particularly strong pro or con opinion on the functionality itself.
I have only one comment about syntax...
shevegen (Robert A. Heiler)
03:55 PM Feature #15618 (Closed): Implement Enumerator::Yielder#to_proc
When writing an Enumerator block, you often want to delegate iteration to another method like this:
```ruby
enum ...
knu (Akinori MUSHA)

02/23/2019

05:10 AM Misc #15615: File.birthtimeがLinux環境で有効なファイル作成時刻を得られなかった場合の挙動について
とりあえず`NotImplementedError`とも一番近そうな`ENOSYS`を投げるようにしましたが、本来セットされていない`errno`を装うよりは`RuntimeError`あたりのほうがいいのではないかと思います。
も...
nobu (Nobuyoshi Nakada)

02/22/2019

10:54 PM Misc #15617 (Closed): Any chance we can ship 2.5.4 sooner rather than later?
We started carrying code like this in Discourse due to #14634 breaking Queue after fork.
https://review.discourse...
sam.saffron (Sam Saffron)
04:07 PM Bug #15613 (Open): Enumerator::Chain#each doesn't relay block signature
marcandre (Marc-Andre Lafortune)
03:51 PM Bug #15616: Chained destructive methods fail when using +@ to unfreeze a frozen string
```
+foo.gsub!("bar", "car")
```
stands for
```
+(foo.gsub!("bar", "car"))
```
and because foo is frozen, you...
ahorek (Pavel Rosický)
02:52 PM Bug #15616 (Rejected): Chained destructive methods fail when using +@ to unfreeze a frozen string
Using the +@ syntax to unfreeze a string does not work when chaining destructive methods
Consider the following;
...
cianooooo (Cian O)
02:15 PM Misc #15614: DevelopersMeeting20190311Japan
[Misc #15615] File.birthtimeがLinux環境で有効なファイル作成時刻を得られなかった場合の挙動について
Glass_saga (Masaki Matsushita)
10:20 AM Misc #15614: DevelopersMeeting20190311Japan
* [Feature #14609] `Kernel#p` without args shows the receiver (aycabta)
* carry over
aycabta (aycabta .)
06:48 AM Misc #15614 (Closed): DevelopersMeeting20190311Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your s...
Glass_saga (Masaki Matsushita)
02:13 PM Misc #15615 (Closed): File.birthtimeがLinux環境で有効なファイル作成時刻を得られなかった場合の挙動について
`File.birthtime`はファイルの作成時刻を返すメソッドです。
これまでLinux環境ではこのメソッドは実装されておらず、呼び出すと`NotImplementedError`が発生していましたが、r67088から一部のLi...
Glass_saga (Masaki Matsushita)

02/21/2019

08:02 PM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
sawa (Tsuyoshi Sawada) wrote:
> What about having `Enumerator#with_m`, such that
>
> ```ruby
> gsub(pattern).wit...
jeremyevans0 (Jeremy Evans)
07:17 PM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
What about having `Enumerator#with_m`, such that
```ruby
gsub(pattern).with_m{|match, match_data| block} → new_st...
sawa (Tsuyoshi Sawada)
03:28 PM Feature #15605: json library needs more frequent releases
> Perhaps a better general solution may be to allow the ruby main team to decide who is co-owner of gems IF these gem... headius (Charles Nutter)

02/20/2019

04:40 AM Bug #15613 (Closed): Enumerator::Chain#each doesn't relay block signature
Applied in changeset trunk|r67095.
----------
* spec/ruby: Tweak Enuemrator::Chain#rewind spec so that arity of bloc...
marcandre (Marc-Andre Lafortune)
04:29 AM Bug #15613 (Closed): Enumerator::Chain#each doesn't relay block signature
Currently, the block given when iterating on the components of a `Enumerator::Chain` always have arity of -1 and `lam... marcandre (Marc-Andre Lafortune)
02:59 AM Bug #15604: Backport r66349 to 2.5
rafaelfranca (Rafael França) wrote:
> Thank you! Do you need to change the backport field to point it needs to be ba...
shyouhei (Shyouhei Urabe)
01:55 AM Feature #15612: A construct to restrict the scope of local variables
jeremyevans0 (Jeremy Evans) wrote:
> As blocks already do what you want, why not just:
>
> ```ruby
> foo = "bar"...
nobu (Nobuyoshi Nakada)
01:27 AM Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
Attached is a fix to this issue, by just adding `|| defined(__OpenBSD__)`.
The example in the PTY document works c...
jeremyevans0 (Jeremy Evans)

02/19/2019

10:39 PM Feature #15612: A construct to restrict the scope of local variables
On top of what others have said, methods in Ruby should normally be quite short. If you have a method that's so long ... duerst (Martin Dürst)
03:15 PM Feature #15612: A construct to restrict the scope of local variables
sawa (Tsuyoshi Sawada) wrote:
> In order to improve readability of the code by explicitly indicating the scope of su...
jeremyevans0 (Jeremy Evans)
02:38 PM Feature #15612: A construct to restrict the scope of local variables
I think this is an interesting idea but the syntax is a bit confusing (to
me).
This may be because I am so used t...
shevegen (Robert A. Heiler)
01:28 PM Feature #15612 (Feedback): A construct to restrict the scope of local variables
I am not sure how readability improved by adding explicit scoping. So you have to prove it first.
From my point of v...
matz (Yukihiro Matsumoto)
12:42 PM Feature #15612 (Feedback): A construct to restrict the scope of local variables
We sometimes have local variables that are to be used only to keep track of some temporal states/values during a shor... sawa (Tsuyoshi Sawada)
05:56 PM Feature #15611: Shipping Bundler as a bundled gem, not a default gem
> Also, moving bundler to a default gem would still keep the same problem...
When I said "default gem" before I me...
deivid (David Rodríguez)
12:26 PM Feature #15611: Shipping Bundler as a bundled gem, not a default gem
> As far as I know, bundler is planned to be merged to rubygems.
What would that mean exactly? (that's a question ...
Eregon (Benoit Daloze)
09:25 AM Feature #15611: Shipping Bundler as a bundled gem, not a default gem
Yes, I was going to comment exactly along the same lines mame presents.
Also, moving bundler to a default gem woul...
deivid (David Rodríguez)
12:59 AM Feature #15611: Shipping Bundler as a bundled gem, not a default gem
As far as I know, bundler is planned to be merged to rubygems. If shipping bundler as a gem is ephemeral, it looks l... mame (Yusuke Endoh)
 

Also available in: Atom