pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/ruby-metaclass



In message <20110912114628.0F2F5175DD%cvs.netbsd.org@localhost>
        on Mon, 12 Sep 2011 11:46:28 +0000,
        "Takahiro Kambe" <taca%netbsd.org@localhost> wrote:
> Module Name:  pkgsrc
> Committed By: taca
> Date:         Mon Sep 12 11:46:27 UTC 2011
> 
> Update of /cvsroot/pkgsrc/devel/ruby-metaclass
> In directory ivanova.netbsd.org:/tmp/cvs-serv9162
> 
> Log Message:
> IMporting ruby-metaclass version 0.0.1, which is needed by newer
> version of ruby-mocha package.
Oops, it is:

Adds a metaclass method to all Ruby objects.

Motivations :-

* Even though WhyTheLuckyStiff's [metaid gem]
  (https://rubygems.org/gems/metaid) does something similar, apparently the
  metaclass method without underscores [doesn't play well with Rails v2.3]
  
(https://github.com/floehopper/mocha/commit/f0749d6d291164cc9280aa8ba16f33d652d45fe1#commitcomment-475799).

* I'm trying to extract code out of the [mocha gem]
  (https://github.com/floehopper/mocha) and this is an obvious candidate.



Home | Main Index | Thread Index | Old Index