[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:75156] [Ruby trunk Bug#12315][Feedback] OptionParser parses quoted --dash strings in 2.3.0
From:
nobu@...
Date:
2016-04-24 00:41:47 UTC
List:
ruby-core #75156
Issue #12315 has been updated by Nobuyoshi Nakada.
Status changed from Open to Feedback
I can't reproduce it.
```
$ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR"){|x|p x}; opt.parse!}' -- -x 'a -b'
"a -b"
```
Is `wmctile` in `wmctile/bin`?
Isn't it another wrapper shell script file?
What does `type wmctile` show?
----------------------------------------
Bug #12315: OptionParser parses quoted --dash strings in 2.3.0
https://bugs.ruby-lang.org/issues/12315#change-58291
* Author: Petr Marek
* Status: Feedback
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Working on 2.2.4:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
~~~
On 2.3.0, it fails:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
wmctile/bin/wmctile:23:in `<main>': invalid option: --new-window (OptionParser::InvalidOption)
~~~
As seen above, even though the `--new-window` is a part of a string, OptionParser tries to handle it.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>