pact-provider-verifier 1.38.2 → 1.39.0

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: fa9ec1118a07d3ae446731c2c9014a38b6d3262f2a24de9d59aff35aac9ecdb1
4
- data.tar.gz: abee33f9bc707a8f43f73a88e732b62cdfc85932bb6ae99439a4b66c1e422be8
3
+ metadata.gz: 0a5321948313fa023f47713a697088f2cc7a928169c9bf83a83439166b2753c1
4
+ data.tar.gz: '06576945058b5e9787806fed00d0541b68ee9bedb49c138eaa525464f8a62891'
5
5
  SHA512:
6
- metadata.gz: 480ad76f524166885f31fe45c3a159ae5d8c26803c48ff348a4fc454bd2e820dcbc3a783d8f3de5d9e142d0bc69b08fe64cf07fd16e6a5aa5066d25c04b34d8b
7
- data.tar.gz: 384b8fff3f9cbf625ce92990bc1bf247bb11525834c34b8b36494d26a1a36467f2c932582957932f93e0684ebdaa71002fab8283e3abcb1d1a42ce4fb6b73952
6
+ metadata.gz: 794e63b783852c5b34e96150eb57dc134344ae5cd3738ae4ac2dcbeac87c4da07558a9a2d76624705a29c9e6954c656be26f0db7b03c951cb071f0a36573a31b
7
+ data.tar.gz: d8143b871414067977f8482bd220b42df1d561207c40fcbd77d6916961dbf8948087fe7204be0b761389c0f287766671c4a0044f51525c3a11438db76f13d971
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ <a name="v1.39.0"></a>
2
+ ### v1.39.0 (2024-11-29)
3
+
4
+ #### Features
5
+
6
+ * rack 3 support with rack 2 backwards compat ([c534282](/../../commit/c534282))
7
+
8
+ * **generators**
9
+ * More test cases ([78a42d7](/../../commit/78a42d7))
10
+ * Pass provider state results back so we can use ProviderState generator ([89fe1c4](/../../commit/89fe1c4))
11
+
12
+ #### Bug Fixes
13
+
14
+ * support rack 2 and 3 ([b812dc0](/../../commit/b812dc0))
15
+
1
16
  <a name="v1.38.2"></a>
2
17
  ### v1.38.2 (2024-10-23)
3
18
 
data/Gemfile CHANGED
@@ -9,3 +9,6 @@ if ENV['X_PACT_DEVELOPMENT']
9
9
  gem "pact-message", path: '../pact-message-ruby'
10
10
  gem "pact-support", path: '../pact-support'
11
11
  end
12
+
13
+ gem 'rack-reverse-proxy', git: 'https://github.com/pact-foundation/rack-reverse-proxy.git',
14
+ branch: 'feat/rack_2_and_3_compat'
@@ -28,6 +28,11 @@ module Pact
28
28
  log_request
29
29
  response = post_to_provider_state
30
30
  check_for_error response
31
+ begin
32
+ JSON.parse(response.body)
33
+ rescue
34
+ {}
35
+ end
31
36
  end
32
37
 
33
38
  private
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.38.2"
3
+ VERSION = "1.39.0"
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.2
4
+ version: 1.39.0
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: 2024-10-23 00:00:00.000000000 Z
12
+ date: 2024-11-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -97,18 +97,38 @@ dependencies:
97
97
  version: '1.8'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rack
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '3.0'
105
+ - - "<"
106
+ - !ruby/object:Gem::Version
107
+ version: '4.0'
108
+ type: :runtime
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '3.0'
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: '4.0'
118
+ - !ruby/object:Gem::Dependency
119
+ name: rackup
100
120
  requirement: !ruby/object:Gem::Requirement
101
121
  requirements:
102
122
  - - "~>"
103
123
  - !ruby/object:Gem::Version
104
- version: '2.1'
124
+ version: '2.0'
105
125
  type: :runtime
106
126
  prerelease: false
107
127
  version_requirements: !ruby/object:Gem::Requirement
108
128
  requirements:
109
129
  - - "~>"
110
130
  - !ruby/object:Gem::Version
111
- version: '2.1'
131
+ version: '2.0'
112
132
  - !ruby/object:Gem::Dependency
113
133
  name: rack-reverse-proxy
114
134
  requirement: !ruby/object:Gem::Requirement
@@ -346,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
346
366
  - !ruby/object:Gem::Version
347
367
  version: '0'
348
368
  requirements: []
349
- rubygems_version: 3.5.22
369
+ rubygems_version: 3.5.23
350
370
  signing_key:
351
371
  specification_version: 4
352
372
  summary: Provides a Pact verification service for use with Pact