pact-foundation / pact-ruby-standalone

A standalone pact command line executable using the ruby pact implementation and Travelling Ruby
https://pact.io
MIT License
39 stars 32 forks source link

feat: add pactflow command #78

Closed bethesque closed 2 years ago

bethesque commented 2 years ago

Haven't been able to test this locally yet, as I can't install ruby 2.2 on my mac any more. Waiting for the 2.4 branch to be merged.

YOU54F commented 2 years ago

no problem, will get on testing these, got my windows laptop, and linux machine setup, as well as an intel and m1 macbook.

Lets go 🚀

YOU54F commented 2 years ago

Took a fork, and merged this branch and published a release

https://github.com/YOU54F/pact-ruby-standalone/releases/tag/vv1.89.00-saf

yes, the version has two v's 😅 😂

Tested against the postman example repo

diff compare using the above referenced build

https://github.com/pactflow/example-bi-directional-provider-postman/compare/test-pactflow-command?expand=1

Actions run https://github.com/pactflow/example-bi-directional-provider-postman/actions/runs/2462602595

showing the cross compat for windows / macos / linux using the pactflow command in pact-ruby-standalone

All working perfectly 👌🏾

which means I will give this an approve, and we can finish updating the docs for https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas#publishing-the-provider-contract--results-to-pactflow

bethesque commented 2 years ago

You're a champion.