[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78628] [Ruby trunk Bug#10774] Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
From:
nagachika00@...
Date:
2016-12-13 14:47:00 UTC
List:
ruby-core #78628
Issue #10774 has been updated by Tomoyuki Chikanaga.
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED
----------------------------------------
Bug #10774: Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
https://bugs.ruby-lang.org/issues/10774#change-62015
* Author: Dominik Menke
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.2.0p0
* Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED
----------------------------------------
Using this example: https://github.com/ruby/ruby/blob/ruby_2_2/lib/uri/mailto.rb#L257-L259
Ruby 2.2.0:
~~~
$ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
$ ruby -ruri -e 'puts URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr").to_mailtext'
/home/dm/.rbenv/versions/2.2.0/lib/ruby/2.2.0/uri/mailto.rb:262:in `to_mailtext': undefined method `unescape' for #<URI::RFC3986_Parser:0x007f11ec3c1c20> (NoMethodError)
from -e:1:in `<main>'
~~~
Compare to Ruby 2.1.5:
~~~
$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
$ ruby -ruri -e 'puts URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr").to_mailtext'
To: ruby-list@ruby-lang.org
Subject: subscribe
Cc: myaddr
~~~
Ruby trunk:
~~~
$ ruby -v
ruby 2.3.0dev (2015-01-23 trunk 49388) [x86_64-linux]
$ ruby -ruri -e 'puts URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr").to_mailtext'
/home/dm/.rbenv/versions/2.3.0-dev/lib/ruby/2.3.0/uri/mailto.rb:266:in `to_mailtext': undefined method `unescape' for #<URI::RFC3986_Parser:0x007f1585094e70> (NoMethodError)
from -e:1:in `<main>'
~~~
---Files--------------------------------
bug10774.patch (769 Bytes)
--
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>