lib/pact/provider/pact_source.rb in pact-1.55.1 vs lib/pact/provider/pact_source.rb in pact-1.55.2

- old
+ new

@@ -18,9 +18,13 @@ def pact_hash @pact_hash ||= JSON.load(pact_json, nil, { max_nesting: 50 }) end + def pending? + uri.metadata[:pending] + end + def hal_entity http_client_keys = [:username, :password, :token] http_client_options = uri.options.reject{ |k, _| !http_client_keys.include?(k) } http_client = Pact::Hal::HttpClient.new(http_client_options) Pact::Hal::Entity.new(uri, pact_hash, http_client)