-
Notifications
You must be signed in to change notification settings - Fork 89
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
Streaming validation #146
Streaming validation #146
Conversation
The streaming validator is typified by the specs added in |
Pretty awesome ! It this included this feature ? #143 |
Yup, that's the plan! |
@pezholio Awesome ! Do we have an ETA of when this will be merged in master and the gem version updated ? |
I'm working on it as we speak. Hoping to get it done for the end of the week 👍 |
@pezholio Awesome ! Can't wait. |
These tests are now failing on a single feature if !@csv_options[:row_sep].kind_of?(Symbol) && type == :unclosed_quote && !@input.match(@csv_options[:row_sep])
build_linebreak_error within validate.rb https://github.com/theodi/csvlint.rb/blob/19dc4244dabd90aa4789f08be42d3edd59546668/lib/csvlint/validate.rb#L290 In the case of the feature this fails because changes to this logic (to recognise The string which the exception builder receives is |
As we're not splitting the validator into a client and a validator anymore, "source" describes more accurately what we're doing
This is handled in `validate_url` now
Makes code review easier
You would never have cr line feeds in the wild anyway
I'm not sure what it was testing for
this method is required for the autogenerated features to test foreign key criteria. It has been included in the finish method
`csvw_validation_tests.feature:1046` and `csvw_validation_tests.feature:1075` were failing because link headers was left unpopulated due to empty hash assignment in Initialise (added to catch previously failing tests). It has been added to the `validate_metadata` section where @headers is guaranteed to have been initialised to not nil
cosmetic, no change in execution
reinstate the Excel warning logic from PR 149
this feature file would not acknowledge manually amended code after a merge, therefore attempting preemptive amendment
caught an error!
4095f8f
to
39db911
Compare
\o/ :+1: +:100: |
Opening a PR for @quadrophobiac's work