openapi-ruby 2.2.0 → 2.2.1

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: d7c1b8cfa3a8ecc15d1e378b9354d359333b5ac8d43f9cdd1de609d60830a839
4
- data.tar.gz: c987648c9d766474bb5665d115647513c1ae7d6c3d4c5ea4478ec83d3b7fed22
3
+ metadata.gz: 8dfe417a1a5864710883f37f364361850908925c15f4bde8c97a2cce5568040b
4
+ data.tar.gz: 1cae3cd37db70840d39afe38d49dabe7e136c3b5801d0485a0618cbd674c7427
5
5
  SHA512:
6
- metadata.gz: 01dc4b64bd6d67a48659d1d1ffb8f77dc93609d3ff790664d60ad312c8b38f2ff986ec013ae52cf14dda243f396637c39366c21985086098bb7c3effa0f4a813
7
- data.tar.gz: d5df229413a0836644665b8ff29976764c547383ea6443eea20d156d6db8671405f8e84ddec26a25d11b1b3456d84157e44571ebb32ecc58265209e04b20e5b1
6
+ metadata.gz: 10c973884753f494a4917b88ca87ccdabdd408e06b365665a576cc0cf8940891f8656c8e657e9e873ca2b4c42dad4b6b172dfbe8a1e84203a192a16c6c8f1282
7
+ data.tar.gz: f41d3b6d56b26aaef013572733bf360a066abfb8cf1be4df4af0583cb23a685d0bc09d58c27b816229b7ae23b2dbd0a07d75e0a6ad211ad9e2d3b3ae7c6075d0
@@ -65,8 +65,9 @@ module OpenapiRuby
65
65
  existing_scopes = existing._component_scopes
66
66
  existing_scopes_set = existing._component_scopes_explicitly_set
67
67
 
68
- # Skip when exactly one side has explicitly configured scopes — the other
69
- # is still at its default (freshly included) and may get scopes set later via
68
+ # Skip when exactly one side has explicitly configured scopes — during initial
69
+ # loading, components are registered with empty default scopes before the Loader
70
+ # assigns inferred scopes. The unconfigured side may get scopes later via
70
71
  # component_scopes, which unregisters/re-registers and retriggers this check.
71
72
  next if new_scopes_set != existing_scopes_set
72
73
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenapiRuby
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten Hartvig