parallel_tests 2.14.1 → 2.14.2

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
  SHA1:
3
- metadata.gz: bb2b1f61694815117e936ab26306101e69fa4a3e
4
- data.tar.gz: c876e3246ceec54f90d7806f32a18f1e7c95235e
3
+ metadata.gz: e63015e49335d727c6653cbe672304d63ef983a7
4
+ data.tar.gz: cd4280ed0ce9d8fdab0647f1b34f8b24d885753c
5
5
  SHA512:
6
- metadata.gz: 2a5a018d862d2db6ff2fa7644f4ada203563ace92417ceb1085053ca42474993f39a43f4b9a46a291200780645b4545d9585956d43fabe0117d491d300a18126
7
- data.tar.gz: bb784818e038b5b9164d48827f59f2762af667f5f9d0a137d1ae2d153ce4ac8ffeb9fa8f3aa9e48e9da83238642623fc353799e5a72eac3f0a4d96975ab0a689
6
+ metadata.gz: 83fb00184843c80b7121f3a8a6a3a2e8153860a885d5ee40efb2b0eab7bacf5d8e12d23f18aa2732c5a402f0f5dadc76439fa832b4443b83e80f33a0ccc32fa0
7
+ data.tar.gz: 12029850d47dde7c202e13ba0dc2c35e6aeda6f67f161bbceeef2d0a5dbaf3cf2f068f1ba9805cd54562bd633be7790d9856a1fc200a668a38151799928ab0ca
data/Readme.md CHANGED
@@ -111,6 +111,8 @@ Rspec: Add to your `.rspec_parallel` (or `.rspec`) :
111
111
  --format progress
112
112
  --format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
113
113
 
114
+ To use a custom logfile location (default: `tmp/parallel_runtime_spec.log`), use the CLI: `parallel_test spec -t rspec --runtime-log my.log`
115
+
114
116
  ### Test::Unit & Minitest 4/5
115
117
 
116
118
  Add to your `test_helper.rb`:
@@ -192,7 +192,7 @@ module ParallelTests
192
192
  log = options[:runtime_log] || runtime_log
193
193
  lines = File.read(log).split("\n")
194
194
  lines.each_with_object({}) do |line, times|
195
- test, time = line.split(":", 2)
195
+ test, _, time = line.rpartition(':')
196
196
  next unless test and time
197
197
  times[test] = time.to_f if tests.include?(test)
198
198
  end
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.14.1'
2
+ VERSION = Version = '2.14.2'
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.14.1
4
+ version: 2.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel