pact-provider-verifier 1.38.1 → 1.38.2

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: 514bbbf9079816eebbd579eb1394950f16210ffea9f4a00f2757de36c96a54b7
4
- data.tar.gz: 66bb1a247c2d5299714272727d0fb1c67ab2dc63eca377414b5e5c1724976b15
3
+ metadata.gz: fa9ec1118a07d3ae446731c2c9014a38b6d3262f2a24de9d59aff35aac9ecdb1
4
+ data.tar.gz: abee33f9bc707a8f43f73a88e732b62cdfc85932bb6ae99439a4b66c1e422be8
5
5
  SHA512:
6
- metadata.gz: 410602c0632309684a30c06adfb1f647c0dd02479ac70744995e60471a86f92d475e238707ba86e2375f09705a074e7fc998b238f206ed46d6826d382c1d16cf
7
- data.tar.gz: 2f26ac388ae4a84f3826eca50749a6ab958d394f4f068b1f91c456dedaed56c8c8b3d65c18bf99c166f78408fe2bf79608198bce40c708daeeb29a3cd1797ed8
6
+ metadata.gz: 480ad76f524166885f31fe45c3a159ae5d8c26803c48ff348a4fc454bd2e820dcbc3a783d8f3de5d9e142d0bc69b08fe64cf07fd16e6a5aa5066d25c04b34d8b
7
+ data.tar.gz: 384b8fff3f9cbf625ce92990bc1bf247bb11525834c34b8b36494d26a1a36467f2c932582957932f93e0684ebdaa71002fab8283e3abcb1d1a42ce4fb6b73952
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ <a name="v1.38.2"></a>
2
+ ### v1.38.2 (2024-10-23)
3
+
4
+ #### Bug Fixes
5
+
6
+ * explicitly require ostruct as non stdlib in ruby 3.5.x ([4beb10f](/../../commit/4beb10f))
7
+ * examples/Gemfile & examples/Gemfile.lock to reduce vulnerabilities ([de9df60](/../../commit/de9df60))
8
+
9
+ * **win**
10
+ * add pact-provider-verifier cmd binstub ([d9a3c90](/../../commit/d9a3c90))
11
+
1
12
  <a name="v1.38.1"></a>
2
13
  ### v1.38.1 (2024-04-04)
3
14
 
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
- [![Build Status](https://travis-ci.org/pact-foundation/pact-provider-verifier.svg?branch=master)](https://travis-ci.org/pact-foundation/pact-provider-verifier)
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/realestate-com-au/pact
207
- [releases]: https://github.com/bethesque/pact-mock_service/releases
208
- [javascript]: https://github.com/DiUS/pact-consumer-js-dsl
209
- [pact-dev]: https://groups.google.com/forum/#!forum/pact-dev
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/bethesque/pact-mock_service/wiki/Installing-the-pact-mock_service-gem-on-Windows
212
- [why-generated]: https://github.com/realestate-com-au/pact/wiki/FAQ#why-are-the-pacts-generated-and-not-static
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")
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.38.1"
3
+ VERSION = "1.38.2"
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.1
4
+ version: 1.38.2
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-08-07 00:00:00.000000000 Z
12
+ date: 2024-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -137,6 +137,20 @@ dependencies:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0.3'
140
+ - !ruby/object:Gem::Dependency
141
+ name: ostruct
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: rake
142
156
  requirement: !ruby/object:Gem::Requirement
@@ -285,6 +299,7 @@ email:
285
299
  - beth@bethesque.com
286
300
  executables:
287
301
  - pact-provider-verifier
302
+ - pact-provider-verifier.cmd
288
303
  extensions: []
289
304
  extra_rdoc_files: []
290
305
  files:
@@ -293,6 +308,7 @@ files:
293
308
  - LICENSE.txt
294
309
  - README.md
295
310
  - bin/pact-provider-verifier
311
+ - bin/pact-provider-verifier.cmd
296
312
  - lib/pact/provider_verifier.rb
297
313
  - lib/pact/provider_verifier/add_header_middlware.rb
298
314
  - lib/pact/provider_verifier/aggregate_pact_configs.rb
@@ -330,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
346
  - !ruby/object:Gem::Version
331
347
  version: '0'
332
348
  requirements: []
333
- rubygems_version: 3.5.17
349
+ rubygems_version: 3.5.22
334
350
  signing_key:
335
351
  specification_version: 4
336
352
  summary: Provides a Pact verification service for use with Pact