RubyGems Navigation menu

sploit 1.0.0

Grab and eval Ruby code via HTTP. You don't care about security, right? This gem is Dr. Nic's fault. We were looking for an easy way to run Ruby code that was publicly available on a web server, and though we've all written something to do this a time or two, we couldn't find a convenient gem. I hacked up a quick example: ruby -rubygems -ropen-uri -e \ 'eval open("http://gist.github.com/raw/473222/snippet.rb").read' \ jbarnette dr-nic-magic-awesome ...but why use a simple Ruby one-liner when we can go overboard and package it as a gem? While we're at it, why not add a tiny bit of extra sugar for Gists? This is not an original idea. It's been done a ton of times before, but this one is ours. Don't use it for anything real or it'll melt your face.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.0 - July 13, 2010 (6 KB)

Development Dependencies (1):

hoe >= 2.6.1

Owners:

Authors:

  • John Barnette, Dr. Nic Williams

SHA 256 checksum:

f7f2242a7bab837b2dcd1bc695e5af4dfc8a19e4b5f7baf35a607c170684f436

Total downloads 4,463

For this version 4,463

Licenses:

N/A

Required Ruby Version: None

Links: