Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Completion/Unix/Commands/_ri: updated for Ruby 1.9.2
- X-seq: zsh-workers 28571
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: "Alexey I. Froloff" <raorn@xxxxxxxxxxxx>
- Subject: Re: [PATCH] Completion/Unix/Commands/_ri: updated for Ruby 1.9.2
- Date: Wed, 5 Jan 2011 16:27:35 -0500 (EST)
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20110104113222.GA7499@xxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1293748882-3197-1-git-send-email-raorn@xxxxxxxxxxxx> <20110104113222.GA7499@xxxxxxxxxxxx>
On Tue, 4 Jan 2011, Alexey I. Froloff wrote:
On Fri, Dec 31, 2010 at 01:41:22AM +0300, Alexey I. Froloff wrote:
In Ruby 1.9.2 extension of compiled RI files changed from .yaml to
.ri, choose extension accorting to RI version.
Comments, anyone?
(Apologies in advance if this isn't useful feedback, I'm a Ruby noob.)
Maybe it makes sense, but it seems weird that the tests are conditioned
on running Ruby scripts rather than looking at `ri --version`.
And how does this fare against different Ruby implementations? Would
JRuby 1.9.2 necessarily use the same 'ri' conventions as MRI Ruby 1.9.2?
And more generally, since it's looking in directories that would only
contain Ruby documentation, would it hurt to include both .yaml and .ri
for versions that support .ri?
--
Best,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author