RubyGems Navigation menu

flooph 0.2

Flooph is a Ruby library designed to let you take code from (possibly-malicious) users and evaluate it safely. Instead of evaluating arbitrary Ruby code (or JavaScript, or any other interpreter), it specifies a custom 'language', with its own parser and evaluation. Flooph provides four core pieces of functionality: * A simple syntax for specifying key/value pairs (much like a Ruby Hash literal). * A simple template language that supports conditional content and injecting content. * Standalone functionality for evaluating conditional expressions based on the key/values (also used in the templates). * Standalone functionality for evaluating value expressions based on the key/values (also used in the templates).

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.2 - April 21, 2018 (7.5 KB)
  2. 0.1.3 - April 14, 2018 (7.5 KB)
  3. 0.1.2 - April 14, 2018 (7.5 KB)
  4. 0.1.1 - April 14, 2018 (7.5 KB)
  5. 0.1 - April 08, 2018 (7.5 KB)

Runtime 相依性套件 (1):

parslet ~> 1.8

擁有者:

作者:

  • Gavin Kistner

SHA 256 checksum:

3e733496230a3b4ea333c056a73bfb3e6624790144832d0738c9663a48983915

總下載次數 8,500

這個版本 2,111

License:

MIT

Ruby 版本需求: >= 0

相關連結: