README.md in json_logic-0.3 vs README.md in json_logic-0.4.0
- old
+ new
@@ -2,9 +2,13 @@
Build complex rules, serialize them as JSON, and execute them in ruby.
**json-logic-ruby** is a ruby parser for [JsonLogic](http://jsonlogic.com). Other libraries are available for parsing this logic for Python and JavaScript at that link!
+## Installation
+
+`gem install json_logic`
+
## Why use JsonLogic?
If you're looking for a way to share logic between front-end and back-end code, and even store it in a database, JsonLogic might be a fit for you.
JsonLogic isn't a full programming language. It's a small, safe way to delegate one decision. You could store a rule in a database to decide later. You could send that rule from back-end to front-end so the decision is made immediately from user input. Because the rule is data, you can even build it dynamically from user actions or GUI input.