cukeforker 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +2 -1
- data/README.mdown +2 -0
- data/cukeforker.gemspec +2 -2
- data/lib/cukeforker/logging_listener.rb +4 -0
- data/lib/cukeforker/version.rb +1 -1
- data/lib/cukeforker/worker_queue.rb +1 -0
- data/spec/cukeforker/logging_listener_spec.rb +1 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTEzMTkxZjJlN2YwMzczYjVkZGUxNjZiYWNiOTQ2MjY2ODFhOThlNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTAxZDMyNTJhZWZhZThhNTBlMTdiYTU1NmY2ZmNhYmE0ZWQ0OTVlYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDk4ODkwMmI0MmFhYjQzYTg5MGY5NGQ5NmI0YTA5NzJiM2NlNGI2NGFlY2I1
|
10
|
+
ZDk0ODEzNjI2ZDkxMTQ3YzUwZDg3ODY0MzNlZjAzZTdjMDFkNWNiMzM1OGIz
|
11
|
+
YzVlYzZmMWIyNmQ2M2Y5YmMxMjEwNjRhNDU4OGViNWI4ZGRiM2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTBhZmRkZGZkMGM1OTJkZGM1YWJhMmIwZjdmY2FiN2RjNDU5NDZjMzZkMmEx
|
14
|
+
MDc4NTEzMDVjOTZjNjcyNDdiNjUyODIzMTRiOWIwOGFhZWI0M2M2NWJmOTEz
|
15
|
+
ODI1ZTIwODNlYWIyMzQ5MTEyMzU1ZmQ5ZjJjNzNiNmNiZDhkOTA=
|
data/.gitignore
CHANGED
data/README.mdown
CHANGED
@@ -8,6 +8,8 @@ Forking cukes and VNC displays.
|
|
8
8
|
|
9
9
|
### NB!
|
10
10
|
|
11
|
+
Version 1.0.0+ of cukeforker is dependant on Cucumber 2.0+! Update your projects accordingly.
|
12
|
+
|
11
13
|
If you're using cukeforker with selenium-webdriver and Firefox, all versions prior to 2.40 has a bug where custom
|
12
14
|
Firefox profiles created in a forked process would not get cleaned up. Please make sure you're using selenium-webdriver >= 2.40
|
13
15
|
to avoid this.
|
data/cukeforker.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "cukeforker"
|
7
7
|
s.version = CukeForker::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Jari Bakken"]
|
10
|
-
s.email = ["jari.bakken@gmail.com"]
|
9
|
+
s.authors = ["Jari Bakken", "Wallace Harwood", "Jarod Adair"]
|
10
|
+
s.email = ["jari.bakken@gmail.com", "wallaceh@gmail.com", "adairjk@gmail.com" ]
|
11
11
|
s.homepage = ""
|
12
12
|
s.summary = %q{Library to maintain a forking queue of Cucumber processes}
|
13
13
|
s.description = %q{Library to maintain a forking queue of Cucumber processes, with optional VNC displays.}
|
@@ -6,6 +6,7 @@ module CukeForker
|
|
6
6
|
|
7
7
|
def initialize(io = STDOUT)
|
8
8
|
@io = io
|
9
|
+
@running = []
|
9
10
|
end
|
10
11
|
|
11
12
|
def on_run_starting
|
@@ -13,6 +14,7 @@ module CukeForker
|
|
13
14
|
end
|
14
15
|
|
15
16
|
def on_worker_starting(worker)
|
17
|
+
@running << worker.id
|
16
18
|
log.info "[ worker #{worker.id.to_s.ljust 3} ] starting: #{worker.feature}"
|
17
19
|
end
|
18
20
|
|
@@ -21,6 +23,7 @@ module CukeForker
|
|
21
23
|
end
|
22
24
|
|
23
25
|
def on_worker_finished(worker)
|
26
|
+
@running.delete(worker.id)
|
24
27
|
log.info "[ worker #{worker.id.to_s.ljust 3} ] #{status_string(worker.failed?).ljust(8)}: #{worker.feature}"
|
25
28
|
end
|
26
29
|
|
@@ -52,6 +55,7 @@ module CukeForker
|
|
52
55
|
def on_eta(eta, remaining, finished)
|
53
56
|
counts = "#{remaining}/#{finished}".ljust(6)
|
54
57
|
log.info "[ eta #{counts}] #{eta.strftime TIME_FORMAT}"
|
58
|
+
log.info "[ running ] #{@running}"
|
55
59
|
end
|
56
60
|
|
57
61
|
private
|
data/lib/cukeforker/version.rb
CHANGED
@@ -40,6 +40,7 @@ I, [#{timestamp}] INFO -- : [ worker 1 ] forked : foo/bar
|
|
40
40
|
I, [#{timestamp}] INFO -- : [ worker 15 ] starting: foo/baz
|
41
41
|
I, [#{timestamp}] INFO -- : [ worker 15 ] forked : foo/baz
|
42
42
|
I, [#{timestamp}] INFO -- : [ eta 10/255] #{Time.now.strftime "%Y-%m-%d %H:%M:%S"}
|
43
|
+
I, [#{timestamp}] INFO -- : [ running ] ["1", "15"]
|
43
44
|
I, [#{timestamp}] INFO -- : [ worker 1 ] passed : foo/bar
|
44
45
|
I, [#{timestamp}] INFO -- : [ worker 15 ] failed : foo/baz
|
45
46
|
I, [#{timestamp}] INFO -- : [ display :15 ] released
|
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukeforker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jari Bakken
|
8
|
+
- Wallace Harwood
|
9
|
+
- Jarod Adair
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
13
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: cucumber
|
@@ -98,6 +100,8 @@ description: Library to maintain a forking queue of Cucumber processes, with opt
|
|
98
100
|
VNC displays.
|
99
101
|
email:
|
100
102
|
- jari.bakken@gmail.com
|
103
|
+
- wallaceh@gmail.com
|
104
|
+
- adairjk@gmail.com
|
101
105
|
executables:
|
102
106
|
- cukeforker
|
103
107
|
extensions: []
|