jsonschema_rs 0.49.4-aarch64-linux → 0.49.5-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c22c51afb1f4c0c651addda328c1891df9e51c4ed61f7b0f86780cea0a33d09
4
- data.tar.gz: 0ae9dae7df879372a2449023872549170734966232a323bc2771eef5df972e08
3
+ metadata.gz: 4769283677c6dd78d9fee5a261b092dc3c1988f0b5c3719294a6d35b47b8f3e7
4
+ data.tar.gz: 5f722cec6c6a475dc6e30db09e64c9c226bfa51858204ddd04177f1d64c91713
5
5
  SHA512:
6
- metadata.gz: efa3a48af6657314d679e4cb3f8c485413c6da789d8e87b900a1eb9e1f7e8286d17b3ba142cf144af82c3018c805dbbc1a969c445674f7d8332a8649830811db
7
- data.tar.gz: 5c6601d718193f2934023cbeda5bb9fb7533e2f113b7c61e5554baf1d4f4d151556dd8b1e7e0c34ef30f1c269004e833391499f173e36485dc5c20fdce8ec507
6
+ metadata.gz: 4084ff4aaf896f59841e10c18967244a4d77342a5bc44e88f68ae0f579c7affc2ef2d136d6c2233f894a9d0162a977880c1492ec744662734063dadaecc26da6
7
+ data.tar.gz: 5c5ea50c3291595e8e8b80e0214b6bd2e780e1aaa8b5404593550c5cbfa3462b08af998d2f97e9f0a1be17b7772e4c1ab0aa6be87ca8b5e95ac053646bd4342e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.49.5] - 2026-08-05
6
+
7
+ ### Added
8
+
9
+ - Canonicalization of `not` an integer schema under Draft 4, which the number leaf carries as barred integers.
10
+ - Canonicalization of `not` a `multipleOf`, which numeric leaves carry as barred divisors.
11
+ - Canonicalization of `not` an integer schema, where a barred divisor of one spells the non-integer numbers.
12
+ - Canonicalization of `not` a `pattern`, which string leaves carry as barred patterns.
13
+ - Canonicalization of `not` a typed value set under Draft 4, such as `{"type": "integer", "enum": [1, 2]}`.
14
+ - `CanonicalSchema#is_subset_of`, whether the other schema admits every value this one admits.
15
+ - Canonicalization of a reference cycle carrying no assertion, which admits every value.
16
+
17
+ ### Fixed
18
+
19
+ - `CanonicalSchema#is_subset_of` failing to prove a union of array branches a subset of itself.
20
+ - Two spellings of one number canonicalizing to different texts when the fraction exceeds the expansion cap.
21
+ - Numeric bounds and `multipleOf` comparing values through a lossy `f64` conversion, such as `1e-400` passing `{"maximum": 0}`.
22
+
5
23
  ## [0.49.4] - 2026-08-04
6
24
 
7
25
  ### Added
@@ -286,7 +304,8 @@
286
304
 
287
305
  - Initial public release
288
306
 
289
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.4...HEAD
307
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.5...HEAD
308
+ [0.49.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.4...ruby-v0.49.5
290
309
  [0.49.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.3...ruby-v0.49.4
291
310
  [0.49.3]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.2...ruby-v0.49.3
292
311
  [0.49.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.1...ruby-v0.49.2
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.49.4"
4
+ VERSION = "0.49.5"
5
5
  end
data/sig/jsonschema.rbs CHANGED
@@ -45,6 +45,7 @@ module JSONSchema
45
45
  def kind: () -> kind
46
46
  def view: () -> view
47
47
  def intersect: (CanonicalSchema other) -> CanonicalSchema
48
+ def is_subset_of: (CanonicalSchema other) -> bool?
48
49
  def negate: () -> CanonicalSchema?
49
50
  def definition: (String uri) -> CanonicalSchema?
50
51
  def definitions: () -> Hash[String, CanonicalSchema]
@@ -83,7 +84,9 @@ module JSONSchema
83
84
  def min_length: () -> Integer?
84
85
  def max_length: () -> Integer?
85
86
  def patterns: () -> Array[String]
87
+ def excluded_patterns: () -> Array[String]
86
88
  def formats: () -> Array[String]
89
+ def excluded_formats: () -> Array[String]
87
90
  def content_media_types: () -> Array[String]
88
91
  def content_encodings: () -> Array[String]
89
92
  def excluded: () -> Array[String]
@@ -98,6 +101,8 @@ module JSONSchema
98
101
  def maximum: () -> (Integer | Float)?
99
102
  def exclusive_maximum: () -> bool
100
103
  def multiple_of: () -> Array[Integer | Float]
104
+ def not_multiple_of: () -> Array[Integer | Float]
105
+ def excludes_integers: () -> bool
101
106
  def inspect: () -> String
102
107
  def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]
103
108
  end
@@ -107,6 +112,7 @@ module JSONSchema
107
112
  def minimum: () -> Integer?
108
113
  def maximum: () -> Integer?
109
114
  def multiple_of: () -> Array[Integer | Float]
115
+ def not_multiple_of: () -> Array[Integer | Float]
110
116
  def inspect: () -> String
111
117
  def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]
112
118
  end
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
4
+ version: 0.49.5
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-08-03 00:00:00.000000000 Z
11
+ date: 2026-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal