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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +153 -19
  4. data/UPGRADING.md +46 -0
  5. data/lib/ruby-link-checker/async/http/checker.rb +19 -6
  6. data/lib/ruby-link-checker/async/http/result.rb +1 -1
  7. data/lib/ruby-link-checker/cache.rb +90 -21
  8. data/lib/ruby-link-checker/checker.rb +136 -13
  9. data/lib/ruby-link-checker/config.rb +79 -0
  10. data/lib/ruby-link-checker/net/http/checker.rb +3 -2
  11. data/lib/ruby-link-checker/net/http/result.rb +1 -1
  12. data/lib/ruby-link-checker/redirect.rb +11 -0
  13. data/lib/ruby-link-checker/result.rb +96 -1
  14. data/lib/ruby-link-checker/tasks.rb +24 -12
  15. data/lib/ruby-link-checker/typhoeus/hydra/checker.rb +59 -11
  16. data/lib/ruby-link-checker/typhoeus/hydra/result.rb +1 -1
  17. data/lib/ruby-link-checker/version.rb +1 -1
  18. data/lib/ruby-link-checker.rb +1 -0
  19. metadata +18 -51
  20. data/.github/workflows/coverage.yml +0 -24
  21. data/.github/workflows/danger-comment.yml +0 -17
  22. data/.github/workflows/danger.yml +0 -12
  23. data/.github/workflows/lint.yml +0 -20
  24. data/.github/workflows/release.yml +0 -14
  25. data/.github/workflows/test.yml +0 -25
  26. data/.gitignore +0 -6
  27. data/.rspec +0 -2
  28. data/.rubocop.yml +0 -26
  29. data/.rubocop_todo.yml +0 -332
  30. data/AGENTS.md +0 -23
  31. data/CONTRIBUTING.md +0 -129
  32. data/Dangerfile +0 -6
  33. data/Gemfile +0 -27
  34. data/RELEASING.md +0 -37
  35. data/Rakefile +0 -26
  36. data/benchmarks/check.rb +0 -38
  37. data/benchmarks/data/opensearch.org/links.txt +0 -4270
  38. data/benchmarks/data/opensearch.org/small.txt +0 -100
  39. data/ruby-link-checker.gemspec +0 -22
  40. data/spec/fixtures/200.yml +0 -65
  41. data/spec/fixtures/301_200.yml +0 -102
  42. data/spec/fixtures/301_301.yml +0 -114
  43. data/spec/fixtures/301_400_301_200.yml +0 -185
  44. data/spec/fixtures/301_403.yml +0 -78
  45. data/spec/fixtures/308_429.yml +0 -108
  46. data/spec/fixtures/404.yml +0 -57
  47. data/spec/fixtures/404_200.yml +0 -89
  48. data/spec/fixtures/404_404.yml +0 -81
  49. data/spec/fixtures/429_200.yml +0 -135
  50. data/spec/fixtures/429_429_200.yml +0 -201
  51. data/spec/ruby-link-checker/async/http/checker_spec.rb +0 -184
  52. data/spec/ruby-link-checker/callbacks_spec.rb +0 -76
  53. data/spec/ruby-link-checker/checker_spec.rb +0 -97
  54. data/spec/ruby-link-checker/config_spec.rb +0 -45
  55. data/spec/ruby-link-checker/errors/redirect_loop_error_spec.rb +0 -18
  56. data/spec/ruby-link-checker/net/http/checker_spec.rb +0 -93
  57. data/spec/ruby-link-checker/result_error_spec.rb +0 -34
  58. data/spec/ruby-link-checker/result_spec.rb +0 -41
  59. data/spec/ruby-link-checker/task_spec.rb +0 -20
  60. data/spec/ruby-link-checker/tasks_spec.rb +0 -91
  61. data/spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb +0 -180
  62. data/spec/ruby-link-checker/version_spec.rb +0 -9
  63. data/spec/spec_helper.rb +0 -19
  64. data/spec/support/config.rb +0 -8
  65. data/spec/support/link_checker.rb +0 -609
  66. data/spec/support/vcr.rb +0 -13
  67. data/spec/support/with_result.rb +0 -15
  68. data/spec/support/with_url.rb +0 -14
@@ -1,100 +0,0 @@
1
- https://hub.docker.com/r/opensearchproject/data-prepper/tags?page=1&ordering=last_updated&name=1.2.0
2
- https://opensearch.org/docs/security-plugin/access-control/default-action-groups
3
- https://opensearch.org/blog/partners/2022/02/roadmap-proposal
4
- https://github.com/bottlerocket-os/bottlerocket/discussions
5
- https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/272
6
- https://github.com/opensearch-project/documentation-website/blob/main/CONTRIBUTING.md
7
- https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.2/opensearch-1.3.2-linux-arm64.tar.gz
8
- https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.1.0.md
9
- https://www.featurestore.org/what-is-a-feature-store
10
- https://opensearch.org/docs/security-plugin/access-control/index
11
- https://github.com/lobdelle
12
- https://ubuntu.com
13
- https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/1.3.3/opensearch-dashboards-1.3.3-linux-x64.rpm
14
- https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.6/opensearch-1.3.6-linux-x64.rpm
15
- https://github.com/opendistro-for-elasticsearch/anomaly-detection
16
- https://github.com/opendistro-for-elasticsearch/sql/pull/178
17
- https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.4.0.md
18
- https://hub.docker.com/r/amazon/opendistro-for-elasticsearch-kibana
19
- https://github.com/opensearch-project/OpenSearch-Dashboards/blob/1.2/src/core/server/plugins/discovery/plugins_discovery.ts#L65
20
- https://opensearch.org/docs/2.0
21
- https://github.com/opendistro-for-elasticsearch
22
- https://hub.docker.com/r/opensearchproject/opensearch-dashboards/tags?page=1&ordering=last_updated&name=1.0.0-rc1
23
- https://docs.metarank.ai/reference/overview/supported-ranking-models
24
- https://www.youtube.com/c/OpenSearchProject
25
- https://hub.docker.com/r/opensearchproject/logstash-oss-with-opensearch-output-plugin
26
- https://artifacts.opensearch.org/releases/bundle/opensearch/2.3.0/opensearch-2.3.0-linux-x64.rpm
27
- https://github.com/opendistro-for-elasticsearch/sql/pull/180
28
- https://github.com/aiven/sql-cli-for-apache-flink-docker
29
- https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-netflow.html
30
- https://github.com/opensearch-project/index-management
31
- https://github.com/opensearch-project/OpenSearch/blob/f54cc382d53f76b4edefc919cc69192dee456b33/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchCluster.java#L417
32
- https://github.com/opensearch-project/opensearch-build/issues/126
33
- https://discuss.opendistrocommunity.dev/u/ginger
34
- https://github.com/liujoycec
35
- https://opensearch.org/docs/security-plugin/configuration/yaml/#rolesyml
36
- https://opendistro.github.io/for-elasticsearch-docs/docs/ism
37
- https://github.com/opendistro-for-elasticsearch/perftop/commit/73aff7068b330100e47ccf1bb89f8b009a60018a
38
- https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.7/opensearch-1.3.7-linux-x64.rpm
39
- https://developer.aiven.io/docs/products/opensearch
40
- https://github.com/opensearch-project/alerting/issues
41
- https://opensearch.org/docs/2.5/dashboards/maps-plugin
42
- https://github.com/opendistro-for-elasticsearch/index-management-kibana-plugin
43
- https://github.com/kgcreative
44
- https://opster.com
45
- https://github.com/dai-chen
46
- https://github.com/opensearch-project/data-prepper/issues/1007
47
- https://github.com/opensearch-project/dashboards-notebooks
48
- https://opendistro.github.io/for-elasticsearch-docs/docs/sql/complex
49
- https://github.com/opensearch-project/OpenSearch/pull/1336
50
- https://aws.amazon.com/blogs/opensource/introducing-opensearch
51
- https://forum.opensearch.org/t/feedback-neural-search-plugin-experimental-release/11501/1
52
- https://github.com/nickytd
53
- https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/plugins/EnginePlugin.java
54
- https://github.com/svencowart
55
- https://artifacts.opensearch.org/data-prepper/2.0.0/opensearch-data-prepper-jdk-2.0.0-linux-x64.tar.gz
56
- https://pytorch.org/docs/stable/jit.html
57
- https://github.com/svencowart
58
- https://github.com/opensearch-project/OpenSearch-Dashboards/issues/2280
59
- https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-module-security.html
60
- https://opentelemetry.io/docs/reference/specification/metrics
61
- https://jelastic.cloud
62
- https://github.com/davidcui1225
63
- https://login.oracle.com/mysso/signon.jsp
64
- https://hub.docker.com/r/opensearchproject/data-prepper/tags?page=1&ordering=last_updated&name=1.3.0
65
- https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.1.0/opensearch-dashboards-2.1.0-linux-arm64.tar.gz
66
- https://artifacts.opensearch.org/releases/core/opensearch/2.6.0/opensearch-min-2.6.0-linux-arm64.tar.gz.sig
67
- https://github.com/opensearch-project/sql/blob/main/docs/user/interfaces/protocol.rst
68
- https://opensearch.org/versions/opensearch-2-0-0.html
69
- https://raw.githubusercontent.com/frikky/Shuffle/master/LICENSE
70
- https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/1.3.9/opensearch-dashboards-1.3.9-linux-arm64.rpm
71
- https://opensearch.org/versions/opensearch-1-0-0.html
72
- https://hub.docker.com/r/opensearchproject/opensearch-dashboards/tags?page=1&ordering=last_updated&name=1.3.2
73
- https://github.com/opendistro-for-elasticsearch/alerting/pull/95
74
- https://opensearch.org/docs/latest/api-reference/document-apis/reindex
75
- https://forum.opensearch.org
76
- https://github.com/AmiStrn
77
- https://github.com/opendistro-for-elasticsearch/sql/pull/163
78
- https://opster.com/docs/omc/how-to-install-the-opster-management-console
79
- https://dzone.com/articles/release-snapshots-smart#:~:text=A%20release%20manifest%20contains%20the,signatures%20from%20sender%20and%20receiver.
80
- https://github.com/elastic/elasticsearch-py
81
- https://www.elastic.co/guide/en/beats/auditbeat/master/auditbeat-module-file_integrity.html
82
- https://github.com/Opster/opensearch-k8s-operator#getting-started
83
- https://huggingface.co/sentence-transformers/msmarco-distilbert-base-tas-b
84
- https://opendistro.github.io/for-elasticsearch-docs/docs/sql/settings
85
- https://aws.amazon.com/blogs/opensource/open-distro-for-elasticsearch-saml-okta
86
- https://artifacts.opensearch.org/releases/bundle/opensearch/1.2.1/opensearch-1.2.1-linux-arm64.tar.gz
87
- https://github.com/opensearch-project/anomaly-detection/blob/main/src/main/plugin-metadata/plugin-security.policy
88
- https://github.com/aiven/opensearch-connector-for-apache-kafka
89
- https://hackaday.com/2022/06/09/a-linux-distribution-for-doom
90
- https://github.com/nknize
91
- https://23.foss-backstage.de
92
- https://endoflife.date/java
93
- https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-7.13.2-linux-x64.tar.gz
94
- https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/design.md#pipelines
95
- https://github.com/opensearch-project/OpenSearch/issues/1968
96
- https://aws.amazon.com/sqs
97
- https://github.com/dowjones/opensearch-blog/tree/master/source
98
- https://hackmd.io/@HmdZWaVnQU6M8icdvC5TwQ/SJ9a9eYcK?both=
99
- https://github.com/opensearch-project/k-NN/tree/1.3.1.0/benchmarks/perf-tool
100
- https://aws.amazon.com/blogs/opensource/open-distro-for-elasticsearch-single-sign-on-saml-adfs
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $LOAD_PATH.push File.expand_path('lib', __dir__)
4
- require 'ruby-link-checker/version'
5
-
6
- Gem::Specification.new do |s|
7
- s.name = 'ruby-link-checker'
8
- s.version = LinkChecker::VERSION
9
- s.authors = ['Daniel Doubrovkine']
10
- s.email = 'dblock@dblock.org'
11
- s.platform = Gem::Platform::RUBY
12
- s.required_rubygems_version = '>= 1.3.6'
13
- s.required_ruby_version = '>= 3.3'
14
- s.files = IO.popen(%w[git ls-files -z], &:read).split("\0")
15
- s.require_paths = ['lib']
16
- s.homepage = 'http://github.com/dblock/ruby-link-checker'
17
- s.licenses = ['MIT']
18
- s.summary = 'Fast ruby link checker.'
19
- s.metadata['rubygems_mfa_required'] = 'true'
20
- s.add_development_dependency 'async-http'
21
- s.add_development_dependency 'typhoeus'
22
- end
@@ -1,65 +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: 200
21
- message: OK
22
- headers:
23
- Accept-Ranges:
24
- - bytes
25
- Age:
26
- - '474678'
27
- Cache-Control:
28
- - max-age=604800
29
- Content-Type:
30
- - text/html; charset=UTF-8
31
- Date:
32
- - Wed, 29 Mar 2023 16:16:22 GMT
33
- Expires:
34
- - Wed, 05 Apr 2023 16:16:22 GMT
35
- Last-Modified:
36
- - Thu, 17 Oct 2019 07:18:26 GMT
37
- Server:
38
- - Example.org
39
- Vary:
40
- - Accept-Encoding
41
- X-Cache:
42
- - HIT
43
- Content-Length:
44
- - '648'
45
- body:
46
- encoding: UTF-8
47
- string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
48
- \ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
49
- charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
50
- initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
51
- #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
52
- system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
53
- Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
54
- 600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
55
- #fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
56
- rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
57
- \ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
58
- {\n margin: 0 auto;\n width: auto;\n }\n }\n
59
- \ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
60
- \ <p>This domain is for use in illustrative examples in documents. You may
61
- use this\n domain in literature without prior coordination or asking for
62
- permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
63
- information...</a></p>\n</div>\n</body>\n</html>\n"
64
- recorded_at: Wed, 29 Mar 2023 16:16:22 GMT
65
- recorded_with: VCR 6.1.0
@@ -1,102 +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: 301
21
- message: Moved Permanently
22
- headers:
23
- Connection:
24
- - keep-alive
25
- Content-Length:
26
- - '162'
27
- Server:
28
- - Example.org
29
- Content-Type:
30
- - text/html
31
- Location:
32
- - https://www.dblock.org/
33
- X-Github-Request-Id:
34
- - 18E4:5EF8:5BC5E9:75D292:6425C766
35
- Accept-Ranges:
36
- - bytes
37
- Date:
38
- - Thu, 30 Mar 2023 17:31:18 GMT
39
- body:
40
- encoding: UTF-8
41
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301
42
- Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
43
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
44
- - request:
45
- method: get
46
- uri: https://www.dblock.org/
47
- body:
48
- encoding: US-ASCII
49
- string: ''
50
- headers:
51
- Accept-Encoding:
52
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
- Accept:
54
- - "*/*"
55
- User-Agent:
56
- - Ruby
57
- Host:
58
- - www.example.org
59
- response:
60
- status:
61
- code: 200
62
- message: OK
63
- headers:
64
- Connection:
65
- - keep-alive
66
- Content-Length:
67
- - '2428'
68
- Server:
69
- - Example.org
70
- Content-Type:
71
- - text/html; charset=utf-8
72
- Last-Modified:
73
- - Sat, 09 Jun 2018 03:06:53 GMT
74
- Access-Control-Allow-Origin:
75
- - "*"
76
- Expires:
77
- - Thu, 30 Mar 2023 17:41:18 GMT
78
- Date:
79
- - Thu, 30 Mar 2023 17:31:18 GMT
80
- Vary:
81
- - Accept-Encoding
82
- body:
83
- encoding: UTF-8
84
- string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
85
- \ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
86
- charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
87
- initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
88
- #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
89
- system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
90
- Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
91
- 600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
92
- #fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
93
- rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
94
- \ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
95
- {\n margin: 0 auto;\n width: auto;\n }\n }\n
96
- \ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
97
- \ <p>This domain is for use in illustrative examples in documents. You may
98
- use this\n domain in literature without prior coordination or asking for
99
- permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
100
- information...</a></p>\n</div>\n</body>\n</html>\n"
101
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
102
- recorded_with: VCR 6.1.0
@@ -1,114 +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: 301
21
- message: Moved Permanently
22
- headers:
23
- Connection:
24
- - keep-alive
25
- Content-Length:
26
- - '162'
27
- Server:
28
- - Example.org
29
- Content-Type:
30
- - text/html
31
- Location:
32
- - https://www.example.org/
33
- X-Github-Request-Id:
34
- - 18E4:5EF8:5BC5E9:75D292:6425C766
35
- Accept-Ranges:
36
- - bytes
37
- Date:
38
- - Thu, 30 Mar 2023 17:33:09 GMT
39
- Via:
40
- - 1.1 varnish
41
- Age:
42
- - '111'
43
- X-Served-By:
44
- - cache-lga21931-LGA
45
- X-Cache:
46
- - HIT
47
- X-Cache-Hits:
48
- - '1'
49
- X-Timer:
50
- - S1680197590.621097,VS0,VE1
51
- Vary:
52
- - Accept-Encoding
53
- X-Fastly-Request-Id:
54
- - 53ae31782b812d1566298816280cd48542d5735d
55
- body:
56
- encoding: UTF-8
57
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301
58
- Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
59
- recorded_at: Thu, 30 Mar 2023 17:33:09 GMT
60
- - request:
61
- method: get
62
- uri: https://www.example.org/
63
- body:
64
- encoding: US-ASCII
65
- string: ''
66
- headers:
67
- Accept-Encoding:
68
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
69
- Accept:
70
- - "*/*"
71
- User-Agent:
72
- - Ruby
73
- Host:
74
- - www.example.org
75
- response:
76
- status:
77
- code: 301
78
- message: OK
79
- headers:
80
- Location:
81
- - "/"
82
- Connection:
83
- - keep-alive
84
- Content-Length:
85
- - '2428'
86
- Server:
87
- - Example.org
88
- Content-Type:
89
- - text/html; charset=utf-8
90
- Last-Modified:
91
- - Sat, 09 Jun 2018 03:06:53 GMT
92
- Access-Control-Allow-Origin:
93
- - "*"
94
- body:
95
- encoding: UTF-8
96
- string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
97
- \ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
98
- charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
99
- initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
100
- #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
101
- system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
102
- Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
103
- 600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
104
- #fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
105
- rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
106
- \ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
107
- {\n margin: 0 auto;\n width: auto;\n }\n }\n
108
- \ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
109
- \ <p>This domain is for use in illustrative examples in documents. You may
110
- use this\n domain in literature without prior coordination or asking for
111
- permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
112
- information...</a></p>\n</div>\n</body>\n</html>\n"
113
- recorded_at: Thu, 30 Mar 2023 17:33:09 GMT
114
- recorded_with: VCR 6.1.0
@@ -1,185 +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: 301
21
- message: Moved Permanently
22
- headers:
23
- Connection:
24
- - keep-alive
25
- Content-Length:
26
- - '162'
27
- Server:
28
- - Example.org
29
- Content-Type:
30
- - text/html
31
- Location:
32
- - https://www.dblock.org/
33
- X-Github-Request-Id:
34
- - 18E4:5EF8:5BC5E9:75D292:6425C766
35
- Accept-Ranges:
36
- - bytes
37
- Date:
38
- - Thu, 30 Mar 2023 17:31:18 GMT
39
- body:
40
- encoding: UTF-8
41
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301
42
- Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
43
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
44
- - request:
45
- method: head
46
- uri: https://www.dblock.org/
47
- body:
48
- encoding: US-ASCII
49
- string: ''
50
- headers:
51
- Accept-Encoding:
52
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
- Accept:
54
- - "*/*"
55
- User-Agent:
56
- - Ruby
57
- Host:
58
- - www.example.org
59
- response:
60
- status:
61
- code: 400
62
- message: OK
63
- headers:
64
- Connection:
65
- - keep-alive
66
- Content-Length:
67
- - '2428'
68
- Server:
69
- - Example.org
70
- Content-Type:
71
- - text/html; charset=utf-8
72
- Last-Modified:
73
- - Sat, 09 Jun 2018 03:06:53 GMT
74
- Access-Control-Allow-Origin:
75
- - "*"
76
- Expires:
77
- - Thu, 30 Mar 2023 17:41:18 GMT
78
- Date:
79
- - Thu, 30 Mar 2023 17:31:18 GMT
80
- Vary:
81
- - Accept-Encoding
82
- body:
83
- encoding: UTF-8
84
- string: "Internal Server Error\n"
85
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
86
- - request:
87
- method: get
88
- uri: https://www.example.org/
89
- body:
90
- encoding: US-ASCII
91
- string: ''
92
- headers:
93
- Accept-Encoding:
94
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
95
- Accept:
96
- - "*/*"
97
- User-Agent:
98
- - Ruby
99
- Host:
100
- - www.example.org
101
- response:
102
- status:
103
- code: 301
104
- message: Moved Permanently
105
- headers:
106
- Connection:
107
- - keep-alive
108
- Content-Length:
109
- - '162'
110
- Server:
111
- - Example.org
112
- Content-Type:
113
- - text/html
114
- Location:
115
- - https://www.dblock.org/
116
- X-Github-Request-Id:
117
- - 18E4:5EF8:5BC5E9:75D292:6425C766
118
- Accept-Ranges:
119
- - bytes
120
- Date:
121
- - Thu, 30 Mar 2023 17:31:18 GMT
122
- body:
123
- encoding: UTF-8
124
- string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301
125
- Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
126
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
127
- - request:
128
- method: get
129
- uri: https://www.dblock.org/
130
- body:
131
- encoding: US-ASCII
132
- string: ''
133
- headers:
134
- Accept-Encoding:
135
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
136
- Accept:
137
- - "*/*"
138
- User-Agent:
139
- - Ruby
140
- Host:
141
- - www.example.org
142
- response:
143
- status:
144
- code: 200
145
- message: OK
146
- headers:
147
- Connection:
148
- - keep-alive
149
- Content-Length:
150
- - '2428'
151
- Server:
152
- - Example.org
153
- Content-Type:
154
- - text/html; charset=utf-8
155
- Last-Modified:
156
- - Sat, 09 Jun 2018 03:06:53 GMT
157
- Access-Control-Allow-Origin:
158
- - "*"
159
- Expires:
160
- - Thu, 30 Mar 2023 17:41:18 GMT
161
- Date:
162
- - Thu, 30 Mar 2023 17:31:18 GMT
163
- Vary:
164
- - Accept-Encoding
165
- body:
166
- encoding: UTF-8
167
- string: "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
168
- \ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
169
- charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
170
- initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
171
- #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system,
172
- system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\",
173
- Helvetica, Arial, sans-serif;\n \n }\n div {\n width:
174
- 600px;\n margin: 5em auto;\n padding: 2em;\n background-color:
175
- #fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px
176
- rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38488f;\n
177
- \ text-decoration: none;\n }\n @media (max-width: 700px) {\n div
178
- {\n margin: 0 auto;\n width: auto;\n }\n }\n
179
- \ </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
180
- \ <p>This domain is for use in illustrative examples in documents. You may
181
- use this\n domain in literature without prior coordination or asking for
182
- permission.</p>\n <p><a href=\"https://www.iana.org/domains/example\">More
183
- information...</a></p>\n</div>\n</body>\n</html>\n"
184
- recorded_at: Thu, 30 Mar 2023 17:31:18 GMT
185
- recorded_with: VCR 6.1.0
@@ -1,78 +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: 301
21
- message: Moved Permanently
22
- headers:
23
- Date:
24
- - Thu, 30 Mar 2023 17:29:41 GMT
25
- Transfer-Encoding:
26
- - chunked
27
- Connection:
28
- - keep-alive
29
- Cache-Control:
30
- - max-age=3600
31
- Expires:
32
- - Thu, 30 Mar 2023 18:29:41 GMT
33
- Location:
34
- - https://www.dblock.org/
35
- Vary:
36
- - Accept-Encoding
37
- Server:
38
- - Example.org
39
- body:
40
- encoding: UTF-8
41
- string: ''
42
- recorded_at: Thu, 30 Mar 2023 17:29:41 GMT
43
- - request:
44
- method: get
45
- uri: https://www.dblock.org/
46
- body:
47
- encoding: US-ASCII
48
- string: ''
49
- headers:
50
- Accept-Encoding:
51
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
52
- Accept:
53
- - "*/*"
54
- User-Agent:
55
- - Ruby
56
- Host:
57
- - www.example.org
58
- response:
59
- status:
60
- code: 403
61
- message: Forbidden
62
- headers:
63
- Server:
64
- - Example.org
65
- Date:
66
- - Thu, 30 Mar 2023 17:29:41 GMT
67
- Content-Type:
68
- - text/html
69
- Content-Length:
70
- - '151'
71
- Connection:
72
- - keep-alive
73
- body:
74
- encoding: UTF-8
75
- string: "<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body>\r\n<center><h1>403
76
- Forbidden</h1></center>\r\n<hr><center>cloudflare</center>\r\n</body>\r\n</html>\r\n"
77
- recorded_at: Thu, 30 Mar 2023 17:29:41 GMT
78
- recorded_with: VCR 6.1.0