RubyGems Navigation menu

safe_ruby 1.0.1

Evaluates ruby code by writing it to a tempfile and spawning a child process. Uses a whitelist of methods and constants to keep, for example one cannot run system commands in the environment created by this gem. The environment created by the untrusted code does not leak out into the parent process.

Versions:

  1. 1.0.1 - December 4, 2013 (7 KB)
  2. 1.0.0 - December 4, 2013 (7 KB)
  3. 0.0.1 - December 4, 2013 (7 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Uku Taht

Owners:

051d7d3cccb9ec47de909157ce759f42

Sha 256 checksum:

919fc245fec18fc322ff28868bfbb34aecff7a4a49a324c393f81fd28f6d61f2

Total downloads 1,583

For this version 562

Required Ruby Version: None

Licenses:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: