pact-mock_service 3.12.3 → 3.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bd2a94537ac38fd7ec38a3673732341e4b09477945279b276048ea3a48e92b
4
- data.tar.gz: f5c155b7a8f57d234e70d89ccf95ecde38432726aa99c8d5732de67fcb602105
3
+ metadata.gz: b275d79e0a5297c0565197508c2932ebfc03f13748fd4441223d1cdbdaa0f57a
4
+ data.tar.gz: d77f822b78a1ffcb48779082e5cde09406a76bf4801fb46ecf1dd4b0513a90a4
5
5
  SHA512:
6
- metadata.gz: e4f342c74ad4e7e464ad501b83762d960808dcaacc9d80c08e8a121a35d9a20cb44347d77e8bd1e11748015f68209185b5f3ecbea7caba832e58e3e468545e15
7
- data.tar.gz: 857aa789fe394a287094c0f673d8eedc43c640815fbd8b55e1511c875b53e91ceb352602c8a7d788099a403a30b89b6978ea99475c4287ba36a5f91d70044b73
6
+ metadata.gz: ff63ebd684bd352a6a14f362e8c0bff7452f4f48ba2d9985daa72a31155e05e42f718673c34b5d5255603465b9fb39daf434b3ff9f40d36046098e48fcb832df
7
+ data.tar.gz: 32fbe6767fe55e77b688cc5491bd30377b34b633aad6b4db3b9e6b87afaf8230a6e7a906177fbd629922a9dcd1e53c2cb7681a3d2c80a06a682b51ceae18e265
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ <a name="v3.12.4"></a>
2
+ ### v3.12.4 (2026-01-06)
3
+
4
+ #### Bug Fixes
5
+
6
+ * remove unnecessary require ([7d5d375](/../../commit/7d5d375))
7
+
1
8
  <a name="v3.12.3"></a>
2
9
  ### v3.12.3 (2024-06-17)
3
10
 
data/README.md CHANGED
@@ -16,7 +16,7 @@ The mock service provides the following endpoints:
16
16
 
17
17
  All requests to the "administration" endpoints listed above must contain the header `X-Pact-Mock-Service: true` to allow the mock service to know whether the request is an administration request or a request from the actual consumer code.
18
18
 
19
- As the Pact mock service can be used as a standalone executable and administered via HTTP, it can be used for testing with any language. All that is required is a library in the native language to create the HTTP calls listed above. Check out [docs.pact.io](https://docs.pact.io) for a list of implemented languages. If you are interested in creating bindings in a new language, have a chat to one of us on the [pact-dev Google group][pact-dev].
19
+ As the Pact mock service can be used as a standalone executable and administered via HTTP, it can be used for testing with any language. All that is required is a library in the native language to create the HTTP calls listed above. Check out [docs.pact.io](https://docs.pact.io) for a list of implemented languages. If you are interested in creating bindings in a new language, have a chat to one of us on the [pact slack group][slack].
20
20
 
21
21
  ## Installation
22
22
 
@@ -98,7 +98,7 @@ Read the wiki page on [CORS][cors].
98
98
 
99
99
  The pact-stub-service allows you to reuse interactions that have been generated in previous tests. The typical situation would be to generate your pact file using unit tests, and then use the pact stub service for your higher level integration/ui tests. To help reduce the number of interactions that need verifying, you will want to use flexible matching on both requests and responses.
100
100
 
101
- Unlike the mock service, which has a Ruby DSL for managing its lifecycle, the mock service can currently only be started from the command line, so you will need to start/background/kill the process yourself. If this is causing problems, please raise it in the pact-dev google group and we can discuss potential enhancements.
101
+ Unlike the mock service, which has a Ruby DSL for managing its lifecycle, the mock service can currently only be started from the command line, so you will need to start/background/kill the process yourself. If this is causing problems, please raise it in the pact slack group and we can discuss potential enhancements.
102
102
 
103
103
  ```
104
104
  Usage:
@@ -119,7 +119,7 @@ Description:
119
119
  Include any basic auth details in the URL using the format https://USERNAME:PASSWORD@URI.
120
120
  Where multiple matching interactions are found, the interactions will be sorted by
121
121
  response status, and the first one will be returned. This may lead to some non-deterministic
122
- behaviour. If you are having problems with this, please raise it on the pact-dev google group,
122
+ behaviour. If you are having problems with this, please raise it on the pact slack group,
123
123
  and we can discuss some potential enhancements.
124
124
  Note that only versions 1 and 2 of the pact specification are currently fully supported.
125
125
  Pacts using the v3 format may be used, however, any matching features added in v4 will
@@ -132,6 +132,6 @@ See [CONTRIBUTING.md](/CONTRIBUTING.md)
132
132
 
133
133
  [pact]: https://github.com/pact-foundation/pact-ruby
134
134
  [executables]: https://github.com/pact-foundation/pact-ruby-standalone/releases
135
- [pact-dev]: https://groups.google.com/forum/#!forum/pact-dev
135
+ [slack]: https://slack.pact.io
136
136
  [wiki]: https://github.com/pact-foundation/pact-mock_service/wiki
137
137
  [cors]: https://github.com/pact-foundation/pact-mock_service/wiki/Using-the-mock-service-with-CORS
@@ -1,4 +1,3 @@
1
- require 'cgi/core'
2
1
  require 'pact/consumer_contract/query'
3
2
 
4
3
  module Pact
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module MockService
3
- VERSION = "3.12.3"
3
+ VERSION = "3.12.4"
4
4
  end
5
5
  end
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.3
4
+ version: 3.12.4
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-08-07 00:00:00.000000000 Z
14
+ date: 1980-01-02 00:00:00.000000000 Z
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: rack
@@ -144,6 +143,20 @@ dependencies:
144
143
  - - ">="
145
144
  - !ruby/object:Gem::Version
146
145
  version: 1.16.4
146
+ - !ruby/object:Gem::Dependency
147
+ name: logger
148
+ requirement: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "<"
151
+ - !ruby/object:Gem::Version
152
+ version: '2.0'
153
+ type: :runtime
154
+ prerelease: false
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "<"
158
+ - !ruby/object:Gem::Version
159
+ version: '2.0'
147
160
  - !ruby/object:Gem::Dependency
148
161
  name: rack-test
149
162
  requirement: !ruby/object:Gem::Requirement
@@ -226,6 +239,34 @@ dependencies:
226
239
  - - "~>"
227
240
  - !ruby/object:Gem::Version
228
241
  version: '2.4'
242
+ - !ruby/object:Gem::Dependency
243
+ name: irb
244
+ requirement: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ type: :development
250
+ prerelease: false
251
+ version_requirements: !ruby/object:Gem::Requirement
252
+ requirements:
253
+ - - ">="
254
+ - !ruby/object:Gem::Version
255
+ version: '0'
256
+ - !ruby/object:Gem::Dependency
257
+ name: fiddle
258
+ requirement: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: '0'
263
+ type: :development
264
+ prerelease: false
265
+ version_requirements: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - ">="
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
229
270
  - !ruby/object:Gem::Dependency
230
271
  name: hashie
231
272
  requirement: !ruby/object:Gem::Requirement
@@ -310,7 +351,6 @@ dependencies:
310
351
  - - "~>"
311
352
  - !ruby/object:Gem::Version
312
353
  version: '0.5'
313
- description:
314
354
  email:
315
355
  - james.fraser@alumni.swinburne.edu
316
356
  - sergei.matheson@gmail.com
@@ -396,7 +436,6 @@ homepage: https://github.com/bethesque/pact-mock_service
396
436
  licenses:
397
437
  - MIT
398
438
  metadata: {}
399
- post_install_message:
400
439
  rdoc_options: []
401
440
  require_paths:
402
441
  - lib
@@ -411,8 +450,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
411
450
  - !ruby/object:Gem::Version
412
451
  version: '0'
413
452
  requirements: []
414
- rubygems_version: 3.5.17
415
- signing_key:
453
+ rubygems_version: 4.0.3
416
454
  specification_version: 4
417
455
  summary: Provides a mock service for use with Pact
418
456
  test_files: []