html-proofer 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/html/proofer/checks/images.rb +1 -1
- data/lib/html/proofer/version.rb +1 -1
- metadata +2 -2
@@ -20,7 +20,7 @@ class Images < ::HTML::Proofer::Checks::Check
|
|
20
20
|
# check alt tag
|
21
21
|
self.add_issue("#{@path}".blue + ": image #{src} does not have an alt attribute") unless img['alt'] and !img['alt'].empty?
|
22
22
|
|
23
|
-
screenShotRegExp = /Screen
|
23
|
+
screenShotRegExp = /Screen(?: |%20)Shot(?: |%20)\d+-\d+-\d+(?: |%20)at(?: |%20)\d+.\d+.\d+/
|
24
24
|
|
25
25
|
if src =~ screenShotRegExp
|
26
26
|
self.add_issue("#{@path}".blue + ": image has a terrible filename (#{src})")
|
data/lib/html/proofer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-proofer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|