skooma 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/data/oas-3.1/meta/base.json +0 -9
- data/data/oas-3.1/schema/2022-10-07.json +31 -64
- data/lib/skooma/minitest.rb +1 -1
- data/lib/skooma/version.rb +1 -1
- data/lib/skooma.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de042bc8ca38a43927cc9f6c1fdb829aecbbf214f771f9a092345f25d2d2f36a
|
4
|
+
data.tar.gz: a084b23b9eeb66af1a36d010b99bc86ae4e1b0c39e470096fc2ef788c9afb725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4286775a7c888f90b46fb35b827ce0f0f21c10ffd4737f6823326a14e00a21786f3e976877d71aee7b07a6578b09188fbe5334c8c67e4f24b78ccfe6ccc00494
|
7
|
+
data.tar.gz: 92e474fe454174ad5d4f1703cf8b1a9c3f9bd47bbe6eb382f60912926e28e3f9888acc612cc751c18ca8d7182f8c0922507302fbde8570ade7c0c7950c76925c
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning].
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.3.2] - 2024-06-24
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
- Fix deprecation `MiniTest::Unit.after_tests is now Minitest.after_run`. ([@barnaclebarnes])
|
15
|
+
- Exclude test helpers from eager loading. ([@skryukov])
|
16
|
+
- Update oas-3.1 base schema. ([@skryukov])
|
17
|
+
|
10
18
|
## [0.3.1] - 2024-04-11
|
11
19
|
|
12
20
|
### Added
|
@@ -110,10 +118,13 @@ and this project adheres to [Semantic Versioning].
|
|
110
118
|
|
111
119
|
- Initial implementation. ([@skryukov])
|
112
120
|
|
121
|
+
[@barnaclebarnes]: https://github.com/barnaclebarnes
|
113
122
|
[@skryukov]: https://github.com/skryukov
|
114
123
|
[@ursm]: https://github.com/ursm
|
115
124
|
|
116
|
-
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.
|
125
|
+
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.2...HEAD
|
126
|
+
[0.3.2]: https://github.com/skryukov/skooma/compare/v0.3.1...v0.3.2
|
127
|
+
[0.3.1]: https://github.com/skryukov/skooma/compare/v0.3.0...v0.3.1
|
117
128
|
[0.3.0]: https://github.com/skryukov/skooma/compare/v0.2.3...v0.3.0
|
118
129
|
[0.2.3]: https://github.com/skryukov/skooma/compare/v0.2.2...v0.2.3
|
119
130
|
[0.2.2]: https://github.com/skryukov/skooma/compare/v0.2.1...v0.2.2
|
data/data/oas-3.1/meta/base.json
CHANGED
@@ -18,15 +18,6 @@
|
|
18
18
|
"externalDocs": { "$ref": "#/$defs/external-docs" },
|
19
19
|
"xml": { "$ref": "#/$defs/xml" }
|
20
20
|
},
|
21
|
-
"dependentSchemas": {
|
22
|
-
"discriminator": {
|
23
|
-
"anyOf": [
|
24
|
-
{ "required": [ "oneOf" ] },
|
25
|
-
{ "required": [ "anyOf" ] },
|
26
|
-
{ "required": [ "allOf" ] }
|
27
|
-
]
|
28
|
-
}
|
29
|
-
},
|
30
21
|
|
31
22
|
"$defs": {
|
32
23
|
"extensible": {
|
@@ -167,8 +167,7 @@
|
|
167
167
|
"type": "object",
|
168
168
|
"properties": {
|
169
169
|
"url": {
|
170
|
-
"type": "string"
|
171
|
-
"format": "uri-reference"
|
170
|
+
"type": "string"
|
172
171
|
},
|
173
172
|
"description": {
|
174
173
|
"type": "string"
|
@@ -525,7 +524,7 @@
|
|
525
524
|
"$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"
|
526
525
|
},
|
527
526
|
{
|
528
|
-
"$ref": "#/$defs/
|
527
|
+
"$ref": "#/$defs/styles-for-form"
|
529
528
|
}
|
530
529
|
],
|
531
530
|
"$defs": {
|
@@ -542,9 +541,6 @@
|
|
542
541
|
},
|
543
542
|
"then": {
|
544
543
|
"properties": {
|
545
|
-
"name": {
|
546
|
-
"pattern": "[^/#?]+$"
|
547
|
-
},
|
548
544
|
"style": {
|
549
545
|
"default": "simple",
|
550
546
|
"enum": [
|
@@ -630,32 +626,6 @@
|
|
630
626
|
}
|
631
627
|
}
|
632
628
|
}
|
633
|
-
},
|
634
|
-
"styles-for-form": {
|
635
|
-
"if": {
|
636
|
-
"properties": {
|
637
|
-
"style": {
|
638
|
-
"const": "form"
|
639
|
-
}
|
640
|
-
},
|
641
|
-
"required": [
|
642
|
-
"style"
|
643
|
-
]
|
644
|
-
},
|
645
|
-
"then": {
|
646
|
-
"properties": {
|
647
|
-
"explode": {
|
648
|
-
"default": true
|
649
|
-
}
|
650
|
-
}
|
651
|
-
},
|
652
|
-
"else": {
|
653
|
-
"properties": {
|
654
|
-
"explode": {
|
655
|
-
"default": false
|
656
|
-
}
|
657
|
-
}
|
658
|
-
}
|
659
629
|
}
|
660
630
|
}
|
661
631
|
}
|
@@ -782,38 +752,10 @@
|
|
782
752
|
"$ref": "#/$defs/specification-extensions"
|
783
753
|
},
|
784
754
|
{
|
785
|
-
"$ref": "#/$defs/
|
755
|
+
"$ref": "#/$defs/styles-for-form"
|
786
756
|
}
|
787
757
|
],
|
788
|
-
"unevaluatedProperties": false
|
789
|
-
"$defs": {
|
790
|
-
"explode-default": {
|
791
|
-
"if": {
|
792
|
-
"properties": {
|
793
|
-
"style": {
|
794
|
-
"const": "form"
|
795
|
-
}
|
796
|
-
},
|
797
|
-
"required": [
|
798
|
-
"style"
|
799
|
-
]
|
800
|
-
},
|
801
|
-
"then": {
|
802
|
-
"properties": {
|
803
|
-
"explode": {
|
804
|
-
"default": true
|
805
|
-
}
|
806
|
-
}
|
807
|
-
},
|
808
|
-
"else": {
|
809
|
-
"properties": {
|
810
|
-
"explode": {
|
811
|
-
"default": false
|
812
|
-
}
|
813
|
-
}
|
814
|
-
}
|
815
|
-
}
|
816
|
-
}
|
758
|
+
"unevaluatedProperties": false
|
817
759
|
},
|
818
760
|
"responses": {
|
819
761
|
"$comment": "https://spec.openapis.org/oas/v3.1.0#responses-object",
|
@@ -1100,8 +1042,7 @@
|
|
1100
1042
|
"description": {
|
1101
1043
|
"type": "string"
|
1102
1044
|
}
|
1103
|
-
}
|
1104
|
-
"unevaluatedProperties": false
|
1045
|
+
}
|
1105
1046
|
},
|
1106
1047
|
"schema": {
|
1107
1048
|
"$comment": "https://spec.openapis.org/oas/v3.1.0#schema-object",
|
@@ -1436,6 +1377,32 @@
|
|
1436
1377
|
"additionalProperties": {
|
1437
1378
|
"type": "string"
|
1438
1379
|
}
|
1380
|
+
},
|
1381
|
+
"styles-for-form": {
|
1382
|
+
"if": {
|
1383
|
+
"properties": {
|
1384
|
+
"style": {
|
1385
|
+
"const": "form"
|
1386
|
+
}
|
1387
|
+
},
|
1388
|
+
"required": [
|
1389
|
+
"style"
|
1390
|
+
]
|
1391
|
+
},
|
1392
|
+
"then": {
|
1393
|
+
"properties": {
|
1394
|
+
"explode": {
|
1395
|
+
"default": true
|
1396
|
+
}
|
1397
|
+
}
|
1398
|
+
},
|
1399
|
+
"else": {
|
1400
|
+
"properties": {
|
1401
|
+
"explode": {
|
1402
|
+
"default": false
|
1403
|
+
}
|
1404
|
+
}
|
1405
|
+
}
|
1439
1406
|
}
|
1440
1407
|
}
|
1441
1408
|
}
|
data/lib/skooma/minitest.rb
CHANGED
data/lib/skooma/version.rb
CHANGED
data/lib/skooma.rb
CHANGED
@@ -7,6 +7,11 @@ require_relative "skooma/inflector"
|
|
7
7
|
|
8
8
|
loader = Zeitwerk::Loader.for_gem
|
9
9
|
loader.inflector = Skooma::Inflector.new(__FILE__)
|
10
|
+
|
11
|
+
# Do not eager load the test helpers
|
12
|
+
loader.do_not_eager_load(File.join(__dir__, "skooma", "minitest.rb"))
|
13
|
+
loader.do_not_eager_load(File.join(__dir__, "skooma", "rspec.rb"))
|
14
|
+
|
10
15
|
loader.setup
|
11
16
|
|
12
17
|
module Skooma
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skooma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svyatoslav Kryukov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|