html-proofer 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -5
  3. data/bin/htmlproof +2 -0
  4. data/html-proofer.gemspec +1 -1
  5. data/lib/html/proofer.rb +10 -3
  6. data/lib/html/proofer/checkable.rb +6 -7
  7. data/lib/html/proofer/checks.rb +7 -3
  8. data/lib/html/proofer/checks/favicon.rb +22 -0
  9. data/lib/html/proofer/checks/images.rb +7 -5
  10. data/lib/html/proofer/checks/links.rb +12 -2
  11. data/lib/html/proofer/checks/scripts.rb +40 -0
  12. data/spec/html/proofer/favicon_spec.rb +46 -0
  13. data/spec/html/proofer/fixtures/favicon/favicon_absent.html +4 -0
  14. data/spec/html/proofer/fixtures/favicon/favicon_absent_apple.html +7 -0
  15. data/spec/html/proofer/fixtures/favicon/favicon_broken.html +7 -0
  16. data/spec/html/proofer/fixtures/favicon/favicon_broken_but_ignored.html +7 -0
  17. data/spec/html/proofer/fixtures/favicon/favicon_present.html +7 -0
  18. data/spec/html/proofer/fixtures/favicon/favicon_present_shortcut.html +7 -0
  19. data/spec/html/proofer/fixtures/{existingImageExternal.html → images/existingImageExternal.html} +0 -0
  20. data/spec/html/proofer/fixtures/{gpl.png → images/gpl.png} +0 -0
  21. data/spec/html/proofer/fixtures/{ignorableImages.html → images/ignorableImages.html} +0 -0
  22. data/spec/html/proofer/fixtures/{image_missing_protocol_invalid.html → images/image_missing_protocol_invalid.html} +0 -0
  23. data/spec/html/proofer/fixtures/{image_missing_protocol_valid.html → images/image_missing_protocol_valid.html} +0 -0
  24. data/spec/html/proofer/fixtures/{missingImageAlt.html → images/missingImageAlt.html} +0 -0
  25. data/spec/html/proofer/fixtures/{missingImageAltText.html → images/missingImageAltText.html} +0 -0
  26. data/spec/html/proofer/fixtures/{missingImageExternal.html → images/missingImageExternal.html} +0 -0
  27. data/spec/html/proofer/fixtures/{missingImageInternal.html → images/missingImageInternal.html} +0 -0
  28. data/spec/html/proofer/fixtures/{missingImageSrc.html → images/missingImageSrc.html} +0 -0
  29. data/spec/html/proofer/fixtures/images/relativeToSelf.html +2 -0
  30. data/spec/html/proofer/fixtures/{rootRelativeImages.html → images/rootRelativeImages.html} +0 -0
  31. data/spec/html/proofer/fixtures/{terribleImageName.html → images/terribleImageName.html} +0 -0
  32. data/spec/html/proofer/fixtures/{workingDataURIImage.html → images/workingDataURIImage.html} +0 -0
  33. data/spec/html/proofer/fixtures/{blank_mailto_link.html → links/blank_mailto_link.html} +0 -0
  34. data/spec/html/proofer/fixtures/{blank_tel_link.html → links/blank_tel_link.html} +0 -0
  35. data/spec/html/proofer/fixtures/{brokenHashExternal.html → links/brokenHashExternal.html} +2 -2
  36. data/spec/html/proofer/fixtures/{brokenHashInternal.html → links/brokenHashInternal.html} +0 -0
  37. data/spec/html/proofer/fixtures/{brokenInternalLink.html → links/brokenInternalLink.html} +0 -0
  38. data/spec/html/proofer/fixtures/{brokenLinkExternal.html → links/brokenLinkExternal.html} +0 -0
  39. data/spec/html/proofer/fixtures/{brokenLinkInternal.html → links/brokenLinkInternal.html} +0 -0
  40. data/spec/html/proofer/fixtures/{brokenLinkWithNumber.html → links/brokenLinkWithNumber.html} +0 -0
  41. data/spec/html/proofer/fixtures/{checkSSLLinks.html → links/checkSSLLinks.html} +0 -0
  42. data/spec/html/proofer/fixtures/{folder → links/folder}/anchorLink.html +0 -0
  43. data/spec/html/proofer/fixtures/{folder → links/folder}/assets/barrel.png +0 -0
  44. data/spec/html/proofer/fixtures/{folder → links/folder}/index.html +0 -0
  45. data/spec/html/proofer/fixtures/{folder → links/folder}/relativeImage.html +0 -0
  46. data/spec/html/proofer/fixtures/links/gpl.png +0 -0
  47. data/spec/html/proofer/fixtures/{head_link_href.html → links/head_link_href.html} +0 -0
  48. data/spec/html/proofer/fixtures/{head_link_href_absent.html → links/head_link_href_absent.html} +0 -0
  49. data/spec/html/proofer/fixtures/{head_link_href_empty.html → links/head_link_href_empty.html} +0 -0
  50. data/spec/html/proofer/fixtures/{ignorableLinks.html → links/ignorableLinks.html} +0 -0
  51. data/spec/html/proofer/fixtures/{ignorableLinksViaOptions.html → links/ignorableLinksViaOptions.html} +0 -0
  52. data/spec/html/proofer/fixtures/{index.html → links/index.html} +0 -0
  53. data/spec/html/proofer/fixtures/{linkToFolder.html → links/linkToFolder.html} +0 -0
  54. data/spec/html/proofer/fixtures/{linkTranslatedViaHrefSwap.html → links/linkTranslatedViaHrefSwap.html} +0 -0
  55. data/spec/html/proofer/fixtures/{linkWithHttps.html → links/linkWithHttps.html} +0 -0
  56. data/spec/html/proofer/fixtures/{linkWithRedirect.html → links/linkWithRedirect.html} +0 -0
  57. data/spec/html/proofer/fixtures/links/link_directory_without_slash.html +1 -0
  58. data/spec/html/proofer/fixtures/{link_missing_protocol_invalid.html → links/link_missing_protocol_invalid.html} +0 -0
  59. data/spec/html/proofer/fixtures/{link_missing_protocol_valid.html → links/link_missing_protocol_valid.html} +0 -0
  60. data/spec/html/proofer/fixtures/{mailto_link.html → links/mailto_link.html} +0 -0
  61. data/spec/html/proofer/fixtures/{missingLinkHref.html → links/missingLinkHref.html} +0 -0
  62. data/spec/html/proofer/fixtures/{multipleProblems.html → links/multipleProblems.html} +0 -0
  63. data/spec/html/proofer/fixtures/{notarealhash.html → links/notarealhash.html} +0 -0
  64. data/spec/html/proofer/fixtures/{relativeLinks.html → links/relativeLinks.html} +0 -2
  65. data/spec/html/proofer/fixtures/{rootLink.html → links/rootLink.html} +0 -0
  66. data/spec/html/proofer/fixtures/{tel_link.html → links/tel_link.html} +0 -0
  67. data/spec/html/proofer/fixtures/Screen Shot 2012-08-09 at 7.51.18 AM.png b/data/spec/html/proofer/fixtures/resources/Screen Shot 2012-08-09 at 7.51.18 → AM.png +0 -0
  68. data/spec/html/proofer/fixtures/resources/gpl.png +0 -0
  69. data/spec/html/proofer/fixtures/scripts/script.js +1 -0
  70. data/spec/html/proofer/fixtures/scripts/script_broken_external.html +9 -0
  71. data/spec/html/proofer/fixtures/scripts/script_content.html +9 -0
  72. data/spec/html/proofer/fixtures/scripts/script_content_absent.html +9 -0
  73. data/spec/html/proofer/fixtures/scripts/script_missing_internal.html +9 -0
  74. data/spec/html/proofer/fixtures/scripts/script_valid_internal.html +9 -0
  75. data/spec/html/proofer/images_spec.rb +20 -14
  76. data/spec/html/proofer/links_spec.rb +41 -27
  77. data/spec/html/proofer/scripts_spec.rb +35 -0
  78. data/spec/html/proofer_spec.rb +2 -2
  79. metadata +132 -94
@@ -3,10 +3,10 @@ require "spec_helper"
3
3
  describe HTML::Proofer do
4
4
  describe "#failed_tests" do
5
5
  it "is a list of the formatted errors" do
6
- brokenLinkInternalFilepath = "#{FIXTURES_DIR}/brokenLinkInternal.html"
6
+ brokenLinkInternalFilepath = "#{FIXTURES_DIR}/links/brokenLinkInternal.html"
7
7
  proofer = HTML::Proofer.new(brokenLinkInternalFilepath)
8
8
  capture_stderr { proofer.run }
9
- proofer.failed_tests.should eq(["\e[34mspec/html/proofer/fixtures/brokenLinkInternal.html\e[0m: internally linking to ./notreal.html, which does not exist"])
9
+ proofer.failed_tests.should eq(["\e[34mspec/html/proofer/fixtures/links/brokenLinkInternal.html\e[0m: internally linking to ./notreal.html, which does not exist", "\e[34mspec/html/proofer/fixtures/links/brokenLinkInternal.html\e[0m: internally linking to ./missingImageAlt.html, which does not exist"])
10
10
  end
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-proofer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-14 00:00:00.000000000 Z
11
+ date: 2014-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary
@@ -156,60 +156,80 @@ files:
156
156
  - lib/html/proofer/check.rb
157
157
  - lib/html/proofer/checkable.rb
158
158
  - lib/html/proofer/checks.rb
159
+ - lib/html/proofer/checks/favicon.rb
159
160
  - lib/html/proofer/checks/images.rb
160
161
  - lib/html/proofer/checks/links.rb
161
- - spec/html/proofer/fixtures/Screen Shot 2012-08-09 at 7.51.18 AM.png
162
- - spec/html/proofer/fixtures/blank_mailto_link.html
163
- - spec/html/proofer/fixtures/blank_tel_link.html
164
- - spec/html/proofer/fixtures/brokenHashExternal.html
165
- - spec/html/proofer/fixtures/brokenHashInternal.html
166
- - spec/html/proofer/fixtures/brokenInternalLink.html
167
- - spec/html/proofer/fixtures/brokenLinkExternal.html
168
- - spec/html/proofer/fixtures/brokenLinkInternal.html
169
- - spec/html/proofer/fixtures/brokenLinkWithNumber.html
170
- - spec/html/proofer/fixtures/checkSSLLinks.html
171
- - spec/html/proofer/fixtures/existingImageExternal.html
172
- - spec/html/proofer/fixtures/folder/anchorLink.html
173
- - spec/html/proofer/fixtures/folder/assets/barrel.png
174
- - spec/html/proofer/fixtures/folder/index.html
175
- - spec/html/proofer/fixtures/folder/relativeImage.html
176
- - spec/html/proofer/fixtures/gpl.png
177
- - spec/html/proofer/fixtures/head_link_href.html
178
- - spec/html/proofer/fixtures/head_link_href_absent.html
179
- - spec/html/proofer/fixtures/head_link_href_empty.html
180
- - spec/html/proofer/fixtures/ignorableImages.html
181
- - spec/html/proofer/fixtures/ignorableLinks.html
182
- - spec/html/proofer/fixtures/ignorableLinksViaOptions.html
183
- - spec/html/proofer/fixtures/image_missing_protocol_invalid.html
184
- - spec/html/proofer/fixtures/image_missing_protocol_valid.html
185
- - spec/html/proofer/fixtures/index.html
186
- - spec/html/proofer/fixtures/linkToFolder.html
187
- - spec/html/proofer/fixtures/linkTranslatedViaHrefSwap.html
188
- - spec/html/proofer/fixtures/linkWithHttps.html
189
- - spec/html/proofer/fixtures/linkWithRedirect.html
190
- - spec/html/proofer/fixtures/link_missing_protocol_invalid.html
191
- - spec/html/proofer/fixtures/link_missing_protocol_valid.html
192
- - spec/html/proofer/fixtures/mailto_link.html
193
- - spec/html/proofer/fixtures/missingImageAlt.html
194
- - spec/html/proofer/fixtures/missingImageAltText.html
195
- - spec/html/proofer/fixtures/missingImageExternal.html
196
- - spec/html/proofer/fixtures/missingImageInternal.html
197
- - spec/html/proofer/fixtures/missingImageSrc.html
198
- - spec/html/proofer/fixtures/missingLinkHref.html
199
- - spec/html/proofer/fixtures/multipleProblems.html
200
- - spec/html/proofer/fixtures/notarealhash.html
201
- - spec/html/proofer/fixtures/relativeLinks.html
162
+ - lib/html/proofer/checks/scripts.rb
163
+ - spec/html/proofer/favicon_spec.rb
164
+ - spec/html/proofer/fixtures/favicon/favicon_absent.html
165
+ - spec/html/proofer/fixtures/favicon/favicon_absent_apple.html
166
+ - spec/html/proofer/fixtures/favicon/favicon_broken.html
167
+ - spec/html/proofer/fixtures/favicon/favicon_broken_but_ignored.html
168
+ - spec/html/proofer/fixtures/favicon/favicon_present.html
169
+ - spec/html/proofer/fixtures/favicon/favicon_present_shortcut.html
170
+ - spec/html/proofer/fixtures/images/existingImageExternal.html
171
+ - spec/html/proofer/fixtures/images/gpl.png
172
+ - spec/html/proofer/fixtures/images/ignorableImages.html
173
+ - spec/html/proofer/fixtures/images/image_missing_protocol_invalid.html
174
+ - spec/html/proofer/fixtures/images/image_missing_protocol_valid.html
175
+ - spec/html/proofer/fixtures/images/missingImageAlt.html
176
+ - spec/html/proofer/fixtures/images/missingImageAltText.html
177
+ - spec/html/proofer/fixtures/images/missingImageExternal.html
178
+ - spec/html/proofer/fixtures/images/missingImageInternal.html
179
+ - spec/html/proofer/fixtures/images/missingImageSrc.html
180
+ - spec/html/proofer/fixtures/images/relativeToSelf.html
181
+ - spec/html/proofer/fixtures/images/rootRelativeImages.html
182
+ - spec/html/proofer/fixtures/images/terribleImageName.html
183
+ - spec/html/proofer/fixtures/images/workingDataURIImage.html
184
+ - spec/html/proofer/fixtures/links/blank_mailto_link.html
185
+ - spec/html/proofer/fixtures/links/blank_tel_link.html
186
+ - spec/html/proofer/fixtures/links/brokenHashExternal.html
187
+ - spec/html/proofer/fixtures/links/brokenHashInternal.html
188
+ - spec/html/proofer/fixtures/links/brokenInternalLink.html
189
+ - spec/html/proofer/fixtures/links/brokenLinkExternal.html
190
+ - spec/html/proofer/fixtures/links/brokenLinkInternal.html
191
+ - spec/html/proofer/fixtures/links/brokenLinkWithNumber.html
192
+ - spec/html/proofer/fixtures/links/checkSSLLinks.html
193
+ - spec/html/proofer/fixtures/links/folder/anchorLink.html
194
+ - spec/html/proofer/fixtures/links/folder/assets/barrel.png
195
+ - spec/html/proofer/fixtures/links/folder/index.html
196
+ - spec/html/proofer/fixtures/links/folder/relativeImage.html
197
+ - spec/html/proofer/fixtures/links/gpl.png
198
+ - spec/html/proofer/fixtures/links/head_link_href.html
199
+ - spec/html/proofer/fixtures/links/head_link_href_absent.html
200
+ - spec/html/proofer/fixtures/links/head_link_href_empty.html
201
+ - spec/html/proofer/fixtures/links/ignorableLinks.html
202
+ - spec/html/proofer/fixtures/links/ignorableLinksViaOptions.html
203
+ - spec/html/proofer/fixtures/links/index.html
204
+ - spec/html/proofer/fixtures/links/linkToFolder.html
205
+ - spec/html/proofer/fixtures/links/linkTranslatedViaHrefSwap.html
206
+ - spec/html/proofer/fixtures/links/linkWithHttps.html
207
+ - spec/html/proofer/fixtures/links/linkWithRedirect.html
208
+ - spec/html/proofer/fixtures/links/link_directory_without_slash.html
209
+ - spec/html/proofer/fixtures/links/link_missing_protocol_invalid.html
210
+ - spec/html/proofer/fixtures/links/link_missing_protocol_valid.html
211
+ - spec/html/proofer/fixtures/links/mailto_link.html
212
+ - spec/html/proofer/fixtures/links/missingLinkHref.html
213
+ - spec/html/proofer/fixtures/links/multipleProblems.html
214
+ - spec/html/proofer/fixtures/links/notarealhash.html
215
+ - spec/html/proofer/fixtures/links/relativeLinks.html
216
+ - spec/html/proofer/fixtures/links/rootLink.html
217
+ - spec/html/proofer/fixtures/links/tel_link.html
218
+ - spec/html/proofer/fixtures/resources/Screen Shot 2012-08-09 at 7.51.18 AM.png
202
219
  - spec/html/proofer/fixtures/resources/books/assets/getting-good-with-git.jpg
203
220
  - spec/html/proofer/fixtures/resources/books/assets/pro-git.jpg
204
221
  - spec/html/proofer/fixtures/resources/books/assets/version-control-with-git.jpg
205
222
  - spec/html/proofer/fixtures/resources/books/nestedRelativeImages.html
206
- - spec/html/proofer/fixtures/rootLink.html
207
- - spec/html/proofer/fixtures/rootRelativeImages.html
208
- - spec/html/proofer/fixtures/tel_link.html
209
- - spec/html/proofer/fixtures/terribleImageName.html
210
- - spec/html/proofer/fixtures/workingDataURIImage.html
223
+ - spec/html/proofer/fixtures/resources/gpl.png
224
+ - spec/html/proofer/fixtures/scripts/script.js
225
+ - spec/html/proofer/fixtures/scripts/script_broken_external.html
226
+ - spec/html/proofer/fixtures/scripts/script_content.html
227
+ - spec/html/proofer/fixtures/scripts/script_content_absent.html
228
+ - spec/html/proofer/fixtures/scripts/script_missing_internal.html
229
+ - spec/html/proofer/fixtures/scripts/script_valid_internal.html
211
230
  - spec/html/proofer/images_spec.rb
212
231
  - spec/html/proofer/links_spec.rb
232
+ - spec/html/proofer/scripts_spec.rb
213
233
  - spec/html/proofer_spec.rb
214
234
  - spec/spec_helper.rb
215
235
  homepage: https://github.com/gjtorikian/html-proofer
@@ -239,57 +259,75 @@ summary: A set of tests to validate your HTML output. These tests check if your
239
259
  references are legitimate, if they have alt tags, if your internal links are working,
240
260
  and so on. It's intended to be an all-in-one checker for your documentation output.
241
261
  test_files:
242
- - spec/html/proofer/fixtures/Screen Shot 2012-08-09 at 7.51.18 AM.png
243
- - spec/html/proofer/fixtures/blank_mailto_link.html
244
- - spec/html/proofer/fixtures/blank_tel_link.html
245
- - spec/html/proofer/fixtures/brokenHashExternal.html
246
- - spec/html/proofer/fixtures/brokenHashInternal.html
247
- - spec/html/proofer/fixtures/brokenInternalLink.html
248
- - spec/html/proofer/fixtures/brokenLinkExternal.html
249
- - spec/html/proofer/fixtures/brokenLinkInternal.html
250
- - spec/html/proofer/fixtures/brokenLinkWithNumber.html
251
- - spec/html/proofer/fixtures/checkSSLLinks.html
252
- - spec/html/proofer/fixtures/existingImageExternal.html
253
- - spec/html/proofer/fixtures/folder/anchorLink.html
254
- - spec/html/proofer/fixtures/folder/assets/barrel.png
255
- - spec/html/proofer/fixtures/folder/index.html
256
- - spec/html/proofer/fixtures/folder/relativeImage.html
257
- - spec/html/proofer/fixtures/gpl.png
258
- - spec/html/proofer/fixtures/head_link_href.html
259
- - spec/html/proofer/fixtures/head_link_href_absent.html
260
- - spec/html/proofer/fixtures/head_link_href_empty.html
261
- - spec/html/proofer/fixtures/ignorableImages.html
262
- - spec/html/proofer/fixtures/ignorableLinks.html
263
- - spec/html/proofer/fixtures/ignorableLinksViaOptions.html
264
- - spec/html/proofer/fixtures/image_missing_protocol_invalid.html
265
- - spec/html/proofer/fixtures/image_missing_protocol_valid.html
266
- - spec/html/proofer/fixtures/index.html
267
- - spec/html/proofer/fixtures/linkToFolder.html
268
- - spec/html/proofer/fixtures/linkTranslatedViaHrefSwap.html
269
- - spec/html/proofer/fixtures/linkWithHttps.html
270
- - spec/html/proofer/fixtures/linkWithRedirect.html
271
- - spec/html/proofer/fixtures/link_missing_protocol_invalid.html
272
- - spec/html/proofer/fixtures/link_missing_protocol_valid.html
273
- - spec/html/proofer/fixtures/mailto_link.html
274
- - spec/html/proofer/fixtures/missingImageAlt.html
275
- - spec/html/proofer/fixtures/missingImageAltText.html
276
- - spec/html/proofer/fixtures/missingImageExternal.html
277
- - spec/html/proofer/fixtures/missingImageInternal.html
278
- - spec/html/proofer/fixtures/missingImageSrc.html
279
- - spec/html/proofer/fixtures/missingLinkHref.html
280
- - spec/html/proofer/fixtures/multipleProblems.html
281
- - spec/html/proofer/fixtures/notarealhash.html
282
- - spec/html/proofer/fixtures/relativeLinks.html
262
+ - spec/html/proofer/favicon_spec.rb
263
+ - spec/html/proofer/fixtures/favicon/favicon_absent.html
264
+ - spec/html/proofer/fixtures/favicon/favicon_absent_apple.html
265
+ - spec/html/proofer/fixtures/favicon/favicon_broken.html
266
+ - spec/html/proofer/fixtures/favicon/favicon_broken_but_ignored.html
267
+ - spec/html/proofer/fixtures/favicon/favicon_present.html
268
+ - spec/html/proofer/fixtures/favicon/favicon_present_shortcut.html
269
+ - spec/html/proofer/fixtures/images/existingImageExternal.html
270
+ - spec/html/proofer/fixtures/images/gpl.png
271
+ - spec/html/proofer/fixtures/images/ignorableImages.html
272
+ - spec/html/proofer/fixtures/images/image_missing_protocol_invalid.html
273
+ - spec/html/proofer/fixtures/images/image_missing_protocol_valid.html
274
+ - spec/html/proofer/fixtures/images/missingImageAlt.html
275
+ - spec/html/proofer/fixtures/images/missingImageAltText.html
276
+ - spec/html/proofer/fixtures/images/missingImageExternal.html
277
+ - spec/html/proofer/fixtures/images/missingImageInternal.html
278
+ - spec/html/proofer/fixtures/images/missingImageSrc.html
279
+ - spec/html/proofer/fixtures/images/relativeToSelf.html
280
+ - spec/html/proofer/fixtures/images/rootRelativeImages.html
281
+ - spec/html/proofer/fixtures/images/terribleImageName.html
282
+ - spec/html/proofer/fixtures/images/workingDataURIImage.html
283
+ - spec/html/proofer/fixtures/links/blank_mailto_link.html
284
+ - spec/html/proofer/fixtures/links/blank_tel_link.html
285
+ - spec/html/proofer/fixtures/links/brokenHashExternal.html
286
+ - spec/html/proofer/fixtures/links/brokenHashInternal.html
287
+ - spec/html/proofer/fixtures/links/brokenInternalLink.html
288
+ - spec/html/proofer/fixtures/links/brokenLinkExternal.html
289
+ - spec/html/proofer/fixtures/links/brokenLinkInternal.html
290
+ - spec/html/proofer/fixtures/links/brokenLinkWithNumber.html
291
+ - spec/html/proofer/fixtures/links/checkSSLLinks.html
292
+ - spec/html/proofer/fixtures/links/folder/anchorLink.html
293
+ - spec/html/proofer/fixtures/links/folder/assets/barrel.png
294
+ - spec/html/proofer/fixtures/links/folder/index.html
295
+ - spec/html/proofer/fixtures/links/folder/relativeImage.html
296
+ - spec/html/proofer/fixtures/links/gpl.png
297
+ - spec/html/proofer/fixtures/links/head_link_href.html
298
+ - spec/html/proofer/fixtures/links/head_link_href_absent.html
299
+ - spec/html/proofer/fixtures/links/head_link_href_empty.html
300
+ - spec/html/proofer/fixtures/links/ignorableLinks.html
301
+ - spec/html/proofer/fixtures/links/ignorableLinksViaOptions.html
302
+ - spec/html/proofer/fixtures/links/index.html
303
+ - spec/html/proofer/fixtures/links/linkToFolder.html
304
+ - spec/html/proofer/fixtures/links/linkTranslatedViaHrefSwap.html
305
+ - spec/html/proofer/fixtures/links/linkWithHttps.html
306
+ - spec/html/proofer/fixtures/links/linkWithRedirect.html
307
+ - spec/html/proofer/fixtures/links/link_directory_without_slash.html
308
+ - spec/html/proofer/fixtures/links/link_missing_protocol_invalid.html
309
+ - spec/html/proofer/fixtures/links/link_missing_protocol_valid.html
310
+ - spec/html/proofer/fixtures/links/mailto_link.html
311
+ - spec/html/proofer/fixtures/links/missingLinkHref.html
312
+ - spec/html/proofer/fixtures/links/multipleProblems.html
313
+ - spec/html/proofer/fixtures/links/notarealhash.html
314
+ - spec/html/proofer/fixtures/links/relativeLinks.html
315
+ - spec/html/proofer/fixtures/links/rootLink.html
316
+ - spec/html/proofer/fixtures/links/tel_link.html
317
+ - spec/html/proofer/fixtures/resources/Screen Shot 2012-08-09 at 7.51.18 AM.png
283
318
  - spec/html/proofer/fixtures/resources/books/assets/getting-good-with-git.jpg
284
319
  - spec/html/proofer/fixtures/resources/books/assets/pro-git.jpg
285
320
  - spec/html/proofer/fixtures/resources/books/assets/version-control-with-git.jpg
286
321
  - spec/html/proofer/fixtures/resources/books/nestedRelativeImages.html
287
- - spec/html/proofer/fixtures/rootLink.html
288
- - spec/html/proofer/fixtures/rootRelativeImages.html
289
- - spec/html/proofer/fixtures/tel_link.html
290
- - spec/html/proofer/fixtures/terribleImageName.html
291
- - spec/html/proofer/fixtures/workingDataURIImage.html
322
+ - spec/html/proofer/fixtures/resources/gpl.png
323
+ - spec/html/proofer/fixtures/scripts/script.js
324
+ - spec/html/proofer/fixtures/scripts/script_broken_external.html
325
+ - spec/html/proofer/fixtures/scripts/script_content.html
326
+ - spec/html/proofer/fixtures/scripts/script_content_absent.html
327
+ - spec/html/proofer/fixtures/scripts/script_missing_internal.html
328
+ - spec/html/proofer/fixtures/scripts/script_valid_internal.html
292
329
  - spec/html/proofer/images_spec.rb
293
330
  - spec/html/proofer/links_spec.rb
331
+ - spec/html/proofer/scripts_spec.rb
294
332
  - spec/html/proofer_spec.rb
295
333
  - spec/spec_helper.rb