Am I correct? - Pact Ruby Standalone support Pact ...
# libpact_ffi-users
t
Am I correct? • Pact Ruby Standalone support Pact Specification 2.x • Pact Rust FFI support Pact Specification 2.x, 3.x, 4.x
1
y
AFAIK • Pact Ruby Standalone support Pact Specification 1, 1.1, 2.x • Pact Rust FFI support Pact Specification 1, 1.1, 2.x, 3.x, 4.x ◦ or at least you can specify them all. https://github.com/pact-foundation/pact-reference/blob/dbe569502561c7d300e2bc428e3553617d4a838b/rust/pact_ffi/src/models/pact_specification.rs#L[…]6 what that actually means to full end to end support of mix and matching. I would assume that theoretically means anyone on a ruby core backed language cannot verify 3.x/4.x pacts and may have limited support for message pacts
👍 1
some languages have the ability to generate 3.x message pacts, like pact-python which still uses the ruby core https://github.com/pact-foundation/pact-python/blob/d87d54bce2ed2f74b0a2bb46314b18541bdb598a/pact/message_pact.py#L42 https://github.com/pact-foundation/pact-message-ruby There is an open ticket on https://github.com/pact-foundation/pact-message-ruby/issues/6 for support in that gem for v3 message support. It might be better to use the ffi via ruby https://github.com/YOU54F/pact-ruby-ffi/blob/main/lib/pact_ruby_ffi.rb
1
its been a fun little advent of code style polyglot puzzle game for me
🧩 1