test-unit-ruby-core 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/core_assertions.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0bc98ff517fd9116a3a66b9090011c91cae6b3195c2705ca2762ba1c02bc5ea
4
- data.tar.gz: 0cf8f343ef9c6de619a79dc3f087fe559ee3420e59e446f30f060e596072bf25
3
+ metadata.gz: 9f554b151ece8fd19038fc65a8ed133249214146782d42649de51d3b351ac4de
4
+ data.tar.gz: 17fedec74b0949584a4d95f1e96f1f09b5f72d6dba4c145a9042b9d452877876
5
5
  SHA512:
6
- metadata.gz: 2edce635953122b9ba15206f2e70c8047903e2bcff2ba1b3f5049cc366811fba69b30ce0a23237c0197179d888342f2491807742d753a944f700d5805e6f2f61
7
- data.tar.gz: 5e15090f910387887b76e5d24eef793bce809238f1ec916a780dde14cb25555dc34f073030a0ef581a6a5067ff4b0b624c53e4de2f8421510713e7e2d141e40d
6
+ metadata.gz: cf31c18554a01de7eac133c3f7938e24f71e06f24afc4ef37a2490a89747c8cca7d8e2995c9c498b85c5d195655778017ffa2ce642fd7920e01bdd3841d16c7c
7
+ data.tar.gz: 016c5320e8c780976956643c26a147b1c98f71e5553807b6704f054dc324c5262522978ee22e31df78f9dddae2027e329376aff24ad39269cda4d684d2c5902b
@@ -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 |clk|
782
- if Process.const_defined?(clk)
783
- [clk.to_sym, Process.const_get(clk)].find do |clk|
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.2
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-08-29 00:00:00.000000000 Z
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: