huginn
https://github.com/cantino/huginn
Ruby
Create agents that monitor and act on your behalf. Your agents are standing by!
Utils.jsonify
Output JSON that is ready for inclusion into HTML. If you simply use to_json on an object, the presence of </script> in the valid JSON can break the page and allow XSS attacks. Optionally, pass `:skip_safe => true` to not call html_safe on the output.
Edit
git clone [email protected]:cantino/huginn.git
cd huginn
open lib/utils.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Utils-jsonify-for-pr
# Commit to gitgit add lib/utils.rbgit commit -m "better docs for Utils.jsonify"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Utils-jsonify-for-pr
hub pull-request
# Celebrate!