entree 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entree/audit.rb +2 -2
- data/lib/entree/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf1ca584fd3b4226d07f3b0b655219d2afc12f27
|
4
|
+
data.tar.gz: c7a5c23909af6e4b8251900ac99ba0835f4ed9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b0c8ce29a30eea50698681bbe6aa93c1a94c4ec2200a4f98f3c16ee65e301a31b0dcdbd62de2d3c3f854bd8fae19e8d2fae0b71b472d51ad4db2a82589598c5
|
7
|
+
data.tar.gz: a12d2da18f5c19bf06672f95da080fae8dad9710556bb14af7c98355135b57c9197aa5aec12e2549c618c35c7157129425046443ca2f02647106d0dea8436f7b
|
data/lib/entree/audit.rb
CHANGED
@@ -29,9 +29,9 @@ module Entree
|
|
29
29
|
# refactor into new class
|
30
30
|
raw_results = Oj.load(@output).map {|record|
|
31
31
|
if record["code"][0..3] == "WCAG"
|
32
|
-
record["code"].match /(WCAG2A+\.\w+?\.Guideline(\d_\d)\.\2_\d)
|
32
|
+
record["code"].match /(WCAG2A+\.\w+?\.Guideline(\d_\d)\.\2_\d)(?:_\w)?\.((?:[A-Z]+\d+,?)+)/
|
33
33
|
record["code"] = $1
|
34
|
-
record["infractions"] = $3.split /,/
|
34
|
+
record["infractions"] = $3.to_s.split /,/
|
35
35
|
end
|
36
36
|
|
37
37
|
record
|
data/lib/entree/version.rb
CHANGED