test-unit-ruby-core 1.0.10 → 1.0.11

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/core_assertions.rb +3 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa5b3db2ac21e85ae6364c2fe38c23400000f6003d7f2cbe1f08845a8cd90b96
4
- data.tar.gz: 38272510b51bb65401c60b71d3ea03692c3f568b0363124f3a1f63337b25a6c3
3
+ metadata.gz: e97b1036d2677ef2ba816ccb27cd0480248071fbe586e929558587733f96ef9a
4
+ data.tar.gz: cb5f48608f68cf4ad9e948a36c6d3841160da0b902b110bbba6cbf327c3ce051
5
5
  SHA512:
6
- metadata.gz: 729c19333dbf9563f6b151a75758f4f0e1771b58f159391ad87003890b38397ae429f6ee62b4cabc6126e2582349dc99001383d365ac9378660d484106f6d7b9
7
- data.tar.gz: 1f7f91e7c31bb32678fb110f4823305ca287457db89c2279aa8a1f9da290f34f01ddb71483494f7baf3ef4fbdb56e691d7dce5761de922f6812832c692ae9d3b
6
+ metadata.gz: 272945f21ec6e6ab1e43671cf0d9440c62e2cd9bf99f7c4e67604eb2450423ca097c26ad0733f9c9fa97a29db8b8f146f9b06d8efda59362722e27ac4b2f7d37
7
+ data.tar.gz: c9e7562725187aada1bec895dca395f6b7707b3a26c631f5f173bca582c9407cb0c137f2ee8a6e06fa5c5daccc205b0bc1b2a37582bdcdee11ae58f3219c5521
@@ -835,6 +835,9 @@ eom
835
835
  rescue
836
836
  # Constants may be defined but not implemented, e.g., mingw.
837
837
  else
838
+ unless Process.clock_getres(clk) < 1.0e-03
839
+ next # needs msec precision
840
+ end
838
841
  PERFORMANCE_CLOCK = clk
839
842
  end
840
843
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit-ruby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi SHIBATA
8
8
  - Nobu Nakada
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-16 00:00:00.000000000 Z
11
+ date: 2025-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit