From: Mat Schaffer Date: 2006-08-04T02:16:00+09:00 Subject: Re: remote require On Aug 3, 2006, at 1:05 PM, transfire@gmail.com wrote: > I know there are other solutions to this out there. Just wanted to > share my work/play at it. I was trying to make it reletvely secure > without being too much a pain to use. This is was I arrived at. > > Usage looks like this: > > remote_source 'fruitapp', > 'http://roll.rubyforge.org/source/fruitapp/lib/fruitapp/1.0.0/' > remote_dependency '9de3cd6daece5f07aa3ddb0319a21415', 'tryme.rb' > > require 'fruitapp/tryme.rb' > > The MD5 checksum of course is there to help ensure you get what you > expect. Of course that's the most time consuming part becasue you have > to keep those upto date with new versions. > > Anyway, just thought I'd share it just in case it interested anyone. > Here's the code: > [snip: source sode] I think this would make a really nice gem. I love the idea! Maybe a future revision could take a regular md5sum output file? -Mat