pact 1.44.0 → 1.44.1

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: f3a5830ca87a36c72ef7f4642781ec9b3ed8fc0c9b7ffce35201629a17da27f1
4
- data.tar.gz: baaac2acf2cf8e5a25b2507e7d85a4005f217982f5145c3377c27b4148d0c6f4
3
+ metadata.gz: 4377cccb8581a6f7215bf6f451bf97ac5b32d9d2a2c1f0a1fd05925ae5dd2f83
4
+ data.tar.gz: e4b78191ae99e50678b1034843168edc125b1ba1a4fb2686bc25e50609b0c4dc
5
5
  SHA512:
6
- metadata.gz: 055dca7b6c709c9ee90c893c8ab9c4684f142d3f742db093480131584a98079ca7bed669f521aedadbacf38cfd9c9161ab6cbd3c8d36118402407d33a0a7ccfc
7
- data.tar.gz: f39ffea4a82a4608a5c6b86c5cd5ed868489ffec975698da02633804374526083aae727d24fcd9cbf462ca36186c23e6c5793b45557fc6aaf5b15c2b2e4ff859
6
+ metadata.gz: cb2ae0b2b047c760b8336401fe4c82e01df60f2f3b8c3ec8cc217b99f443269713fc7f57d425e684a4b6e59a90ce17664a1eff08653eb9d440805ebb2873e27e
7
+ data.tar.gz: 5aceeb5ae1f627fa20635cd0d1bb6d6fcc6774df37ca9bb7d083cd4b72a7ac724c55b2c96258ee11d75ab11625fb720a023974c407c1c289afe6d106abe02192
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ <a name="v1.44.1"></a>
2
+ ### v1.44.1 (2020-01-20)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * print notices from 'pacts for verification' response to indicate why pacts are included an/or pending ([b107348](/../../commit/b107348))
8
+
9
+
1
10
  <a name="v1.44.0"></a>
2
11
  ### v1.44.0 (2020-01-16)
3
12
 
@@ -17,13 +17,15 @@ module Pact
17
17
  end
18
18
 
19
19
  module ClassMethods
20
+ EMPTY_ARRAY = [].freeze
20
21
 
21
22
  include ::RSpec::Core::DSL
22
23
 
23
24
  def honour_pactfile pact_uri, pact_json, options
24
25
  Pact.configuration.output_stream.puts "INFO: Reading pact at #{pact_uri}"
25
- Pact.configuration.output_stream.puts("DEBUG: #{pact_uri.metadata[:inclusion_reason]}") if pact_uri.metadata[:inclusion_reason]
26
- Pact.configuration.output_stream.puts("DEBUG: #{pact_uri.metadata[:pending_reason]}") if pact_uri.metadata[:pending_reason]
26
+ (pact_uri.metadata[:notices] || EMPTY_ARRAY).each do | notice |
27
+ Pact.configuration.output_stream.puts("DEBUG: #{notice}")
28
+ end
27
29
  Pact.configuration.output_stream.puts "DEBUG: Filtering interactions by: #{options[:criteria]}" if options[:criteria] && options[:criteria].any?
28
30
  consumer_contract = Pact::ConsumerContract.from_json(pact_json)
29
31
  suffix = pact_uri.metadata[:pending] ? " [PENDING]": ""
data/lib/pact/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.44.0"
3
+ VERSION = "1.44.1"
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.44.0
4
+ version: 1.44.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: 2020-01-16 00:00:00.000000000 Z
15
+ date: 2020-01-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec