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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c47de2b5f47877c1c2f5786d6fbb246a27b73065
4
- data.tar.gz: 432ec518c24de3115c83b8ae6fe990ed3a486a33
3
+ metadata.gz: cf1ca584fd3b4226d07f3b0b655219d2afc12f27
4
+ data.tar.gz: c7a5c23909af6e4b8251900ac99ba0835f4ed9d0
5
5
  SHA512:
6
- metadata.gz: 7031cf63e213066c2b8a63400d17200387794188462e8aca8135a02b15435707901022158d49091ec64b92a591af1c4d670d7af714e97c7fb5283c5f84f4b4b5
7
- data.tar.gz: 4ed4171d30e72fcf2298d7dec8752b4802b15fe23aff7286ea9446b37b7cc49f575abb9900451d6f8630a9e9215a33b1eae7cb63c7bce1296ad62dae077cb795
6
+ metadata.gz: 4b0c8ce29a30eea50698681bbe6aa93c1a94c4ec2200a4f98f3c16ee65e301a31b0dcdbd62de2d3c3f854bd8fae19e8d2fae0b71b472d51ad4db2a82589598c5
7
+ data.tar.gz: a12d2da18f5c19bf06672f95da080fae8dad9710556bb14af7c98355135b57c9197aa5aec12e2549c618c35c7157129425046443ca2f02647106d0dea8436f7b
@@ -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)\.((?:[A-Z]+\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
@@ -1,3 +1,3 @@
1
1
  module Entree
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Mullen