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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16e3e88d5662f83f34e72e25387a8d6451193ae4
4
- data.tar.gz: 6c5f24e2a084327bc5c115636ac9ebee71efcd26
3
+ metadata.gz: 99275eac6cdcc813f9f98bd98b0f89a4620d16b4
4
+ data.tar.gz: cc496896c911b49f19b0973607c99bf1bb771568
5
5
  SHA512:
6
- metadata.gz: 711690d568efdddbde423ba630b65e1564d01e65cfdd299a212cc268f813b11ec4bfa38cbc8fd5e9b903279503ff780e6f119a79a5a74b52a3478d55a1194635
7
- data.tar.gz: 28e902c80eb1f63800506f5a0cf19f536dde6e41fc0be9cc19eaad6aaaf697e4c9df4addc9136844b8d07b2ed54d06f3464d5c0c0920d876c12e53b05066dae4
6
+ metadata.gz: 08b8f348a46437606f690928ac05ec4eec0908eda326663544fb8637a4f34e50ab59267c5b12562635530adf43955588e06f74d1e95142e9ff69b5b9382ca74e
7
+ data.tar.gz: e408e93d33d504ecfe1bc74cd654ffdd2510c33ae97edf9ef5ff2dd487f0397d4878f519a25c6f08f5b45fb75ffac7f25855bf51c9a885b1e72b82b8fd49f48d
@@ -73,12 +73,13 @@ module SiteValidator
73
73
  end
74
74
 
75
75
  ##
76
- # Prepares the error message explanation, removing the feedback link
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!(/<p class="helpwanted">(.*)<\/p>/im, "")
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
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module SiteValidator
4
- VERSION = "1.3.4"
4
+ VERSION = "1.3.5"
5
5
  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
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 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: w3c_validators