obfuscation Re: Rack, Camping 2.0++
Magnus Holm
judofyr at gmail.com
Fri May 23 06:23:31 EDT 2008
The problem is that almost all app require 'camping' and when bin/camping
require 'camping-unabridged' things gets pretty messy.
(I just realized that bin/camping could monkey-patch require such that when
the --unabridged-flag is set it require 'camping-unabridged' instead of
'camping'. But that's *really* dirty!)
On Fri, May 23, 2008 at 12:07 PM, zimbatm <zimbatm at oree.ch> wrote:
> 2008/5/22 Ernest Prabhakar <ernest.prabhakar at gmail.com>:
>> So, it sounds like there's a few options:
>>
>> a) Automate the creation of the obfuscated version from the unabridged
>> version
>
> Last time I checked, Ruby2Ruby didn't recognize all camping constructs
> but it might be better now.
>
>> b) Tweak the system to run from "camping-unabridged.rb" (or a short name
>> thereof, e.g. "campsrc")
>
> bin/camping could easily be tweaked to add a --unabridged command-line flag
>
>> c) Make the obfusc version "camping4k", and make camping-unabridged.rb the
>> default camping.rb
>
> Ugh !
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
--
Magnus Holm
More information about the Camping-list
mailing list