harvestdor-indexer 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +2 -0
- data/.rubocop.yml +12 -0
- data/.rubocop_todo.yml +314 -0
- data/.travis.yml +3 -2
- data/README.rdoc +40 -36
- data/Rakefile +11 -9
- data/harvestdor-indexer.gemspec +5 -6
- data/lib/harvestdor/indexer/resource.rb +15 -23
- data/lib/harvestdor/indexer/solr.rb +6 -7
- data/lib/harvestdor/indexer/version.rb +1 -1
- data/lib/harvestdor/indexer.rb +11 -12
- data/spec/config/ap.yml +30 -21
- data/spec/config/ap_whitelist.txt +1 -1
- data/spec/unit/harvestdor-indexer_spec.rb +29 -29
- metadata +124 -117
- data/spec/fixtures/vcr_cassettes/cant_find_whitelist_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/empty_array_no_blacklist_config_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/empty_array_no_whitelist_config_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_and_whitelist_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_call.yml +0 -99
- data/spec/fixtures/vcr_cassettes/know_what_is_in_blacklist_call.yml +0 -46
- data/spec/fixtures/vcr_cassettes/know_what_is_in_whitelist_call.yml +0 -46
- data/spec/fixtures/vcr_cassettes/load_blacklist_once_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/load_whitelist_once_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/no_blacklist_config_call.yml +0 -99
- data/spec/fixtures/vcr_cassettes/no_blacklist_found_call.yml +0 -48
- data/spec/fixtures/vcr_cassettes/no_whitelist_config_call.yml +0 -99
- data/spec/fixtures/vcr_cassettes/rsolr_client_config_call.yml +0 -48
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
X-Frame-Options:
|
20
|
-
- SAMEORIGIN
|
21
|
-
X-Xss-Protection:
|
22
|
-
- 1; mode=block
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Etag:
|
28
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
X-Meta-Request-Version:
|
32
|
-
- 0.3.4
|
33
|
-
X-Request-Id:
|
34
|
-
- 994d795e-727d-4c83-aa8d-addfd5d1a01f
|
35
|
-
X-Runtime:
|
36
|
-
- '0.010719'
|
37
|
-
Connection:
|
38
|
-
- close
|
39
|
-
Server:
|
40
|
-
- thin 1.6.2 codename Doc Brown
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ok
|
44
|
-
http_version:
|
45
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: http://127.0.0.1:3000/collections/yg867hg1375
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
Accept:
|
54
|
-
- '*/*'
|
55
|
-
User-Agent:
|
56
|
-
- Ruby
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
headers:
|
62
|
-
X-Frame-Options:
|
63
|
-
- SAMEORIGIN
|
64
|
-
X-Xss-Protection:
|
65
|
-
- 1; mode=block
|
66
|
-
X-Content-Type-Options:
|
67
|
-
- nosniff
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Etag:
|
71
|
-
- '"c3a375a17d64792857f21d1af227ed7b"'
|
72
|
-
Cache-Control:
|
73
|
-
- max-age=0, private, must-revalidate
|
74
|
-
X-Meta-Request-Version:
|
75
|
-
- 0.3.4
|
76
|
-
X-Request-Id:
|
77
|
-
- dc0faecb-c39d-42e4-bb1d-8f7be4b8c287
|
78
|
-
X-Runtime:
|
79
|
-
- '0.012066'
|
80
|
-
Connection:
|
81
|
-
- close
|
82
|
-
Server:
|
83
|
-
- thin 1.6.2 codename Doc Brown
|
84
|
-
body:
|
85
|
-
encoding: US-ASCII
|
86
|
-
string: '{"collections":[{"druid":"druid:yg867hg1375","latest_change":"2013-11-11T23:34:29Z","title":"Francis
|
87
|
-
E. Stafford photographs, 1909-1933"}],"items":[{"druid":"druid:jf275fd6276","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
88
|
-
A: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
89
|
-
social customs, and people."},{"druid":"druid:nz353cp1092","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
90
|
-
E: Photographs of the Seventh Day Adventist Church missionaries in China"},{"druid":"druid:tc552kq0798","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
91
|
-
D: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
92
|
-
social customs, and people."},{"druid":"druid:th998nk0722","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
93
|
-
C: Photographs of the Chinese Revolution of 1911 and the Shanghai Commercial
|
94
|
-
Press"},{"druid":"druid:ww689vs6534","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
95
|
-
B: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
96
|
-
social customs, and people."}],"counts":{"collections":1,"items":5,"total_count":6}}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
99
|
-
recorded_with: VCR 2.9.3
|
@@ -1,46 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
X-Frame-Options:
|
20
|
-
- SAMEORIGIN
|
21
|
-
X-Xss-Protection:
|
22
|
-
- 1; mode=block
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Etag:
|
28
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
X-Meta-Request-Version:
|
32
|
-
- 0.3.4
|
33
|
-
X-Request-Id:
|
34
|
-
- ab689891-c796-4fb2-be29-3af139f06890
|
35
|
-
X-Runtime:
|
36
|
-
- '0.005424'
|
37
|
-
Connection:
|
38
|
-
- close
|
39
|
-
Server:
|
40
|
-
- thin 1.6.2 codename Doc Brown
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ok
|
44
|
-
http_version:
|
45
|
-
recorded_at: Wed, 12 Nov 2014 22:13:47 GMT
|
46
|
-
recorded_with: VCR 2.9.3
|
@@ -1,46 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
X-Frame-Options:
|
20
|
-
- SAMEORIGIN
|
21
|
-
X-Xss-Protection:
|
22
|
-
- 1; mode=block
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Etag:
|
28
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
X-Meta-Request-Version:
|
32
|
-
- 0.3.4
|
33
|
-
X-Request-Id:
|
34
|
-
- 1fee9973-1ea8-44f8-9f3e-faa368ca9b97
|
35
|
-
X-Runtime:
|
36
|
-
- '0.006385'
|
37
|
-
Connection:
|
38
|
-
- close
|
39
|
-
Server:
|
40
|
-
- thin 1.6.2 codename Doc Brown
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ok
|
44
|
-
http_version:
|
45
|
-
recorded_at: Wed, 12 Nov 2014 22:16:32 GMT
|
46
|
-
recorded_with: VCR 2.9.3
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*; q=0.5, application/xml'
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
X-Frame-Options:
|
22
|
-
- SAMEORIGIN
|
23
|
-
X-Xss-Protection:
|
24
|
-
- 1; mode=block
|
25
|
-
X-Content-Type-Options:
|
26
|
-
- nosniff
|
27
|
-
Content-Type:
|
28
|
-
- application/xml; charset=utf-8
|
29
|
-
Etag:
|
30
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
31
|
-
Cache-Control:
|
32
|
-
- max-age=0, private, must-revalidate
|
33
|
-
X-Meta-Request-Version:
|
34
|
-
- 0.3.4
|
35
|
-
X-Request-Id:
|
36
|
-
- 767d653b-8349-481a-ae98-d5a50fbd862f
|
37
|
-
X-Runtime:
|
38
|
-
- '0.003921'
|
39
|
-
Connection:
|
40
|
-
- close
|
41
|
-
Server:
|
42
|
-
- thin 1.6.2 codename Doc Brown
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ok
|
46
|
-
http_version:
|
47
|
-
recorded_at: Wed, 12 Nov 2014 18:53:12 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*; q=0.5, application/xml'
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
X-Frame-Options:
|
22
|
-
- SAMEORIGIN
|
23
|
-
X-Xss-Protection:
|
24
|
-
- 1; mode=block
|
25
|
-
X-Content-Type-Options:
|
26
|
-
- nosniff
|
27
|
-
Content-Type:
|
28
|
-
- application/xml; charset=utf-8
|
29
|
-
Etag:
|
30
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
31
|
-
Cache-Control:
|
32
|
-
- max-age=0, private, must-revalidate
|
33
|
-
X-Meta-Request-Version:
|
34
|
-
- 0.3.4
|
35
|
-
X-Request-Id:
|
36
|
-
- 1bea3a35-b113-4865-9390-f202b2a8d513
|
37
|
-
X-Runtime:
|
38
|
-
- '0.003658'
|
39
|
-
Connection:
|
40
|
-
- close
|
41
|
-
Server:
|
42
|
-
- thin 1.6.2 codename Doc Brown
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ok
|
46
|
-
http_version:
|
47
|
-
recorded_at: Wed, 12 Nov 2014 18:50:02 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
X-Frame-Options:
|
20
|
-
- SAMEORIGIN
|
21
|
-
X-Xss-Protection:
|
22
|
-
- 1; mode=block
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Etag:
|
28
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
X-Meta-Request-Version:
|
32
|
-
- 0.3.4
|
33
|
-
X-Request-Id:
|
34
|
-
- db91305e-e0d6-4592-8c5e-53fcb059e835
|
35
|
-
X-Runtime:
|
36
|
-
- '0.004390'
|
37
|
-
Connection:
|
38
|
-
- close
|
39
|
-
Server:
|
40
|
-
- thin 1.6.2 codename Doc Brown
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ok
|
44
|
-
http_version:
|
45
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: http://127.0.0.1:3000/collections/yg867hg1375
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
Accept:
|
54
|
-
- '*/*'
|
55
|
-
User-Agent:
|
56
|
-
- Ruby
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
headers:
|
62
|
-
X-Frame-Options:
|
63
|
-
- SAMEORIGIN
|
64
|
-
X-Xss-Protection:
|
65
|
-
- 1; mode=block
|
66
|
-
X-Content-Type-Options:
|
67
|
-
- nosniff
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Etag:
|
71
|
-
- '"c3a375a17d64792857f21d1af227ed7b"'
|
72
|
-
Cache-Control:
|
73
|
-
- max-age=0, private, must-revalidate
|
74
|
-
X-Meta-Request-Version:
|
75
|
-
- 0.3.4
|
76
|
-
X-Request-Id:
|
77
|
-
- 0f35c477-8bf5-4c7d-859b-f87a9007e873
|
78
|
-
X-Runtime:
|
79
|
-
- '0.010236'
|
80
|
-
Connection:
|
81
|
-
- close
|
82
|
-
Server:
|
83
|
-
- thin 1.6.2 codename Doc Brown
|
84
|
-
body:
|
85
|
-
encoding: US-ASCII
|
86
|
-
string: '{"collections":[{"druid":"druid:yg867hg1375","latest_change":"2013-11-11T23:34:29Z","title":"Francis
|
87
|
-
E. Stafford photographs, 1909-1933"}],"items":[{"druid":"druid:jf275fd6276","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
88
|
-
A: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
89
|
-
social customs, and people."},{"druid":"druid:nz353cp1092","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
90
|
-
E: Photographs of the Seventh Day Adventist Church missionaries in China"},{"druid":"druid:tc552kq0798","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
91
|
-
D: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
92
|
-
social customs, and people."},{"druid":"druid:th998nk0722","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
93
|
-
C: Photographs of the Chinese Revolution of 1911 and the Shanghai Commercial
|
94
|
-
Press"},{"druid":"druid:ww689vs6534","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
95
|
-
B: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
96
|
-
social customs, and people."}],"counts":{"collections":1,"items":5,"total_count":6}}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
99
|
-
recorded_with: VCR 2.9.3
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*; q=0.5, application/xml'
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
X-Frame-Options:
|
22
|
-
- SAMEORIGIN
|
23
|
-
X-Xss-Protection:
|
24
|
-
- 1; mode=block
|
25
|
-
X-Content-Type-Options:
|
26
|
-
- nosniff
|
27
|
-
Content-Type:
|
28
|
-
- application/xml; charset=utf-8
|
29
|
-
Etag:
|
30
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
31
|
-
Cache-Control:
|
32
|
-
- max-age=0, private, must-revalidate
|
33
|
-
X-Meta-Request-Version:
|
34
|
-
- 0.3.4
|
35
|
-
X-Request-Id:
|
36
|
-
- 40548308-42bf-4674-9e5b-e764d1c18a94
|
37
|
-
X-Runtime:
|
38
|
-
- '0.004729'
|
39
|
-
Connection:
|
40
|
-
- close
|
41
|
-
Server:
|
42
|
-
- thin 1.6.2 codename Doc Brown
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ok
|
46
|
-
http_version:
|
47
|
-
recorded_at: Wed, 12 Nov 2014 18:53:12 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
X-Frame-Options:
|
20
|
-
- SAMEORIGIN
|
21
|
-
X-Xss-Protection:
|
22
|
-
- 1; mode=block
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Etag:
|
28
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
X-Meta-Request-Version:
|
32
|
-
- 0.3.4
|
33
|
-
X-Request-Id:
|
34
|
-
- aa722faa-dd46-462b-b62a-cefe258ff298
|
35
|
-
X-Runtime:
|
36
|
-
- '0.004261'
|
37
|
-
Connection:
|
38
|
-
- close
|
39
|
-
Server:
|
40
|
-
- thin 1.6.2 codename Doc Brown
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ok
|
44
|
-
http_version:
|
45
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: http://127.0.0.1:3000/collections/yg867hg1375
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
Accept:
|
54
|
-
- '*/*'
|
55
|
-
User-Agent:
|
56
|
-
- Ruby
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
headers:
|
62
|
-
X-Frame-Options:
|
63
|
-
- SAMEORIGIN
|
64
|
-
X-Xss-Protection:
|
65
|
-
- 1; mode=block
|
66
|
-
X-Content-Type-Options:
|
67
|
-
- nosniff
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Etag:
|
71
|
-
- '"c3a375a17d64792857f21d1af227ed7b"'
|
72
|
-
Cache-Control:
|
73
|
-
- max-age=0, private, must-revalidate
|
74
|
-
X-Meta-Request-Version:
|
75
|
-
- 0.3.4
|
76
|
-
X-Request-Id:
|
77
|
-
- 5cf8aabf-47f3-4f4a-b2ea-a09bcd737707
|
78
|
-
X-Runtime:
|
79
|
-
- '0.011617'
|
80
|
-
Connection:
|
81
|
-
- close
|
82
|
-
Server:
|
83
|
-
- thin 1.6.2 codename Doc Brown
|
84
|
-
body:
|
85
|
-
encoding: US-ASCII
|
86
|
-
string: '{"collections":[{"druid":"druid:yg867hg1375","latest_change":"2013-11-11T23:34:29Z","title":"Francis
|
87
|
-
E. Stafford photographs, 1909-1933"}],"items":[{"druid":"druid:jf275fd6276","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
88
|
-
A: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
89
|
-
social customs, and people."},{"druid":"druid:nz353cp1092","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
90
|
-
E: Photographs of the Seventh Day Adventist Church missionaries in China"},{"druid":"druid:tc552kq0798","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
91
|
-
D: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
92
|
-
social customs, and people."},{"druid":"druid:th998nk0722","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
93
|
-
C: Photographs of the Chinese Revolution of 1911 and the Shanghai Commercial
|
94
|
-
Press"},{"druid":"druid:ww689vs6534","latest_change":"2013-11-11T23:34:29Z","title":"Album
|
95
|
-
B: Photographs of China''s natural landscapes, urban scenes, cultural landmarks,
|
96
|
-
social customs, and people."}],"counts":{"collections":1,"items":5,"total_count":6}}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Wed, 12 Nov 2014 19:34:03 GMT
|
99
|
-
recorded_with: VCR 2.9.3
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://127.0.0.1:3000/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- '*/*; q=0.5, application/xml'
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
X-Frame-Options:
|
22
|
-
- SAMEORIGIN
|
23
|
-
X-Xss-Protection:
|
24
|
-
- 1; mode=block
|
25
|
-
X-Content-Type-Options:
|
26
|
-
- nosniff
|
27
|
-
Content-Type:
|
28
|
-
- application/xml; charset=utf-8
|
29
|
-
Etag:
|
30
|
-
- '"444bcb3a3fcf8389296c49467f27e1d6"'
|
31
|
-
Cache-Control:
|
32
|
-
- max-age=0, private, must-revalidate
|
33
|
-
X-Meta-Request-Version:
|
34
|
-
- 0.3.4
|
35
|
-
X-Request-Id:
|
36
|
-
- f3fe5cb0-9a23-4906-bf4b-2e7f236a53a9
|
37
|
-
X-Runtime:
|
38
|
-
- '0.003822'
|
39
|
-
Connection:
|
40
|
-
- close
|
41
|
-
Server:
|
42
|
-
- thin 1.6.2 codename Doc Brown
|
43
|
-
body:
|
44
|
-
encoding: US-ASCII
|
45
|
-
string: ok
|
46
|
-
http_version:
|
47
|
-
recorded_at: Wed, 12 Nov 2014 18:50:01 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|