pact 1.66.0 → 1.66.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/pact/provider/request.rb +2 -1
- data/lib/pact/version.rb +1 -1
- data/pact.gemspec +3 -3
- metadata +9 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26cc958a02d05dd977adaee8c952de9392fcb06188c75564e4f9d261821ae6d8
|
4
|
+
data.tar.gz: f73fef0a466d12221bee83f0695ecf9f2cfbdbcb92c83f2706449025b78d9408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ed964f7532f0baa701aead43ac24fa10e40b4503b8da7b637ce8e41ffdc263141689a042d01bd37a20cd0d6ca703c9bee1d645fd76424583b63c151b35e644
|
7
|
+
data.tar.gz: d8decbbd6cc63282600dc90f07c79e83db40f6d79181c2afd03bcc325567daad0213b6f36817ae3248876a9e25a04da14d8ee7f1b3a82240f19a9146f91d6df9
|
data/CHANGELOG.md
CHANGED
@@ -35,7 +35,8 @@ module Pact
|
|
35
35
|
|
36
36
|
def headers
|
37
37
|
request_headers = {}
|
38
|
-
|
38
|
+
# https://github.com/pact-foundation/pact-ruby/pull/327
|
39
|
+
request_headers.merge!('HOST' => 'localhost') if defined?(Sinatra)
|
39
40
|
return request_headers if expected_request.headers.is_a?(Pact::NullExpectation)
|
40
41
|
|
41
42
|
expected_request.headers.each do |key, value|
|
data/lib/pact/version.rb
CHANGED
data/pact.gemspec
CHANGED
@@ -33,14 +33,14 @@ Gem::Specification.new do |gem|
|
|
33
33
|
gem.add_runtime_dependency 'string_pattern', '~> 2.0'
|
34
34
|
gem.add_runtime_dependency 'jsonpath', '~> 1.0'
|
35
35
|
|
36
|
-
gem.add_runtime_dependency 'pact-support', '~> 1.
|
36
|
+
gem.add_runtime_dependency 'pact-support', '~> 1.21', '>= 1.21.0'
|
37
37
|
gem.add_runtime_dependency 'pact-mock_service', '~> 3.0', '>= 3.3.1'
|
38
38
|
|
39
39
|
gem.add_development_dependency 'rake', '~> 13.0'
|
40
40
|
gem.add_development_dependency 'webmock', '~> 3.0'
|
41
|
-
gem.add_development_dependency 'fakefs', '2.4'
|
41
|
+
gem.add_development_dependency 'fakefs', '2.4'
|
42
42
|
gem.add_development_dependency 'hashie', '~> 5.0'
|
43
|
-
gem.add_development_dependency 'faraday', '~>
|
43
|
+
gem.add_development_dependency 'faraday', '~>2.0', '<3.0'
|
44
44
|
gem.add_development_dependency 'faraday-multipart', '~> 1.0'
|
45
45
|
gem.add_development_dependency 'conventional-changelog', '~> 1.3'
|
46
46
|
gem.add_development_dependency 'bump', '~> 0.5'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.66.
|
4
|
+
version: 1.66.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Fraser
|
@@ -9,10 +9,9 @@ authors:
|
|
9
9
|
- Brent Snook
|
10
10
|
- Ronald Holshausen
|
11
11
|
- Beth Skurrie
|
12
|
-
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date:
|
14
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: rspec
|
@@ -116,20 +115,20 @@ dependencies:
|
|
116
115
|
requirements:
|
117
116
|
- - "~>"
|
118
117
|
- !ruby/object:Gem::Version
|
119
|
-
version: '1.
|
118
|
+
version: '1.21'
|
120
119
|
- - ">="
|
121
120
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.
|
121
|
+
version: 1.21.0
|
123
122
|
type: :runtime
|
124
123
|
prerelease: false
|
125
124
|
version_requirements: !ruby/object:Gem::Requirement
|
126
125
|
requirements:
|
127
126
|
- - "~>"
|
128
127
|
- !ruby/object:Gem::Version
|
129
|
-
version: '1.
|
128
|
+
version: '1.21'
|
130
129
|
- - ">="
|
131
130
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.
|
131
|
+
version: 1.21.0
|
133
132
|
- !ruby/object:Gem::Dependency
|
134
133
|
name: pact-mock_service
|
135
134
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,7 +211,7 @@ dependencies:
|
|
212
211
|
requirements:
|
213
212
|
- - "~>"
|
214
213
|
- !ruby/object:Gem::Version
|
215
|
-
version: '
|
214
|
+
version: '2.0'
|
216
215
|
- - "<"
|
217
216
|
- !ruby/object:Gem::Version
|
218
217
|
version: '3.0'
|
@@ -222,7 +221,7 @@ dependencies:
|
|
222
221
|
requirements:
|
223
222
|
- - "~>"
|
224
223
|
- !ruby/object:Gem::Version
|
225
|
-
version: '
|
224
|
+
version: '2.0'
|
226
225
|
- - "<"
|
227
226
|
- !ruby/object:Gem::Version
|
228
227
|
version: '3.0'
|
@@ -446,7 +445,6 @@ metadata:
|
|
446
445
|
source_code_uri: https://github.com/pact-foundation/pact-ruby
|
447
446
|
bug_tracker_uri: https://github.com/pact-foundation/pact-ruby/issues
|
448
447
|
documentation_uri: https://github.com/pact-foundation/pact-ruby/blob/master/README.md
|
449
|
-
post_install_message:
|
450
448
|
rdoc_options: []
|
451
449
|
require_paths:
|
452
450
|
- lib
|
@@ -461,8 +459,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
461
459
|
- !ruby/object:Gem::Version
|
462
460
|
version: '0'
|
463
461
|
requirements: []
|
464
|
-
rubygems_version: 3.
|
465
|
-
signing_key:
|
462
|
+
rubygems_version: 3.6.3
|
466
463
|
specification_version: 4
|
467
464
|
summary: Enables consumer driven contract testing, providing a mock service and DSL
|
468
465
|
for the consumer project, and interaction playback and verification for the service
|