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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5f4cb5a83116a65cd755ec7d8e8ab48a07bbd9084854eafe8479ce619258d87
4
- data.tar.gz: 453b876959da6e040739f461d53d342c5c76650720480f484694f4f40a67b3f5
3
+ metadata.gz: 26cc958a02d05dd977adaee8c952de9392fcb06188c75564e4f9d261821ae6d8
4
+ data.tar.gz: f73fef0a466d12221bee83f0695ecf9f2cfbdbcb92c83f2706449025b78d9408
5
5
  SHA512:
6
- metadata.gz: d4de1c45268fdd6c77c7dddb4ea15235a8cc12604670acb8f64b95569dcbb64de4f1a81e8333e5ec640dcf0da6f90ed8463d34c9203f5c1260d689d16cf1ff81
7
- data.tar.gz: 7d5c9e3124136d5604b821566a22f7967f1b2e3fb160ab6a15547462c25a28562b467ee029d6740f42047933d1d55c20c53b4b880f8ea0a86af46e3af1cfbe16
6
+ metadata.gz: e7ed964f7532f0baa701aead43ac24fa10e40b4503b8da7b637ce8e41ffdc263141689a042d01bd37a20cd0d6ca703c9bee1d645fd76424583b63c151b35e644
7
+ data.tar.gz: d8decbbd6cc63282600dc90f07c79e83db40f6d79181c2afd03bcc325567daad0213b6f36817ae3248876a9e25a04da14d8ee7f1b3a82240f19a9146f91d6df9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ <a name="v1.66.1"></a>
2
+ ### v1.66.1 (2025-01-20)
3
+
4
+ #### Bug Fixes
5
+
6
+ * HTTP_HOST headers for sinatra 4.x ([173bfb7](/../../commit/173bfb7))
7
+
1
8
  <a name="v1.66.0"></a>
2
9
  ### v1.66.0 (2024-11-29)
3
10
 
@@ -35,7 +35,8 @@ module Pact
35
35
 
36
36
  def headers
37
37
  request_headers = {}
38
- request_headers.merge!('HTTP_HOST' => 'localhost') if defined?(Sinatra)
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
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.66.0"
3
+ VERSION = "1.66.1"
4
4
  end
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.19', '>= 1.19.0'
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' # 0.6.0 blows up
41
+ gem.add_development_dependency 'fakefs', '2.4'
42
42
  gem.add_development_dependency 'hashie', '~> 5.0'
43
- gem.add_development_dependency 'faraday', '~>1.0', '<3.0'
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.0
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: 2024-11-29 00:00:00.000000000 Z
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.19'
118
+ version: '1.21'
120
119
  - - ">="
121
120
  - !ruby/object:Gem::Version
122
- version: 1.19.0
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.19'
128
+ version: '1.21'
130
129
  - - ">="
131
130
  - !ruby/object:Gem::Version
132
- version: 1.19.0
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: '1.0'
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: '1.0'
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.5.23
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