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: edcdc6aad3dda3c3aee4a30f682dd547c87d5606b8f6a29bbc132230c8e51176
4
- data.tar.gz: 5d51d13a6a07d747535f51b1a5adcb5dbf4ce9da20085ddc3eafb6721cdd4ec9
3
+ metadata.gz: fe58f8cf04c60643bf6474aa80def52213a8f5147f1fd96a41a557a7b011a841
4
+ data.tar.gz: caea075647208bd681e48d1751a6722f6a86e934f82624b710bd89eb7d225b7b
5
5
  SHA512:
6
- metadata.gz: 92c6f934a4207b4156b8cb5a7c4db3bb502ef2c774246baefa9e33f69429671ddfcc427a0c45a9b34898beba1fa9f5df203d7fda6a26dd2fd860ba82c7d81502
7
- data.tar.gz: ba53cc8fd5235fe8ffc9d43d9d5133855bd4384aed3c928b1b4146125da9e54829d7302051dc7cd7bc0fd16040973c091e307a5338a6b503ad9e2fdbc8b5c801
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module GrapeOpenapi
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
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.1
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-06-30 00:00:00.000000000 Z
11
+ date: 2026-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape