site_validator 1.3.1 → 1.3.2
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 -3
- data/lib/site_validator/version.rb +1 -1
- data/site_validator.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc616d5770611aca9729f66ac9cf3a4e9781d6bb
|
4
|
+
data.tar.gz: 62bfa7eb209fc3a356cc7d76d6c32f57aa583e59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 355cc16d196abc23a89af15da3caa703ca2e5de1614da5052ec860b97dad7bb4783440b02de9f0b6930fa64ef4a1f3af3d3b1d18e0c2f9239f224e36b13c084f
|
7
|
+
data.tar.gz: 68f10548d59b322c9274ac15c3ee28ac799c5a1bffccf5d798c79cf88cceca6d76639fe274f9ef40ef29c77b1e5025ed6f6e83e502281887decabebcf421846c
|
data/lib/site_validator/page.rb
CHANGED
@@ -73,14 +73,14 @@ module SiteValidator
|
|
73
73
|
end
|
74
74
|
|
75
75
|
##
|
76
|
-
#
|
76
|
+
# Prepares the error message explanation, removing 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
82
|
explanation.strip!
|
82
|
-
explanation
|
83
|
-
explanation.gsub!("feedback.html", "http://validator.w3.org/feedback.html")
|
83
|
+
explanation = nil if explanation.size == 0
|
84
84
|
end
|
85
85
|
|
86
86
|
explanation
|
data/site_validator.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
|
18
18
|
gem.add_dependency 'w3c_validators', '~> 1.2'
|
19
19
|
gem.add_dependency 'nokogiri', '~> 1.5.3'
|
20
|
-
gem.add_dependency 'metainspector', '~> 1.
|
20
|
+
gem.add_dependency 'metainspector', '~> 1.17.0'
|
21
21
|
|
22
22
|
gem.add_development_dependency 'rspec', '~> 2.5.0'
|
23
23
|
gem.add_development_dependency 'mocha', '~> 0.11.4'
|
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.2
|
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-10-
|
11
|
+
date: 2013-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: w3c_validators
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.17.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.17.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|