pact-mock_service 3.12.2 → 3.12.3

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: '08233bef28db9357360423a4752f559c5c90dacb46fedbb0c04fa28d6c3ada69'
4
- data.tar.gz: bcacff5aec9f076deaa872526118ceb87e4a2316d50929e7095998d0aa568664
3
+ metadata.gz: 02bd2a94537ac38fd7ec38a3673732341e4b09477945279b276048ea3a48e92b
4
+ data.tar.gz: f5c155b7a8f57d234e70d89ccf95ecde38432726aa99c8d5732de67fcb602105
5
5
  SHA512:
6
- metadata.gz: 364ea60f0b35a35cd4f0f26786bda252ac5a99d7dc102df2e6019da9c36bfba7f23eb1d6929f4233fefbc93de524d6f7d745e4170507d87ac0f841a5c75478f9
7
- data.tar.gz: f40eb93146e58ffb7169889ac1baecd7ed35276ae3bb65742192559409ffa7fd5607951a413b913a520477acabe8c71c7848cd7a3eb8020a5df0b61c41b375b6
6
+ metadata.gz: e4f342c74ad4e7e464ad501b83762d960808dcaacc9d80c08e8a121a35d9a20cb44347d77e8bd1e11748015f68209185b5f3ecbea7caba832e58e3e468545e15
7
+ data.tar.gz: 857aa789fe394a287094c0f673d8eedc43c640815fbd8b55e1511c875b53e91ceb352602c8a7d788099a403a30b89b6978ea99475c4287ba36a5f91d70044b73
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ <a name="v3.12.3"></a>
2
+ ### v3.12.3 (2024-06-17)
3
+
4
+ #### Bug Fixes
5
+
6
+ * rack 2.x dont load Rack::Handler::WEBrick class to avoid warnings ([c5e2311](/../../commit/c5e2311))
7
+
1
8
  <a name="v3.12.2"></a>
2
9
  ### v3.12.2 (2024-06-15)
3
10
 
@@ -179,6 +186,15 @@
179
186
  * allow mock service host to be configured ([7e2d810](/../../commit/7e2d810))
180
187
 
181
188
 
189
+ <a name="v2.12.0"></a>
190
+ ### v2.12.0 (2018-10-03)
191
+
192
+
193
+ #### Features
194
+
195
+ * only set 'Access-Control-Allow-Credentials' if required for preflight to succeed ([4ede738](/../../commit/4ede738))
196
+
197
+
182
198
  <a name="v2.11.0"></a>
183
199
  ### v2.11.0 (2018-08-28)
184
200
 
@@ -171,11 +171,7 @@ module Pact
171
171
 
172
172
  def require_common_dependencies
173
173
  require 'webrick/https'
174
- begin
175
- require 'rack/handler/webrick'
176
- rescue LoadError
177
- require 'rackup/handler/webrick'
178
- end
174
+ require 'rack/handler/webbrick'
179
175
  require 'fileutils'
180
176
  require 'pact/mock_service/server/wait_for_server_up'
181
177
  require 'pact/mock_service/cli/pidfile'
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module MockService
3
- VERSION = "3.12.2"
3
+ VERSION = "3.12.3"
4
4
  end
5
5
  end
@@ -1,10 +1,6 @@
1
1
  require 'pact/mock_service/cli/custom_thor'
2
2
  require 'webrick/https'
3
- begin
4
- require 'rack/handler/webrick'
5
- rescue LoadError
6
- require 'rackup/handler/webrick'
7
- end
3
+ require 'rack/handler/webbrick'
8
4
  require 'fileutils'
9
5
  require 'pact/mock_service/server/wait_for_server_up'
10
6
  require 'pact/mock_service/cli/pidfile'
@@ -2,7 +2,6 @@ module Rack
2
2
  module Handler
3
3
  begin
4
4
  require 'rack/handler/webrick'
5
- WEBrick = Class.new(Rack::Handler::WEBrick)
6
5
  rescue LoadError
7
6
  require 'rackup/handler/webrick'
8
7
  WEBrick = Class.new(Rackup::Handler::WEBrick)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-mock_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.2
4
+ version: 3.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Fraser
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2024-06-15 00:00:00.000000000 Z
15
+ date: 2024-08-07 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack
@@ -411,7 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
411
411
  - !ruby/object:Gem::Version
412
412
  version: '0'
413
413
  requirements: []
414
- rubygems_version: 3.5.13
414
+ rubygems_version: 3.5.17
415
415
  signing_key:
416
416
  specification_version: 4
417
417
  summary: Provides a mock service for use with Pact