html-proofer 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/bin/htmlproof +4 -2
  4. data/html-proofer.gemspec +1 -0
  5. data/lib/html/proofer.rb +5 -2
  6. data/lib/html/proofer/check_runner.rb +3 -2
  7. data/lib/html/proofer/checks/html.rb +7 -3
  8. data/lib/html/proofer/version.rb +1 -1
  9. data/spec/html/proofer/fixtures/html/ignore_script_embeds.html +3 -0
  10. data/spec/html/proofer/fixtures/links/linkWithRedirect.html +2 -0
  11. data/spec/html/proofer/fixtures/vcr_cassettes/images/existingImageExternal_html.yml +62 -0
  12. data/spec/html/proofer/fixtures/vcr_cassettes/images/ignoreAltButNotLink_html_alt_ignore_/_/_.yml +45 -0
  13. data/spec/html/proofer/fixtures/vcr_cassettes/images/image_missing_protocol_invalid_html.yml +117 -0
  14. data/spec/html/proofer/fixtures/vcr_cassettes/images/image_missing_protocol_valid_html.yml +62 -0
  15. data/spec/html/proofer/fixtures/vcr_cassettes/images/missingImageExternal_html.yml +45 -0
  16. data/spec/html/proofer/fixtures/vcr_cassettes/links/attributeWithDash_html.yml +73 -0
  17. data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html.yml +56 -0
  18. data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html_check_external_hash_true_.yml +719 -0
  19. data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html_only_4xx_true_.yml +56 -0
  20. data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenLinkExternal_html.yml +96 -0
  21. data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenUnixLinks_html.yml +156 -0
  22. data/spec/html/proofer/fixtures/vcr_cassettes/links/checkSSLLinks_html.yml +50 -0
  23. data/spec/html/proofer/fixtures/vcr_cassettes/links/ensure_typhoeus_options_html_typhoeus_ssl_verifypeer_false_.yml +40 -0
  24. data/spec/html/proofer/fixtures/vcr_cassettes/links/escape_pipes_html.yml +52 -0
  25. data/spec/html/proofer/fixtures/vcr_cassettes/links/file_foo_ext_foo_.yml +96 -0
  26. data/spec/html/proofer/fixtures/vcr_cassettes/links/githubHash_html.yml +73 -0
  27. data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithHttps_html.yml +73 -0
  28. data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html.yml +236 -0
  29. data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html_only_4xx_true_typhoeus_followlocation_false_.yml +318 -0
  30. data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html_typhoeus_followlocation_false_.yml +318 -0
  31. data/spec/html/proofer/fixtures/vcr_cassettes/links/link_missing_protocol_invalid_html.yml +45 -0
  32. data/spec/html/proofer/fixtures/vcr_cassettes/links/link_missing_protocol_valid_html.yml +73 -0
  33. data/spec/html/proofer/fixtures/vcr_cassettes/links/nodupe_html.yml +182 -0
  34. data/spec/html/proofer/fixtures/vcr_cassettes/links/non_standard_characters_html.yml +113 -0
  35. data/spec/html/proofer/fixtures/vcr_cassettes/links/redirected_error_html.yml +1044 -0
  36. data/spec/html/proofer/fixtures/vcr_cassettes/links/utf8Link_html.yml +113 -0
  37. data/spec/html/proofer/fixtures/vcr_cassettes/scripts/script_broken_external_html.yml +45 -0
  38. data/spec/html/proofer/fixtures/vcr_cassettes/sorting/status_typhoeus_followlocation_false_error_sort_status_.yml +244 -0
  39. data/spec/html/proofer/fixtures/vcr_cassettes/www_garbalarba_com_href_swap_/garbalarba/_github_.yml +73 -0
  40. data/spec/html/proofer/fixtures/vcr_cassettes/www_github_com_foofoofoo_biz.yml +115 -0
  41. data/spec/html/proofer/html_spec.rb +12 -5
  42. data/spec/html/proofer/images_spec.rb +3 -3
  43. data/spec/html/proofer/links_spec.rb +6 -6
  44. data/spec/html/proofer/scripts_spec.rb +1 -2
  45. data/spec/html/proofer_spec.rb +3 -3
  46. data/spec/spec_helper.rb +27 -5
  47. metadata +78 -2
@@ -0,0 +1,318 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: http://github.github.com/github-flavored-markdown/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Server:
18
+ - GitHub.com
19
+ Content-Type:
20
+ - text/html; charset=utf-8
21
+ Last-Modified:
22
+ - Thu, 31 Jul 2014 23:48:53 GMT
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Expires:
26
+ - Mon, 06 Jul 2015 05:17:55 GMT
27
+ Cache-Control:
28
+ - max-age=600
29
+ Content-Length:
30
+ - '480'
31
+ Accept-Ranges:
32
+ - bytes
33
+ Date:
34
+ - Mon, 06 Jul 2015 05:07:55 GMT
35
+ Via:
36
+ - 1.1 varnish
37
+ Age:
38
+ - '0'
39
+ Connection:
40
+ - keep-alive
41
+ X-Served-By:
42
+ - cache-sjc3131-SJC
43
+ X-Cache:
44
+ - MISS
45
+ X-Cache-Hits:
46
+ - '0'
47
+ X-Timer:
48
+ - S1436159275.438906,VS0,VE74
49
+ Vary:
50
+ - Accept-Encoding
51
+ body:
52
+ encoding: UTF-8
53
+ string: ''
54
+ http_version: '1.1'
55
+ adapter_metadata:
56
+ effective_url: http://github.github.com/github-flavored-markdown/
57
+ recorded_at: Mon, 06 Jul 2015 05:07:55 GMT
58
+ - request:
59
+ method: head
60
+ uri: https://help.github.com/changing-author-info/
61
+ body:
62
+ encoding: US-ASCII
63
+ string: ''
64
+ headers:
65
+ User-Agent:
66
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
67
+ response:
68
+ status:
69
+ code: 200
70
+ message: OK
71
+ headers:
72
+ Server:
73
+ - GitHub.com
74
+ Content-Type:
75
+ - text/html; charset=utf-8
76
+ Last-Modified:
77
+ - Mon, 06 Jul 2015 03:57:12 GMT
78
+ Access-Control-Allow-Origin:
79
+ - "*"
80
+ Expires:
81
+ - Mon, 06 Jul 2015 05:17:55 GMT
82
+ Cache-Control:
83
+ - max-age=600
84
+ Content-Length:
85
+ - '458'
86
+ Accept-Ranges:
87
+ - bytes
88
+ Date:
89
+ - Mon, 06 Jul 2015 05:07:55 GMT
90
+ Via:
91
+ - 1.1 varnish
92
+ Age:
93
+ - '0'
94
+ Connection:
95
+ - keep-alive
96
+ X-Served-By:
97
+ - cache-sjc3132-SJC
98
+ X-Cache:
99
+ - MISS
100
+ X-Cache-Hits:
101
+ - '0'
102
+ Vary:
103
+ - Accept-Encoding
104
+ body:
105
+ encoding: UTF-8
106
+ string: ''
107
+ http_version: '1.1'
108
+ adapter_metadata:
109
+ effective_url: https://help.github.com/changing-author-info/
110
+ recorded_at: Mon, 06 Jul 2015 05:07:55 GMT
111
+ - request:
112
+ method: head
113
+ uri: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
114
+ body:
115
+ encoding: US-ASCII
116
+ string: ''
117
+ headers:
118
+ User-Agent:
119
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
120
+ response:
121
+ status:
122
+ code: 301
123
+ message: Moved Permanently
124
+ headers:
125
+ Server:
126
+ - nginx
127
+ Date:
128
+ - Mon, 06 Jul 2015 05:07:55 GMT
129
+ Content-Type:
130
+ - text/html
131
+ Content-Length:
132
+ - '178'
133
+ Connection:
134
+ - keep-alive
135
+ Location:
136
+ - https://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
137
+ X-ac:
138
+ - 1.sjc _dfw
139
+ body:
140
+ encoding: UTF-8
141
+ string: ''
142
+ http_version: '1.1'
143
+ adapter_metadata:
144
+ effective_url: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
145
+ recorded_at: Mon, 06 Jul 2015 05:07:56 GMT
146
+ - request:
147
+ method: get
148
+ uri: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
149
+ body:
150
+ encoding: US-ASCII
151
+ string: ''
152
+ headers:
153
+ User-Agent:
154
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
155
+ response:
156
+ status:
157
+ code: 301
158
+ message: Moved Permanently
159
+ headers:
160
+ Server:
161
+ - nginx
162
+ Date:
163
+ - Mon, 06 Jul 2015 05:07:55 GMT
164
+ Content-Type:
165
+ - text/html
166
+ Content-Length:
167
+ - '178'
168
+ Connection:
169
+ - keep-alive
170
+ Location:
171
+ - https://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
172
+ X-ac:
173
+ - 1.sjc _dfw
174
+ body:
175
+ encoding: UTF-8
176
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
177
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
178
+ http_version: '1.1'
179
+ adapter_metadata:
180
+ effective_url: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
181
+ recorded_at: Mon, 06 Jul 2015 05:07:56 GMT
182
+ - request:
183
+ method: head
184
+ uri: https://github.com/github/repository-sync
185
+ body:
186
+ encoding: US-ASCII
187
+ string: ''
188
+ headers:
189
+ User-Agent:
190
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
191
+ response:
192
+ status:
193
+ code: 301
194
+ message: Moved Permanently
195
+ headers:
196
+ Server:
197
+ - GitHub.com
198
+ Date:
199
+ - Mon, 06 Jul 2015 05:07:55 GMT
200
+ Content-Type:
201
+ - text/html; charset=utf-8
202
+ Status:
203
+ - 301 Moved Permanently
204
+ Content-Security-Policy:
205
+ - 'default-src *; script-src assets-cdn.github.com collector-cdn.github.com;
206
+ object-src assets-cdn.github.com; style-src ''self'' ''unsafe-inline'' ''unsafe-eval''
207
+ assets-cdn.github.com; img-src ''self'' data: assets-cdn.github.com identicons.github.com
208
+ www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com
209
+ *.wp.com; media-src ''none''; frame-src ''self'' render.githubusercontent.com
210
+ gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src
211
+ assets-cdn.github.com; connect-src ''self'' live.github.com wss://live.github.com
212
+ uploads.github.com status.github.com api.github.com www.google-analytics.com
213
+ github-cloud.s3.amazonaws.com'
214
+ Public-Key-Pins:
215
+ - max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=";
216
+ includeSubDomains
217
+ Cache-Control:
218
+ - no-cache
219
+ Vary:
220
+ - X-PJAX
221
+ - Accept-Encoding
222
+ Location:
223
+ - https://github.com/gjtorikian/repository-sync
224
+ X-UA-Compatible:
225
+ - IE=Edge,chrome=1
226
+ X-Request-Id:
227
+ - 4af083916925b3d409e0cb19cebf7176
228
+ X-Runtime:
229
+ - '0.009140'
230
+ X-GitHub-Request-Id:
231
+ - 490F8465:3100:515DD5:559A0D2B
232
+ Strict-Transport-Security:
233
+ - max-age=31536000; includeSubdomains; preload
234
+ X-Content-Type-Options:
235
+ - nosniff
236
+ X-XSS-Protection:
237
+ - 1; mode=block
238
+ X-Frame-Options:
239
+ - deny
240
+ X-Served-By:
241
+ - 63914e33d55e1647962cf498030a7c16
242
+ body:
243
+ encoding: UTF-8
244
+ string: ''
245
+ http_version: '1.1'
246
+ adapter_metadata:
247
+ effective_url: https://github.com/github/repository-sync
248
+ recorded_at: Mon, 06 Jul 2015 05:07:56 GMT
249
+ - request:
250
+ method: get
251
+ uri: https://github.com/github/repository-sync
252
+ body:
253
+ encoding: US-ASCII
254
+ string: ''
255
+ headers:
256
+ User-Agent:
257
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
258
+ response:
259
+ status:
260
+ code: 301
261
+ message: Moved Permanently
262
+ headers:
263
+ Server:
264
+ - GitHub.com
265
+ Date:
266
+ - Mon, 06 Jul 2015 05:07:55 GMT
267
+ Content-Type:
268
+ - text/html; charset=utf-8
269
+ Transfer-Encoding:
270
+ - chunked
271
+ Status:
272
+ - 301 Moved Permanently
273
+ Content-Security-Policy:
274
+ - 'default-src *; script-src assets-cdn.github.com collector-cdn.github.com;
275
+ object-src assets-cdn.github.com; style-src ''self'' ''unsafe-inline'' ''unsafe-eval''
276
+ assets-cdn.github.com; img-src ''self'' data: assets-cdn.github.com identicons.github.com
277
+ www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com
278
+ *.wp.com; media-src ''none''; frame-src ''self'' render.githubusercontent.com
279
+ gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src
280
+ assets-cdn.github.com; connect-src ''self'' live.github.com wss://live.github.com
281
+ uploads.github.com status.github.com api.github.com www.google-analytics.com
282
+ github-cloud.s3.amazonaws.com'
283
+ Public-Key-Pins:
284
+ - max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=";
285
+ includeSubDomains
286
+ Cache-Control:
287
+ - no-cache
288
+ Vary:
289
+ - X-PJAX
290
+ - Accept-Encoding
291
+ Location:
292
+ - https://github.com/gjtorikian/repository-sync
293
+ X-UA-Compatible:
294
+ - IE=Edge,chrome=1
295
+ X-Request-Id:
296
+ - 96bf7b3955790223185a06e942d8af05
297
+ X-Runtime:
298
+ - '0.007711'
299
+ X-GitHub-Request-Id:
300
+ - 490F8465:3100:515DE0:559A0D2B
301
+ Strict-Transport-Security:
302
+ - max-age=31536000; includeSubdomains; preload
303
+ X-Content-Type-Options:
304
+ - nosniff
305
+ X-XSS-Protection:
306
+ - 1; mode=block
307
+ X-Frame-Options:
308
+ - deny
309
+ X-Served-By:
310
+ - 362482c1f05726391203e2d2c32818a4
311
+ body:
312
+ encoding: UTF-8
313
+ string: <html><body>You are being <a href="https://github.com/gjtorikian/repository-sync">redirected</a>.</body></html>
314
+ http_version: '1.1'
315
+ adapter_metadata:
316
+ effective_url: https://github.com/github/repository-sync
317
+ recorded_at: Mon, 06 Jul 2015 05:07:56 GMT
318
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,318 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
12
+ response:
13
+ status:
14
+ code: 301
15
+ message: Moved Permanently
16
+ headers:
17
+ Server:
18
+ - nginx
19
+ Date:
20
+ - Mon, 06 Jul 2015 05:08:08 GMT
21
+ Content-Type:
22
+ - text/html
23
+ Content-Length:
24
+ - '178'
25
+ Connection:
26
+ - keep-alive
27
+ Location:
28
+ - https://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
29
+ X-ac:
30
+ - 1.sjc _dfw
31
+ body:
32
+ encoding: UTF-8
33
+ string: ''
34
+ http_version: '1.1'
35
+ adapter_metadata:
36
+ effective_url: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
37
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
38
+ - request:
39
+ method: get
40
+ uri: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ headers:
45
+ User-Agent:
46
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
47
+ response:
48
+ status:
49
+ code: 301
50
+ message: Moved Permanently
51
+ headers:
52
+ Server:
53
+ - nginx
54
+ Date:
55
+ - Mon, 06 Jul 2015 05:08:08 GMT
56
+ Content-Type:
57
+ - text/html
58
+ Content-Length:
59
+ - '178'
60
+ Connection:
61
+ - keep-alive
62
+ Location:
63
+ - https://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
64
+ X-ac:
65
+ - 1.sjc _dfw
66
+ body:
67
+ encoding: UTF-8
68
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
69
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
70
+ http_version: '1.1'
71
+ adapter_metadata:
72
+ effective_url: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
73
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
74
+ - request:
75
+ method: head
76
+ uri: http://github.github.com/github-flavored-markdown/
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ''
80
+ headers:
81
+ User-Agent:
82
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Server:
89
+ - GitHub.com
90
+ Content-Type:
91
+ - text/html; charset=utf-8
92
+ Last-Modified:
93
+ - Thu, 31 Jul 2014 23:48:53 GMT
94
+ Access-Control-Allow-Origin:
95
+ - "*"
96
+ Expires:
97
+ - Mon, 06 Jul 2015 05:18:08 GMT
98
+ Cache-Control:
99
+ - max-age=600
100
+ Content-Length:
101
+ - '480'
102
+ Accept-Ranges:
103
+ - bytes
104
+ Date:
105
+ - Mon, 06 Jul 2015 05:08:09 GMT
106
+ Via:
107
+ - 1.1 varnish
108
+ Age:
109
+ - '0'
110
+ Connection:
111
+ - keep-alive
112
+ X-Served-By:
113
+ - cache-sjc3122-SJC
114
+ X-Cache:
115
+ - MISS
116
+ X-Cache-Hits:
117
+ - '0'
118
+ X-Timer:
119
+ - S1436159288.939376,VS0,VE75
120
+ Vary:
121
+ - Accept-Encoding
122
+ body:
123
+ encoding: UTF-8
124
+ string: ''
125
+ http_version: '1.1'
126
+ adapter_metadata:
127
+ effective_url: http://github.github.com/github-flavored-markdown/
128
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
129
+ - request:
130
+ method: head
131
+ uri: https://help.github.com/changing-author-info/
132
+ body:
133
+ encoding: US-ASCII
134
+ string: ''
135
+ headers:
136
+ User-Agent:
137
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
138
+ response:
139
+ status:
140
+ code: 200
141
+ message: OK
142
+ headers:
143
+ Server:
144
+ - GitHub.com
145
+ Content-Type:
146
+ - text/html; charset=utf-8
147
+ Last-Modified:
148
+ - Mon, 06 Jul 2015 03:57:12 GMT
149
+ Access-Control-Allow-Origin:
150
+ - "*"
151
+ Expires:
152
+ - Mon, 06 Jul 2015 05:05:19 GMT
153
+ Cache-Control:
154
+ - max-age=600
155
+ Content-Length:
156
+ - '458'
157
+ Accept-Ranges:
158
+ - bytes
159
+ Date:
160
+ - Mon, 06 Jul 2015 05:08:09 GMT
161
+ Via:
162
+ - 1.1 varnish
163
+ Age:
164
+ - '3'
165
+ Connection:
166
+ - keep-alive
167
+ X-Served-By:
168
+ - cache-sjc3120-SJC
169
+ X-Cache:
170
+ - HIT
171
+ X-Cache-Hits:
172
+ - '1'
173
+ Vary:
174
+ - Accept-Encoding
175
+ body:
176
+ encoding: UTF-8
177
+ string: ''
178
+ http_version: '1.1'
179
+ adapter_metadata:
180
+ effective_url: https://help.github.com/changing-author-info/
181
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
182
+ - request:
183
+ method: head
184
+ uri: https://github.com/github/repository-sync
185
+ body:
186
+ encoding: US-ASCII
187
+ string: ''
188
+ headers:
189
+ User-Agent:
190
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
191
+ response:
192
+ status:
193
+ code: 301
194
+ message: Moved Permanently
195
+ headers:
196
+ Server:
197
+ - GitHub.com
198
+ Date:
199
+ - Mon, 06 Jul 2015 05:08:09 GMT
200
+ Content-Type:
201
+ - text/html; charset=utf-8
202
+ Status:
203
+ - 301 Moved Permanently
204
+ Content-Security-Policy:
205
+ - 'default-src *; script-src assets-cdn.github.com collector-cdn.github.com;
206
+ object-src assets-cdn.github.com; style-src ''self'' ''unsafe-inline'' ''unsafe-eval''
207
+ assets-cdn.github.com; img-src ''self'' data: assets-cdn.github.com identicons.github.com
208
+ www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com
209
+ *.wp.com; media-src ''none''; frame-src ''self'' render.githubusercontent.com
210
+ gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src
211
+ assets-cdn.github.com; connect-src ''self'' live.github.com wss://live.github.com
212
+ uploads.github.com status.github.com api.github.com www.google-analytics.com
213
+ github-cloud.s3.amazonaws.com'
214
+ Public-Key-Pins:
215
+ - max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=";
216
+ includeSubDomains
217
+ Cache-Control:
218
+ - no-cache
219
+ Vary:
220
+ - X-PJAX
221
+ - Accept-Encoding
222
+ Location:
223
+ - https://github.com/gjtorikian/repository-sync
224
+ X-UA-Compatible:
225
+ - IE=Edge,chrome=1
226
+ X-Request-Id:
227
+ - 69d80ea748981e0b2661317d3d87b8dc
228
+ X-Runtime:
229
+ - '0.007599'
230
+ X-GitHub-Request-Id:
231
+ - 490F8465:3103:1BB12ED:559A0D39
232
+ Strict-Transport-Security:
233
+ - max-age=31536000; includeSubdomains; preload
234
+ X-Content-Type-Options:
235
+ - nosniff
236
+ X-XSS-Protection:
237
+ - 1; mode=block
238
+ X-Frame-Options:
239
+ - deny
240
+ X-Served-By:
241
+ - e68303a089d42a09a9545cb48f3ff7a6
242
+ body:
243
+ encoding: UTF-8
244
+ string: ''
245
+ http_version: '1.1'
246
+ adapter_metadata:
247
+ effective_url: https://github.com/github/repository-sync
248
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
249
+ - request:
250
+ method: get
251
+ uri: https://github.com/github/repository-sync
252
+ body:
253
+ encoding: US-ASCII
254
+ string: ''
255
+ headers:
256
+ User-Agent:
257
+ - Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
258
+ response:
259
+ status:
260
+ code: 301
261
+ message: Moved Permanently
262
+ headers:
263
+ Server:
264
+ - GitHub.com
265
+ Date:
266
+ - Mon, 06 Jul 2015 05:08:09 GMT
267
+ Content-Type:
268
+ - text/html; charset=utf-8
269
+ Transfer-Encoding:
270
+ - chunked
271
+ Status:
272
+ - 301 Moved Permanently
273
+ Content-Security-Policy:
274
+ - 'default-src *; script-src assets-cdn.github.com collector-cdn.github.com;
275
+ object-src assets-cdn.github.com; style-src ''self'' ''unsafe-inline'' ''unsafe-eval''
276
+ assets-cdn.github.com; img-src ''self'' data: assets-cdn.github.com identicons.github.com
277
+ www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com
278
+ *.wp.com; media-src ''none''; frame-src ''self'' render.githubusercontent.com
279
+ gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src
280
+ assets-cdn.github.com; connect-src ''self'' live.github.com wss://live.github.com
281
+ uploads.github.com status.github.com api.github.com www.google-analytics.com
282
+ github-cloud.s3.amazonaws.com'
283
+ Public-Key-Pins:
284
+ - max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=";
285
+ includeSubDomains
286
+ Cache-Control:
287
+ - no-cache
288
+ Vary:
289
+ - X-PJAX
290
+ - Accept-Encoding
291
+ Location:
292
+ - https://github.com/gjtorikian/repository-sync
293
+ X-UA-Compatible:
294
+ - IE=Edge,chrome=1
295
+ X-Request-Id:
296
+ - db3d2efe3b763afab244c6dbe265732e
297
+ X-Runtime:
298
+ - '0.009559'
299
+ X-GitHub-Request-Id:
300
+ - 490F8465:3103:1BB1329:559A0D39
301
+ Strict-Transport-Security:
302
+ - max-age=31536000; includeSubdomains; preload
303
+ X-Content-Type-Options:
304
+ - nosniff
305
+ X-XSS-Protection:
306
+ - 1; mode=block
307
+ X-Frame-Options:
308
+ - deny
309
+ X-Served-By:
310
+ - 362482c1f05726391203e2d2c32818a4
311
+ body:
312
+ encoding: UTF-8
313
+ string: <html><body>You are being <a href="https://github.com/gjtorikian/repository-sync">redirected</a>.</body></html>
314
+ http_version: '1.1'
315
+ adapter_metadata:
316
+ effective_url: https://github.com/github/repository-sync
317
+ recorded_at: Mon, 06 Jul 2015 05:08:09 GMT
318
+ recorded_with: VCR 2.9.3