pact-provider-verifier 1.36.0 → 1.38.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: 8a78bbf0bd6a02f5ae8601da7624b20ad1721c68ab63f8522519861eeeb43b4b
4
- data.tar.gz: 8d7cba4856e310898b110697d9835f6787ce4f9900047d8318f1fb87bff3e431
3
+ metadata.gz: d2928a02df3e73a90ba75059579c87cf78154383fe12bb1a584365a2c7ff400a
4
+ data.tar.gz: 8e3271d83eb81a5516381184ec005f22ea4220f7d40346aee876425868c0d490
5
5
  SHA512:
6
- metadata.gz: 9bf7bd254fe9003ce19a89222757c4f8b890e97dadd9044391a0431b0d6e92163b607d66306abe1f7540fba3101b2e3e4dfaecb61f6db793b356e0474d319160
7
- data.tar.gz: 505923346b53a1f8331db747bc43d8a6f7819263829a57eb38878d486e1ef3bb9e0829a32b56d843fd6d3abae139ea05795b1f82edacc4a939fb4ce8a19f3965
6
+ metadata.gz: d953255334ee5cb7ed62ae9dfdaa95e506394dee53b7596cdfd787441a2599ea2a4cc138d9c0d98dffeff73ddc335ba6928553c56dcbe375594f3f00bf909559
7
+ data.tar.gz: 2beec40644410de2fc1647aa31d04ce6298cbc74d4efa2338abcb338bc798ac970c38ea3d39e5597dc6205cea676a481b02fc47d522c778f96160f0fda3842a9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ <a name="v1.38.0"></a>
2
+ ### v1.38.0 (2023-09-12)
3
+
4
+ <a name="v1.37.0-1"></a>
5
+ ### v1.37.0-1 (2023-08-02)
6
+
7
+
8
+ #### Features
9
+
10
+ * update Faraday to 2.5 ([bd59317](/../../commit/bd59317))
11
+
12
+
13
+ #### Bug Fixes
14
+
15
+ * **deps**
16
+ * rack 2.2.6 + ruby 3 change to WEBrick.run for args ([9ac818f](/../../commit/9ac818f))
17
+
18
+ * examples/Gemfile.lock to reduce vulnerabilities ([933f34b](/../../commit/933f34b))
19
+
20
+
21
+ <a name="v1.36.1"></a>
22
+ ### v1.36.1 (2021-10-27)
23
+
24
+ #### Bug Fixes
25
+
26
+ * set branch properly from --provider-version-branch ([ad2f233](/../../commit/ad2f233))
27
+
1
28
  <a name="v1.36.0"></a>
2
29
  ### v1.36.0 (2021-09-09)
3
30
 
data/Gemfile CHANGED
@@ -1,5 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ ruby ">= 2.6"
4
+
3
5
  gemspec
4
6
 
5
7
  if ENV['X_PACT_DEVELOPMENT']
data/README.md CHANGED
@@ -62,6 +62,8 @@ Options:
62
62
  with --provider. May be specified multiple times.
63
63
  [--provider-version-tag=TAG]
64
64
  # Tag to apply to the provider application version. May be specified multiple times.
65
+ [--provider-version-branch=BRANCH]
66
+ # The name of the branch the provider version belongs to.
65
67
  -g, [--tag-with-git-branch], [--no-tag-with-git-branch]
66
68
  # Tag provider version with the name of the current git branch. Default: false
67
69
  -a, [--provider-app-version=PROVIDER_APP_VERSION]
@@ -9,7 +9,6 @@ require 'pact/cli/run_pact_verification'
9
9
  require 'pact/provider_verifier/aggregate_pact_configs'
10
10
  require 'pact/provider_verifier/git'
11
11
  require 'rack/reverse_proxy'
12
- require 'faraday_middleware'
13
12
  require 'json'
14
13
 
15
14
  module Pact
@@ -89,6 +88,10 @@ module Pact
89
88
  app_version this.options.provider_app_version
90
89
  end
91
90
 
91
+ if this.options.provider_version_branch
92
+ app_version_branch this.options.provider_version_branch
93
+ end
94
+
92
95
  if this.provider_version_tags.any?
93
96
  app_version_tags this.provider_version_tags
94
97
  end
@@ -1,5 +1,5 @@
1
1
  require 'net/https'
2
- require 'faraday_middleware'
2
+
3
3
  require 'json'
4
4
  require_relative './app'
5
5
  require_relative 'set_up_provider_state'
@@ -1,4 +1,5 @@
1
1
  require 'faraday'
2
+ require 'faraday/retry'
2
3
 
3
4
  module Pact
4
5
  module ProviderVerifier
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.36.0"
3
+ VERSION = "1.38.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-provider-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows
8
8
  - Beth Skurrie
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-09-08 00:00:00.000000000 Z
12
+ date: 2023-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -57,42 +57,30 @@ dependencies:
57
57
  name: faraday
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 0.9.0
63
- - - "<="
60
+ - - "~>"
64
61
  - !ruby/object:Gem::Version
65
- version: '2.0'
62
+ version: '2.5'
66
63
  type: :runtime
67
64
  prerelease: false
68
65
  version_requirements: !ruby/object:Gem::Requirement
69
66
  requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 0.9.0
73
- - - "<="
67
+ - - "~>"
74
68
  - !ruby/object:Gem::Version
75
- version: '2.0'
69
+ version: '2.5'
76
70
  - !ruby/object:Gem::Dependency
77
- name: faraday_middleware
71
+ name: faraday-retry
78
72
  requirement: !ruby/object:Gem::Requirement
79
73
  requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0.10'
83
- - - "<="
74
+ - - "~>"
84
75
  - !ruby/object:Gem::Version
85
- version: '2.0'
76
+ version: '2.2'
86
77
  type: :runtime
87
78
  prerelease: false
88
79
  version_requirements: !ruby/object:Gem::Requirement
89
80
  requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: '0.10'
93
- - - "<="
81
+ - - "~>"
94
82
  - !ruby/object:Gem::Version
95
- version: '2.0'
83
+ version: '2.2'
96
84
  - !ruby/object:Gem::Dependency
97
85
  name: json
98
86
  requirement: !ruby/object:Gem::Requirement
@@ -327,7 +315,7 @@ homepage: https://github.com/pact-foundation/pact-provider-verifier
327
315
  licenses:
328
316
  - MIT
329
317
  metadata: {}
330
- post_install_message:
318
+ post_install_message:
331
319
  rdoc_options: []
332
320
  require_paths:
333
321
  - lib
@@ -342,8 +330,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
342
330
  - !ruby/object:Gem::Version
343
331
  version: '0'
344
332
  requirements: []
345
- rubygems_version: 3.2.27
346
- signing_key:
333
+ rubygems_version: 3.4.19
334
+ signing_key:
347
335
  specification_version: 4
348
336
  summary: Provides a Pact verification service for use with Pact
349
337
  test_files: []