pact 1.52.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36cdbcc7291013248a5b691e8dec77f7153fd3c5c75d664e5da651943a8673dc
|
4
|
+
data.tar.gz: 0a75d19524d85f5623f6f8f9b042b1e481f551a5784cb2c48e86633f2d3d7329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faa46bb073cdacca555022ee518d15e13182f286f1b6d75f309f7f5d6d6692674c046ced1d3b8598d10772b7dc25d3157aa556d6ac47453753dc90607ed8575b
|
7
|
+
data.tar.gz: 360a99577f6925e21ab6ce0949bca79a3309c1a16e7dbd21ae72fe20b7c46a87eca0f422d810061d2adc594141b76ca4be831eeb8859aff29eca00fe9227f78e
|
data/CHANGELOG.md
CHANGED
@@ -22,7 +22,7 @@ module Pact
|
|
22
22
|
def initialize(provider, consumer_version_selectors, provider_version_tags, broker_base_url, http_client_options, options = {})
|
23
23
|
@provider = provider
|
24
24
|
@consumer_version_selectors = consumer_version_selectors || []
|
25
|
-
@provider_version_tags = provider_version_tags
|
25
|
+
@provider_version_tags = [*provider_version_tags]
|
26
26
|
@http_client_options = http_client_options
|
27
27
|
@broker_base_url = broker_base_url
|
28
28
|
@http_client = Pact::Hal::HttpClient.new(http_client_options)
|
@@ -14,12 +14,13 @@ module Pact
|
|
14
14
|
# in parent scope, it will clash with these ones,
|
15
15
|
# so put an underscore in front of the name to be safer.
|
16
16
|
|
17
|
-
attr_accessor :_provider_name, :_pact_broker_base_url, :_consumer_version_tags, :_provider_version_tags, :_basic_auth_options, :_verbose
|
17
|
+
attr_accessor :_provider_name, :_pact_broker_base_url, :_consumer_version_tags, :_provider_version_tags, :_basic_auth_options, :_enable_pending, :_verbose
|
18
18
|
|
19
19
|
def initialize(provider_name, provider_version_tags)
|
20
20
|
@_provider_name = provider_name
|
21
21
|
@_provider_version_tags = provider_version_tags
|
22
22
|
@_consumer_version_tags = []
|
23
|
+
@_enable_pending = false
|
23
24
|
@_verbose = false
|
24
25
|
end
|
25
26
|
|
@@ -33,6 +34,10 @@ module Pact
|
|
33
34
|
self._consumer_version_tags = *consumer_version_tags
|
34
35
|
end
|
35
36
|
|
37
|
+
def enable_pending enable_pending
|
38
|
+
self._enable_pending = enable_pending
|
39
|
+
end
|
40
|
+
|
36
41
|
def verbose verbose
|
37
42
|
self._verbose = verbose
|
38
43
|
end
|
@@ -51,7 +56,8 @@ module Pact
|
|
51
56
|
consumer_version_selectors,
|
52
57
|
_provider_version_tags,
|
53
58
|
_pact_broker_base_url,
|
54
|
-
_basic_auth_options.merge(verbose: _verbose)
|
59
|
+
_basic_auth_options.merge(verbose: _verbose),
|
60
|
+
{ include_pending_status: _enable_pending }
|
55
61
|
)
|
56
62
|
|
57
63
|
Pact.provider_world.add_pact_uri_source fetch_pacts
|
data/lib/pact/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Fraser
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2020-09-
|
15
|
+
date: 2020-09-11 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec
|