RubyGems Navigation menu

safe_ruby 1.0.4

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:
= Copier Copié!

installation:
=

Versions:

  1. 1.0.4 - September 21, 2017 (10 ko)
  2. 1.0.2 - September 15, 2017 (10 ko)
  3. 1.0.1 - December 16, 2013 (7 ko)
  4. 1.0.0 - December 10, 2013 (7 ko)
  5. 0.0.1 - December 05, 2013 (7 ko)
Voir toutes les versions (6)

Dépendances de Runtime (1):

childprocess >= 0.3.9

Dépendances de Development (3):

pry >= 0
rake >= 0
rspec >= 0

Propriétaires:

Auteurs:

  • Uku Taht

Total de contrôle SHA 256:

b48adc670932063e1d63b2d208cf377baf4048b0e0bd0a721bcffd19b4af21f5

Total de téléchargements 40 064

Pour cette version 30 581

License:

MIT

Version de Ruby requise: >= 0

Liens: