From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 760 invoked by alias); 5 Jan 2011 21:37:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28571 Received: (qmail 9914 invoked from network); 5 Jan 2011 21:37:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at benizi.com designates 64.130.10.15 as permitted sender) Date: Wed, 5 Jan 2011 16:27:35 -0500 (EST) From: "Benjamin R. Haskell" To: "Alexey I. Froloff" cc: zsh-workers@zsh.org Subject: Re: [PATCH] Completion/Unix/Commands/_ri: updated for Ruby 1.9.2 In-Reply-To: <20110104113222.GA7499@altlinux.org> Message-ID: References: <1293748882-3197-1-git-send-email-raorn@altlinux.org> <20110104113222.GA7499@altlinux.org> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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