4 ms·
One solution could be to compare the downloaded file with an expected hash. That'd at least give you the opportunity to audit the code once. Something like...
by ontilt 17y ago
One solution could be to compare the downloaded file with an expected hash. That'd at least give you the opportunity to audit the code once. Something like...
require 'http://example.com/somelib.rb http://example.com/somelib.rb, '7361c1132d2ada0e987080100cfff5c1645c5e7d'
- cninja 17y agoAnother solution would be somthing like what arc does: only download the file once and cache the result. http://catdancer.github.com/lib.html http://catdancer.github.com/lib.html