bolognese 0.8.5 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -9
- data/README.md +15 -1
- data/lib/bolognese.rb +2 -0
- data/lib/bolognese/bibtex.rb +57 -1
- data/lib/bolognese/citeproc.rb +116 -0
- data/lib/bolognese/codemeta.rb +9 -1
- data/lib/bolognese/crossref.rb +20 -0
- data/lib/bolognese/datacite.rb +9 -1
- data/lib/bolognese/datacite_json.rb +9 -1
- data/lib/bolognese/datacite_utils.rb +1 -1
- data/lib/bolognese/metadata.rb +185 -1
- data/lib/bolognese/ris.rb +117 -0
- data/lib/bolognese/schema_org.rb +8 -0
- data/lib/bolognese/utils.rb +84 -17
- data/lib/bolognese/version.rb +1 -1
- data/resources/kernel-3/metadata.xsd +3 -3
- data/spec/bibtex_spec.rb +34 -0
- data/spec/citeproc_spec.rb +48 -0
- data/spec/codemeta_spec.rb +33 -3
- data/spec/crossref_spec.rb +80 -2
- data/spec/datacite_json_spec.rb +28 -12
- data/spec/datacite_spec.rb +72 -0
- data/spec/datacite_utils_spec.rb +1 -1
- data/spec/fixtures/citeproc.json +21 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_citeproc/maremma.yml +100 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/BlogPosting.yml +100 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Codemeta/get_metadata_as_ris/maremma.yml +100 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/journal_article.yml +723 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_citeproc/with_pages.yml +370 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/journal_article.yml +723 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_ris/with_pages.yml +370 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Citeproc_JSON.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/BlogPosting.yml +155 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_citeproc/Dataset.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/BlogPosting.yml +155 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_ris/Dataset.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/read/datacite.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write/datacite_to_bibtex.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_citeproc/BlogPosting.yml +653 -0
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata_as_ris/BlogPosting.yml +653 -0
- data/spec/schema_org_spec.rb +30 -0
- data/spec/utils_spec.rb +50 -0
- metadata +22 -2
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://doi.org/10.5061/dryad.8515
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- application/vnd.datacite.datacite+xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 303
|
17
|
+
message: ''
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Vary:
|
22
|
+
- Accept
|
23
|
+
Location:
|
24
|
+
- http://data.datacite.org/10.5061%2Fdryad.8515
|
25
|
+
Expires:
|
26
|
+
- Sun, 09 Apr 2017 11:15:10 GMT
|
27
|
+
Content-Type:
|
28
|
+
- text/html;charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '175'
|
31
|
+
Date:
|
32
|
+
- Sun, 09 Apr 2017 10:58:54 GMT
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: |-
|
36
|
+
<html><head><title>Handle Redirect</title></head>
|
37
|
+
<body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Sun, 09 Apr 2017 10:58:54 GMT
|
40
|
+
- request:
|
41
|
+
method: get
|
42
|
+
uri: http://data.datacite.org/10.5061%2Fdryad.8515
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
|
+
headers:
|
47
|
+
User-Agent:
|
48
|
+
- Maremma - https://github.com/datacite/maremma
|
49
|
+
Accept:
|
50
|
+
- application/vnd.datacite.datacite+xml
|
51
|
+
response:
|
52
|
+
status:
|
53
|
+
code: 301
|
54
|
+
message: ''
|
55
|
+
headers:
|
56
|
+
Content-Type:
|
57
|
+
- text/html
|
58
|
+
Date:
|
59
|
+
- Sun, 09 Apr 2017 10:58:54 GMT
|
60
|
+
Location:
|
61
|
+
- https://data.datacite.org/10.5061%2Fdryad.8515
|
62
|
+
Server:
|
63
|
+
- openresty/1.11.2.2
|
64
|
+
Content-Length:
|
65
|
+
- '191'
|
66
|
+
Connection:
|
67
|
+
- keep-alive
|
68
|
+
body:
|
69
|
+
encoding: UTF-8
|
70
|
+
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
71
|
+
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sun, 09 Apr 2017 10:58:54 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: https://data.datacite.org/10.5061%2Fdryad.8515
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- Maremma - https://github.com/datacite/maremma
|
83
|
+
Accept:
|
84
|
+
- application/vnd.datacite.datacite+xml
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: ''
|
89
|
+
headers:
|
90
|
+
Access-Control-Allow-Methods:
|
91
|
+
- GET, POST, OPTIONS
|
92
|
+
Access-Control-Allow-Origin:
|
93
|
+
- "*"
|
94
|
+
Cache-Control:
|
95
|
+
- no-transform, max-age=3600
|
96
|
+
Content-Type:
|
97
|
+
- application/vnd.datacite.datacite+xml
|
98
|
+
Date:
|
99
|
+
- Sun, 09 Apr 2017 10:58:54 GMT
|
100
|
+
Last-Modified:
|
101
|
+
- Sat, 04 Feb 2017 17:54:37 GMT
|
102
|
+
Server:
|
103
|
+
- openresty/1.11.2.2
|
104
|
+
Vary:
|
105
|
+
- Accept
|
106
|
+
Content-Length:
|
107
|
+
- '2601'
|
108
|
+
Connection:
|
109
|
+
- keep-alive
|
110
|
+
body:
|
111
|
+
encoding: ASCII-8BIT
|
112
|
+
string: !binary |-
|
113
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
|
114
|
+
cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
|
115
|
+
MyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
|
116
|
+
YS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01F
|
117
|
+
VFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxu
|
118
|
+
cy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9y
|
119
|
+
Zy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmw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VsYXRlZElk
|
166
|
+
ZW50aWZpZXJUeXBlPSJQTUlEIiByZWxhdGlvblR5cGU9IklzUmVmZXJlbmNl
|
167
|
+
ZEJ5Ij4xOTQ3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJ
|
168
|
+
ZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VS
|
169
|
+
ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
|
170
|
+
cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
|
171
|
+
http_version:
|
172
|
+
recorded_at: Sun, 09 Apr 2017 10:58:54 GMT
|
173
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://doi.org/10.5061/dryad.8515
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- application/vnd.datacite.datacite+xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 303
|
17
|
+
message: ''
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Vary:
|
22
|
+
- Accept
|
23
|
+
Location:
|
24
|
+
- http://data.datacite.org/10.5061%2Fdryad.8515
|
25
|
+
Expires:
|
26
|
+
- Sat, 08 Apr 2017 09:11:50 GMT
|
27
|
+
Content-Type:
|
28
|
+
- text/html;charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '175'
|
31
|
+
Date:
|
32
|
+
- Sat, 08 Apr 2017 09:08:58 GMT
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: |-
|
36
|
+
<html><head><title>Handle Redirect</title></head>
|
37
|
+
<body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Sat, 08 Apr 2017 09:08:58 GMT
|
40
|
+
- request:
|
41
|
+
method: get
|
42
|
+
uri: http://data.datacite.org/10.5061%2Fdryad.8515
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
|
+
headers:
|
47
|
+
User-Agent:
|
48
|
+
- Maremma - https://github.com/datacite/maremma
|
49
|
+
Accept:
|
50
|
+
- application/vnd.datacite.datacite+xml
|
51
|
+
response:
|
52
|
+
status:
|
53
|
+
code: 301
|
54
|
+
message: ''
|
55
|
+
headers:
|
56
|
+
Content-Type:
|
57
|
+
- text/html
|
58
|
+
Date:
|
59
|
+
- Sat, 08 Apr 2017 09:08:58 GMT
|
60
|
+
Location:
|
61
|
+
- https://data.datacite.org/10.5061%2Fdryad.8515
|
62
|
+
Server:
|
63
|
+
- openresty/1.11.2.2
|
64
|
+
Content-Length:
|
65
|
+
- '191'
|
66
|
+
Connection:
|
67
|
+
- keep-alive
|
68
|
+
body:
|
69
|
+
encoding: UTF-8
|
70
|
+
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
71
|
+
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sat, 08 Apr 2017 09:08:59 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: https://data.datacite.org/10.5061%2Fdryad.8515
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- Maremma - https://github.com/datacite/maremma
|
83
|
+
Accept:
|
84
|
+
- application/vnd.datacite.datacite+xml
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: ''
|
89
|
+
headers:
|
90
|
+
Access-Control-Allow-Methods:
|
91
|
+
- GET, POST, OPTIONS
|
92
|
+
Access-Control-Allow-Origin:
|
93
|
+
- "*"
|
94
|
+
Cache-Control:
|
95
|
+
- no-transform, max-age=3600
|
96
|
+
Content-Type:
|
97
|
+
- application/vnd.datacite.datacite+xml
|
98
|
+
Date:
|
99
|
+
- Sat, 08 Apr 2017 09:08:59 GMT
|
100
|
+
Last-Modified:
|
101
|
+
- Sat, 04 Feb 2017 17:54:37 GMT
|
102
|
+
Server:
|
103
|
+
- openresty/1.11.2.2
|
104
|
+
Vary:
|
105
|
+
- Accept
|
106
|
+
Content-Length:
|
107
|
+
- '2601'
|
108
|
+
Connection:
|
109
|
+
- keep-alive
|
110
|
+
body:
|
111
|
+
encoding: ASCII-8BIT
|
112
|
+
string: !binary |-
|
113
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
|
114
|
+
cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
|
115
|
+
MyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
|
116
|
+
YS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01F
|
117
|
+
VFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxu
|
118
|
+
cy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9y
|
119
|
+
Zy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwu
|
120
|
+
b3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8v
|
121
|
+
ZGF0YWNpdGUub3JnL3Nj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3ODg3NzwvcmVsYXRlZElkZW50aWZpZXI+ICA8L3JlbGF0ZWRJ
|
168
|
+
ZGVudGlmaWVycz4gIDxyaWdodHNMaXN0PiAgICA8cmlnaHRzIHJpZ2h0c1VS
|
169
|
+
ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
|
170
|
+
cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
|
171
|
+
http_version:
|
172
|
+
recorded_at: Sat, 08 Apr 2017 09:08:59 GMT
|
173
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://doi.org/10.5061/dryad.8515
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Accept:
|
13
|
+
- application/vnd.datacite.datacite+xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 303
|
17
|
+
message: ''
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
Vary:
|
22
|
+
- Accept
|
23
|
+
Location:
|
24
|
+
- http://data.datacite.org/10.5061%2Fdryad.8515
|
25
|
+
Expires:
|
26
|
+
- Sat, 08 Apr 2017 09:11:50 GMT
|
27
|
+
Content-Type:
|
28
|
+
- text/html;charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '175'
|
31
|
+
Date:
|
32
|
+
- Sat, 08 Apr 2017 09:10:25 GMT
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: |-
|
36
|
+
<html><head><title>Handle Redirect</title></head>
|
37
|
+
<body><a href="http://data.datacite.org/10.5061%2Fdryad.8515">http://data.datacite.org/10.5061%2Fdryad.8515</a></body></html>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Sat, 08 Apr 2017 09:10:26 GMT
|
40
|
+
- request:
|
41
|
+
method: get
|
42
|
+
uri: http://data.datacite.org/10.5061%2Fdryad.8515
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
|
+
headers:
|
47
|
+
User-Agent:
|
48
|
+
- Maremma - https://github.com/datacite/maremma
|
49
|
+
Accept:
|
50
|
+
- application/vnd.datacite.datacite+xml
|
51
|
+
response:
|
52
|
+
status:
|
53
|
+
code: 301
|
54
|
+
message: ''
|
55
|
+
headers:
|
56
|
+
Content-Type:
|
57
|
+
- text/html
|
58
|
+
Date:
|
59
|
+
- Sat, 08 Apr 2017 09:10:26 GMT
|
60
|
+
Location:
|
61
|
+
- https://data.datacite.org/10.5061%2Fdryad.8515
|
62
|
+
Server:
|
63
|
+
- openresty/1.11.2.2
|
64
|
+
Content-Length:
|
65
|
+
- '191'
|
66
|
+
Connection:
|
67
|
+
- keep-alive
|
68
|
+
body:
|
69
|
+
encoding: UTF-8
|
70
|
+
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
71
|
+
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sat, 08 Apr 2017 09:10:26 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: https://data.datacite.org/10.5061%2Fdryad.8515
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- Maremma - https://github.com/datacite/maremma
|
83
|
+
Accept:
|
84
|
+
- application/vnd.datacite.datacite+xml
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: ''
|
89
|
+
headers:
|
90
|
+
Access-Control-Allow-Methods:
|
91
|
+
- GET, POST, OPTIONS
|
92
|
+
Access-Control-Allow-Origin:
|
93
|
+
- "*"
|
94
|
+
Cache-Control:
|
95
|
+
- no-transform, max-age=3600
|
96
|
+
Content-Type:
|
97
|
+
- application/vnd.datacite.datacite+xml
|
98
|
+
Date:
|
99
|
+
- Sat, 08 Apr 2017 09:10:27 GMT
|
100
|
+
Last-Modified:
|
101
|
+
- Sat, 04 Feb 2017 17:54:37 GMT
|
102
|
+
Server:
|
103
|
+
- openresty/1.11.2.2
|
104
|
+
Vary:
|
105
|
+
- Accept
|
106
|
+
Content-Length:
|
107
|
+
- '2601'
|
108
|
+
Connection:
|
109
|
+
- keep-alive
|
110
|
+
body:
|
111
|
+
encoding: ASCII-8BIT
|
112
|
+
string: !binary |-
|
113
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291
|
114
|
+
cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwt
|
115
|
+
MyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
|
116
|
+
YS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01F
|
117
|
+
VFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxu
|
118
|
+
cy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9y
|
119
|
+
Zy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwu
|
120
|
+
b3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8v
|
121
|
+
ZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRh
|
122
|
+
dGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+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aHRzIHJpZ2h0c1VS
|
169
|
+
ST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvcHVibGljZG9tYWluL3pl
|
170
|
+
cm8vMS4wLyIvPiAgPC9yaWdodHNMaXN0PjwvcmVzb3VyY2U+
|
171
|
+
http_version:
|
172
|
+
recorded_at: Sat, 08 Apr 2017 09:10:27 GMT
|
173
|
+
recorded_with: VCR 3.0.3
|