Releases: bhgames/json-logic-ruby
v0.4.7
Fix minor method call error + Filter handling for non-arrays
Thanks to @kazu9su for providing support so that when you pass in a non-array to filter, it returns an empty array per the js version.
I also added a fix where we were calling .append on an array, which is not a method in ruby.
Add uses_data to meet js spec
Thanks to @lewisf for providing a patch to bring our library up to spec with the js version. You can now figure out what variables your JSON logic is missing using the uses_data call.
See https://github.com/bhgames/json-logic-ruby/pull/16/files for examples.
Fix for interpolation in Arrays
Thanks to @mjuszczak, @JCotton1123, and @eropple , we all can now interpolate variables when doing "in" against arrays!
Minor bug fixes to float support and deep fetching booleans
Merge a fix for float support from @rankin and add don't return Fix deep_fetch when fetched value is Boolean false thanks to @chrisliu-pw
v 0.4.1
Add support for symbols
Adds support for symbolic hashes, thanks to @barthez
New release
With this release, all tests in the JSONLogic spec are now passing. In 0.2 they were not, and some functionality was limited. Now all functionality on JSONLogic website is supported!
Also, we have a new maintainer.
First release
Basic functionality, all test cases pass.