Categories: None [Edit]
safe_ruby
Evaluates ruby code by writing it to a tempfile and spawning a child process. Uses a allowlist 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.
Total
Ranking: 23,137 of 192,071
Downloads: 67,132
Daily
Ranking: 7,498 of 192,060
Downloads: 284
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 5,635 | 1,146,357 | langchainrb |
| 98,052 | 8,556 | smart_prompt |
| 131,245 | 4,887 | partial_compiler |
| 184,618 | 978 | asciidoctor-rubyeval |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 168 | 292,814,162 | childprocess |