[#64517] Fw: Re: Ruby and Rails to become Apache Incubator Project — Tetsuya Kitahata <[email protected]>

What do you think? >> Ruby developers

13 messages 2014/08/23

[#64615] [ruby-trunk - Feature #10181] [Open] New method File.openat() — oss-ruby-lang@...

Issue #10181 has been reported by Technorama Ltd..

10 messages 2014/08/28
[#64616] Re: [ruby-trunk - Feature #10181] [Open] New method File.openat() — Eric Wong <normalperson@...> 2014/08/28

I like this feature.

[#64671] Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...>

Why this fix solve your problem?

9 messages 2014/08/30
[#64672] Re: Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...> 2014/08/30

(2014/08/30 8:50), SASADA Koichi wrote:

[ruby-core:64292] Re: [ruby-trunk - Bug #10105] [Assigned] Mixed styles for class methods on Tempfile break RDocs.

From: El_Hoy <eloyesp@...>
Date: 2014-08-10 23:56:14 UTC
List: ruby-core #64292
I've tried to fix it only touching documentation, and it seems to be
impossible, rdoc does not understand the `class << self` syntax (I
understand rdoc in this point, ruby is not easy to parse). I've added an
issue in Rdoc for it ( https://github.com/rdoc/rdoc/issues/317 ).

So the Tempfile.open method needs to be redefined to be understand by rdoc.

I've updated the pull request with the minimal change that will fix the
issue **I don't like it** as it define class methods outside of the class
itself (so the source is harder to read), and it hardcode the class name
two times (that I think is ugly).

I quite not understand why there is so much resistance to refactor the code
for readability.



---  Eloy


2014-08-07 21:36 GMT-03:00 <[email protected]>:

> Issue #10105 has been updated by Zachary Scott.
>
> Status changed from Third Party's Issue to Assigned
> Assignee changed from Eric Hodel to Zachary Scott
>
> This may be a bug in RDoc, but we can fix it without redefining the
> methods by using the document method directive:
>
> See
> http://docs.seattlerb.org/rdoc/RDoc/Parser/Ruby.html#class-RDoc::Parser::Ruby-label-Metaprogrammed+Methods
>
> Could you send a patch for this instead?
>
> ----------------------------------------
> Bug #10105: Mixed styles for class methods on Tempfile break RDocs.
> https://bugs.ruby-lang.org/issues/10105#change-48241
>
> * Author: Eloy Esp
> * Status: Assigned
> * Priority: Normal
> * Assignee: Zachary Scott
> * Category: doc
> * Target version:
> * ruby -v: 2.1.1
> * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
> ----------------------------------------
> I've already made a little pull request here
> https://github.com/ruby/ruby/pull/691.
>
> The diff is here: https://github.com/ruby/ruby/pull/691.diff
>
> But to make the real changes clear is it better to ignore white-space (as
> there are many indentation changes).
>
> Changes ignoring white-space:
> https://github.com/ruby/ruby/pull/691/files?w=1
>
> Regards.
>
>
>
> --
> https://bugs.ruby-lang.org/
>

In This Thread

Prev Next