pact-provider-verifier 1.38.0 → 1.38.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: d2928a02df3e73a90ba75059579c87cf78154383fe12bb1a584365a2c7ff400a
4
- data.tar.gz: 8e3271d83eb81a5516381184ec005f22ea4220f7d40346aee876425868c0d490
3
+ metadata.gz: 514bbbf9079816eebbd579eb1394950f16210ffea9f4a00f2757de36c96a54b7
4
+ data.tar.gz: 66bb1a247c2d5299714272727d0fb1c67ab2dc63eca377414b5e5c1724976b15
5
5
  SHA512:
6
- metadata.gz: d953255334ee5cb7ed62ae9dfdaa95e506394dee53b7596cdfd787441a2599ea2a4cc138d9c0d98dffeff73ddc335ba6928553c56dcbe375594f3f00bf909559
7
- data.tar.gz: 2beec40644410de2fc1647aa31d04ce6298cbc74d4efa2338abcb338bc798ac970c38ea3d39e5597dc6205cea676a481b02fc47d522c778f96160f0fda3842a9
6
+ metadata.gz: 410602c0632309684a30c06adfb1f647c0dd02479ac70744995e60471a86f92d475e238707ba86e2375f09705a074e7fc998b238f206ed46d6826d382c1d16cf
7
+ data.tar.gz: 2f26ac388ae4a84f3826eca50749a6ab958d394f4f068b1f91c456dedaed56c8c8b3d65c18bf99c166f78408fe2bf79608198bce40c708daeeb29a3cd1797ed8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ <a name="v1.38.1"></a>
2
+ ### v1.38.1 (2024-04-04)
3
+
4
+ #### Bug Fixes
5
+
6
+ * examples/Gemfile & examples/Gemfile.lock to reduce vulnerabilities ([fdb8bcc](/../../commit/fdb8bcc))
7
+ * Return non-error if enable-pending is set ([0b4bc7e](/../../commit/0b4bc7e))
8
+
1
9
  <a name="v1.38.0"></a>
2
10
  ### v1.38.0 (2023-09-12)
3
11
 
@@ -92,11 +92,15 @@ module Pact
92
92
  end
93
93
 
94
94
  def check_for_error response
95
- if response.status >= 300
96
- raise SetUpProviderStateError.new("Error setting up provider state '#{provider_state}' for consumer '#{consumer}' at #{provider_states_setup_url}. response status=#{response.status} response body=#{response.body}")
95
+ if response.status >= 300 && !(@options[:enable_pending] == true)
96
+ raise SetUpProviderStateError.new(set_up_provider_state_error_message(response))
97
97
  end
98
98
  end
99
99
 
100
+ def set_up_provider_state_error_message(response)
101
+ "Error setting up provider state '#{provider_state}' for consumer '#{consumer}' at #{provider_states_setup_url}. response status=#{response.status} response body=#{response.body}"
102
+ end
103
+
100
104
  def log_request
101
105
  if verbose?
102
106
  $stdout.puts "DEBUG: Setting up provider state '#{provider_state}' for consumer '#{consumer}' using provider state set up URL #{provider_states_setup_url}"
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.38.0"
3
+ VERSION = "1.38.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-provider-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.38.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-12 00:00:00.000000000 Z
12
+ date: 2024-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  - !ruby/object:Gem::Version
331
331
  version: '0'
332
332
  requirements: []
333
- rubygems_version: 3.4.19
333
+ rubygems_version: 3.5.17
334
334
  signing_key:
335
335
  specification_version: 4
336
336
  summary: Provides a Pact verification service for use with Pact