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.
@@ -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\ Shot\ \d+-\d+-\d+ at \d+.\d+.\d+/
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})")
@@ -1,5 +1,5 @@
1
1
  module HTML
2
2
  class Proofer
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
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.8
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-04-27 00:00:00.000000000 Z
12
+ date: 2013-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri