openapi_parameters 0.3.0 → 0.3.1

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: aa586602013f736682059c6e4615dbd4eb7e57daaa4633e6fb35982261a39e11
4
- data.tar.gz: 772345d845efdf6d191c362176deac63036cf064fbd4145c8b375f9bf500faaf
3
+ metadata.gz: 25ce53f3254aebc92f56f59faf54a0b82a26a9908956c5f9ef1e6696f42d5ef9
4
+ data.tar.gz: 134af6813487d225ded3b84040f7039276f64906d2d4be635ac2681689035553
5
5
  SHA512:
6
- metadata.gz: 8d21a6c44fc2a1d6d72a3b4cd2bab4804ee4ddfd62d5cf73d3407bf913583b0733b61e9b567da45dca13f9bf2007d58ac6b45fb71299ffa509385aaa1f05b18a
7
- data.tar.gz: d7cc40c0551910ba432955e7008762950d8c65df0b06e45d094dca0f8b601c6bacc68e6ef8d223471d9f59c112f7a872fd2a5903a7f78de2d70f0580ccfc9115
6
+ metadata.gz: b5229198046f5e0455ed437110c170024131b5046aaaea598471080804a3e56774997640f323b463567e197308668874633c8186cbf518871a013cfbe4bd1593
7
+ data.tar.gz: 517df02187fe286fb67d21f9bd807fdc07bcdea04e62df0fce16a32bb994215d6706b47c97f6ec32e59c439edccee23e13a993b3b59c390b623f4f53f28850a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.1] - 2023-11-09
4
+ - Make it work with Zeitwerk's `eager_load`
5
+
3
6
  ## [0.3.0] - 2023-10-27
4
7
 
5
8
  - Query parameters: Don't attempt to convert arras within deepObject objects. Behaviour is not defined in OpenApi 3.1.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openapi_parameters (0.3.0)
4
+ openapi_parameters (0.3.1)
5
5
  rack (>= 2.2)
6
6
  zeitwerk (~> 2.6)
7
7
 
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module OpenapiParameters
4
+ class Error < StandardError
5
+ end
6
+ end
@@ -1,9 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenapiParameters
4
- class Error < StandardError
5
- end
6
-
7
4
  class NotSupportedError < Error
8
5
  end
9
6
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenapiParameters
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
@@ -1,11 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'zeitwerk'
4
- loader = Zeitwerk::Loader.for_gem
5
- loader.setup
6
4
 
7
5
  # OpenapiParameters is a gem that parses OpenAPI parameters from Rack
8
6
  module OpenapiParameters
7
+ LOADER = Zeitwerk::Loader.for_gem
8
+ LOADER.setup
9
9
  end
10
-
11
- require_relative 'openapi_parameters/errors'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi_parameters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Haller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -58,9 +58,10 @@ files:
58
58
  - lib/openapi_parameters.rb
59
59
  - lib/openapi_parameters/converter.rb
60
60
  - lib/openapi_parameters/cookie.rb
61
- - lib/openapi_parameters/errors.rb
61
+ - lib/openapi_parameters/error.rb
62
62
  - lib/openapi_parameters/header.rb
63
63
  - lib/openapi_parameters/headers_hash.rb
64
+ - lib/openapi_parameters/not_supported_error.rb
64
65
  - lib/openapi_parameters/parameter.rb
65
66
  - lib/openapi_parameters/path.rb
66
67
  - lib/openapi_parameters/query.rb