The Ruby parser for a pact file does not properly pull version information from a pact file generated from ember-cli-pact. That project creates a meta tag along these lines:
However, the http_consumer_contract-parser.rb file only respects the key, "pactSpecification"relevant code here. Looking at the JSON Schema file here, it appears that both "pact-specification"and"pactSpecification" are acceptable keys. Therefore it seems to me that this library should support either?
The Ruby parser for a pact file does not properly pull version information from a pact file generated from ember-cli-pact. That project creates a meta tag along these lines:
However, the
http_consumer_contract-parser.rb
file only respects the key,"pactSpecification"
relevant code here. Looking at the JSON Schema file here, it appears that both"pact-specification"
and"pactSpecification"
are acceptable keys. Therefore it seems to me that this library should support either?