Project

General

Profile

Activity

From 08/09/2012 to 08/15/2012

08/15/2012

11:51 PM Feature #6828: Constancy of Constants
@alexeymuranov Yes, #6810 that's the one. Probably why I did not find it --it listed as a Bug. I would agree, actually. trans (Thomas Sawyer)
11:49 PM Feature #6828: Constancy of Constants
=begin
It's not that. It's the constant lookup:
module Foo
X = 1
module Bar
p X #=> 1
end
end...
trans (Thomas Sawyer)
09:00 PM Feature #6828: Constancy of Constants
=begin
I think it might be implemented but i'd rather not do that.
The reason why its not equivalent is because the f...
MasterLambaster (Alex N)
09:30 PM Feature #6670: str.chars.last should be possible
=begin
Hello,
I wrote a patch for String#lines, #chars, #bytes and #codepoints.
* https://github.com/ruby/ruby...
yhara (Yutaka HARA)
09:07 PM Feature #6875 (Closed): Make test/unit default gem
test/unitをdefault gemにするパッチです。
http://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem に従ってバージョンは2.0.0.0にしています。
...
kou (Kouhei Sutou)
08:50 PM Bug #6866 (Closed): DRb tests hang on OS X
This issue was solved with changeset r36709.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is...
Eregon (Benoit Daloze)
06:21 PM Bug #6866: DRb tests hang on OS X
h.shirosaki (Hiroshi Shirosaki) wrote:
> This seems related to r36699. It changed #inspect behavior.
>
> DRbObjec...
Eregon (Benoit Daloze)
11:30 AM Bug #6866: DRb tests hang on OS X
This seems related to r36699. It changed #inspect behavior.
DRbObject#to_s is redefined, but #inspect doesn't call...
h.shirosaki (Hiroshi Shirosaki)
06:03 PM Bug #6872: Array does not specify how it determines uniqueness of values
Hello,
I allow myself to make a patch containing documentation : https://github.com/robin850/ruby/compare/enhance_...
robin850 (Robin Dupret)
12:26 PM Bug #6872: Array does not specify how it determines uniqueness of values
These methods all use "Hash key equality", so #hash and #eql? control the behavior. drbrain (Eric Hodel)
11:10 AM Bug #6872 (Closed): Array does not specify how it determines uniqueness of values
=begin
The documentation of (({Array#uniq})) , and similar methods, does not specify how values are determined to be...
agrimm (Andrew Grimm)
04:33 PM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
Thanks for the explanation and for the last example with method call inside `def`, i did not think well enough. I se... alexeymuranov (Alexey Muranov)
10:11 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
It seems impossible to implement without fundamentally changing the feel of writing ruby.
Due to enumerato...
drbrain (Eric Hodel)
08:43 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
The idea seems extremely bad to me.
pedz (Perry Smith)
06:02 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
You mean, what should `method(3)` output? This was not considered in my proposal, i think it should be the same. In... alexeymuranov (Alexey Muranov)
05:24 AM Feature #6868 (Feedback): Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
What would this code do:
def method n
n = n.times
p n
n
end
Currently it prints (({...
drbrain (Eric Hodel)
02:06 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
I have just realized that parameters are parsed before looking up the method definition, so maybe this is not possibl... alexeymuranov (Alexey Muranov)
01:26 AM Feature #6868 (Rejected): Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
I propose to make the use of "(({do}))" in block syntax optional if the block is the last argument of a metho...
alexeymuranov (Alexey Muranov)
04:23 PM Feature #6869: Do not treat `_` parameter exceptionally
marcandre (Marc-Andre Lafortune) wrote:
> Hi,
>
> alexeymuranov (Alexey Muranov) wrote:
> > I propose to not tre...
alexeymuranov (Alexey Muranov)
01:03 PM Feature #6869: Do not treat `_` parameter exceptionally
Hi,
alexeymuranov (Alexey Muranov) wrote:
> I propose to not treat the variable name "`_`" exceptionally.
Sorr...
marcandre (Marc-Andre Lafortune)
10:59 AM Feature #6869: Do not treat `_` parameter exceptionally
Seems to be part of variable shadowing checks. The check was added before r8857 (which was a refactor of the feature... drbrain (Eric Hodel)
06:50 AM Feature #6869 (Assigned): Do not treat `_` parameter exceptionally
I started by commenting on #6693, but i have realized that this is a slightly different request.
I propose to not...
alexeymuranov (Alexey Muranov)
04:09 PM Feature #6852: [].transpose should behave specially
Ok, thanks, i've understood. alexeymuranov (Alexey Muranov)
01:21 PM Feature #6852 (Rejected): [].transpose should behave specially
HI,
alexeymuranov (Alexey Muranov) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
> >
> > The later would fa...
marcandre (Marc-Andre Lafortune)
04:09 PM Bug #6873 (Assigned): Failed to build ruby for NaCl i686 version
shyouhei (Shyouhei Urabe)
04:02 PM Bug #6873 (Closed): Failed to build ruby for NaCl i686 version
・My PC Spec:Mac OS X, Chrome 21, pepper_19
I tried to install pepper-ruby i686 version to directory of "/Users/use...
ikeay (Ayaka Ikezawa)
01:23 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
> (1) "is not a problem of platform but a hardcoded path on openssl."
> Yes, I think so, too.
>
> (2) "if ...
kosaki (Motohiro KOSAKI)
11:50 AM Revision fd7dc23d (git): Kernel#inspect: improve consistency and do not call #to_s.
* object.c (rb_obj_inspect): Kernel#inspect: do not call #to_s. A class
can now benefit from the nice default #insp...
Eregon (Benoit Daloze)
09:08 AM Revision e272790d (git): * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
status line if the status is skipped and -q is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36708 b...
U.Nakamura
07:26 AM Revision 665b06ec (git): sprintf.c: infect
* sprintf.c (ruby__sfvextra): the result should be infected by the
given strings.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
07:23 AM Revision bb545e21 (git): sprintf.c: coderange fix
* sprintf.c (ruby__sfvwrite): set buffer length and exclude
uninitialized garbage to get correct coderange.
git-s...
nobu (Nobuyoshi Nakada)
07:20 AM Revision e7878d20 (git): common.mk: ID_H_TARGET
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the
header will not be remade repetitively.
git-sv...
nobu (Nobuyoshi Nakada)
06:08 AM Feature #6693: Don't warn for unused variables starting with _
I am sorry, i think there is misunderstanding.
{1=>2}.each_with_index { |x,x| puts "Oho!" } # SyntaxError: (eval):...
alexeymuranov (Alexey Muranov)
04:43 AM Revision 1b4a45cf (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:39 AM Revision 8eb93103 (git): * vm_trace.c: separate trace_func related functions from
thread.c.
* thread.c: ditto.
* common.mk: add vm_trace.o.
* inits.c: call Init_vm_trace().
git-svn-id: svn+ssh://c...
ko1 (Koichi Sasada)
02:25 AM Bug #6867: super in a Mutex#synchronize block
Hi,
This issue seems happen after r36640.
nagachika (Tomoyuki Chikanaga)
01:09 AM Revision d2e9b545 (git): * 2012-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 780e7d09 (git): Revert r36699 and r36700. [Feature #6130]
Revert "Kernel#inspect: improve consistency and do not call #to_s."
Revert "update PP with recent Kernel#inspect chan...
naruse (Yui NARUSE)

08/14/2012

09:53 PM Feature #5663: Combined map/select method
On Tue, Aug 14, 2012 at 1:25 PM, trans (Thomas Sawyer)
<[email protected]> wrote:
> Instead of thinking of it as...
Anonymous
08:25 PM Feature #5663: Combined map/select method
Instead of thinking of it as a special type of #map, I suggest thinking about it as a special type of #select. The re... trans (Thomas Sawyer)
06:24 PM Feature #5663: Combined map/select method
+1 I also like filter_map
(My other favourite would be map_selected which I think is more expressive for non-lisp-...
drKreso (Kresimir Bojcic)
09:39 PM Bug #6863: Class#initialize infinite loops when passed self
The problem with disabling Class.allocate is that we don't know if anyone is using it out in the wild. Detecting circ... Anonymous
10:19 AM Bug #6863: Class#initialize infinite loops when passed self
charliesome (Charlie Somerville) wrote:
> x = Class.allocate
Why on earth is this allowed? I have no idea ho...
shyouhei (Shyouhei Urabe)
08:44 PM Bug #6867 (Closed): super in a Mutex#synchronize block
The following code:
require 'thread'
class Parent
def meth
end
end
class Child < Parent
def meth
...
Eregon (Benoit Daloze)
08:31 PM Feature #6693: Don't warn for unused variables starting with _
alexeymuranov (Alexey Muranov) wrote:
> It this really necessary to treat the variable name `_` exceptionally at the...
drbrain (Eric Hodel)
06:05 AM Feature #6693: Don't warn for unused variables starting with _
drbrain (Eric Hodel) wrote:
> Why should we break compatibility with ruby 1.9?
>
> RDoc uses double assignment to...
alexeymuranov (Alexey Muranov)
03:47 AM Feature #6693: Don't warn for unused variables starting with _
Why should we break compatibility with ruby 1.9?
RDoc uses double assignment to avoid the unused variable warning ...
drbrain (Eric Hodel)
08:15 PM Feature #6130: inspect using to_s is pain
Hi,
mame (Yusuke Endoh) wrote:
> I suggested giving Benoit a commit bit at the developer meeting (7/21),
> and mat...
Eregon (Benoit Daloze)
07:20 PM Feature #6130 (Closed): inspect using to_s is pain
This issue was solved with changeset r36699.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is...
Eregon (Benoit Daloze)
08:03 PM Bug #6866 (Closed): DRb tests hang on OS X
This seems due to r36456.
The two loops added just keep running. Commenting them seems to solve the problem.
`@ther...
Eregon (Benoit Daloze)
05:12 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
> Is this a bug or feature?
It's a bug, but...
Does anyone challenge to fix this? :)
usa (Usaku NAKAMURA)
04:53 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
Hi,

2012/8/14 usa (Usaku NAKAMURA) <[email protected]>
>
>
> Issue #6851 has been updated by usa (Usa...
phasis68 (Heesob Park)
04:07 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
Hopefully, fixed.
I added some test cases.
Please point out, if I have an oversight.
usa (Usaku NAKAMURA)
04:05 PM Bug #6851 (Closed): Result of File.stat("c:/...") is different from 1.9.3
This issue was solved with changeset r36696.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
usa (Usaku NAKAMURA)
10:10 AM Bug #6851 (Assigned): Result of File.stat("c:/...") is different from 1.9.3
Oops...
[Bug #5819] said that File.stat for empty root directory fails.
Of course it was a bug.
"C:/..." problem...
usa (Usaku NAKAMURA)
03:13 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> > 同感です。&#39; の方がいいかな、1バイト短いし。
>
> https://www.owasp.or...
naruse (Yui NARUSE)
01:35 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。
naruse (Yui NARUSE) wrote:
> 同感です。&#39; の方がいいかな、1バイト短いし。
https://www.owasp.org/index.php/XSS_(Cross_Site...
shugo (Shugo Maeda)
01:17 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
shugo (Shugo Maeda) wrote:
> xibbar (Takeyuki Fujioka) wrote:
> > > cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHT...
naruse (Yui NARUSE)
01:01 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。
xibbar (Takeyuki Fujioka) wrote:
> > cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHTML4以前の
> > 規格に合わせるべきでは...
shugo (Shugo Maeda)
12:50 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
> cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHTML4以前の
> 規格に合わせるべきではないでしょうか。
> また、互換性の確保が難しくないのであれば(今回の件は難しくないと考えて...
xibbar (Takeyuki FUJIOKA)
10:12 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
spastorino (Santiago Pastorino) wrote:
> Shugo I've already sent an issue for the &apos; thing.
>
> https://bugs....
shugo (Shugo Maeda)
10:10 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
Aaron Patterson wrote:
> > I and SEKI have discussed it, and have agreed to use cgi/util.
> > CGI.escapeHTML has ...
shugo (Shugo Maeda)
09:59 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
匿名ユーザ wrote:
> escapeHTMLとはなんなのか?という問題に行き着くかと思います。
> 私も途中からcgiライブラリをメンテナンスしているので、
> 過去のことはちょっとわからないのですが、
> es...
shugo (Shugo Maeda)
01:04 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
Shugo I've already sent an issue for the &apos; thing.
https://bugs.ruby-lang.org/issues/6850
and here https://...
spastorino (Santiago Pastorino)
12:23 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
On Mon, Aug 13, 2012 at 01:11:45PM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #6861 has been updated by shugo (S...
Anonymous
12:03 PM Bug #6850 (Closed): It's not recommended to escape ' to &apos;
This issue was solved with changeset r36692.
Santiago, thank you for reporting this issue.
Your contribution to Ruby ...
xibbar (Takeyuki FUJIOKA)
01:15 AM Bug #6850: It's not recommended to escape ' to &apos;
I've just updated the pull request to take in consideration https://bugs.ruby-lang.org/projects/ruby-trunk/repository... spastorino (Santiago Pastorino)
10:36 AM Bug #6830 (Assigned): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
(1) "is not a problem of platform but a hardcoded path on openssl."
Yes, I think so, too.
(2) "if you moved O...
usa (Usaku NAKAMURA)
10:21 AM Revision e1aa72d4 (git): update PP with recent Kernel#inspect change. Patch by Yusuke Endoh.
* lib/pp.rb (class PP): do not call #to_s anymore, as #inspect no more does.
* test/test_pp.rb (class PPInspectTest):...
Eregon (Benoit Daloze)
10:20 AM Revision 795c29dc (git): Kernel#inspect: improve consistency and do not call #to_s.
A class can now benefit from the nice default #inspect even if it
defines #to_s. Also, there is no more unexpected ch...
Eregon (Benoit Daloze)
09:49 AM Bug #5485 (Closed): ERB html_escape should follow OWASP recommendations
fixed in r36687. shugo (Shugo Maeda)
07:28 AM Revision f42a7c09 (git): * test/erb/test_erb.rb (test_html_escape): add assertions for the
cases where the argument is not a String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36698 b2dd03c8-39d4-4d8f...
shugo (Shugo Maeda)
07:28 AM Revision a2884195 (git): * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
07:05 AM Revision cb4e2b59 (git): * win32/win32.c (check_valid_dir): reject "..." as directory name.
[Bug #6851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:03 AM Revision 104b5c78 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_dotted_prefix): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36695 b2dd03...
U.Nakamura
06:53 AM Bug #6849: Psych.load_file throws TypeError for empty file
On Tue, Aug 14, 2012 at 03:12:58AM +0900, Zachary Scott wrote:
> On ruby 1.9.3p194 (2012-04-20 revision 35410) [x86...
Anonymous
03:23 AM Bug #6849: Psych.load_file throws TypeError for empty file
On ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

I can reproduce this using Psych.load_file.

H...
zzak (zzak _)
06:52 AM Revision b3a4461d (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:39 AM Revision 9933a601 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_drive_root): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36693 b2dd03c8-...
U.Nakamura
06:02 AM Bug #6865 (Closed): GC::Profiler.report might create a huge String and invoke a few GC cycles
Hi,
In my use-case, GC::Profiler.report adds a few GC cycles to actually create the report, ending with these line...
Eregon (Benoit Daloze)
05:49 AM Bug #6531: Increase Racc runtime versions
Looks like this was fixed by Aaron on github[1], please close this ticket
1: https://github.com/tenderlove/racc/co...
zzak (zzak _)
05:01 AM Bug #6864: bad value for range when using infinity with date or time
And sometimes range behavior cant be understood - Range.new(Date.new(0), BigDecimal.new(9)) slbug (Alex Grebennik)
04:24 AM Bug #6864 (Closed): bad value for range when using infinity with date or time
Steps to reproduce:
require 'date'
Range.new(Date.today, 1.0/0.0) # works
Range.new(-1.0/0.0, Date.today) # f...
slbug (Alex Grebennik)
03:48 AM Feature #6852: [].transpose should behave specially
marcandre (Marc-Andre Lafortune) wrote:
>
> The later would fail for an empty set of exams and grades
I didn't unde...
alexeymuranov (Alexey Muranov)
03:23 AM Feature #6852: [].transpose should behave specially
On Mon, Aug 13, 2012 at 3:15 PM, marcandre (Marc-Andre Lafortune)
<[email protected]> wrote:
>> It would ...
Anonymous
03:03 AM Revision 745ada86 (git): Tue Aug 14 11:55:37 2012 Takeyuki FUJIOKA <[email protected]>
* lib/cgi/util.rb (CGI::escapeHTML): &apos; is not recommended. [Bug #6850]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Takeyuki FUJIOKA
02:58 AM Feature #6857: bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
Having fast exp() allows us to speed up BigMath.log(). Especially for calculations with large precision.
The area ...
royaltm (Rafał Michalski)
02:01 AM Revision 7fc28975 (git): * 2012-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:01 AM Revision e9969414 (git): * lib/erb.rb (ERB::Util.html_escape): fix r36687: call to_s before
passing it to CGI.escapeHTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36690 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)

08/13/2012

11:38 PM Bug #6862: BigMath.exp negative exponent
BigMath.exp cannot handle floating point value too.
C:\Users\phasis>ruby -rbigdecimal -e 'p BigMath.exp(3.0,10)'
...
phasis68 (Heesob Park)
05:58 PM Bug #6862 (Closed): BigMath.exp negative exponent
Ruby 1.9.3 BigMath.exp accepts Fixnum for exponent but silently treats negative exponents as positive:
1.9.3p260 :00...
karatedog (Földes László)
10:35 PM Bug #6863: Class#initialize infinite loops when passed self
I've attached a patch that raises a TypeError with the message "circular inheritance detected" when it detects a clas... Anonymous
10:12 PM Bug #6863 (Closed): Class#initialize infinite loops when passed self
=begin
The following code sends Ruby into an infinite loop:
x = Class.allocate
x.send :initialize, x
...
Anonymous
10:14 PM Feature #6852: [].transpose should behave specially
Anonymous wrote:
> > A 3x0 matrix corresponds to [[], [], []], but there is no correspondence for a 0x3 matrix. So s...
marcandre (Marc-Andre Lafortune)
09:23 PM Feature #6852: [].transpose should behave specially
> A 3x0 matrix corresponds to [[], [], []], but there is no correspondence for a 0x3 matrix. So strictly speaking, `... Anonymous
09:12 PM Feature #6852: [].transpose should behave specially
Hi,
alexeymuranov (Alexey Muranov) wrote:
> Then it is not possible to express in the same way a 3 x 0 matrix (or...
marcandre (Marc-Andre Lafortune)
08:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
藤岡です。

> 2012年8月13日 12:35 fujioka <[email protected]>:
>>>> (a) エスケープすべき文字がこれで良いのか最近の事情がわからない
>>>> &apos;っ...
Anonymous
01:17 PM Bug #6861 (Closed): ERB::Util.escape_html is not escaping single quotes
This issue was solved with changeset r36687.
Santiago, thank you for reporting this issue.
Your contribution to Ruby ...
shugo (Shugo Maeda)
01:11 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
Hello,
Thanks for your report.
spastorino (Santiago Pastorino) wrote:
> OWASP suggest escaping &, <, >, ", ' a...
shugo (Shugo Maeda)
12:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。

2012年8月13日 12:47 Masatoshi SEKI <[email protected]>:
>> 2012年8月13日 10:59 Masatoshi SEKI <m_seki@...
shugo (Shugo Maeda)
12:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。

2012年8月13日 12:35 fujioka <[email protected]>:
>>> (a) エスケープすべき文字がこれで良いのか最近の事情がわからない
>>> &apos;っていうのは...
shugo (Shugo Maeda)
12:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
咳といいます。

On 2012/08/13, at 11:38, Shugo Maeda <[email protected]> wrote:

> 前田です。
>
> 2012年8月13日 10:59 Masa...
Anonymous
12:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
xibbarこと藤岡です。

> 2012年8月13日 11:38 Shugo Maeda <[email protected]>:
>>> (a) エスケープすべき文字がこれで良いのか最近の事情がわからない
>...
Anonymous
12:53 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
xibbarこと藤岡です。

>> (a) エスケープすべき文字がこれで良いのか最近の事情がわからない
>> &apos;っていうのは件のパッチの中にないけど「'」のことですか?
>
> &apos;...
Anonymous
12:23 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
On 08/13/2012 12:03 PM, Shota Fukumori (sora_h) wrote:
> sora_h です
>
> 2012/8/13 Masatoshi SEKI <[email protected]...
shyouhei (Shyouhei Urabe)
12:23 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
sora_h です

2012/8/13 Masatoshi SEKI <[email protected]>:
> (b) github経由のコミットしたことなくてpull requestを受け入れる手順...
sorah (Sorah Fukumori)
11:53 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。

一点コメントし忘れてました。

2012年8月13日 11:38 Shugo Maeda <[email protected]>:
>> (a) エスケープすべき文字がこれで良いのか最近の事情が...
shugo (Shugo Maeda)
11:53 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。

2012年8月13日 10:59 Masatoshi SEKI <[email protected]>:
> Rubyスクリプト的にはこんな感じで修正していいと思います。
> 私がわからな...
shugo (Shugo Maeda)
11:23 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
咳といいます。

On 2012/08/13, at 10:30, Shugo Maeda <[email protected]> wrote:
>
> 以下のチケットが登録されています。
>
> HTMLではど...
Anonymous
10:53 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
咳さん

前田です。

以下のチケットが登録されています。

HTMLではどの文字をエスケープすべきかは文脈によって異なるので、現状の動作は仕様
だと思うのですが、利便性を考えると修正してもよいのかなと思...
shugo (Shugo Maeda)
01:20 AM Bug #6861 (Closed): ERB::Util.escape_html is not escaping single quotes
We just fixed this issue in Rails
https://groups.google.com/forum/#!msg/rubyonrails-security/kKGNeMrnmiY/r2yM7xy-G48...
spastorino (Santiago Pastorino)
12:53 PM Feature #6847: Hash#extract
Oh my, what a disaster. I wonder who made the crazy decision that hash
slice would returned a slice of the hash an...
claytrump (Clay Trump)
08:06 AM Feature #6847: Hash#extract
It important to understand the differences and to determine the best definition. ActiveSupport's #slice returns the s... trans (Thomas Sawyer)
06:52 AM Feature #6847: Hash#extract
claytrump (Clay Trump) wrote:
> There is no "extract!" in ActiveSupport, its "slice!" you mean.
http://apidock.c...
citizen428 (Michael Kohl)
01:23 AM Feature #6847: Hash#extract
> It's definitely like extract! in ActiveSupport, just non-destructive.


There is no "extract!" in ActiveSupp...
claytrump (Clay Trump)
06:39 AM Revision 4e75451a (git): * test/erb/test_erb.rb (test_html_escape): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:17 AM Revision eac25eed (git): * 2012-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 AM Revision 4093598b (git): * lib/erb.rb (ERB::Util.html_escape): use CGI.escape to escape
single quotes. [ruby-core:47138] [Bug #6861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36687 b2dd03c8-39d4-4...
shugo (Shugo Maeda)

08/12/2012

12:04 PM Bug #5832 (Closed): 意図しないブロック渡しが行われる
This issue was solved with changeset r36685.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is...
ktsj (Kazuki Tsujimoto)
05:53 AM Bug #5670: Emacs ruby-mode syntax highlighting issue
The above bug has some updates: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6286
dgutov (Dmitry Gutov)
04:04 AM Feature #4085: Refinements and nested methods
trans (Thomas Sawyer) wrote:
> =begin
> module MyApp
> include Facets
> end
>
> Would that work?
> =e...
Eregon (Benoit Daloze)
03:12 AM Feature #4085: Refinements and nested methods
=begin
One question I have is how this would work with something like Facets, including its ability to cherry pick m...
trans (Thomas Sawyer)
03:10 AM Revision a6321085 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 AM Revision 9564e9bd (git): * vm.c (invoke_block_from_c): fix unintentional block passing.
[ruby-dev:45071] [Bug #5832]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36685 b2dd03c8-39d4-4d8f-98ff-823fe69...
ktsj (Kazuki Tsujimoto)

08/11/2012

11:55 PM Feature #6847: Hash#extract
Ruby Facets has Hash#slice as well.
http://rdoc.info:8080/github/rubyworks/facets/master/Hash#slice-instance_metho...
trans (Thomas Sawyer)
06:42 PM Feature #6847: Hash#extract
claytrump (Clay Trump) wrote:
> Isn't that like the method slice in ActiveSupport?
It's definitely like extract! ...
citizen428 (Michael Kohl)
11:48 PM Feature #6857: bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
* algorithms ;) royaltm (Rafał Michalski)
11:46 PM Feature #6857 (Assigned): bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
The algorythms to calculate E and exp programmed in BigMath module are the very straightforward interpretation of the... royaltm (Rafał Michalski)
09:18 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
usa (Usaku NAKAMURA) wrote:
> On my Windows box, OpenSSL::Config::DEFAULT_CONFIG_FILE returns the right path.
> So,...
luislavena (Luis Lavena)
01:32 PM Bug #6830 (Feedback): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
> On my Windows box, OpenSSL::Config::DEFAULT_CONFIG_FILE returns the right path.
Which path do your OpenSSL retur...
kosaki (Motohiro KOSAKI)
08:23 PM Bug #6829: Failure using Win32ole (happens in 1.8.7 and 1.9
Thank you for your reporting of the result and more information.

Could you try the following script using Ruby ...
suke (Masaki Suketa)
10:31 AM Bug #6829: Failure using Win32ole (happens in 1.8.7 and 1.9
Thanks for looking into this.
Here is what I get.
irb(main):005:0> method = internet_postage.ole_method("PrintP...
mvanduyn (Mitch VanDuyn)
06:57 PM Feature #6693: Don't warn for unused variables starting with _
It this really necessary to treat the variable name `_` exceptionally at the interpreter's level? Why not to use the... alexeymuranov (Alexey Muranov)
03:45 PM Revision 00468f21 (git): * 2012-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision 99556813 (git): * benchmark/driver.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:18 AM Bug #6851 (Feedback): Result of File.stat("c:/...") is different from 1.9.3
=begin
h.shirosaki (Hiroshi Shirosaki) wrote:
> The behavior is same (not raises exception) as before r36668.
>
...
luislavena (Luis Lavena)
08:05 AM Bug #6854 (Closed): ruby-mode.el has radical changes in `ruby-deep-indent-paren' logic
The following commits make a non-backward compatible change in how `ruby-deep-indent-paren' works:
https://github....
dgutov (Dmitry Gutov)
08:02 AM Revision 50d85014 (git): * 2012-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:02 AM Revision 66a40ecc (git): remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:20 AM Feature #6852: [].transpose should behave specially
marcandre (Marc-Andre Lafortune) wrote:
> Oups, I was not thinking straight. [] corresponds to a 0x0 matrix (i.e. Ma...
alexeymuranov (Alexey Muranov)
02:29 AM Feature #6852: [].transpose should behave specially
Hi,
> boris_stitnicky (Boris Stitnicky) wrote:
> > In other words, when [] is the receiver, ... it should raise,
...
marcandre (Marc-Andre Lafortune)
01:57 AM Feature #6852: [].transpose should behave specially
Hi,
alexeymuranov (Alexey Muranov) wrote:
> I think it can be agreed that all of the following represent the same...
marcandre (Marc-Andre Lafortune)
05:17 AM Feature #6373: public #self
Why no answer for: "Why not just public #self"? Why add YAMS?
(YAM = Yet Another Method)
trans (Thomas Sawyer)

08/10/2012

11:54 PM Bug #5832: 意図しないブロック渡しが行われる
レビューありがとうございました。
対応しておきます。
ktsj (Kazuki Tsujimoto)
11:53 PM Feature #6373: public #self
On Fri, Aug 10, 2012 at 4:25 PM, matz (Yukihiro Matsumoto)
<[email protected]> wrote:
> `__id__` returns `objec...
Anonymous
04:47 PM Feature #6373: public #self
boris_stitnicky (Boris Stitnicky) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > `__id__` returns `object_id` number...
alexeymuranov (Alexey Muranov)
02:22 PM Feature #6373: public #self
matz (Yukihiro Matsumoto) wrote:
> `__id__` returns `object_id` number, identity here is supposed to return itself.
...
Anonymous
11:35 PM Bug #6839 (Feedback): 1.9.3p194 [BUG] Segmentation fault
Could you try with recent version? nobu (Nobuyoshi Nakada)
09:16 PM Feature #6852: [].transpose should behave specially
I think it can be agreed that all of the following represent the same "empty matrix": `[]`, `[[]]`, `[[], [], []]`. ... alexeymuranov (Alexey Muranov)
08:36 PM Feature #6852 (Rejected): [].transpose should behave specially
```ruby
p = [1, 2, 3]
q = [4, 5, 6]
[p, q].transpose
# => [[1, 4], [2, 5], [3, 6]]
```
As expected, 2 x 3 vecto...
Anonymous
08:56 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
The behavior is same (not raises exception) as before r36668.
C:\>ruby -ve "p File.stat('C:/...')"
ruby 2.0.0de...
h.shirosaki (Hiroshi Shirosaki)
03:35 PM Bug #6851 (Assigned): Result of File.stat("c:/...") is different from 1.9.3
It's bug. usa (Usaku NAKAMURA)
03:22 PM Bug #6851 (Closed): Result of File.stat("c:/...") is different from 1.9.3
What is the correct result of File.stat("c:/...") on Windows?
File#stat for path like "c:/..." succeeds on trunk 3...
phasis68 (Heesob Park)
04:23 PM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment
2012/7/25 ko1 (Koichi Sasada) <[email protected]>:
>
>> How do you implement object_id for non integer imme...
akr (Akira Tanaka)
03:55 PM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment
I attached my patch.
Before (32bit CPU):
3.times{
p ObjectSpace._id2ref(p (0.1+0.2).object_id)
}
#=>...
ko1 (Koichi Sasada)
11:11 AM Bug #6848 (Feedback): bundle install fails
It seems because openssl bundled with Mac OS X.
Ruby can't work with Mac bundled OpenSSL
http://www.christopherir...
naruse (Yui NARUSE)
02:27 AM Bug #6848 (Rejected): bundle install fails
After installing ruby using rvm, on an OSX 10.6, bundle install fails.
This is my ruby:
$ ruby -v
ruby 1.9.3p19...
bcode (y s)
11:01 AM Bug #6850 (Assigned): It's not recommended to escape ' to &apos;
xibbar (Takeyuki FUJIOKA)
08:32 AM Bug #6850 (Closed): It's not recommended to escape ' to &apos;
OWASP doesn't recommend it https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.23... spastorino (Santiago Pastorino)
10:53 AM Revision ccf911a0 (git): Refix r36678: switch with zlib and check content-encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:51 AM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
On my Windows box, OpenSSL::Config::DEFAULT_CONFIG_FILE returns the right path.
So, this problem is not platform dep...
usa (Usaku NAKAMURA)
09:23 AM Bug #5437 (Rejected): Using fibers leads to huge memory leak
=begin
Your test does not illustrate any leak and is likely not capable of demonstrating a leak in a diagnosable way...
drbrain (Eric Hodel)
05:25 AM Revision 89c88eb5 (git): Suppress warnings: Net::HTTPResponse#header is obsolete
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:25 AM Revision 7391ae23 (git): Run automatic deflate decoding only if it has zlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 AM Bug #6849 (Closed): Psych.load_file throws TypeError for empty file
When parsing an empty file via Psych.load_file:
TypeError: no implicit conversion from nil to integer
I would expec...
BrandonMathis (Brandon Mathis)
02:53 AM Feature #6847: Hash#extract
Isn't that like the method slice in ActiveSupport?

On Thu, Aug 9, 2012 at 1:01 PM, citizen428 (Michael Kohl) <
...
claytrump (Clay Trump)
02:01 AM Feature #6847 (Rejected): Hash#extract
I often need a method to extract "subhashes" from hashes. I often monkey-patched this into hash and found "extract" t... citizen428 (Michael Kohl)
01:02 AM Feature #6844 (Feedback): Random.rand() requires pre-seeding in forked process
naruse (Yui NARUSE)

08/09/2012

11:42 PM Revision 33a63355 (git): * gc.c (gc_malloc_allocated_size): RDoc does not process macros, so
mention this method is only available when ruby is built with
CALC_EXACT_MALLOC_SIZE
* gc.c (gc_mal...
drbrain (Eric Hodel)
08:38 PM Bug #5437: Using fibers leads to huge memory leak
Yes the memory usage is stable but that does not change the fact that it is simply huge and never returned back. In r... rupert (Robert Pankowecki)
06:23 AM Bug #5437: Using fibers leads to huge memory leak
"rupert (Robert Pankowecki)" <[email protected]> wrote:
> Any progress ? Looks like this is still a prob...
normalperson (Eric Wong)
08:34 PM Feature #6845 (Closed): Optimize stat on Windows
This issue was solved with changeset r36668.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
09:05 AM Feature #6845 (Assigned): Optimize stat on Windows
seems good.
commit it, please.
usa (Usaku NAKAMURA)
07:46 AM Feature #6845 (Closed): Optimize stat on Windows
`require` slowness on startup was pointed out and some improvements were done, but startup seems still slow especiall... h.shirosaki (Hiroshi Shirosaki)
07:56 PM Feature #6528: Add Pathname#write and Pathname#binwrite
どうでしょうか?
何か引っかかっている所があれば指摘してもらえると嬉しいです.
niku (niku _)
03:46 PM Revision bb979b86 (git): * sample/coverage.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 PM Revision 773c7e94 (git): * 2012-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 54f5d4ec (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:46 PM Revision 402edc56 (git): mkrunnable.rb: build_os
* tool/mkrunnable.rb: see build_os instead of target arch for
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:46 PM Revision 50f3d3fe (git): configure.in: use real path
* configure.in (MINIRUBY): use real path for include path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36672 ...
nobu (Nobuyoshi Nakada)
02:46 PM Revision 1fcc1762 (git): fake.rb.in: remove duplications
* template/fake.rb.in (builddir): remove duplications
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36671 b2dd0...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 2b648fb7 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:49 PM Revision b8006774 (git): merge revision(s) 34972:
* pack.c (pack_unpack): when unpack('M') occurs an illegal byte
sequence, output the "=" character and the ...
naruse (Yui NARUSE)
12:42 PM Bug #6830 (Closed): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
This issue was solved with changeset r36666.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
11:10 AM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
Thanks for the detailed description! Luis has pointed out the issue on Windows to me already, and we agreed that this... MartinBosslet (Martin Bosslet)
11:34 AM Revision dcd7f09b (git): Optimize winnt_stat
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_special_file): add a test.
GetFileAttributesExW...
h.shirosaki (Hiroshi Shirosaki)
09:33 AM Revision 0e92dc4b (git): ruby.c: show version only once
* ruby.c (proc_options): show version only once even if -v and
--verbose are given together.
http://twitter.com/d...
nobu (Nobuyoshi Nakada)
09:31 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
If we want lexical multiplicity to equal evaluation multiplicity...
Should:
obj.foo.bar[baz.daz] .= to_i
b...
kstephens (Kurt Stephens)
07:54 AM Bug #6836: Improve File.expand_path performance in Windows
On Wed, Aug 8, 2012 at 9:42 PM, luislavena (Luis Lavena)
<[email protected]> wrote:
>
> Issue #6836 has bee...
h.shirosaki (Hiroshi Shirosaki)
06:23 AM Feature #6844: Random.rand() requires pre-seeding in forked process
"andrewhavens (Andrew Havens)" <[email protected]> wrote:
> Feature #6844: Random.rand() requires pre-seeding...
normalperson (Eric Wong)
05:51 AM Feature #6844 (Rejected): Random.rand() requires pre-seeding in forked process
I'm submitting this as a feature because I'm not sure if this implementation is intentional.
While using the delay...
andrewhavens (Andrew Havens)
03:42 AM Revision f207f779 (git): * test/openssl/test_config.rb (OpenSSL#test_constants): skip this
test if platform is Mac OS X or Windows. [Bug #6830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36666 b2dd03c...
kosaki (Motohiro KOSAKI)
03:23 AM Feature #6840: YAML tag method
On Wed, Aug 08, 2012 at 09:52:15PM +0900, trans (Thomas Sawyer) wrote:
>
> Issue #6840 has been updated by trans ...
Anonymous
 

Also available in: Atom