ctx_checker 0.2.0 → 0.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: 271bedce96855d5603beaa8ad69dffa2bb7acf04a33057780f01db0f79dea270
4
- data.tar.gz: cf2c7b5c9427f709c945541ebbb44dfb0cfdd070f729e40cf81e327444bd86d4
3
+ metadata.gz: 71962914e6b52e83b27e6c79345530ef9e92fb4168175a43e6cc46f464abc8f4
4
+ data.tar.gz: e1e3adf05ec7d615920b49d65734e44cd3df35ba5efff584f11b5d0b5273df22
5
5
  SHA512:
6
- metadata.gz: 366fbedebe8f7e0eaba9f41a0d4b9057005818a29bf382bf8eecd8f3ea18aa1a37f001fdcbd96c8d00604831fdcd933de7cca5555dfdc8500668beea05323f00
7
- data.tar.gz: 31ce9a2c85943188f3dd8ca2f26fe9770e9684925d68f319542d58116ea1f0f96c8e352dcfe185a2514d4e1cc020b3f028522f07523f45a3873bb63ef5058d9f
6
+ metadata.gz: 270d9b5bf20181cfc30f89dbe9b069ae5ac3499ab57efc726c991be5e2fe3f633156de1e8e51d612b7719be1981d74e89c26334fb546fbe19262f6290d759871
7
+ data.tar.gz: 124f1e9f0609e3a46e382305ffd23768096b272868e852ffd1a25da317ae58defefac2ec1bfb6200fc94b381f1bb0bf594e69baf4d7db286731043c722ddb49e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Changes to the public contract are recorded here. Versions follow Semantic Versioning.
4
4
 
5
+ ## 0.2.1 (2026-10-17)
6
+
7
+ - Validate time-limit snapshot compatibility during policy construction; reject unsupported Numeric objects before evaluation while preserving exact Rational values.
8
+
5
9
  ## 0.2.0 (2026-10-17)
6
10
 
7
11
  - Require ctx_parser and ctx_driver 0.2.x for the renamed public contracts.
@@ -27,7 +27,7 @@ module CtxChecker
27
27
  @resource_thresholds = CtxParser::Immutable.copy(DEFAULT_RESOURCES.merge(resource_thresholds))
28
28
  @temperature_thresholds, @required_components, @required_dimensions, @device_counter_limits =
29
29
  [ temperature_thresholds, required_components, required_dimensions, device_counter_limits ].map { |value| CtxParser::Immutable.copy(value) }
30
- @max_clock_skew_seconds, @max_ntp_offset_ms = max_clock_skew_seconds, max_ntp_offset_ms
30
+ @max_clock_skew_seconds, @max_ntp_offset_ms = CtxParser::Immutable.copy([ max_clock_skew_seconds, max_ntp_offset_ms ])
31
31
  freeze
32
32
  end
33
33
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module CtxChecker
4
4
  # 公开包版本,供 RubyGems 元数据和运行时调用方共用。
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ctx_checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gatework contributors