RubyGems Navigation menu

safe_ruby 1.0.0

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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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)
Mostrar todas las versiones (6 total)

dependencias de Runtime (1):

childprocess >= 0.3.9

dependencias de Development (1):

rspec >= 2.14.1

Propietarios:

Autores:

  • Uku Taht

SHA 256 checksum:

bfcbf492e68ce54d8473593a7f654f5f6cd1226f211ad1daaace3bdb952090fa

Total de descargas 41.211

Para esta versión 2.483

Licencia:

MIT

Versión de Ruby requerida: Ninguno

Enlace: