site_validator 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/site_validator/page.rb +3 -2
- data/lib/site_validator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99275eac6cdcc813f9f98bd98b0f89a4620d16b4
|
4
|
+
data.tar.gz: cc496896c911b49f19b0973607c99bf1bb771568
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08b8f348a46437606f690928ac05ec4eec0908eda326663544fb8637a4f34e50ab59267c5b12562635530adf43955588e06f74d1e95142e9ff69b5b9382ca74e
|
7
|
+
data.tar.gz: e408e93d33d504ecfe1bc74cd654ffdd2510c33ae97edf9ef5ff2dd487f0397d4878f519a25c6f08f5b45fb75ffac7f25855bf51c9a885b1e72b82b8fd49f48d
|
data/lib/site_validator/page.rb
CHANGED
@@ -73,12 +73,13 @@ module SiteValidator
|
|
73
73
|
end
|
74
74
|
|
75
75
|
##
|
76
|
-
# Prepares the error message explanation,
|
76
|
+
# Prepares the error message explanation, adjusting the feedback link
|
77
77
|
def prepare_w3c_explanation(message)
|
78
78
|
explanation = message.explanation
|
79
79
|
|
80
80
|
if explanation
|
81
|
-
explanation.gsub!(
|
81
|
+
explanation.gsub!("feedback.html", "http://validator.w3.org/feedback.html")
|
82
|
+
explanation.gsub!("our feedback channels", "the W3C feedback channels")
|
82
83
|
explanation.strip!
|
83
84
|
explanation = nil if explanation.size == 0
|
84
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaime Iniesta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: w3c_validators
|