ruby-link-checker 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +153 -19
- data/UPGRADING.md +46 -0
- data/lib/ruby-link-checker/async/http/checker.rb +19 -6
- data/lib/ruby-link-checker/async/http/result.rb +1 -1
- data/lib/ruby-link-checker/cache.rb +90 -21
- data/lib/ruby-link-checker/checker.rb +136 -13
- data/lib/ruby-link-checker/config.rb +79 -0
- data/lib/ruby-link-checker/net/http/checker.rb +3 -2
- data/lib/ruby-link-checker/net/http/result.rb +1 -1
- data/lib/ruby-link-checker/redirect.rb +11 -0
- data/lib/ruby-link-checker/result.rb +96 -1
- data/lib/ruby-link-checker/tasks.rb +24 -12
- data/lib/ruby-link-checker/typhoeus/hydra/checker.rb +59 -11
- data/lib/ruby-link-checker/typhoeus/hydra/result.rb +1 -1
- data/lib/ruby-link-checker/version.rb +1 -1
- data/lib/ruby-link-checker.rb +1 -0
- metadata +18 -51
- data/.github/workflows/coverage.yml +0 -24
- data/.github/workflows/danger-comment.yml +0 -17
- data/.github/workflows/danger.yml +0 -12
- data/.github/workflows/lint.yml +0 -20
- data/.github/workflows/release.yml +0 -14
- data/.github/workflows/test.yml +0 -25
- data/.gitignore +0 -6
- data/.rspec +0 -2
- data/.rubocop.yml +0 -26
- data/.rubocop_todo.yml +0 -332
- data/AGENTS.md +0 -23
- data/CONTRIBUTING.md +0 -129
- data/Dangerfile +0 -6
- data/Gemfile +0 -27
- data/RELEASING.md +0 -37
- data/Rakefile +0 -26
- data/benchmarks/check.rb +0 -38
- data/benchmarks/data/opensearch.org/links.txt +0 -4270
- data/benchmarks/data/opensearch.org/small.txt +0 -100
- data/ruby-link-checker.gemspec +0 -22
- data/spec/fixtures/200.yml +0 -65
- data/spec/fixtures/301_200.yml +0 -102
- data/spec/fixtures/301_301.yml +0 -114
- data/spec/fixtures/301_400_301_200.yml +0 -185
- data/spec/fixtures/301_403.yml +0 -78
- data/spec/fixtures/308_429.yml +0 -108
- data/spec/fixtures/404.yml +0 -57
- data/spec/fixtures/404_200.yml +0 -89
- data/spec/fixtures/404_404.yml +0 -81
- data/spec/fixtures/429_200.yml +0 -135
- data/spec/fixtures/429_429_200.yml +0 -201
- data/spec/ruby-link-checker/async/http/checker_spec.rb +0 -184
- data/spec/ruby-link-checker/callbacks_spec.rb +0 -76
- data/spec/ruby-link-checker/checker_spec.rb +0 -97
- data/spec/ruby-link-checker/config_spec.rb +0 -45
- data/spec/ruby-link-checker/errors/redirect_loop_error_spec.rb +0 -18
- data/spec/ruby-link-checker/net/http/checker_spec.rb +0 -93
- data/spec/ruby-link-checker/result_error_spec.rb +0 -34
- data/spec/ruby-link-checker/result_spec.rb +0 -41
- data/spec/ruby-link-checker/task_spec.rb +0 -20
- data/spec/ruby-link-checker/tasks_spec.rb +0 -91
- data/spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb +0 -180
- data/spec/ruby-link-checker/version_spec.rb +0 -9
- data/spec/spec_helper.rb +0 -19
- data/spec/support/config.rb +0 -8
- data/spec/support/link_checker.rb +0 -609
- data/spec/support/vcr.rb +0 -13
- data/spec/support/with_result.rb +0 -15
- data/spec/support/with_url.rb +0 -14
data/spec/fixtures/308_429.yml
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: head
|
|
5
|
-
uri: https://www.example.org/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Ruby Link Checker/0.2.0
|
|
12
|
-
Expect:
|
|
13
|
-
- ''
|
|
14
|
-
response:
|
|
15
|
-
status:
|
|
16
|
-
code: 308
|
|
17
|
-
message: ''
|
|
18
|
-
headers:
|
|
19
|
-
server:
|
|
20
|
-
- CloudFront
|
|
21
|
-
date:
|
|
22
|
-
- Mon, 03 Apr 2023 00:01:15 GMT
|
|
23
|
-
content-length:
|
|
24
|
-
- '0'
|
|
25
|
-
location:
|
|
26
|
-
- https://www.dblock.org/
|
|
27
|
-
x-cache:
|
|
28
|
-
- FunctionGeneratedResponse from cloudfront
|
|
29
|
-
via:
|
|
30
|
-
- 1.1 49830f6fdfb2c3519e81248d6d19f450.cloudfront.net (CloudFront)
|
|
31
|
-
x-amz-cf-pop:
|
|
32
|
-
- EWR52-C4
|
|
33
|
-
x-amz-cf-id:
|
|
34
|
-
- BRpz7eXeEToGF8Ytac3rGh6DHQZLwnZBdNOxnDICSUPoHDN6wHDxWQ==
|
|
35
|
-
body:
|
|
36
|
-
encoding: UTF-8
|
|
37
|
-
string: ''
|
|
38
|
-
http_version: '2'
|
|
39
|
-
adapter_metadata:
|
|
40
|
-
effective_url: https://www.example.org/
|
|
41
|
-
recorded_at: Mon, 03 Apr 2023 00:01:15 GMT
|
|
42
|
-
- request:
|
|
43
|
-
method: head
|
|
44
|
-
uri: https://www.dblock.org/
|
|
45
|
-
body:
|
|
46
|
-
encoding: US-ASCII
|
|
47
|
-
string: ''
|
|
48
|
-
headers:
|
|
49
|
-
User-Agent:
|
|
50
|
-
- Ruby Link Checker/0.2.0
|
|
51
|
-
Expect:
|
|
52
|
-
- ''
|
|
53
|
-
response:
|
|
54
|
-
status:
|
|
55
|
-
code: 429
|
|
56
|
-
message: ''
|
|
57
|
-
headers:
|
|
58
|
-
server:
|
|
59
|
-
- nginx
|
|
60
|
-
date:
|
|
61
|
-
- Mon, 03 Apr 2023 00:01:15 GMT
|
|
62
|
-
content-type:
|
|
63
|
-
- text/html; charset=utf-8
|
|
64
|
-
vary:
|
|
65
|
-
- Accept-Encoding
|
|
66
|
-
- Accept
|
|
67
|
-
x-frame-options:
|
|
68
|
-
- SAMEORIGIN
|
|
69
|
-
x-xss-protection:
|
|
70
|
-
- '0'
|
|
71
|
-
x-content-type-options:
|
|
72
|
-
- nosniff
|
|
73
|
-
x-download-options:
|
|
74
|
-
- noopen
|
|
75
|
-
x-permitted-cross-domain-policies:
|
|
76
|
-
- none
|
|
77
|
-
referrer-policy:
|
|
78
|
-
- strict-origin-when-cross-origin
|
|
79
|
-
x-discourse-route:
|
|
80
|
-
- users/show
|
|
81
|
-
cache-control:
|
|
82
|
-
- no-cache, no-store
|
|
83
|
-
content-security-policy:
|
|
84
|
-
- upgrade-insecure-requests; base-uri 'self'; object-src 'none'; script-src
|
|
85
|
-
https://forum.opensearch.org/logs/ https://forum.opensearch.org/sidekiq/ https://forum.opensearch.org/mini-profiler-resources/
|
|
86
|
-
https://global.discourse-cdn.com/business5/assets/ https://global.discourse-cdn.com/business5/brotli_asset/
|
|
87
|
-
https://forum.opensearch.org/extra-locales/ https://sea1.discourse-cdn.com/business5/highlight-js/
|
|
88
|
-
https://sea1.discourse-cdn.com/business5/javascripts/ https://sea1.discourse-cdn.com/business5/plugins/
|
|
89
|
-
https://sea1.discourse-cdn.com/business5/theme-javascripts/ https://sea1.discourse-cdn.com/business5/svg-sprite/
|
|
90
|
-
'sha256-Gty3/aPWFfSvz7pdT39HY97/+2opLup9V0L19ZF0IwY=' https://forum.opensearch.org/plugins/discourse-client-performance/javascripts/discourse-client-performance.js;
|
|
91
|
-
worker-src 'self' https://global.discourse-cdn.com/business5/assets/ https://global.discourse-cdn.com/business5/brotli_asset/
|
|
92
|
-
https://sea1.discourse-cdn.com/business5/javascripts/ https://sea1.discourse-cdn.com/business5/plugins/;
|
|
93
|
-
frame-ancestors 'self'; manifest-src 'self'
|
|
94
|
-
x-request-id:
|
|
95
|
-
- a54de95c-ab20-4f9a-81a0-93908fc94357
|
|
96
|
-
cdck-proxy-id:
|
|
97
|
-
- app-router-tiehunter03.sea1
|
|
98
|
-
- app-balancer-tieinterceptor1b.sea1
|
|
99
|
-
strict-transport-security:
|
|
100
|
-
- max-age=31536000
|
|
101
|
-
body:
|
|
102
|
-
encoding: UTF-8
|
|
103
|
-
string: ''
|
|
104
|
-
http_version: '2'
|
|
105
|
-
adapter_metadata:
|
|
106
|
-
effective_url: https://www.dblock.org/
|
|
107
|
-
recorded_at: Mon, 03 Apr 2023 00:01:15 GMT
|
|
108
|
-
recorded_with: VCR 6.1.0
|
data/spec/fixtures/404.yml
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://www.example.org/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept-Encoding:
|
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
-
Accept:
|
|
13
|
-
- "*/*"
|
|
14
|
-
User-Agent:
|
|
15
|
-
- Ruby
|
|
16
|
-
Host:
|
|
17
|
-
- www.example.org
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 404
|
|
21
|
-
message: Not Found
|
|
22
|
-
headers:
|
|
23
|
-
Cache-Control:
|
|
24
|
-
- max-age=604800
|
|
25
|
-
Content-Type:
|
|
26
|
-
- text/html; charset=UTF-8
|
|
27
|
-
Date:
|
|
28
|
-
- Wed, 29 Mar 2023 17:44:18 GMT
|
|
29
|
-
Expires:
|
|
30
|
-
- Wed, 05 Apr 2023 17:44:18 GMT
|
|
31
|
-
Server:
|
|
32
|
-
- Example.org
|
|
33
|
-
Vary:
|
|
34
|
-
- Accept-Encoding
|
|
35
|
-
Content-Length:
|
|
36
|
-
- '648'
|
|
37
|
-
body:
|
|
38
|
-
encoding: UTF-8
|
|
39
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
40
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
41
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
42
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
43
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
44
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
45
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
46
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
47
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
48
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
49
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
50
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
51
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
52
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
53
|
-
use this\n domain in literature without prior coordination or asking for
|
|
54
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
55
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
56
|
-
recorded_at: Wed, 29 Mar 2023 17:44:18 GMT
|
|
57
|
-
recorded_with: VCR 6.1.0
|
data/spec/fixtures/404_200.yml
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: head
|
|
5
|
-
uri: https://www.example.org
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept-Encoding:
|
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
-
Accept:
|
|
13
|
-
- "*/*"
|
|
14
|
-
User-Agent:
|
|
15
|
-
- Ruby
|
|
16
|
-
Host:
|
|
17
|
-
- www.example.org
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 404
|
|
21
|
-
message: Not Found
|
|
22
|
-
headers:
|
|
23
|
-
Cache-Control:
|
|
24
|
-
- private
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Content-Type:
|
|
28
|
-
- text/html; charset=utf-8
|
|
29
|
-
Access-Control-Expose-Headers:
|
|
30
|
-
- Request-Context
|
|
31
|
-
Date:
|
|
32
|
-
- Wed, 29 Mar 2023 17:48:06 GMT
|
|
33
|
-
body:
|
|
34
|
-
encoding: UTF-8
|
|
35
|
-
string: ''
|
|
36
|
-
recorded_at: Wed, 29 Mar 2023 17:48:06 GMT
|
|
37
|
-
- request:
|
|
38
|
-
method: get
|
|
39
|
-
uri: https://www.example.org/
|
|
40
|
-
body:
|
|
41
|
-
encoding: US-ASCII
|
|
42
|
-
string: ''
|
|
43
|
-
headers:
|
|
44
|
-
Accept-Encoding:
|
|
45
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
46
|
-
Accept:
|
|
47
|
-
- "*/*"
|
|
48
|
-
User-Agent:
|
|
49
|
-
- Ruby
|
|
50
|
-
Host:
|
|
51
|
-
- www.example.org
|
|
52
|
-
response:
|
|
53
|
-
status:
|
|
54
|
-
code: 200
|
|
55
|
-
message: OK
|
|
56
|
-
headers:
|
|
57
|
-
Cache-Control:
|
|
58
|
-
- private
|
|
59
|
-
Transfer-Encoding:
|
|
60
|
-
- chunked
|
|
61
|
-
Content-Type:
|
|
62
|
-
- text/html; charset=utf-8
|
|
63
|
-
Vary:
|
|
64
|
-
- Accept-Encoding
|
|
65
|
-
Access-Control-Expose-Headers:
|
|
66
|
-
- Request-Context
|
|
67
|
-
Date:
|
|
68
|
-
- Wed, 29 Mar 2023 17:48:06 GMT
|
|
69
|
-
body:
|
|
70
|
-
encoding: UTF-8
|
|
71
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
72
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
73
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
74
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
75
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
76
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
77
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
78
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
79
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
80
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
81
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
82
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
83
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
84
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
85
|
-
use this\n domain in literature without prior coordination or asking for
|
|
86
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
87
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
88
|
-
recorded_at: Wed, 29 Mar 2023 17:48:07 GMT
|
|
89
|
-
recorded_with: VCR 6.1.0
|
data/spec/fixtures/404_404.yml
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: head
|
|
5
|
-
uri: https://www.example.org
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept-Encoding:
|
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
-
Accept:
|
|
13
|
-
- "*/*"
|
|
14
|
-
User-Agent:
|
|
15
|
-
- Ruby
|
|
16
|
-
Host:
|
|
17
|
-
- www.example.org
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 404
|
|
21
|
-
message: Not Found
|
|
22
|
-
headers:
|
|
23
|
-
Transfer-Encoding:
|
|
24
|
-
- chunked
|
|
25
|
-
Content-Type:
|
|
26
|
-
- text/html; charset=utf-8
|
|
27
|
-
Date:
|
|
28
|
-
- Wed, 29 Mar 2023 17:48:07 GMT
|
|
29
|
-
body:
|
|
30
|
-
encoding: UTF-8
|
|
31
|
-
string: ''
|
|
32
|
-
recorded_at: Wed, 29 Mar 2023 17:48:07 GMT
|
|
33
|
-
- request:
|
|
34
|
-
method: get
|
|
35
|
-
uri: https://www.example.org/
|
|
36
|
-
body:
|
|
37
|
-
encoding: US-ASCII
|
|
38
|
-
string: ''
|
|
39
|
-
headers:
|
|
40
|
-
Accept-Encoding:
|
|
41
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
42
|
-
Accept:
|
|
43
|
-
- "*/*"
|
|
44
|
-
User-Agent:
|
|
45
|
-
- Ruby
|
|
46
|
-
Host:
|
|
47
|
-
- www.example.org
|
|
48
|
-
response:
|
|
49
|
-
status:
|
|
50
|
-
code: 404
|
|
51
|
-
message: Not Found
|
|
52
|
-
headers:
|
|
53
|
-
Cache-Control:
|
|
54
|
-
- private
|
|
55
|
-
Transfer-Encoding:
|
|
56
|
-
- chunked
|
|
57
|
-
Content-Type:
|
|
58
|
-
- text/html; charset=utf-8
|
|
59
|
-
Date:
|
|
60
|
-
- Wed, 29 Mar 2023 17:48:07 GMT
|
|
61
|
-
body:
|
|
62
|
-
encoding: UTF-8
|
|
63
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
64
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
65
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
66
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
67
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
68
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
69
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
70
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
71
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
72
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
73
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
74
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
75
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
76
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
77
|
-
use this\n domain in literature without prior coordination or asking for
|
|
78
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
79
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
80
|
-
recorded_at: Wed, 29 Mar 2023 17:48:07 GMT
|
|
81
|
-
recorded_with: VCR 6.1.0
|
data/spec/fixtures/429_200.yml
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://www.example.org/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Index:
|
|
11
|
-
- 1
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby Link Checker/0.1.0
|
|
18
|
-
Host:
|
|
19
|
-
- www.example.org
|
|
20
|
-
response:
|
|
21
|
-
status:
|
|
22
|
-
code: 429
|
|
23
|
-
message: OK
|
|
24
|
-
headers:
|
|
25
|
-
Accept-Ranges:
|
|
26
|
-
- bytes
|
|
27
|
-
Age:
|
|
28
|
-
- '100798'
|
|
29
|
-
Cache-Control:
|
|
30
|
-
- max-age=604800
|
|
31
|
-
Content-Type:
|
|
32
|
-
- text/html; charset=UTF-8
|
|
33
|
-
Date:
|
|
34
|
-
- Sat, 01 Apr 2023 12:57:11 GMT
|
|
35
|
-
Etag:
|
|
36
|
-
- '"3147526947"'
|
|
37
|
-
Expires:
|
|
38
|
-
- Sat, 08 Apr 2023 12:57:11 GMT
|
|
39
|
-
Last-Modified:
|
|
40
|
-
- Thu, 17 Oct 2019 07:18:26 GMT
|
|
41
|
-
Server:
|
|
42
|
-
- ECS (nyb/1D2E)
|
|
43
|
-
Vary:
|
|
44
|
-
- Accept-Encoding
|
|
45
|
-
X-Cache:
|
|
46
|
-
- HIT
|
|
47
|
-
Content-Length:
|
|
48
|
-
- '648'
|
|
49
|
-
body:
|
|
50
|
-
encoding: UTF-8
|
|
51
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
52
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
53
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
54
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
55
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
56
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
57
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
58
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
59
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
60
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
61
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
62
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
63
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
64
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
65
|
-
use this\n domain in literature without prior coordination or asking for
|
|
66
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
67
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
68
|
-
recorded_at: Sat, 01 Apr 2023 12:57:11 GMT
|
|
69
|
-
- request:
|
|
70
|
-
method: get
|
|
71
|
-
uri: https://www.example.org/
|
|
72
|
-
body:
|
|
73
|
-
encoding: US-ASCII
|
|
74
|
-
string: ''
|
|
75
|
-
headers:
|
|
76
|
-
Index:
|
|
77
|
-
- 2
|
|
78
|
-
Accept-Encoding:
|
|
79
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
80
|
-
Accept:
|
|
81
|
-
- "*/*"
|
|
82
|
-
User-Agent:
|
|
83
|
-
- Ruby Link Checker/0.1.0
|
|
84
|
-
Host:
|
|
85
|
-
- www.example.org
|
|
86
|
-
response:
|
|
87
|
-
status:
|
|
88
|
-
code: 200
|
|
89
|
-
message: OK
|
|
90
|
-
headers:
|
|
91
|
-
Accept-Ranges:
|
|
92
|
-
- bytes
|
|
93
|
-
Age:
|
|
94
|
-
- '100798'
|
|
95
|
-
Cache-Control:
|
|
96
|
-
- max-age=604800
|
|
97
|
-
Content-Type:
|
|
98
|
-
- text/html; charset=UTF-8
|
|
99
|
-
Date:
|
|
100
|
-
- Sat, 01 Apr 2023 12:57:11 GMT
|
|
101
|
-
Etag:
|
|
102
|
-
- '"3147526947"'
|
|
103
|
-
Expires:
|
|
104
|
-
- Sat, 08 Apr 2023 12:57:11 GMT
|
|
105
|
-
Last-Modified:
|
|
106
|
-
- Thu, 17 Oct 2019 07:18:26 GMT
|
|
107
|
-
Server:
|
|
108
|
-
- ECS (nyb/1D2E)
|
|
109
|
-
Vary:
|
|
110
|
-
- Accept-Encoding
|
|
111
|
-
X-Cache:
|
|
112
|
-
- HIT
|
|
113
|
-
Content-Length:
|
|
114
|
-
- '648'
|
|
115
|
-
body:
|
|
116
|
-
encoding: UTF-8
|
|
117
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
118
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
119
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
120
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
121
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
122
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
123
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
124
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
125
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
126
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
127
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
128
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
129
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
130
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
131
|
-
use this\n domain in literature without prior coordination or asking for
|
|
132
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
133
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
134
|
-
recorded_at: Sat, 01 Apr 2023 12:57:11 GMT
|
|
135
|
-
recorded_with: VCR 6.1.0
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: head
|
|
5
|
-
uri: https://www.example.org/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Index:
|
|
11
|
-
- 1
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby Link Checker/0.1.0
|
|
18
|
-
Host:
|
|
19
|
-
- www.example.org
|
|
20
|
-
response:
|
|
21
|
-
status:
|
|
22
|
-
code: 429
|
|
23
|
-
message: OK
|
|
24
|
-
headers:
|
|
25
|
-
Accept-Ranges:
|
|
26
|
-
- bytes
|
|
27
|
-
Age:
|
|
28
|
-
- '100798'
|
|
29
|
-
Cache-Control:
|
|
30
|
-
- max-age=604800
|
|
31
|
-
Content-Type:
|
|
32
|
-
- text/html; charset=UTF-8
|
|
33
|
-
Date:
|
|
34
|
-
- Sat, 01 Apr 2023 12:57:11 GMT
|
|
35
|
-
Etag:
|
|
36
|
-
- '"3147526947"'
|
|
37
|
-
Expires:
|
|
38
|
-
- Sat, 08 Apr 2023 12:57:11 GMT
|
|
39
|
-
Last-Modified:
|
|
40
|
-
- Thu, 17 Oct 2019 07:18:26 GMT
|
|
41
|
-
Server:
|
|
42
|
-
- ECS (nyb/1D2E)
|
|
43
|
-
Vary:
|
|
44
|
-
- Accept-Encoding
|
|
45
|
-
X-Cache:
|
|
46
|
-
- HIT
|
|
47
|
-
Content-Length:
|
|
48
|
-
- '648'
|
|
49
|
-
body:
|
|
50
|
-
encoding: UTF-8
|
|
51
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
52
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
53
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
54
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
55
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
56
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
57
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
58
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
59
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
60
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
61
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
62
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
63
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
64
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
65
|
-
use this\n domain in literature without prior coordination or asking for
|
|
66
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
67
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
68
|
-
recorded_at: Sat, 01 Apr 2023 12:57:11 GMT
|
|
69
|
-
- request:
|
|
70
|
-
method: head
|
|
71
|
-
uri: https://www.example.org/
|
|
72
|
-
body:
|
|
73
|
-
encoding: US-ASCII
|
|
74
|
-
string: ''
|
|
75
|
-
headers:
|
|
76
|
-
Index:
|
|
77
|
-
- 2
|
|
78
|
-
Accept-Encoding:
|
|
79
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
80
|
-
Accept:
|
|
81
|
-
- "*/*"
|
|
82
|
-
User-Agent:
|
|
83
|
-
- Ruby Link Checker/0.1.0
|
|
84
|
-
Host:
|
|
85
|
-
- www.example.org
|
|
86
|
-
response:
|
|
87
|
-
status:
|
|
88
|
-
code: 429
|
|
89
|
-
message: OK
|
|
90
|
-
headers:
|
|
91
|
-
Accept-Ranges:
|
|
92
|
-
- bytes
|
|
93
|
-
Age:
|
|
94
|
-
- '100798'
|
|
95
|
-
Cache-Control:
|
|
96
|
-
- max-age=604800
|
|
97
|
-
Content-Type:
|
|
98
|
-
- text/html; charset=UTF-8
|
|
99
|
-
Date:
|
|
100
|
-
- Sat, 01 Apr 2023 12:57:11 GMT
|
|
101
|
-
Etag:
|
|
102
|
-
- '"3147526947"'
|
|
103
|
-
Expires:
|
|
104
|
-
- Sat, 08 Apr 2023 12:57:11 GMT
|
|
105
|
-
Last-Modified:
|
|
106
|
-
- Thu, 17 Oct 2019 07:18:26 GMT
|
|
107
|
-
Server:
|
|
108
|
-
- ECS (nyb/1D2E)
|
|
109
|
-
Vary:
|
|
110
|
-
- Accept-Encoding
|
|
111
|
-
X-Cache:
|
|
112
|
-
- HIT
|
|
113
|
-
Content-Length:
|
|
114
|
-
- '648'
|
|
115
|
-
body:
|
|
116
|
-
encoding: UTF-8
|
|
117
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
118
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
119
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
120
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
121
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
122
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
123
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
124
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
125
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
126
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
127
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
128
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
129
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
130
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
131
|
-
use this\n domain in literature without prior coordination or asking for
|
|
132
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
133
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
134
|
-
recorded_at: Sat, 01 Apr 2023 12:57:11 GMT
|
|
135
|
-
- request:
|
|
136
|
-
method: get
|
|
137
|
-
uri: https://www.example.org/
|
|
138
|
-
body:
|
|
139
|
-
encoding: US-ASCII
|
|
140
|
-
string: ''
|
|
141
|
-
headers:
|
|
142
|
-
Index:
|
|
143
|
-
- 3
|
|
144
|
-
Accept-Encoding:
|
|
145
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
146
|
-
Accept:
|
|
147
|
-
- "*/*"
|
|
148
|
-
User-Agent:
|
|
149
|
-
- Ruby Link Checker/0.1.0
|
|
150
|
-
Host:
|
|
151
|
-
- www.example.org
|
|
152
|
-
response:
|
|
153
|
-
status:
|
|
154
|
-
code: 200
|
|
155
|
-
message: OK
|
|
156
|
-
headers:
|
|
157
|
-
Accept-Ranges:
|
|
158
|
-
- bytes
|
|
159
|
-
Age:
|
|
160
|
-
- '100798'
|
|
161
|
-
Cache-Control:
|
|
162
|
-
- max-age=604800
|
|
163
|
-
Content-Type:
|
|
164
|
-
- text/html; charset=UTF-8
|
|
165
|
-
Date:
|
|
166
|
-
- Sat, 01 Apr 2023 12:57:11 GMT
|
|
167
|
-
Etag:
|
|
168
|
-
- '"3147526947"'
|
|
169
|
-
Expires:
|
|
170
|
-
- Sat, 08 Apr 2023 12:57:11 GMT
|
|
171
|
-
Last-Modified:
|
|
172
|
-
- Thu, 17 Oct 2019 07:18:26 GMT
|
|
173
|
-
Server:
|
|
174
|
-
- ECS (nyb/1D2E)
|
|
175
|
-
Vary:
|
|
176
|
-
- Accept-Encoding
|
|
177
|
-
X-Cache:
|
|
178
|
-
- HIT
|
|
179
|
-
Content-Length:
|
|
180
|
-
- '648'
|
|
181
|
-
body:
|
|
182
|
-
encoding: UTF-8
|
|
183
|
-
string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
|
184
|
-
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
|
185
|
-
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
|
186
|
-
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
|
187
|
-
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
|
|
188
|
-
system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
|
|
189
|
-
Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
|
|
190
|
-
600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
|
|
191
|
-
#fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
|
|
192
|
-
rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
|
|
193
|
-
\ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
|
|
194
|
-
{\n margin: 0 auto;\n width: auto;\n }\n }\n
|
|
195
|
-
\ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
|
196
|
-
\ <p>This domain is for use in illustrative examples in documents. You may
|
|
197
|
-
use this\n domain in literature without prior coordination or asking for
|
|
198
|
-
permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
|
|
199
|
-
information...</a></p>\n</div>\n</body>\n</html>\n"
|
|
200
|
-
recorded_at: Sat, 01 Apr 2023 12:57:11 GMT
|
|
201
|
-
recorded_with: VCR 6.1.0
|