site_validator 2.1.0 → 2.1.1
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/sitemap.rb +2 -1
- 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: c9d992e9e6883862b84e74336b84e2b965d7a8c2
|
4
|
+
data.tar.gz: f6cbbbb846d20919254474c1a829486b360a3500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a6f0e6f72e7671b78af2d317767e89001e839162243482c789c0443f161ba4e6b5781e0532b38aaebf84d5808347078918f420ebf70c5690d3dc4387742c129
|
7
|
+
data.tar.gz: 50aa7ae1f4a896b7d32dba355c2b96619ec9df9754d6abc6b3c5792ee845bb477a84d839257471e2de76d8194fdc8ac4679128cee9269890f41d91580681cf62
|
@@ -87,7 +87,8 @@ module SiteValidator
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def scraped_doc
|
90
|
-
@scraped_doc ||= MetaInspector.new(url, headers: {'User-Agent'
|
90
|
+
@scraped_doc ||= MetaInspector.new(url, headers: {'User-Agent' => SiteValidator::USER_AGENT,
|
91
|
+
'Accept-Encoding' => 'none' },
|
91
92
|
faraday_options: { ssl: { verify: false } })
|
92
93
|
end
|
93
94
|
|
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: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaime Iniesta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: w3c_validators
|