site_validator 1.7.2 → 1.7.3

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: e56803e4761d245b0abc5953a5c857495deba86c
4
- data.tar.gz: c1796bf89f98c7c8be3a222d020237e0bcf489b5
3
+ metadata.gz: c800acc996751209ffc1d2e8e84e26a740d5529a
4
+ data.tar.gz: e58a0b7c5f2b7d6239cebd556cefdcb310ae8fc4
5
5
  SHA512:
6
- metadata.gz: fa03d5c5a046b91b9799a7d8de76fa93e84110e8a4b193c2dfe7e9003575071b7e93053f2bcd5ac6117c3b073efcf0c856e2c7e869d8dd1c9389e5bb5cccb397
7
- data.tar.gz: 39b56a77b3ccdeae3da1b0fa6e6bd6553e77fb798a23acd7d8130f1e4e0dba396197cd76e1807a8d262890feec8a421950ba6bccb11567e3db64c141624a3980
6
+ metadata.gz: 170b95e30d6d635ca92b05f50be23fe004be86e5a335289cc3d803010e27bfbc689293539c9434a91b23d49104df9517b2567cd5a72dad89726b90717e15f90d
7
+ data.tar.gz: a3f241c31f64805ee2ff98b0135386dfe622c00eb3ea37a788759e731ae604d2d3754211c8da8ba17e032e1c864f3bf9524b2f43a946b6e43690ef8eb2606e3e
@@ -57,7 +57,7 @@ module SiteValidator
57
57
  m = scraped_doc
58
58
  links = [m.url]
59
59
 
60
- m.internal_links.select {|l| looks_like_html?(l)}.map {|l| l.split('#')[0]}.uniq.each do |link|
60
+ m.links.internal.select {|l| looks_like_html?(l)}.map {|l| l.split('#')[0]}.uniq.each do |link|
61
61
  if link[-1,1] == "/"
62
62
  links << link unless (links.include?(link) || links.include?(link.chop))
63
63
  else
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module SiteValidator
4
- VERSION = "1.7.2"
4
+ VERSION = "1.7.3"
5
5
  end
@@ -17,8 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.version = SiteValidator::VERSION
18
18
 
19
19
  gem.add_dependency 'w3c_validators', '~> 1.2'
20
- gem.add_dependency 'nokogiri', '~> 1.6.0'
21
- gem.add_dependency 'metainspector', '~> 3.1.1'
20
+ gem.add_dependency 'metainspector', '~> 4.1'
22
21
 
23
22
  gem.add_development_dependency 'rspec', '~> 2.14.1'
24
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.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Iniesta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-26 00:00:00.000000000 Z
11
+ date: 2015-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: w3c_validators
@@ -24,34 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.2'
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 1.6.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.6.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: metainspector
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 3.1.1
33
+ version: '4.1'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 3.1.1
40
+ version: '4.1'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement