Skip to content

Update json-logic-rb requirement from ~> 0.1.5 to >= 0.1.5, < 0.3.0#140

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/json-logic-rb-gte-0.1.5-and-lt-0.3.0
Open

Update json-logic-rb requirement from ~> 0.1.5 to >= 0.1.5, < 0.3.0#140
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/json-logic-rb-gte-0.1.5-and-lt-0.3.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Updates the requirements on json-logic-rb to permit the latest version.

Release notes

Sourced from json-logic-rb's releases.

v0.2.0

Added

  • Add community-extra operators: try, throw, exists, val, and ?? (coalesce).
  • Add structured error classes to distinguish invalid arguments, logic errors, and NaN cases.

Changed

  • Align behavior with community-extra compliance while keeping core JsonLogic compatibility.
  • Standardize compliance runner usage with version flags.
ruby script/compliance.rb -v 1
ruby script/compliance.rb -v 2

Expected:

compliance_v1: 272/272 passed (100.00%)
compliance_v2: 1138/1138 passed (100.00%)

Fixed

  • Fix var lookup when the resolved value is explicitly false (#19). Before (<= 0.1.5), false could fall through and return nil.
rule = { "var" => "some_value" }
data = { "some_value" => false }
JsonLogic.apply(rule, data)
<= 0.1.5 => nil

Now the resolved false value is preserved.

rule = { "var" => "some_value" }
data = { "some_value" => false }
JsonLogic.apply(rule, data)
0.2.0 => false

Changelog

Sourced from json-logic-rb's changelog.

[0.2.0] - 2026-02-17

Added

  • Add community-extra operators: try, throw, exists, val, and ?? (coalesce).
  • Add structured error classes to distinguish invalid arguments, logic errors, and NaN cases.

Changed

  • Align behavior with community-extra compliance while keeping core JsonLogic compatibility.
  • Standardize compliance runner usage with version flags.
ruby script/compliance.rb -v 1
ruby script/compliance.rb -v 2

Expected:

compliance_v1: 272/272 passed (100.00%)
compliance_v2: 1138/1138 passed (100.00%)

Fixed

  • Fix var lookup when the resolved value is explicitly false (#19). Before (<= 0.1.5), false could fall through and return nil.
rule = { "var" => "some_value" }
data = { "some_value" => false }
JsonLogic.apply(rule, data)
<= 0.1.5 => nil

Now the resolved false value is preserved.

rule = { "var" => "some_value" }
data = { "some_value" => false }
JsonLogic.apply(rule, data)
0.2.0 => false

[0.1.5] - 2025-12-08

  • [fix] Update Operations to support "each_cons" inside comparisons.

[0.1.4] - 2025-11-03

  • [fix] Align JsonLogic semantics with the official spec across core Ruby types; correct false vs null equality.

[0.1.3] - 2025-10-31

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [json-logic-rb](https://github.com/tavrelkate/json-logic-rb) to permit the latest version.
- [Release notes](https://github.com/tavrelkate/json-logic-rb/releases)
- [Changelog](https://github.com/tavrelkate/json-logic-rb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tavrelkate/json-logic-rb/commits/v0.2.0)

---
updated-dependencies:
- dependency-name: json-logic-rb
  dependency-version: 0.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 6, 2026
@dependabot dependabot Bot requested review from a team and jakewski May 6, 2026 17:48
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants