stormbreaker 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stormbreaker/axe_helper.rb +1 -2
- data/lib/stormbreaker/version.rb +1 -1
- 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: 5d6654463cc49ce2f776be977f30c2fdd1ada2c74fcd5831c6b427da223ff431
|
4
|
+
data.tar.gz: fc464c9eb6206ebde673e699638a75cf5e6460b94dd2293c52056e43c4d26e80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fc8f5160682fecf91299a59f11c4b546a0c0927805ddb099e2e35fa491e6446c68bc97f3584f9d24908919070174d27e98d6a0ef072cd50c7471ce31567753d
|
7
|
+
data.tar.gz: a3646c54dcef429a6f5ff4bf6b3f6cfb931feef4b1f70bc0ec3725f9b9462a8b45a4be18d452a7fef99b09aca1bed30cbd1f8cb0420b5d55ef124e4bb35cda44
|
@@ -13,10 +13,9 @@ module Stormbreaker
|
|
13
13
|
|
14
14
|
# Always assert that driver's current page _is_ axe compliant
|
15
15
|
RSpec::Expectations::PositiveExpectationHandler.handle_matcher(@driver, axe_matcher)
|
16
|
-
|
17
16
|
call_stack = caller.select { |line| line =~ /selenium.*_spec\.rb/ }.first(5)
|
18
17
|
# only get /path/to/spec:line_number from call stack
|
19
|
-
call_stack.map! { |c| c.scan(%r{^[A-Za-
|
18
|
+
call_stack.map! { |c| c.scan(%r{^[A-Za-z0-9/_-]*\.rb:\d*}) }
|
20
19
|
|
21
20
|
violations = axe_matcher.audit([]).results.violations
|
22
21
|
violations.each do |v|
|
data/lib/stormbreaker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stormbreaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Watson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: axe-core-api
|