pact 1.55.6 → 1.55.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 660823c1fa86c41c93fa53306d7e3859753fe79617025d77f82994e52af023f2
4
- data.tar.gz: 21fc55074a90dac1789809dcc3eff0bdda4525f631bc589a521f5ec4c79617b4
3
+ metadata.gz: 90eaa90df07b95c461c6172d516567dfccb033e3a45e09b4bd5c9ef95038261b
4
+ data.tar.gz: e4d5c2d42dd9409dc774127d7be200ebefc772af3030573f366234b5e3defce2
5
5
  SHA512:
6
- metadata.gz: ce0d82537eab4151f1ee7b1673ea1f420e2a6958ee9eb5703984c709bd0581527f1bade40f606e2df60e2500d3d502817bdbce0a1c96401d64ac26362bff2327
7
- data.tar.gz: 29ef62f2be4fe2320f7ac398a1e1d256182c49d46a020c386b6c6e46089351a6864a9ee65cf3c3307b0f9faad7093ea03945fe67f2ae077313daa2e2d45213f5
6
+ metadata.gz: 61eae7be6115674cc66044e007293430f68dcd6d0f445e9d8fbad664a84fbe43c4b608ed3f106d61b20c5c85ea91499278d2ec4edd00429e4286222cf35c570d
7
+ data.tar.gz: aa4cc70bce5d401511d500c7ab31f03724c23444607e594e895c7bac867f0c0ba4e97032ff93197e50ef9df11145bf3447bfdbe013f70cf0fc226331c744c983
@@ -1,3 +1,10 @@
1
+ <a name="v1.55.7"></a>
2
+ ### v1.55.7 (2020-11-25)
3
+
4
+ #### Bug Fixes
5
+
6
+ * add consumer name to the selection description (#229) ([5127036](/../../commit/5127036))
7
+
1
8
  <a name="v1.55.6"></a>
2
9
  ### v1.55.6 (2020-11-06)
3
10
 
@@ -2,14 +2,14 @@ module Pact
2
2
  module PactBroker
3
3
  module PactSelectionDescription
4
4
  def pact_selection_description(provider, consumer_version_selectors, options, broker_base_url)
5
- latest = consumer_version_selectors.any? ? "" : "latest "
6
5
  message = "Fetching pacts for #{provider} from #{broker_base_url} with the selection criteria: "
7
6
  if consumer_version_selectors.any?
8
7
  desc = consumer_version_selectors.collect do |selector|
9
8
  all_or_latest = !selector[:latest] ? "all for tag" : "latest for tag"
9
+ consumer = selector[:consumer] ? "of consumer #{selector[:consumer]}" : nil
10
10
  fallback = selector[:fallback] || selector[:fallbackTag]
11
11
  name = fallback ? "#{selector[:tag]} (or #{fallback} if not found)" : selector[:tag]
12
- "#{all_or_latest} #{name}"
12
+ [all_or_latest, name, consumer].compact.join(" ")
13
13
  end.join(", ")
14
14
  if options[:include_wip_pacts_since]
15
15
  desc = "#{desc}, work in progress pacts created after #{options[:include_wip_pacts_since]}"
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.55.6"
3
+ VERSION = "1.55.7"
4
4
  end
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.55.6
4
+ version: 1.55.7
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-11-06 00:00:00.000000000 Z
15
+ date: 2020-11-25 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec