pact 1.42.0 → 1.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/pact/pact_broker/fetch_pact_uris_for_verification.rb +5 -5
- data/lib/pact/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a75fe9a47ba414082f937a07ef8876c4344ecb8
|
4
|
+
data.tar.gz: a361e691e42516ab1e7abdd078a0a175914b0df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e175aa7044ab8076452d8cc3cc22b14ae7bbbed277411fa6ea55d783de815de26ee8f693ada88e5daf41cece86ac851b2cdc5011fcdbab36fa27ffbf2da07fb
|
7
|
+
data.tar.gz: 8da3a37367a9176999eba090e6492d393ac477eb1bd72b6fb4dbd9fcc945ae7b55574e6fe7a66813018a34f435a7304afad48b658d91e29201cef1ea50ce46e5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
<a name="v1.42.1"></a>
|
2
|
+
### v1.42.1 (2019-11-09)
|
3
|
+
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* can't use safe navigation operator because of Ruby 2.2 in Travelling Ruby for the pact-ruby-standalone ([3068ceb](/../../commit/3068ceb))
|
8
|
+
|
9
|
+
|
1
10
|
<a name="v1.42.0"></a>
|
2
11
|
### v1.42.0 (2019-09-26)
|
3
12
|
|
@@ -18,8 +18,8 @@ module Pact
|
|
18
18
|
|
19
19
|
def initialize(provider, consumer_version_selectors, provider_version_tags, broker_base_url, http_client_options)
|
20
20
|
@provider = provider
|
21
|
-
@consumer_version_selectors = consumer_version_selectors
|
22
|
-
@provider_version_tags = provider_version_tags
|
21
|
+
@consumer_version_selectors = consumer_version_selectors || []
|
22
|
+
@provider_version_tags = provider_version_tags || []
|
23
23
|
@http_client_options = http_client_options
|
24
24
|
@broker_base_url = broker_base_url
|
25
25
|
@http_client = Pact::Hal::HttpClient.new(http_client_options)
|
@@ -67,18 +67,18 @@ module Pact
|
|
67
67
|
|
68
68
|
def query
|
69
69
|
q = {}
|
70
|
-
if consumer_version_selectors
|
70
|
+
if consumer_version_selectors.any?
|
71
71
|
q["consumer_version_selectors"] = consumer_version_selectors
|
72
72
|
end
|
73
73
|
|
74
|
-
if provider_version_tags
|
74
|
+
if provider_version_tags.any?
|
75
75
|
q["provider_version_tags"] = provider_version_tags
|
76
76
|
end
|
77
77
|
q
|
78
78
|
end
|
79
79
|
|
80
80
|
def log_message
|
81
|
-
latest = consumer_version_selectors
|
81
|
+
latest = consumer_version_selectors.any? ? "" : "latest "
|
82
82
|
message = "INFO: Fetching #{latest}pacts for #{provider} from #{broker_base_url}"
|
83
83
|
if consumer_version_selectors&.any?
|
84
84
|
desc = consumer_version_selectors.collect do |selector|
|
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.42.
|
4
|
+
version: 1.42.1
|
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: 2019-09
|
15
|
+
date: 2019-11-09 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|