test-unit-ruby-core 1.0.2 → 1.0.3
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/lib/core_assertions.rb +3 -3
- 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: 9f554b151ece8fd19038fc65a8ed133249214146782d42649de51d3b351ac4de
|
4
|
+
data.tar.gz: 17fedec74b0949584a4d95f1e96f1f09b5f72d6dba4c145a9042b9d452877876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf31c18554a01de7eac133c3f7938e24f71e06f24afc4ef37a2490a89747c8cca7d8e2995c9c498b85c5d195655778017ffa2ce642fd7920e01bdd3841d16c7c
|
7
|
+
data.tar.gz: 016c5320e8c780976956643c26a147b1c98f71e5553807b6704f054dc324c5262522978ee22e31df78f9dddae2027e329376aff24ad39269cda4d684d2c5902b
|
data/lib/core_assertions.rb
CHANGED
@@ -778,9 +778,9 @@ eom
|
|
778
778
|
%w[
|
779
779
|
CLOCK_THREAD_CPUTIME_ID CLOCK_PROCESS_CPUTIME_ID
|
780
780
|
CLOCK_MONOTONIC
|
781
|
-
].find do |
|
782
|
-
if Process.const_defined?(
|
783
|
-
[
|
781
|
+
].find do |c|
|
782
|
+
if Process.const_defined?(c)
|
783
|
+
[c.to_sym, Process.const_get(c)].find do |clk|
|
784
784
|
Process.clock_gettime(clk)
|
785
785
|
rescue
|
786
786
|
# Constants may be defined but not implemented, e.g., mingw.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit-ruby-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Additional test assertions for Ruby standard libraries.
|
15
15
|
email:
|