jsonschema_rs 0.49.0-aarch64-linux → 0.49.2-aarch64-linux
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 +4 -4
- data/CHANGELOG.md +16 -1
- data/lib/jsonschema/3.3/jsonschema_rb.so +0 -0
- data/lib/jsonschema/3.4/jsonschema_rb.so +0 -0
- data/lib/jsonschema/4.0/jsonschema_rb.so +0 -0
- data/lib/jsonschema/version.rb +1 -1
- data/sig/jsonschema.rbs +5 -1
- 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: b38e6d0dece8af64ba6d9c2b98e254f511365b68c301d7377fa3650a13249a76
|
|
4
|
+
data.tar.gz: 2a13adb7f480905c249f289161271fd6ab4601cfa3dd8f4a82d08910baffd849
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7edd8a93e3d5d96c4e856d99bc236f85ad611d048a1099a0e09754b6f0e1cf68069897b3335dfd36af5f8b00930957e462b975a85a717a7b02797feae7a43888
|
|
7
|
+
data.tar.gz: 5145679726e875e58abf257ff0e8551e25b941335c5cfab8a6bee51a17ec0008af0e85fd32f2ee03c599787310b130fa425ea24ab100b8a3f6838bfce0c4c2f5
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.49.2] - 2026-07-28
|
|
6
|
+
|
|
7
|
+
### Performance
|
|
8
|
+
|
|
9
|
+
- Faster serialization of canonicalized schemas.
|
|
10
|
+
|
|
11
|
+
## [0.49.1] - 2026-07-25
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `JSONSchema.canonicalize` rejecting `pattern_options` (it should take the same regex configuration as validators).
|
|
16
|
+
- `InvalidPattern` failures raising the base `CanonicalizationError` (they should raise `JSONSchema::Canonical::InvalidPattern`).
|
|
17
|
+
|
|
5
18
|
## [0.49.0] - 2026-07-25
|
|
6
19
|
|
|
7
20
|
### Added
|
|
@@ -219,7 +232,9 @@
|
|
|
219
232
|
|
|
220
233
|
- Initial public release
|
|
221
234
|
|
|
222
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.
|
|
235
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.2...HEAD
|
|
236
|
+
[0.49.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.1...ruby-v0.49.2
|
|
237
|
+
[0.49.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.0...ruby-v0.49.1
|
|
223
238
|
[0.49.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.5...ruby-v0.49.0
|
|
224
239
|
[0.48.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.2...ruby-v0.48.5
|
|
225
240
|
[0.48.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.1...ruby-v0.48.2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/jsonschema/version.rb
CHANGED
data/sig/jsonschema.rbs
CHANGED
|
@@ -29,6 +29,9 @@ module JSONSchema
|
|
|
29
29
|
class InvalidSchemaType < CanonicalizationError
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
class InvalidPattern < CanonicalizationError
|
|
33
|
+
end
|
|
34
|
+
|
|
32
35
|
# A schema reduced to canonical form: schemas accepting the same values share one form.
|
|
33
36
|
class CanonicalSchema
|
|
34
37
|
def to_json_schema: () -> untyped
|
|
@@ -164,7 +167,8 @@ module JSONSchema
|
|
|
164
167
|
def self.canonicalize: (
|
|
165
168
|
untyped schema,
|
|
166
169
|
?draft: draft?,
|
|
167
|
-
?validate_formats: bool
|
|
170
|
+
?validate_formats: bool?,
|
|
171
|
+
?pattern_options: (RegexOptions | FancyRegexOptions)?
|
|
168
172
|
) -> Canonical::CanonicalSchema
|
|
169
173
|
|
|
170
174
|
# Create a validator with auto-detected draft version.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jsonschema_rs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.49.
|
|
4
|
+
version: 0.49.2
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dygalo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigdecimal
|