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: 19,832 of 196,619
Downloads: 91,177
Daily
Ranking: 8,885 of 196,594
Downloads: 145
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 5,114 | 1,592,437 | langchainrb |
| 71,666 | 14,624 | smart_prompt |
| 131,961 | 5,087 | partial_compiler |
| 188,116 | 1,130 | asciidoctor-rubyeval |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 172 | 309,329,628 | childprocess |