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 propertyNames validator to draft6 #407

Merged
merged 5 commits into from
Feb 1, 2023
Merged

Conversation

torce
Copy link
Contributor

@torce torce commented Apr 20, 2018

I have implemented propertyNames for draft6 validator.

After executing the update_common_tests I tested it against the common tests suite and the draft6/propertyNames tests are passing.

@bastelfreak
Copy link
Member

Hi @torce ,
thanks for the PR. The project was recently migrated to Vox Pupuli. Can you please rebase your branch and add tests for the change?

@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

Base: 89.90% // Head: 89.99% // Increases project coverage by +0.08% 🎉

Coverage data is based on head (fac9e86) compared to base (8f24e05).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #407      +/-   ##
==========================================
+ Coverage   89.90%   89.99%   +0.08%     
==========================================
  Files          75       76       +1     
  Lines        1565     1579      +14     
==========================================
+ Hits         1407     1421      +14     
  Misses        158      158              
Impacted Files Coverage Δ
lib/json-schema/validators/draft6.rb 100.00% <ø> (ø)
lib/json-schema/attributes/propertynames.rb 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@torce
Copy link
Contributor Author

torce commented Feb 1, 2023

@bastelfreak

  • Solved conflicts with master branch.
  • I have added a simple test for propertyNames.
  • Common test suite was failing since draft7 is not supported. I have added ignore rules for all draft7 tests.

@bastelfreak bastelfreak changed the title Added propertyNames validator to draft6 Add propertyNames validator to draft6 Feb 1, 2023
@bastelfreak
Copy link
Member

thanks for the work!

@bastelfreak bastelfreak merged commit 5ae8c63 into voxpupuli:master Feb 1, 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