openapi_contracts 0.16.6 → 0.16.7
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 +4 -4
- data/lib/openapi_contracts.rb +1 -3
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41b18d6f911dd2c4f0db5e03d638bceffcb4f13f731c16f07cbbe72f8d927572
|
|
4
|
+
data.tar.gz: 231fd7de9943b6c856f7a3cecb2bbc92b93d3a9b8ad9725c54c6f4dc7374e21d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0033232e1ee889a995ae18402e20eac62482107aaf3a5382a2c6082fba902feac92dec3111412b81f60dea68154852f2b41c7ed15174cda75932778e30570ae
|
|
7
|
+
data.tar.gz: f4111512b809269a1b9affdbe5701077ae3acbf0b645c721f6e0dd997de24c405493bcfb56f124bf8532d0a396022554d7293dfc7df7553a893e7528c835a1da
|
data/lib/openapi_contracts.rb
CHANGED
|
@@ -21,12 +21,10 @@ module OpenapiContracts
|
|
|
21
21
|
autoload :PayloadParser, 'openapi_contracts/payload_parser'
|
|
22
22
|
autoload :Validators, 'openapi_contracts/validators'
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
mattr_accessor :collect_coverage, default: false
|
|
25
25
|
|
|
26
26
|
Env = Struct.new(:operation, :options, :request, :response, keyword_init: true)
|
|
27
27
|
|
|
28
|
-
config_accessor(:collect_coverage) { false }
|
|
29
|
-
|
|
30
28
|
module_function
|
|
31
29
|
|
|
32
30
|
def match(doc, response, options = {})
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openapi_contracts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mkon
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-04-11 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: activesupport
|
|
@@ -153,6 +154,7 @@ dependencies:
|
|
|
153
154
|
- - "~>"
|
|
154
155
|
- !ruby/object:Gem::Version
|
|
155
156
|
version: 0.22.0
|
|
157
|
+
description:
|
|
156
158
|
email:
|
|
157
159
|
- konstantin@munteanu.de
|
|
158
160
|
executables: []
|
|
@@ -197,6 +199,7 @@ licenses:
|
|
|
197
199
|
- MIT
|
|
198
200
|
metadata:
|
|
199
201
|
rubygems_mfa_required: 'true'
|
|
202
|
+
post_install_message:
|
|
200
203
|
rdoc_options: []
|
|
201
204
|
require_paths:
|
|
202
205
|
- lib
|
|
@@ -214,7 +217,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
214
217
|
- !ruby/object:Gem::Version
|
|
215
218
|
version: '0'
|
|
216
219
|
requirements: []
|
|
217
|
-
rubygems_version:
|
|
220
|
+
rubygems_version: 3.5.5
|
|
221
|
+
signing_key:
|
|
218
222
|
specification_version: 4
|
|
219
223
|
summary: Openapi schemas as API contracts
|
|
220
224
|
test_files: []
|