html_acceptance 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/html_acceptance.gemspec +1 -1
- data/lib/html_acceptance/html_acceptance_result.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/html_acceptance.gemspec
CHANGED
@@ -72,7 +72,8 @@ class HTMLAcceptanceResult
|
|
72
72
|
# if the errors change position in the file (up or down b/c you add or remove code),
|
73
73
|
# accepted exception strings will remain valid.
|
74
74
|
def filter(str)
|
75
|
-
|
75
|
+
str.gsub!(/line [0-9]+ column [0-9]+ - Warning: trimming empty <[a-zA-Z]+>/, '') # the messages about empty are overzealous, and not invalid
|
76
|
+
str.gsub(/line [0-9]+ column [0-9]+ -/, '')
|
76
77
|
# /line [0-9]+ column [0-9]+ - / + =~ "line 1 column 1 - Warning: missing <!DOCTYPE> declaration"
|
77
78
|
end
|
78
79
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_acceptance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eric Beland
|