pact-provider-verifier 1.38.1 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile +3 -0
- data/README.md +24 -7
- data/bin/pact-provider-verifier.cmd +30 -0
- data/lib/pact/provider_verifier/set_up_provider_state.rb +5 -0
- data/lib/pact/provider_verifier/version.rb +1 -1
- metadata +41 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a5321948313fa023f47713a697088f2cc7a928169c9bf83a83439166b2753c1
|
4
|
+
data.tar.gz: '06576945058b5e9787806fed00d0541b68ee9bedb49c138eaa525464f8a62891'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 794e63b783852c5b34e96150eb57dc134344ae5cd3738ae4ac2dcbeac87c4da07558a9a2d76624705a29c9e6954c656be26f0db7b03c951cb071f0a36573a31b
|
7
|
+
data.tar.gz: d8143b871414067977f8482bd220b42df1d561207c40fcbd77d6916961dbf8948087fe7204be0b761389c0f287766671c4a0044f51525c3a11438db76f13d971
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
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
|
+
|
16
|
+
<a name="v1.38.2"></a>
|
17
|
+
### v1.38.2 (2024-10-23)
|
18
|
+
|
19
|
+
#### Bug Fixes
|
20
|
+
|
21
|
+
* explicitly require ostruct as non stdlib in ruby 3.5.x ([4beb10f](/../../commit/4beb10f))
|
22
|
+
* examples/Gemfile & examples/Gemfile.lock to reduce vulnerabilities ([de9df60](/../../commit/de9df60))
|
23
|
+
|
24
|
+
* **win**
|
25
|
+
* add pact-provider-verifier cmd binstub ([d9a3c90](/../../commit/d9a3c90))
|
26
|
+
|
1
27
|
<a name="v1.38.1"></a>
|
2
28
|
### v1.38.1 (2024-04-04)
|
3
29
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ This setup simplifies Pact Provider [verification](https://docs.pact.io/document
|
|
4
4
|
process in any language, wrapping the Ruby implementation into a cross-platform,
|
5
5
|
binary-like CLI tool.
|
6
6
|
|
7
|
-
[![
|
7
|
+
[![Test](https://github.com/pact-foundation/pact-provider-verifier/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/pact-foundation/pact-provider-verifier/actions/workflows/test.yml)
|
8
8
|
|
9
9
|
**Features**:
|
10
10
|
|
@@ -12,6 +12,7 @@ binary-like CLI tool.
|
|
12
12
|
* Verify local `*.json` Pacts on the file system
|
13
13
|
* Works with Pact [provider states](https://docs.pact.io/getting_started/provider_states) should you need them
|
14
14
|
* Publishes the verification results back to the pact broker if the pact was retrieved from a broker.
|
15
|
+
* ⚠️ - For Pact Specification V3/V4 support, see the new standalone [pact-verifier](https://github.com/pact-foundation/pact-reference/tree/master/rust/pact_verifier_cli#standalone-pact-verifier)
|
15
16
|
|
16
17
|
## Installation
|
17
18
|
|
@@ -199,14 +200,30 @@ The following flags are required to use basic authentication with a Pact Broker:
|
|
199
200
|
|
200
201
|
NOTE: the `http://user:password@host` format for basic HTTP auth is not supported.
|
201
202
|
|
203
|
+
## Compatibility
|
204
|
+
|
205
|
+
<details><summary>Specification Compatibility</summary>
|
206
|
+
|
207
|
+
| Version | Stable | [Spec] Compatibility |
|
208
|
+
| ------- | ------ | -------------------- |
|
209
|
+
| 1.x.x | Yes | 2, 3\* |
|
210
|
+
|
211
|
+
_\*_ v3 support is limited to the subset of functionality required to enable language inter-operable [Message support].
|
212
|
+
|
213
|
+
See V3 tracking [issue](https://github.com/pact-foundation/pact-ruby/issues/318) for more detail
|
214
|
+
|
215
|
+
Want V3/V4 support now? See the new standalone [pact-verifier](https://github.com/pact-foundation/pact-reference/tree/master/rust/pact_verifier_cli#standalone-pact-verifier)
|
216
|
+
|
217
|
+
[message support]: https://github.com/pact-foundation/pact-specification/tree/version-3#introduces-messages-for-services-that-communicate-via-event-streams-and-message-queues
|
218
|
+
|
202
219
|
## Contributing
|
203
220
|
|
204
221
|
See [CONTRIBUTING.md](/CONTRIBUTING.md)
|
205
222
|
|
206
|
-
[pact]: https://github.com/
|
207
|
-
[releases]: https://github.com/
|
208
|
-
[javascript]: https://github.com/
|
209
|
-
[
|
223
|
+
[pact]: https://github.com/pact-foundation/pact-ruby
|
224
|
+
[releases]: https://github.com/pact-foundation/pact-mock_service/releases
|
225
|
+
[javascript]: https://github.com/pact-foundation/pact-js
|
226
|
+
[slack]: https://slack.pact.io
|
210
227
|
[windows]: https://github.com/bethesque/pact-mock_service/wiki/Building-a-Windows-standalone-executable
|
211
|
-
[install-windows]: https://github.com/
|
212
|
-
[why-generated]: https://github.com/
|
228
|
+
[install-windows]: https://github.com/pact-foundation/pact-mock_service/wiki/Installing-the-pact-mock_service-gem-on-Windows
|
229
|
+
[why-generated]: https://github.com/pact-foundation/pact-ruby/wiki/FAQ#why-are-the-pacts-generated-and-not-static
|
@@ -0,0 +1,30 @@
|
|
1
|
+
@ruby -x "%~f0" %*
|
2
|
+
@exit /b %ERRORLEVEL%
|
3
|
+
|
4
|
+
#!/usr/bin/env ruby
|
5
|
+
# frozen_string_literal: true
|
6
|
+
|
7
|
+
#
|
8
|
+
# This file was generated by Bundler.
|
9
|
+
#
|
10
|
+
# The application 'pact-provider-verifier' is installed as part of a gem, and
|
11
|
+
# this file is here to facilitate running it.
|
12
|
+
#
|
13
|
+
|
14
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
15
|
+
|
16
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
17
|
+
|
18
|
+
if File.file?(bundle_binstub)
|
19
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
20
|
+
load(bundle_binstub)
|
21
|
+
else
|
22
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
23
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
require "rubygems"
|
28
|
+
require "bundler/setup"
|
29
|
+
|
30
|
+
load Gem.bin_path("pact-provider-verifier", "pact-provider-verifier")
|
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.
|
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-
|
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.
|
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.
|
131
|
+
version: '2.0'
|
112
132
|
- !ruby/object:Gem::Dependency
|
113
133
|
name: rack-reverse-proxy
|
114
134
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,6 +157,20 @@ dependencies:
|
|
137
157
|
- - "~>"
|
138
158
|
- !ruby/object:Gem::Version
|
139
159
|
version: '0.3'
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: ostruct
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
type: :runtime
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
140
174
|
- !ruby/object:Gem::Dependency
|
141
175
|
name: rake
|
142
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -285,6 +319,7 @@ email:
|
|
285
319
|
- beth@bethesque.com
|
286
320
|
executables:
|
287
321
|
- pact-provider-verifier
|
322
|
+
- pact-provider-verifier.cmd
|
288
323
|
extensions: []
|
289
324
|
extra_rdoc_files: []
|
290
325
|
files:
|
@@ -293,6 +328,7 @@ files:
|
|
293
328
|
- LICENSE.txt
|
294
329
|
- README.md
|
295
330
|
- bin/pact-provider-verifier
|
331
|
+
- bin/pact-provider-verifier.cmd
|
296
332
|
- lib/pact/provider_verifier.rb
|
297
333
|
- lib/pact/provider_verifier/add_header_middlware.rb
|
298
334
|
- lib/pact/provider_verifier/aggregate_pact_configs.rb
|
@@ -330,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
330
366
|
- !ruby/object:Gem::Version
|
331
367
|
version: '0'
|
332
368
|
requirements: []
|
333
|
-
rubygems_version: 3.5.
|
369
|
+
rubygems_version: 3.5.23
|
334
370
|
signing_key:
|
335
371
|
specification_version: 4
|
336
372
|
summary: Provides a Pact verification service for use with Pact
|