html-proofer 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile.lock +1 -1
- data/lib/html/proofer/check.rb +1 -1
- data/lib/html/proofer/version.rb +1 -1
- metadata +4 -16
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODhhOTdmMTAzZjUzNDA4NjA1NGUwMjkxNmQ4MWEwZGNkOWI0MTljZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YmIxNWM0N2Q5MDY5ODFlMjBiMGMxN2NhMjJjYWQ2YTJjNjBiY2NlOQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZWM1YjZmYmE5ZDFmMDg2N2ZmMDc4OGQyMDBlMGE0MjRlZGYzZjliODAzMzdh
|
10
|
+
YTExNTBlY2I4ZjU3NTgxNGRhMGI5MTM1NzMxM2JlNzg2ZTc5YjBmMDczZjYw
|
11
|
+
MTE4NzE1NzE5OTViM2E1NTU0MzI4ZjM0MTJlMWNiZjBiMzU1ZTc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTQ4NjgxOWQ5ODUyMWFmYWZjMDNmN2FjMzI3Yzc5ZTEzMDNmYjA1YjMzOTYz
|
14
|
+
Y2QzMGIwMWVlYTIzNjQ5NTFkMDVlOTViYWRiNGE3NDFjODg0MDY2Yzk2YWFi
|
15
|
+
NGZmZTBiYWE4OGE0OWVkMThhMmI5NDhiZmYyZGIxMTBkYjc2YWI=
|
data/Gemfile.lock
CHANGED
data/lib/html/proofer/check.rb
CHANGED
@@ -53,7 +53,7 @@ class HTML::Proofer::Checks
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def validate_url(href, issue_text)
|
56
|
-
request = Typhoeus::Request.new(href, followlocation
|
56
|
+
request = Typhoeus::Request.new(href, {:followlocation => true})
|
57
57
|
request.on_complete do |response|
|
58
58
|
if response.success?
|
59
59
|
# no op
|
data/lib/html/proofer/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-proofer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.13
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Garen Torikian
|
@@ -14,7 +13,6 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: colored
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: typhoeus
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: html-pipeline
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rspec
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -136,27 +125,26 @@ files:
|
|
136
125
|
- spec/spec_helper.rb
|
137
126
|
homepage: https://github.com/gjtorikian/html-proofer
|
138
127
|
licenses: []
|
128
|
+
metadata: {}
|
139
129
|
post_install_message:
|
140
130
|
rdoc_options: []
|
141
131
|
require_paths:
|
142
132
|
- lib
|
143
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
-
none: false
|
145
134
|
requirements:
|
146
135
|
- - ! '>='
|
147
136
|
- !ruby/object:Gem::Version
|
148
137
|
version: '0'
|
149
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
-
none: false
|
151
139
|
requirements:
|
152
140
|
- - ! '>='
|
153
141
|
- !ruby/object:Gem::Version
|
154
142
|
version: '0'
|
155
143
|
requirements: []
|
156
144
|
rubyforge_project:
|
157
|
-
rubygems_version:
|
145
|
+
rubygems_version: 2.0.3
|
158
146
|
signing_key:
|
159
|
-
specification_version:
|
147
|
+
specification_version: 4
|
160
148
|
summary: A set of tests to validate your HTML output. These tests check if your image
|
161
149
|
references are legitimate, if they have alt tags, if your internal links are working,
|
162
150
|
and so on. It's intended to be an all-in-one checker for your documentation output.
|