axe-core-api 4.7.0.pre.bef7d97 → 4.7.0.pre.0345aa9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/axe/api/run.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca055add104549cb00f6fa62afa4a4c438dbf2c7a71b2915116616b81ebab54f
|
4
|
+
data.tar.gz: b8dd8c03cb04fd012c9bce782a2ce0dc6961fee147da61233b3ce8277656b9d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5d9b65a3631fd420fc2057c03227bf9290e5a9b4d879e9c0a537035ed7bd450068d47db5acc400c0e7a05ed02a6eec833e972af195d08452ea7be58c0171618
|
7
|
+
data.tar.gz: d9892067ef1b0c6b1538d33bd6402f7cac586be5ed300f6d9b40d066489095b8a6be1ae9843f06c6511b77a78c664eb1344d99647a7c587616a1815d9cdf5e13
|
data/lib/axe/api/run.rb
CHANGED
@@ -133,8 +133,11 @@ module Axe
|
|
133
133
|
end
|
134
134
|
|
135
135
|
res = axe_run_partial page, context
|
136
|
-
if res.key?("errorMessage")
|
137
|
-
|
136
|
+
if res.nil? || res.key?("errorMessage")
|
137
|
+
if top_level
|
138
|
+
throw res unless res.nil?
|
139
|
+
throw "axe.runPartial returned null"
|
140
|
+
end
|
138
141
|
return [nil]
|
139
142
|
else
|
140
143
|
results = [res]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: axe-core-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.0.pre.
|
4
|
+
version: 4.7.0.pre.0345aa9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deque Systems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dumb_delegator
|