Skip to content

Releases: arineng/jcrvalidator

Failure Reporting Improvements

15 Jan 15:46
Compare
Choose a tag to compare
Pre-release

This release removes some of the verbosity in the failure reports, and moves them back to using strict stack levels.

Optional Member and Unordered Array Bug Fixes

21 Dec 00:29
Compare
Choose a tag to compare
  • Fixed bug with optional object members passing if their values were incorrect
  • Fixed bug with unordered arrays that caused the evaluation to read past the end

Bug fixes and Enhancements to 0.8.0

17 Dec 18:48
910d183
Compare
Choose a tag to compare
Pre-release
  • Various issues with stack traces at the command line instead of proper errors
  • --process-parts now takes an optional directory
  • --process-parts now creates an XML entity reference file snippet
  • override rules can now reference rules in the original ruleset
  • more readable failure report
  • more readable verbose messages
  • @{not} annotation on targer rules were not honored but now fixed
  • better checking for groups referenced from arrays and objects

Adds --process-parts Option

08 Dec 22:43
Compare
Choose a tag to compare
Pre-release

This release adds the --process-parts option.

The --process-parts option extracts parts of a JCR file into multiple files based
on comments in the file. It can also create a new file without the
comments. This is useful for JCR going into specification documents
where it is nice to break the JCR up for illustrative purposes in
the specification but to also have one JCR file for programmatic
testing purposes.

The file parts are extracted using the comments

; start_part FILENAME

and

; end_part

The comments must also be the only thing present on the line
though leading whitespace is allowed if desired.

To get a new file with all parts but these comments, use this

; all_parts FILENAME

0.7.0: Tracks draft -09

03 Dec 16:32
Compare
Choose a tag to compare
Pre-release
  • Tracks the -09 draft
  • Fixes to allow annotations for groups in arrays and objects
  • Text output is now proper JCR
  • Fixed issue with multiple files on the command line with MacOS
  • Support for Ruby 2.4
  • Dropped Ruby 1.8, 1.9, and 2.0. CI testing on:
    • Linux 2.1, 2.3, 2.4, and JRuby 9.1
    • OSX 2.3 and 2.4
  • Fixes to ABNF in multi-line directives
  • Much better CLI and programmatic validation failure information and structures
  • Fixes to print errors when the JCR fails to parse

First release that tracks -07

16 Jul 08:45
Compare
Choose a tag to compare
Pre-release

This is the first release that tracks the -07 IETF draft.
That draft can be found here: https://raw.githubusercontent.com/arineng/jcr/07/draft-newton-json-content-rules.txt

0.5.3

16 Jul 08:28
Compare
Choose a tag to compare
0.5.3 Pre-release
Pre-release

Fix to gemspec so that dependencies are added.

Minor Tweaks

04 Feb 14:28
Compare
Choose a tag to compare
Minor Tweaks Pre-release
Pre-release
  • Added -J command line option
  • Changed command line option -s to -S to be more consistent
  • Will no longer allow member rules to be root rules
  • More group rule checking (code was there, just wan't being invoked)

First Public Beta

07 Jan 13:29
Compare
Choose a tag to compare
First Public Beta Pre-release
Pre-release
Merge pull request #55 from codalogic/ruby-abnf-extracter

Ruby ABNF extracter