RubyGems Navigation menu

safe_ruby 1.0.2

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.0.4 - September 21, 2017 (10.0 KB)
  2. 1.0.2 - September 15, 2017 (10.0 KB)
  3. 1.0.1 - December 16, 2013 (7.0 KB)
  4. 1.0.0 - December 10, 2013 (7.0 KB)
  5. 0.0.1 - December 05, 2013 (7.0 KB)
显示所有版本 (共 6 个)

Runtime 依赖 (1):

childprocess >= 0.3.9

Development 依赖 (3):

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

业主:

作者:

  • Uku Taht

SHA 256 校验和:

17fee2d0ab02d13819aeebe99ea315df946d475c1a776cdcbdc35cf332a23bf7

下载总量 40,089

这个版本 1,601

许可:

MIT

需要的 Ruby 版本: >= 0

链接: