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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.0.4 - September 21, 2017 (10 KB)
  2. 1.0.2 - September 15, 2017 (10 KB)
  3. 1.0.1 - December 16, 2013 (7 KB)
  4. 1.0.0 - December 10, 2013 (7 KB)
  5. 0.0.1 - December 05, 2013 (7 KB)
Zeige alle Versionen (6 total)

Runtime Abhängigkeiten (1):

childprocess >= 0.3.9

Development Abhängigkeiten (1):

rspec >= 2.14.1

Besitzer:

Autoren:

  • Uku Taht

SHA 256-Prüfsumme:

919fc245fec18fc322ff28868bfbb34aecff7a4a49a324c393f81fd28f6d61f2

Downloads insgesamt 40.052

Für diese Version 2.982

Lizenz:

MIT

Erforderliche Ruby-Version: None

Links: