axe-core-api 4.7.0.pre.a4597d5 → 4.7.0.pre.bef7d97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/axe/api/run.rb +2 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ef01ebd003d7ecdfc4c7dc8dc84df26c04d9528608a0983e7d96fc4c5b7d792
4
- data.tar.gz: 74c53e8a1426b341ed99bd084f9ce71cb29da9a8e7ee89b130a32ff594269c08
3
+ metadata.gz: f63f03aabbdc386e87f007bca1f14e666203847b1bd40421998c24e2d2753de5
4
+ data.tar.gz: 15e008be4b1485ba688b20623fb745b573926f68cb26ae24df1e2fe881c17e0c
5
5
  SHA512:
6
- metadata.gz: '03919852ac12762a4f6c079659c9b85e0cfb600440faa7c057ebf4620dcb876b16c921579ab38990982391a762abd529678d93d95399774f6958c9bf567c9f53'
7
- data.tar.gz: 204df2debeb78194be81ae99def82aa41e130fc127298953e0c8714988d7aae71b9eb422a52aa9bf0dc0686dabe5c31ae45233f12360d1fd5bc391bba021cfab
6
+ metadata.gz: 45017760cb3d8fd6a57516f3eb46d91430e1cd0a29a645f07c859e7680aaf54b06ddf98f8119e0479bf8bf61c4b2d4e73db269135e269ccb2eb8e32aa1b9c90c
7
+ data.tar.gz: da50e4c0d64abd5edc33c7ed947e21dd926beed96f3b09e0db477e8fcff2b97e4dc52eb3caac11fd66e874fb2960dca9e3904ca1791196f7abfc0af3daf52de5
data/lib/axe/api/run.rb CHANGED
@@ -133,11 +133,8 @@ module Axe
133
133
  end
134
134
 
135
135
  res = axe_run_partial page, context
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
136
+ if res.key?("errorMessage")
137
+ throw res if top_level
141
138
  return [nil]
142
139
  else
143
140
  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.a4597d5
4
+ version: 4.7.0.pre.bef7d97
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-09-07 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dumb_delegator