parallel_tests 1.3.7 → 1.3.8

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
  SHA1:
3
- metadata.gz: 1646c6d92a16b6c2f141d2cfd20af1dcdf491141
4
- data.tar.gz: 2265ae4f1843166e30f11b7b4855b6dea98a58bf
3
+ metadata.gz: aa211d03de23d85a2e327d05ef991c59d2cf65ae
4
+ data.tar.gz: b602dd6bd2ea580947c37354bdaa3bbe3778fe0c
5
5
  SHA512:
6
- metadata.gz: d303d05c5dd6a5ad7985b18aca984c07cb501f4c07b5b0ca75fd944cbf8cd20ca89535a90d4ef1b0e6259fadcb206ea0325a8dcec5b830cf71569f6ae218d419
7
- data.tar.gz: 516172942dd242cc622c4ac013fe7a74091c05c588b1d20b81282aadfe65153008dcf59e367d465d711ea049efb84978194c7f36a4e51ca473e9f104980e797f
6
+ metadata.gz: 73a7d2f7deaf602f442b2b7584c83b58b84568ef22fcbf44205ff17e376521cb760476ac1c3985925693510508a144ba40fdaf57f539afb3773e3bf937019a9c
7
+ data.tar.gz: e49cd1e8135afadcdeb6017300e1ae83613e2503b3188b95fd7c450a80d3f14d20796eae4e1d547a40926c6f4a9033acd4930af146d06155374e454e3b9b10aa
@@ -64,11 +64,11 @@ module ParallelTests
64
64
  end
65
65
 
66
66
  def report_output(result, lock)
67
- lock.flock File::LOCK_EX
68
- $stdout.puts result[:stdout]
69
- $stdout.flush
70
- ensure
71
- lock.flock File::LOCK_UN
67
+ File.open(lock.path) do |open_lock|
68
+ open_lock.flock File::LOCK_EX
69
+ $stdout.puts result[:stdout]
70
+ $stdout.flush
71
+ end
72
72
  end
73
73
 
74
74
  def report_results(test_results)
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '1.3.7'
2
+ VERSION = Version = '1.3.8'
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: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-12 00:00:00.000000000 Z
11
+ date: 2015-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel