Skip to content

Releases: bhgames/json-logic-ruby

v0.4.7

06 Oct 12:58
Compare
Choose a tag to compare

Has some minor validation checks and refactoring. Thanks @iamjwc and @ElliottAYoung

Fix minor method call error + Filter handling for non-arrays

18 Apr 22:57
Compare
Choose a tag to compare

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

24 Nov 01:04
Compare
Choose a tag to compare

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

30 Apr 17:59
Compare
Choose a tag to compare

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

27 Mar 19:54
Compare
Choose a tag to compare

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

31 Oct 15:49
Compare
Choose a tag to compare

Thanks to @ronin , we now support passing in arrays of hashes along with hashes.

Add support for symbols

22 Oct 15:58
8ce53e0
Compare
Choose a tag to compare

Adds support for symbolic hashes, thanks to @barthez

New release

05 Dec 13:27
Compare
Choose a tag to compare

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

08 Nov 13:30
Compare
Choose a tag to compare

Basic functionality, all test cases pass.