parallel_tests 2.23.0 → 2.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f75b65c14028c6a0d25e067476f25201667eb1d8ecaf8360c2ca6e393a817a2f
4
- data.tar.gz: eabee9ad729e7dcbd334c53a4d66ea89bcde2258d771af6d2ced86dfe38fe9b1
3
+ metadata.gz: d0eeddf24b1338d81fa863c039e4303606bf04aa6fd12c47269cc6d2659ba28a
4
+ data.tar.gz: daf005a75352442cf20abeaec977816e6f49044de92b18c07d31458ff1973757
5
5
  SHA512:
6
- metadata.gz: 76aca03bc645860de2d48ca4147473e3941cb6ebd2aa71ac019f0ee9de72d13d61c02ddd0f4e46cf5ee566f3f4049acccb45e617544ae92a0f5debbe9dbdeaed
7
- data.tar.gz: 3160c7c718b14c628b3bcd22da4d20f79ed6f94a692f0818ddd58559037413435a056215c28e86d470b00d064a30bd6746f97cff226faf788d6924fa04b57317
6
+ metadata.gz: 9daa9262039c5f04afecff69aecf4d092d9fa68e9c7cd58f18dff8363ead99e9fa5d02732fd89b19ec1ce1e782589c91a10e6c355f04d6d19cb96aa440a390a1
7
+ data.tar.gz: 8017118d3ca725b6e56d5f4fcfa417097d72008466e7e5792df5f8fd95a2c968b760d6eaf3b6c5175a49a0f7cd23a06b62352a0fad4b253c4a3b3cdd7079b4c5
@@ -88,13 +88,8 @@ module ParallelTests
88
88
  pids.count
89
89
  end
90
90
 
91
- # real time even if someone messed with timecop in tests
92
91
  def now
93
- if Time.respond_to?(:now_without_mock_time) # Timecop
94
- Time.now_without_mock_time
95
- else
96
- Time.now
97
- end
92
+ Process.clock_gettime(Process::CLOCK_MONOTONIC)
98
93
  end
99
94
 
100
95
  def delta
@@ -34,7 +34,6 @@ class ParallelTests::RSpec::RuntimeLogger < ParallelTests::RSpec::LoggerBase
34
34
 
35
35
  def start_dump(*args)
36
36
  return unless ENV['TEST_ENV_NUMBER'] #only record when running in parallel
37
- # TODO: Figure out why sometimes time can be less than 0
38
37
  lock_output do
39
38
  @example_times.each do |file, time|
40
39
  relative_path = file.sub(/^#{Regexp.escape Dir.pwd}\//,'').sub(/^\.\//, "")
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.23.0'
2
+ VERSION = Version = '2.24.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.23.0
4
+ version: 2.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-15 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 2.0.0
77
+ version: 2.1.0
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="