bolognese 0.9.45 → 0.9.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/doi_utils.rb +5 -0
- data/lib/bolognese/readers/datacite_reader.rb +1 -2
- data/lib/bolognese/version.rb +1 -1
- data/spec/doi_utils_spec.rb +44 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi_with_protocol.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/dx_doi_org_url.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/force_test_resolver.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/https_url.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver.yml +79 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver_http.yml +79 -0
- metadata +8 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7797d0eb575e248df6f2a7fa6b9806c0dc166ec
|
4
|
+
data.tar.gz: bd1adf9c5fec64c87408287854178b074390ae65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a929bf6e33910197944b88e8cd9b2ef44470041a867e8df488035c251ed9d0d9b67f7b6fa67688b84b9646731e4f505515b5c47e9d3990d4c1be8d7f25a8d9b8
|
7
|
+
data.tar.gz: 1891598d3c473341582e2dab465b1a5bbe6dd8c6b3e5a29f3e475a928879dea32c266bad2120590c11a8807d6e32471e77be16193a4bae7568dd88b79ed26349
|
data/Gemfile.lock
CHANGED
data/lib/bolognese/doi_utils.rb
CHANGED
@@ -15,6 +15,11 @@ module Bolognese
|
|
15
15
|
sandbox.present? || options[:sandbox] ? "https://handle.test.datacite.org/" : "https://doi.org/"
|
16
16
|
end
|
17
17
|
|
18
|
+
def doi_search(doi, options={})
|
19
|
+
sandbox = Array(/handle.test.datacite.org/.match(doi)).last
|
20
|
+
sandbox.present? || options[:sandbox] ? "https://search.test.datacite.org/api" : "https://search.datacite.org/api"
|
21
|
+
end
|
22
|
+
|
18
23
|
def normalize_doi(doi, options={})
|
19
24
|
doi_str = validate_doi(doi)
|
20
25
|
return nil unless doi_str.present?
|
@@ -4,9 +4,8 @@ module Bolognese
|
|
4
4
|
def get_datacite(id: nil, **options)
|
5
5
|
return nil unless id.present?
|
6
6
|
|
7
|
-
search_url = options[:sandbox] ? "https://search.test.datacite.org/api" : "https://search.datacite.org/api"
|
8
|
-
|
9
7
|
doi = doi_from_url(id)
|
8
|
+
search_url = doi_search(id, options)
|
10
9
|
url = search_url + "?q=doi:#{doi}&fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&wt=json"
|
11
10
|
|
12
11
|
response = Maremma.get url
|
data/lib/bolognese/version.rb
CHANGED
data/spec/doi_utils_spec.rb
CHANGED
@@ -49,6 +49,50 @@ describe Bolognese::Metadata, vcr: true do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
context "doi search" do
|
53
|
+
it "doi" do
|
54
|
+
doi = "10.5061/DRYAD.8515"
|
55
|
+
response = subject.doi_search(doi)
|
56
|
+
expect(response).to eq("https://search.datacite.org/api")
|
57
|
+
end
|
58
|
+
|
59
|
+
it "doi with protocol" do
|
60
|
+
doi = "doi:10.5061/DRYAD.8515"
|
61
|
+
response = subject.doi_search(doi)
|
62
|
+
expect(response).to eq("https://search.datacite.org/api")
|
63
|
+
end
|
64
|
+
|
65
|
+
it "https url" do
|
66
|
+
doi = "https://doi.org/10.5061/dryad.8515"
|
67
|
+
response = subject.doi_search(doi)
|
68
|
+
expect(response).to eq("https://search.datacite.org/api")
|
69
|
+
end
|
70
|
+
|
71
|
+
it "dx.doi.org url" do
|
72
|
+
doi = "http://dx.doi.org/10.5061/dryad.8515"
|
73
|
+
response = subject.doi_search(doi)
|
74
|
+
expect(response).to eq("https://search.datacite.org/api")
|
75
|
+
end
|
76
|
+
|
77
|
+
it "test resolver" do
|
78
|
+
doi = "https://handle.test.datacite.org/10.5061/dryad.8515"
|
79
|
+
response = subject.doi_search(doi)
|
80
|
+
expect(response).to eq("https://search.test.datacite.org/api")
|
81
|
+
end
|
82
|
+
|
83
|
+
it "test resolver http" do
|
84
|
+
doi = "http://handle.test.datacite.org/10.5061/dryad.8515"
|
85
|
+
response = subject.doi_search(doi)
|
86
|
+
expect(response).to eq("https://search.test.datacite.org/api")
|
87
|
+
end
|
88
|
+
|
89
|
+
it "force test resolver" do
|
90
|
+
doi = "https://doi.org/10.5061/dryad.8515"
|
91
|
+
response = subject.doi_search(doi, sandbox: true)
|
92
|
+
expect(response).to eq("https://search.test.datacite.org/api")
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
52
96
|
context "normalize doi" do
|
53
97
|
it "doi" do
|
54
98
|
doi = "10.5061/DRYAD.8515"
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs4-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:43 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgIDxzdXJuYW1lPkZlbm5lcjwvc3VybmFtZT4NCiAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xNDE5LTI0MDU8L09SQ0lEPg0KICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgPGdpdmVuX25hbWU+TWVyY8OoPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgPHN1cm5hbWU+Q3Jvc2FzPC9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vaV9yZWNvcmRzPg==
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:44 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:44 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:45 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- cr7-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:45 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICA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WQiPg0KICAgICAgICAgICAgPGl0ZW0gY3Jhd2xlcj0iaVBhcmFkaWdtcyI+DQogICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:45 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:45 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:45 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs4-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:42 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbn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Bvc2l0b3JpZXMuPC9wPg0KICAgICAgICA8L2Fic3RyYWN0Pg0KICAgICAgICA8ZG9pX2RhdGE+DQogICAgICAgICAgPGRvaT4xMC4xMTAxLzA5NzE5NjwvZG9pPg0KICAgICAgICAgIDx0aW1lc3RhbXA+MjAxNjEyMjgyMjEwMDY0OTAwMDwvdGltZXN0YW1wPg0KICAgICAgICAgIDxyZXNvdXJjZT5odHRwOi8vYmlvcnhpdi5vcmcvbG9va3VwL2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgPGNvbGxlY3Rpb24gcHJvcGVydHk9ImNyYXdsZXItYmFzZWQiPg0KICAgICAgICAgICAgPGl0ZW0gY3Jhd2xlcj0iaVBhcmFkaWdtcyI+DQogICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:43 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:43 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:43 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs2-2
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:41 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgIDxzdXJuYW1lPkZlbm5lcjwvc3VybmFtZT4NCiAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xNDE5LTI0MDU8L09SQ0lEPg0KICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgPGdpdmVuX25hbWU+TWVyY8OoPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgPHN1cm5hbWU+Q3Jvc2FzPC9zdXJuYW1lPg0KICAg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
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:42 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:42 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:42 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- cr7-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:43 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgIDxzdXJuYW1l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ICAgPGl0ZW0gY3Jhd2xlcj0iaVBhcmFkaWdtcyI+DQogICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:43 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:43 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:43 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- qs4-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:43 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPS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9wPg0KICAgICAgICA8L2Fic3RyYWN0Pg0KICAgICAgICA8ZG9pX2RhdGE+DQogICAgICAgICAgPGRvaT4xMC4xMTAxLzA5NzE5NjwvZG9pPg0KICAgICAgICAgIDx0aW1lc3RhbXA+MjAxNjEyMjgyMjEwMDY0OTAwMDwvdGltZXN0YW1wPg0KICAgICAgICAgIDxyZXNvdXJjZT5odHRwOi8vYmlvcnhpdi5vcmcvbG9va3VwL2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgPGNvbGxlY3Rpb24gcHJvcGVydHk9ImNyYXdsZXItYmFzZWQiPg0KICAgICAgICAgICAgPGl0ZW0gY3Jhd2xlcj0iaVBhcmFkaWdtcyI+DQogICAgICAgICAgICAgIDxyZXNvdXJjZT5odHRwczovL3N5bmRpY2F0aW9uLmhpZ2h3aXJlLm9yZy9jb250ZW50L2RvaS8xMC4xMTAxLzA5NzE5NjwvcmVzb3VyY2U+DQogICAgICAgICAgICA8L2l0ZW0+DQogICAgICAgICAgPC9jb2xsZWN0aW9uPg0KICAgICAgICA8L2RvaV9kYXRhPg0KICAgICAgPC9wb3N0ZWRfY29udGVudD4NCiAgICA8L2Nyb3NzcmVmPg0KICA8L2RvaV9yZWNvcmQ+DQo8L2RvaV9yZWNvcmRzPg==
|
35
|
+
http_version:
|
36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:44 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:44 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:44 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.crossref.org/openurl/?format=unixref&id=doi:10.1101/097196&noredirect=true&pid=tech@datacite.org
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- text/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Crossref-Deployment-Name:
|
22
|
+
- cr7-1
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
Content-Language:
|
26
|
+
- en-US
|
27
|
+
Date:
|
28
|
+
- Wed, 23 Aug 2017 11:38:45 GMT
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRvaV9yZWNvcmRzPg0KICA8ZG9pX3JlY29yZCBvd25lcj0iMTAuMTEwMSIgdGltZXN0YW1wPSIyMDE2LTEyLTI5IDAxOjEwOjIwIj4NCiAgICA8Y3Jvc3NyZWY+DQogICAgICA8cG9zdGVkX2NvbnRlbnQgdHlwZT0icHJlcHJpbnQiIGxhbmd1YWdlPSJlbiIgbWV0YWRhdGFfZGlzdHJpYnV0aW9uX29wdHM9ImFueSI+DQogICAgICAgIDxncm91cF90aXRsZT5TY2llbnRpZmljIENvbW11bmljYXRpb24gYW5kIEVkdWNhdGlvbjwvZ3JvdXBfdGl0bGU+DQogICAgICAgIDxjb250cmlidXRvcnM+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImZpcnN0Ij4NCiAgICAgICAgICAgIDxnaXZlbl9uYW1lPk1hcnRpbjwvZ2l2ZW5fbmFtZT4NCiAgICAgICAgICAgIDxzdXJuYW1lPkZlbm5lcjwvc3VybmFtZT4NCiAgICAgICAgICAgIDxPUkNJRD5odHRwOi8vb3JjaWQub3JnLzAwMDAtMDAwMy0xNDE5LTI0MDU8L09SQ0lEPg0KICAgICAgICAgIDwvcGVyc29uX25hbWU+DQogICAgICAgICAgPHBlcnNvbl9uYW1lIGNvbnRyaWJ1dG9yX3JvbGU9ImF1dGhvciIgc2VxdWVuY2U9ImFkZGl0aW9uYWwiPg0KICAgICAgICAgICAgPGdpdmVuX25hbWU+TWVyY8OoPC9naXZlbl9uYW1lPg0KICAgICAgICAgICAgPHN1cm5hbWU+Q3Jvc2FzPC9zdXJuYW1lPg0KICAgICAgICAgICAgPE9SQ0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36
|
+
recorded_at: Wed, 23 Aug 2017 11:38:45 GMT
|
37
|
+
- request:
|
38
|
+
method: get
|
39
|
+
uri: http://api.crossref.org/prefixes/10.1101
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ''
|
43
|
+
headers:
|
44
|
+
User-Agent:
|
45
|
+
- Maremma - https://github.com/datacite/maremma
|
46
|
+
Accept:
|
47
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- application/json;charset=UTF-8
|
55
|
+
Vary:
|
56
|
+
- Accept
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Access-Control-Allow-Headers:
|
60
|
+
- X-Requested-With
|
61
|
+
Content-Length:
|
62
|
+
- '218'
|
63
|
+
Server:
|
64
|
+
- http-kit
|
65
|
+
Date:
|
66
|
+
- Wed, 23 Aug 2017 11:38:46 GMT
|
67
|
+
X-Rate-Limit-Limit:
|
68
|
+
- '50'
|
69
|
+
X-Rate-Limit-Interval:
|
70
|
+
- 1s
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"status":"ok","message-type":"prefix","message-version":"1.0.0","message":{"member":"http:\/\/id.crossref.org\/member\/246","name":"Cold
|
76
|
+
Spring Harbor Laboratory","prefix":"http:\/\/id.crossref.org\/prefix\/10.1101"}}'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 23 Aug 2017 11:38:46 GMT
|
79
|
+
recorded_with: VCR 3.0.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolognese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
@@ -595,6 +595,13 @@ files:
|
|
595
595
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml
|
596
596
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver.yml
|
597
597
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/test_resolver_http.yml
|
598
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi.yml
|
599
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/doi_with_protocol.yml
|
600
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/dx_doi_org_url.yml
|
601
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/force_test_resolver.yml
|
602
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/https_url.yml
|
603
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver.yml
|
604
|
+
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_search/test_resolver_http.yml
|
598
605
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml
|
599
606
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml
|
600
607
|
- spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml
|