Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DistributiveLaw as jbool.Rule #1369

Merged
merged 5 commits into from
Jun 20, 2022
Merged

Conversation

nulls
Copy link
Member

@nulls nulls commented Jun 16, 2022

What's done:

  • implemented DistributiveLaw extends com.bpodgursky.jbool_expressions.rules.Rule.Rule

This pull request closes #1299

@nulls nulls self-assigned this Jun 16, 2022
@nulls nulls added this to the 1.1.2 milestone Jun 16, 2022
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found 12 potential problems in the proposed changes. Check the Files changed tab for more details.

@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #1369 (476d4f7) into master (7f38701) will decrease coverage by 0.02%.
The diff coverage is 90.90%.

@@             Coverage Diff              @@
##             master    #1369      +/-   ##
============================================
- Coverage     83.55%   83.53%   -0.03%     
+ Complexity     2581     2552      -29     
============================================
  Files           106      106              
  Lines          7529     7517      -12     
  Branches       2084     2081       -3     
============================================
- Hits           6291     6279      -12     
- Misses          358      359       +1     
+ Partials        880      879       -1     
Flag Coverage Δ
unittests 83.53% <90.90%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...t/ruleset/rules/chapter3/BooleanExpressionsRule.kt 91.97% <90.90%> (-0.65%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f38701...476d4f7. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 16, 2022

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

1 260 tests   1 240 ✔️  7m 57s ⏱️
   151 suites       20 💤
   151 files           0

Results for commit 476d4f7.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 16, 2022

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

1 260 tests   1 240 ✔️  10m 0s ⏱️
   151 suites       20 💤
   151 files           0

Results for commit 476d4f7.

♻️ This comment has been updated with latest results.

@nulls nulls marked this pull request as ready for review June 16, 2022 16:06
@nulls nulls requested a review from orchestr7 June 16, 2022 16:41
@nulls nulls modified the milestones: 1.1.2, 1.1.1 Jun 17, 2022
Copy link
Member

@orchestr7 orchestr7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nulls
Copy link
Member Author

nulls commented Jun 20, 2022

A tag for jbool 1.24 is cut with our change. When a new version will be available, we will get a PR from renovate bot

@nulls nulls enabled auto-merge (squash) June 20, 2022 05:57
@nulls nulls merged commit b2a52ab into master Jun 20, 2022
@nulls nulls deleted the feature/distributive-law branch June 20, 2022 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BooleanExpressionRule: refactor a logic of the distributive law as a rule for jbool library
2 participants