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

Add const attribute support #471

Merged
merged 1 commit into from
May 3, 2022

Conversation

jeremie-stripe
Copy link
Contributor

Added in draft 6. See documentation on json-schema.org

@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #471 (25e258b) into master (081dfc3) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #471      +/-   ##
==========================================
+ Coverage   89.83%   89.89%   +0.05%     
==========================================
  Files          74       75       +1     
  Lines        1555     1564       +9     
==========================================
+ Hits         1397     1406       +9     
  Misses        158      158              
Impacted Files Coverage Δ
lib/json-schema/validators/draft6.rb 100.00% <ø> (ø)
lib/json-schema/attributes/const.rb 100.00% <100.00%> (ø)

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 081dfc3...25e258b. Read the comment docs.

test/draft6_test.rb Outdated Show resolved Hide resolved
@bastelfreak bastelfreak force-pushed the add-const-attribute branch from ac1de5d to 25e258b Compare May 3, 2022 07:32
@bastelfreak bastelfreak merged commit 9236c86 into voxpupuli:master May 3, 2022
@bastelfreak bastelfreak changed the title Add const attribute support Add const attribute support Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants