lib/pact/provider/proxy/proxy_pact_helper.rb in pact-provider-proxy-2.2.0 vs lib/pact/provider/proxy/proxy_pact_helper.rb in pact-provider-proxy-2.3.0

- old
+ new

@@ -9,8 +9,16 @@ app do Rack::ReverseProxy.new do reverse_proxy '/', ENV.fetch('PACT_PROVIDER_BASE_URL') end end + + if ENV.fetch('PACT_PROVIDER_APP_VERSION', '') != '' + app_version ENV['PACT_PROVIDER_APP_VERSION'] + end + + if ENV.fetch('PACT_PUBLISH_VERIFICATION_RESULTS', '') != '' + publish_verification_results ENV['PACT_PUBLISH_VERIFICATION_RESULTS'] == 'true' + end end require ENV['PACT_PROJECT_PACT_HELPER'] if ENV.fetch('PACT_PROJECT_PACT_HELPER','') != ''