wwtd 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/wwtd/cli.rb +18 -2
- data/lib/wwtd/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df1c2b7d820aea511c66520570497fee6b748b0
|
4
|
+
data.tar.gz: bba9d9f9397cd474fa9917d84d18178c11be8c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aea067874ea986d464c6cd050889dba103df4020baa56b0ac5bcff3420822d44905351d103ea31a46521438b04c97da7640aefad0cae39f7637bd2cafe1e19d
|
7
|
+
data.tar.gz: 00d496f98fb14197384608049b5b7459e95a334f023f0bddb8f4120f6a1bf6748d10da62337c513a8594f17953b2263da26b9c8b06ce1a404a471ead2c73f850
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/wwtd/cli.rb
CHANGED
@@ -11,8 +11,10 @@ module WWTD
|
|
11
11
|
puts "Ignoring: #{ignored.sort.join(", ")}" if ignored.any?
|
12
12
|
|
13
13
|
# Execute tests
|
14
|
-
results =
|
15
|
-
|
14
|
+
results = protect_against_nested_runs do
|
15
|
+
::WWTD.run(matrix, parse_options(argv)) do |state, config|
|
16
|
+
puts info_line(state, config, matrix)
|
17
|
+
end
|
16
18
|
end
|
17
19
|
|
18
20
|
# Summary
|
@@ -26,6 +28,20 @@ module WWTD
|
|
26
28
|
|
27
29
|
private
|
28
30
|
|
31
|
+
def protect_against_nested_runs
|
32
|
+
env = (defined?(Bundler) ? Bundler::ORIGINAL_ENV : ENV)
|
33
|
+
|
34
|
+
r = rand
|
35
|
+
puts "START #{r} -- #{env["INSIDE_WWTD"].inspect}"
|
36
|
+
raise "Already running WWTD" if env["INSIDE_WWTD"]
|
37
|
+
env['INSIDE_WWTD'] = "1"
|
38
|
+
yield
|
39
|
+
ensure
|
40
|
+
puts "END #{r}"
|
41
|
+
env['INSIDE_WWTD'] = nil
|
42
|
+
end
|
43
|
+
|
44
|
+
|
29
45
|
def parse_options(argv)
|
30
46
|
options = {}
|
31
47
|
OptionParser.new do |opts|
|
data/lib/wwtd/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwtd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
F5etKHZg0j3eHO31/i2HnswY04lqGImUu6aM5EnijFTB7PPW2KwKKM4+kKDYFdlw
|
31
31
|
/0WV1Ng2/Y6qsHwmqGg2VlYj2h4=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2014-
|
33
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
34
34
|
dependencies: []
|
35
35
|
description:
|
36
36
|
email: michael@grosser.it
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
�
|
1
|
+
��l�:
|
2
|
+
�7�>�k-��[*2Nq���16jl��H`Ve���L�B����\�d�d���m�|�
|
3
|
+
�t�=�::��!GD��n��t�bK\��d�‰���aZ�<�G�o�@�ϖ����r/��b<���#�x�6�)�;y�Ibe���$;��D���T�d���N�j�����@��"�a���d@�a����.}�I���y���=
|