watchdoge 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watchdoge/regression.rb +4 -4
- data/watchdoge.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a16fc3b9ab93bf0330328330314535ad9a74bc18caec50daf8327872564d4db
|
4
|
+
data.tar.gz: 28fa4084a510d0413af4d1d579e3ece2bcc480c7ca68c783a380587ac1d3f991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0999541a4012b25df6c64531f510279cf9509ccfccbdb98457b146a05eb51f3d4f1bacc96f96bcf659563010d558b64285229a9740fa100bc3763cf7bfaf1df6'
|
7
|
+
data.tar.gz: 1a7dc9b351fac103e1ee413bad479b3a805738f27818bdb505b4779063c74be55db38aff88fdb3d8325904fc0ee3d8265054ba8108dee3d5dc814cbdf36b25aa
|
data/lib/watchdoge/regression.rb
CHANGED
@@ -20,10 +20,10 @@ module WatchDoge
|
|
20
20
|
|
21
21
|
class << self
|
22
22
|
def run_all_scenarios regression_flag
|
23
|
-
WatchDoge.hooks.before_regression.each { |t| t
|
23
|
+
WatchDoge.hooks.before_regression.each { |t| instance_exec &t }
|
24
24
|
|
25
25
|
Dir["#{WatchDoge::Regression::Utils.scenarios_dir}/*"].each do |scenario_path|
|
26
|
-
WatchDoge.hooks.before_scenario.each { |t| t
|
26
|
+
WatchDoge.hooks.before_scenario.each { |t| instance_exec &t }
|
27
27
|
|
28
28
|
mgr = self.new scenario_path, regression_flag: regression_flag
|
29
29
|
|
@@ -33,10 +33,10 @@ module WatchDoge
|
|
33
33
|
mgr.eval_scenario
|
34
34
|
end
|
35
35
|
|
36
|
-
WatchDoge.hooks.after_scenario.each { |t| t
|
36
|
+
WatchDoge.hooks.after_scenario.each { |t| instance_exec &t }
|
37
37
|
end
|
38
38
|
|
39
|
-
WatchDoge.hooks.after_regression.each { |t| t
|
39
|
+
WatchDoge.hooks.after_regression.each { |t| instance_exec &t }
|
40
40
|
WatchDoge::Notification.flush
|
41
41
|
end
|
42
42
|
end
|
data/watchdoge.gemspec
CHANGED