gitlab-grape-openapi 0.2.1 → 0.2.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe58f8cf04c60643bf6474aa80def52213a8f5147f1fd96a41a557a7b011a841
|
|
4
|
+
data.tar.gz: caea075647208bd681e48d1751a6722f6a86e934f82624b710bd89eb7d225b7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca754c4b4e7a5a4de99cd913facf2b55d4eee9f95d3be48b65540fc7e0a46fe6691651d3c7bfbae6ece7ba281fb332b10408a917ee0bdc47026c310761eeab97
|
|
7
|
+
data.tar.gz: c6ad6d03370a62f21a5fa55f071e01cd2b170e0e87ed282b4d62654c56e56f3743698ab7a63f846655bb7f9dca4d0cda2348a0a5ce7100c68bb8c4b08759c8c4
|
|
@@ -25,8 +25,8 @@ module Gitlab
|
|
|
25
25
|
|
|
26
26
|
def in_value
|
|
27
27
|
# Strip only the :version path segment (not substrings like :version_id or :package_version),
|
|
28
|
-
# then match the param name as a complete segment bounded by / . ( or end-of-string.
|
|
29
|
-
route.path.gsub('/:version/', '/').match?(%r{/:#{Regexp.escape(name)}([/.(]|$)}) ? 'path' : 'query'
|
|
28
|
+
# then match the param name as a complete segment bounded by / . ( ) or end-of-string.
|
|
29
|
+
route.path.gsub('/:version/', '/').match?(%r{/:#{Regexp.escape(name)}([/.()]|$)}) ? 'path' : 'query'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def example
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-grape-openapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- group::api
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grape
|