ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:85858] [Ruby trunk Feature#14559] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
@ 2018-02-28  8:39 ` sawadatsuyoshi
  2018-02-28 12:33 ` [ruby-core:85865] " shevegen
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: sawadatsuyoshi @ 2018-02-28  8:39 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been reported by sawa (Tsuyoshi Sawada).

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559

* Author: sawa (Tsuyoshi Sawada)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:85865] [Ruby trunk Feature#14559] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
  2018-02-28  8:39 ` [ruby-core:85858] [Ruby trunk Feature#14559] ENV.slice sawadatsuyoshi
@ 2018-02-28 12:33 ` shevegen
  2018-03-21 13:23 ` [ruby-core:86239] " benoit
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: shevegen @ 2018-02-28 12:33 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been updated by shevegen (Robert A. Heiler).


Seems sensible.

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559#change-70719

* Author: sawa (Tsuyoshi Sawada)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:86239] [Ruby trunk Feature#14559] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
  2018-02-28  8:39 ` [ruby-core:85858] [Ruby trunk Feature#14559] ENV.slice sawadatsuyoshi
  2018-02-28 12:33 ` [ruby-core:85865] " shevegen
@ 2018-03-21 13:23 ` benoit
  2018-03-29  1:14 ` [ruby-core:86374] [Ruby trunk Feature#14559][Assigned] ENV.slice hsbt
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: benoit @ 2018-03-21 13:23 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been updated by Benoit_Tigeot (Benoit Tigeot).


Thanks for the idea. I submitted a pull request on github here https://github.com/ruby/ruby/pull/1844 (patch link https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1844.patch).

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559#change-71140

* Author: sawa (Tsuyoshi Sawada)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:86374] [Ruby trunk Feature#14559][Assigned] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2018-03-21 13:23 ` [ruby-core:86239] " benoit
@ 2018-03-29  1:14 ` hsbt
  2018-03-29 16:02 ` [ruby-core:86396] [Ruby trunk Feature#14559] ENV.slice benoit
  2018-04-19  5:22 ` [ruby-core:86586] " matz
  5 siblings, 0 replies; 6+ messages in thread
From: hsbt @ 2018-03-29  1:14 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to matz (Yukihiro Matsumoto)

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559#change-71301

* Author: sawa (Tsuyoshi Sawada)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```

---Files--------------------------------
env_slice.patch (2.23 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:86396] [Ruby trunk Feature#14559] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2018-03-29  1:14 ` [ruby-core:86374] [Ruby trunk Feature#14559][Assigned] ENV.slice hsbt
@ 2018-03-29 16:02 ` benoit
  2018-04-19  5:22 ` [ruby-core:86586] " matz
  5 siblings, 0 replies; 6+ messages in thread
From: benoit @ 2018-03-29 16:02 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been updated by Benoit_Tigeot (Benoit Tigeot).


I've re-submitted the patch with correct test order. Thanks, Matz, Mame and Matz for your help during last ruby hack challenge.

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559#change-71324

* Author: sawa (Tsuyoshi Sawada)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```

---Files--------------------------------
env_slice.patch (2.23 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:86586] [Ruby trunk Feature#14559] ENV.slice
       [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2018-03-29 16:02 ` [ruby-core:86396] [Ruby trunk Feature#14559] ENV.slice benoit
@ 2018-04-19  5:22 ` matz
  5 siblings, 0 replies; 6+ messages in thread
From: matz @ 2018-04-19  5:22 UTC (permalink / raw
  To: ruby-core

Issue #14559 has been updated by matz (Yukihiro Matsumoto).


It seems OK to me.

Matz.

----------------------------------------
Feature #14559: ENV.slice
https://bugs.ruby-lang.org/issues/14559#change-71529

* Author: sawa (Tsuyoshi Sawada)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`.

```ruby
ENV.slice("PATH", "FOO")
# => {"PATH" => "/foo:/bar", "FOO" => "foo"}
```

---Files--------------------------------
env_slice.patch (2.23 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-19  5:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-14559.20180228083922@ruby-lang.org>
2018-02-28  8:39 ` [ruby-core:85858] [Ruby trunk Feature#14559] ENV.slice sawadatsuyoshi
2018-02-28 12:33 ` [ruby-core:85865] " shevegen
2018-03-21 13:23 ` [ruby-core:86239] " benoit
2018-03-29  1:14 ` [ruby-core:86374] [Ruby trunk Feature#14559][Assigned] ENV.slice hsbt
2018-03-29 16:02 ` [ruby-core:86396] [Ruby trunk Feature#14559] ENV.slice benoit
2018-04-19  5:22 ` [ruby-core:86586] " matz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).