kinney 0.0.1 → 0.0.2

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 (92) hide show
  1. data/README.markdown +2 -2
  2. data/Rakefile +4 -0
  3. data/app/admin/clips.rb +40 -1
  4. data/app/assets/javascripts/kinney/admin/video_preview.js +1 -1
  5. data/app/controllers/kinney/tracker_controller.rb +0 -34
  6. data/app/helpers/kinney/general_helper.rb +1 -1
  7. data/app/models/kinney/clip.rb +5 -2
  8. data/app/models/kinney/person.rb +11 -11
  9. data/app/views/{kinney/tracker → admin/kinney_clips}/_video_engagement_chart.html.erb +15 -0
  10. data/app/views/{kinney/tracker/analyze.html.erb → admin/kinney_clips/analyze_tracker.html.erb} +5 -3
  11. data/app/views/kinney/clips/show.html.erb +1 -1
  12. data/app/views/kinney/people/index.html.erb +4 -3
  13. data/app/views/kinney/sitemap/index.xml.builder +1 -1
  14. data/config/routes.rb +1 -1
  15. data/lib/kinney/version.rb +1 -1
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/db/test.sqlite3 +0 -0
  18. data/test/dummy/log/development.log +33694 -0
  19. data/test/dummy/log/test.log +29895 -0
  20. data/test/dummy/tmp/cache/assets/CBF/9B0/sprockets%2Fe283548d3ef4505c82279198e09b53fa +0 -0
  21. data/test/dummy/tmp/cache/assets/D0B/560/sprockets%2F33db47d8bb65ee7457b03336420a55fd +0 -0
  22. data/test/functional/kinney/admin_clips_controller_test.rb +24 -0
  23. data/test/functional/kinney/clips_controller_test.rb +5 -3
  24. data/test/functional/kinney/people_controller_test.rb +5 -3
  25. data/test/functional/kinney/tracker_controller_test.rb +0 -6
  26. data/test/integration/admin_clip_test.rb +14 -11
  27. data/test/integration/admin_images_test.rb +8 -7
  28. data/test/integration/clips_index_test.rb +9 -6
  29. data/test/integration/clips_show_test.rb +11 -8
  30. data/test/integration/microdata_test.rb +40 -0
  31. data/test/integration/navigation_test.rb +7 -5
  32. data/test/integration/people_index_test.rb +7 -4
  33. data/test/integration/people_show_test.rb +14 -12
  34. data/test/support/test_with_cassette.rb +38 -0
  35. data/test/test_helper.rb +18 -2
  36. data/test/unit/clip_test.rb +5 -0
  37. data/test/vcr_cassettes/admin_clip/add_a_description_for_a_clip.yml +272 -0
  38. data/test/vcr_cassettes/admin_clip/admin_user_can_create_new_clip.yml +114 -0
  39. data/test/vcr_cassettes/admin_clip/display_whether_there_is_a_VTT_file_for_a_clip.yml +613 -0
  40. data/test/vcr_cassettes/admin_clip/do_not_allow_submission_of_clip_if_there_is_no_webvtt_file.yml +567 -0
  41. data/test/vcr_cassettes/admin_images/user_should_not_be_able_to_create_slug.yml +967 -0
  42. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_index_view.yml +561 -0
  43. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_show_view.yml +162 -0
  44. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_edit_page.yml +186 -0
  45. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_new_image_page.yml +374 -0
  46. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_show_page.yml +193 -0
  47. data/test/vcr_cassettes/clips_controller/should_assign_a_webvtt_variable.yml +154 -0
  48. data/test/vcr_cassettes/clips_controller/should_assign_title_for_a_show_view.yml +136 -0
  49. data/test/vcr_cassettes/clips_controller/should_get_show.yml +136 -0
  50. data/test/vcr_cassettes/clips_index/clicking_on_a_video_thumbnail_should_go_to_a_video_clip.yml +154 -0
  51. data/test/vcr_cassettes/clips_show/should_expand/collapse_the_transcript.yml +154 -0
  52. data/test/vcr_cassettes/clips_show/should_have_link_to_other_videos_by_the_same_person.yml +136 -0
  53. data/test/vcr_cassettes/clips_show/should_have_link_to_profile.yml +136 -0
  54. data/test/vcr_cassettes/clips_show/should_not_see_More_videos_on_topics_with_link_under_video.yml +136 -0
  55. data/test/vcr_cassettes/clips_show/should_not_see_Video_Topics_section_on_page.yml +136 -0
  56. data/test/vcr_cassettes/clips_show/should_show_basic_information_about_a_clip.yml +136 -0
  57. data/test/vcr_cassettes/clips_show/should_show_other_clips_related_by_topic.yml +136 -0
  58. data/test/vcr_cassettes/clips_show/should_show_the_transcript.yml +154 -0
  59. data/test/vcr_cassettes/microdata/clip_show_view_should_have_microdata.yml +136 -0
  60. data/test/vcr_cassettes/microdata/person_show_view_should_have_microdata.yml +399 -0
  61. data/test/vcr_cassettes/navigation/there_should_be_a_link_to_People_in_the_global_navigation.yml +267 -0
  62. data/test/vcr_cassettes/people_controller/should_get_index.yml +267 -0
  63. data/test/vcr_cassettes/people_controller/should_get_show.yml +399 -0
  64. data/test/vcr_cassettes/people_controller/show_view_should_have_a_title.yml +399 -0
  65. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_with_video.yml +663 -0
  66. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_without_video.yml +267 -0
  67. data/test/vcr_cassettes/people_index/shows_people.yml +267 -0
  68. data/test/vcr_cassettes/people_index/sort_profile_images.yml +267 -0
  69. data/test/vcr_cassettes/people_show/if_there_is_only_one_image_and_it_is_a_top_pick_then_do_not_show_the_image_section_of_the_page.yml +135 -0
  70. data/test/vcr_cassettes/people_show/should_display_a_map_if_the_location_the_person_grew_up_is_known.yml +399 -0
  71. data/test/vcr_cassettes/people_show/should_display_the_information_like_description__interview_date_and_time_below_video_clip.yml +136 -0
  72. data/test/vcr_cassettes/people_show/should_give_a_link_to_other_videos_with_the_same_person.yml +534 -0
  73. data/test/vcr_cassettes/people_show/should_not_display_a_map_if_the_location_the_person_grew_up_is_not_known.yml +135 -0
  74. data/test/vcr_cassettes/people_show/should_not_see_the_top_pick_image_with_the_other_images.yml +399 -0
  75. data/test/vcr_cassettes/people_show/should_provide_a_link_to_a_video_as_an_image_and_make_it_a_top_pick.yml +399 -0
  76. data/test/vcr_cassettes/people_show/should_provide_a_link_to_other_videos_as_text_links.yml +399 -0
  77. data/test/vcr_cassettes/people_show/should_show_a_top_pick_image_near_the_biography.yml +399 -0
  78. data/test/vcr_cassettes/people_show/should_show_name_suffix_if_present.yml +135 -0
  79. data/test/vcr_cassettes/people_show/shows_person_content.yml +399 -0
  80. metadata +180 -59
  81. checksums.yaml +0 -7
  82. data/test/dummy/tmp/cache/assets/D36/B10/sprockets%2F3a3013990e54d3e944c21c6a9ed0b5de +0 -0
  83. data/test/dummy/tmp/cache/assets/D55/830/sprockets%2Fbd750c0ba01430d321ae77fbc2b238f9 +0 -0
  84. data/test/dummy/tmp/capybara/capybara-201209271510033933274391.html +0 -13
  85. data/test/dummy/tmp/capybara/capybara-201209271512386994415403.html +0 -13
  86. data/test/dummy/tmp/capybara/capybara-201209271515157873796042.html +0 -165
  87. data/test/dummy/tmp/capybara/capybara-201209271517053504547394.html +0 -165
  88. data/test/dummy/tmp/capybara/capybara-201209271520578220954785.html +0 -165
  89. data/test/dummy/tmp/capybara/capybara-201209271522457231789910.html +0 -165
  90. data/test/dummy/tmp/capybara/capybara-201209271524374294425819.html +0 -165
  91. data/test/dummy/tmp/capybara/capybara-201209271526597280429369.html +0 -165
  92. data/test/dummy/tmp/capybara/capybara-201209271529595570902080.html +0 -165
@@ -0,0 +1,534 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p408-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
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
+ - scrc.lib.ncsu.edu
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Fri, 29 Mar 2013 16:38:07 GMT
25
+ Server:
26
+ - Apache-Coyote/1.1
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '194'
31
+ Set-Cookie:
32
+ - JSESSIONID=09A1C5DAD58519E1A3EE5CFA94F67438; Path=/adore-djatoka/; HttpOnly
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ {
37
+ "identifier": "si-ag1962-p408-tolson",
38
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
39
+ "width": "360",
40
+ "height": "464",
41
+ "dwtLevels": "7",
42
+ "levels": "3",
43
+ "compositingLayerCount": "1"
44
+ }
45
+ http_version:
46
+ recorded_at: Fri, 29 Mar 2013 16:38:07 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p408-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept-Encoding:
55
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
56
+ Accept:
57
+ - '*/*'
58
+ User-Agent:
59
+ - Ruby
60
+ Host:
61
+ - scrc.lib.ncsu.edu
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Fri, 29 Mar 2013 16:38:07 GMT
69
+ Server:
70
+ - Apache-Coyote/1.1
71
+ Content-Type:
72
+ - application/json
73
+ Content-Length:
74
+ - '194'
75
+ Set-Cookie:
76
+ - JSESSIONID=523D94584E5AE64B2BF486D3EA9EFF84; Path=/adore-djatoka/; HttpOnly
77
+ body:
78
+ encoding: UTF-8
79
+ string: |-
80
+ {
81
+ "identifier": "si-ag1962-p408-tolson",
82
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
83
+ "width": "360",
84
+ "height": "464",
85
+ "dwtLevels": "7",
86
+ "levels": "3",
87
+ "compositingLayerCount": "1"
88
+ }
89
+ http_version:
90
+ recorded_at: Fri, 29 Mar 2013 16:38:07 GMT
91
+ - request:
92
+ method: get
93
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p408-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Accept-Encoding:
99
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
100
+ Accept:
101
+ - '*/*'
102
+ User-Agent:
103
+ - Ruby
104
+ Host:
105
+ - scrc.lib.ncsu.edu
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Date:
112
+ - Fri, 29 Mar 2013 16:38:07 GMT
113
+ Server:
114
+ - Apache-Coyote/1.1
115
+ Content-Type:
116
+ - application/json
117
+ Content-Length:
118
+ - '194'
119
+ Set-Cookie:
120
+ - JSESSIONID=9171F79FBED789B2E794230A2ACE5AE1; Path=/adore-djatoka/; HttpOnly
121
+ body:
122
+ encoding: UTF-8
123
+ string: |-
124
+ {
125
+ "identifier": "si-ag1962-p408-tolson",
126
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
127
+ "width": "360",
128
+ "height": "464",
129
+ "dwtLevels": "7",
130
+ "levels": "3",
131
+ "compositingLayerCount": "1"
132
+ }
133
+ http_version:
134
+ recorded_at: Fri, 29 Mar 2013 16:38:07 GMT
135
+ - request:
136
+ method: get
137
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p212-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
138
+ body:
139
+ encoding: US-ASCII
140
+ string: ''
141
+ headers:
142
+ Accept-Encoding:
143
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
144
+ Accept:
145
+ - '*/*'
146
+ User-Agent:
147
+ - Ruby
148
+ Host:
149
+ - scrc.lib.ncsu.edu
150
+ response:
151
+ status:
152
+ code: 200
153
+ message: OK
154
+ headers:
155
+ Date:
156
+ - Fri, 29 Mar 2013 16:38:07 GMT
157
+ Server:
158
+ - Apache-Coyote/1.1
159
+ Content-Type:
160
+ - application/json
161
+ Content-Length:
162
+ - '195'
163
+ Set-Cookie:
164
+ - JSESSIONID=4B94DD0DDF3C9577E111AF69ACF45307; Path=/adore-djatoka/; HttpOnly
165
+ body:
166
+ encoding: UTF-8
167
+ string: |-
168
+ {
169
+ "identifier": "si-ag1962-p212-tolson",
170
+ "imagefile": "/storage/si-ag/si-ag1962-p212-tolson.jp2",
171
+ "width": "760",
172
+ "height": "1168",
173
+ "dwtLevels": "7",
174
+ "levels": "4",
175
+ "compositingLayerCount": "1"
176
+ }
177
+ http_version:
178
+ recorded_at: Fri, 29 Mar 2013 16:38:07 GMT
179
+ - request:
180
+ method: get
181
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p212-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
182
+ body:
183
+ encoding: US-ASCII
184
+ string: ''
185
+ headers:
186
+ Accept-Encoding:
187
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
188
+ Accept:
189
+ - '*/*'
190
+ User-Agent:
191
+ - Ruby
192
+ Host:
193
+ - scrc.lib.ncsu.edu
194
+ response:
195
+ status:
196
+ code: 200
197
+ message: OK
198
+ headers:
199
+ Date:
200
+ - Fri, 29 Mar 2013 16:38:07 GMT
201
+ Server:
202
+ - Apache-Coyote/1.1
203
+ Content-Type:
204
+ - application/json
205
+ Content-Length:
206
+ - '195'
207
+ Set-Cookie:
208
+ - JSESSIONID=F55D84C15D730EB527CC0C773FB3D38D; Path=/adore-djatoka/; HttpOnly
209
+ body:
210
+ encoding: UTF-8
211
+ string: |-
212
+ {
213
+ "identifier": "si-ag1962-p212-tolson",
214
+ "imagefile": "/storage/si-ag/si-ag1962-p212-tolson.jp2",
215
+ "width": "760",
216
+ "height": "1168",
217
+ "dwtLevels": "7",
218
+ "levels": "4",
219
+ "compositingLayerCount": "1"
220
+ }
221
+ http_version:
222
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
223
+ - request:
224
+ method: get
225
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p212-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
226
+ body:
227
+ encoding: US-ASCII
228
+ string: ''
229
+ headers:
230
+ Accept-Encoding:
231
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
232
+ Accept:
233
+ - '*/*'
234
+ User-Agent:
235
+ - Ruby
236
+ Host:
237
+ - scrc.lib.ncsu.edu
238
+ response:
239
+ status:
240
+ code: 200
241
+ message: OK
242
+ headers:
243
+ Date:
244
+ - Fri, 29 Mar 2013 16:38:08 GMT
245
+ Server:
246
+ - Apache-Coyote/1.1
247
+ Content-Type:
248
+ - application/json
249
+ Content-Length:
250
+ - '195'
251
+ Set-Cookie:
252
+ - JSESSIONID=008380B3257D2D35D3305FD6F1DA9156; Path=/adore-djatoka/; HttpOnly
253
+ body:
254
+ encoding: UTF-8
255
+ string: |-
256
+ {
257
+ "identifier": "si-ag1962-p212-tolson",
258
+ "imagefile": "/storage/si-ag/si-ag1962-p212-tolson.jp2",
259
+ "width": "760",
260
+ "height": "1168",
261
+ "dwtLevels": "7",
262
+ "levels": "4",
263
+ "compositingLayerCount": "1"
264
+ }
265
+ http_version:
266
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
267
+ - request:
268
+ method: get
269
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p100-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
270
+ body:
271
+ encoding: US-ASCII
272
+ string: ''
273
+ headers:
274
+ Accept-Encoding:
275
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
276
+ Accept:
277
+ - '*/*'
278
+ User-Agent:
279
+ - Ruby
280
+ Host:
281
+ - scrc.lib.ncsu.edu
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ Date:
288
+ - Fri, 29 Mar 2013 16:38:08 GMT
289
+ Server:
290
+ - Apache-Coyote/1.1
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '196'
295
+ Set-Cookie:
296
+ - JSESSIONID=DA1BC2AF007658BA1144DF0922E19020; Path=/adore-djatoka/; HttpOnly
297
+ body:
298
+ encoding: UTF-8
299
+ string: |-
300
+ {
301
+ "identifier": "si-ag1962-p100-tolson",
302
+ "imagefile": "/storage/si-ag/si-ag1962-p100-tolson.jp2",
303
+ "width": "1276",
304
+ "height": "1420",
305
+ "dwtLevels": "7",
306
+ "levels": "4",
307
+ "compositingLayerCount": "1"
308
+ }
309
+ http_version:
310
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
311
+ - request:
312
+ method: get
313
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p100-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
314
+ body:
315
+ encoding: US-ASCII
316
+ string: ''
317
+ headers:
318
+ Accept-Encoding:
319
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
320
+ Accept:
321
+ - '*/*'
322
+ User-Agent:
323
+ - Ruby
324
+ Host:
325
+ - scrc.lib.ncsu.edu
326
+ response:
327
+ status:
328
+ code: 200
329
+ message: OK
330
+ headers:
331
+ Date:
332
+ - Fri, 29 Mar 2013 16:38:08 GMT
333
+ Server:
334
+ - Apache-Coyote/1.1
335
+ Content-Type:
336
+ - application/json
337
+ Content-Length:
338
+ - '196'
339
+ Set-Cookie:
340
+ - JSESSIONID=112D5EF6B31AF8A0E29340ABA2A4D1E1; Path=/adore-djatoka/; HttpOnly
341
+ body:
342
+ encoding: UTF-8
343
+ string: |-
344
+ {
345
+ "identifier": "si-ag1962-p100-tolson",
346
+ "imagefile": "/storage/si-ag/si-ag1962-p100-tolson.jp2",
347
+ "width": "1276",
348
+ "height": "1420",
349
+ "dwtLevels": "7",
350
+ "levels": "4",
351
+ "compositingLayerCount": "1"
352
+ }
353
+ http_version:
354
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
355
+ - request:
356
+ method: get
357
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p100-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
358
+ body:
359
+ encoding: US-ASCII
360
+ string: ''
361
+ headers:
362
+ Accept-Encoding:
363
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
364
+ Accept:
365
+ - '*/*'
366
+ User-Agent:
367
+ - Ruby
368
+ Host:
369
+ - scrc.lib.ncsu.edu
370
+ response:
371
+ status:
372
+ code: 200
373
+ message: OK
374
+ headers:
375
+ Date:
376
+ - Fri, 29 Mar 2013 16:38:08 GMT
377
+ Server:
378
+ - Apache-Coyote/1.1
379
+ Content-Type:
380
+ - application/json
381
+ Content-Length:
382
+ - '196'
383
+ Set-Cookie:
384
+ - JSESSIONID=333826E1988D442850A53CB46557093D; Path=/adore-djatoka/; HttpOnly
385
+ body:
386
+ encoding: UTF-8
387
+ string: |-
388
+ {
389
+ "identifier": "si-ag1962-p100-tolson",
390
+ "imagefile": "/storage/si-ag/si-ag1962-p100-tolson.jp2",
391
+ "width": "1276",
392
+ "height": "1420",
393
+ "dwtLevels": "7",
394
+ "levels": "4",
395
+ "compositingLayerCount": "1"
396
+ }
397
+ http_version:
398
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
399
+ - request:
400
+ method: get
401
+ uri: http://siskel.lib.ncsu.edu/SLI/tolson/tolson-mentors_caldwell/tolson-mentors_caldwell.vtt
402
+ body:
403
+ encoding: UTF-8
404
+ string: ''
405
+ headers: {}
406
+ response:
407
+ status:
408
+ code: 404
409
+ message: Not Found
410
+ headers:
411
+ Content-Length:
412
+ - '1635'
413
+ Content-Type:
414
+ - text/html
415
+ Server:
416
+ - Microsoft-IIS/6.0
417
+ Access-Control-Allow-Origin:
418
+ - '*'
419
+ X-Powered-By:
420
+ - ASP.NET
421
+ Date:
422
+ - Fri, 29 Mar 2013 16:38:08 GMT
423
+ body:
424
+ encoding: UTF-8
425
+ string: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<HTML><HEAD><TITLE>The
426
+ page cannot be found</TITLE>\r\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html;
427
+ charset=Windows-1252\">\r\n<STYLE type=\"text/css\">\r\n BODY { font: 8pt/12pt
428
+ verdana }\r\n H1 { font: 13pt/15pt verdana }\r\n H2 { font: 8pt/12pt verdana
429
+ }\r\n A:link { color: red }\r\n A:visited { color: maroon }\r\n</STYLE>\r\n</HEAD><BODY><TABLE
430
+ width=500 border=0 cellspacing=10><TR><TD>\r\n\r\n<h1>The page cannot be found</h1>\r\nThe
431
+ page you are looking for might have been removed, had its name changed, or
432
+ is temporarily unavailable.\r\n<hr>\r\n<p>Please try the following:</p>\r\n<ul>\r\n<li>Make
433
+ sure that the Web site address displayed in the address bar of your browser
434
+ is spelled and formatted correctly.</li>\r\n<li>If you reached this page by
435
+ clicking a link, contact\r\n the Web site administrator to alert them that
436
+ the link is incorrectly formatted.\r\n</li>\r\n<li>Click the <a href=\"javascript:history.back(1)\">Back</a>
437
+ button to try another link.</li>\r\n</ul>\r\n<h2>HTTP Error 404 - File or
438
+ directory not found.<br>Internet Information Services (IIS)</h2>\r\n<hr>\r\n<p>Technical
439
+ Information (for support personnel)</p>\r\n<ul>\r\n<li>Go to <a href=\"http://go.microsoft.com/fwlink/?linkid=8180\">Microsoft
440
+ Product Support Services</a> and perform a title search for the words <b>HTTP</b>
441
+ and <b>404</b>.</li>\r\n<li>Open <b>IIS Help</b>, which is accessible in IIS
442
+ Manager (inetmgr),\r\n and search for topics titled <b>Web Site Setup</b>,
443
+ <b>Common Administrative Tasks</b>, and <b>About Custom Error Messages</b>.</li>\r\n</ul>\r\n\r\n</TD></TR></TABLE></BODY></HTML>\r\n"
444
+ http_version:
445
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
446
+ - request:
447
+ method: get
448
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p408-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
449
+ body:
450
+ encoding: US-ASCII
451
+ string: ''
452
+ headers:
453
+ Accept-Encoding:
454
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
455
+ Accept:
456
+ - '*/*'
457
+ User-Agent:
458
+ - Ruby
459
+ Host:
460
+ - scrc.lib.ncsu.edu
461
+ response:
462
+ status:
463
+ code: 200
464
+ message: OK
465
+ headers:
466
+ Date:
467
+ - Fri, 29 Mar 2013 16:38:08 GMT
468
+ Server:
469
+ - Apache-Coyote/1.1
470
+ Content-Type:
471
+ - application/json
472
+ Content-Length:
473
+ - '194'
474
+ Set-Cookie:
475
+ - JSESSIONID=7285547E2EF36C2B4F0D645CFA7CE5B0; Path=/adore-djatoka/; HttpOnly
476
+ body:
477
+ encoding: UTF-8
478
+ string: |-
479
+ {
480
+ "identifier": "si-ag1962-p408-tolson",
481
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
482
+ "width": "360",
483
+ "height": "464",
484
+ "dwtLevels": "7",
485
+ "levels": "3",
486
+ "compositingLayerCount": "1"
487
+ }
488
+ http_version:
489
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
490
+ - request:
491
+ method: get
492
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p408-tolson&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
493
+ body:
494
+ encoding: US-ASCII
495
+ string: ''
496
+ headers:
497
+ Accept-Encoding:
498
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
499
+ Accept:
500
+ - '*/*'
501
+ User-Agent:
502
+ - Ruby
503
+ Host:
504
+ - scrc.lib.ncsu.edu
505
+ response:
506
+ status:
507
+ code: 200
508
+ message: OK
509
+ headers:
510
+ Date:
511
+ - Fri, 29 Mar 2013 16:38:08 GMT
512
+ Server:
513
+ - Apache-Coyote/1.1
514
+ Content-Type:
515
+ - application/json
516
+ Content-Length:
517
+ - '194'
518
+ Set-Cookie:
519
+ - JSESSIONID=644810B44B8B1B9BC418512D2FBD4113; Path=/adore-djatoka/; HttpOnly
520
+ body:
521
+ encoding: UTF-8
522
+ string: |-
523
+ {
524
+ "identifier": "si-ag1962-p408-tolson",
525
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
526
+ "width": "360",
527
+ "height": "464",
528
+ "dwtLevels": "7",
529
+ "levels": "3",
530
+ "compositingLayerCount": "1"
531
+ }
532
+ http_version:
533
+ recorded_at: Fri, 29 Mar 2013 16:38:08 GMT
534
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,135 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1964-p123-atkins&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
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
+ - scrc.lib.ncsu.edu
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Fri, 29 Mar 2013 16:38:08 GMT
25
+ Server:
26
+ - Apache-Coyote/1.1
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '194'
31
+ Set-Cookie:
32
+ - JSESSIONID=32BDB5E7CD8DE1CFC479AEF44DAC70AD; Path=/adore-djatoka/; HttpOnly
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ {
37
+ "identifier": "si-ag1964-p123-atkins",
38
+ "imagefile": "/storage/si-ag/si-ag1964-p123-atkins.jp2",
39
+ "width": "331",
40
+ "height": "327",
41
+ "dwtLevels": "7",
42
+ "levels": "2",
43
+ "compositingLayerCount": "1"
44
+ }
45
+ http_version:
46
+ recorded_at: Fri, 29 Mar 2013 16:38:09 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1964-p123-atkins&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept-Encoding:
55
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
56
+ Accept:
57
+ - '*/*'
58
+ User-Agent:
59
+ - Ruby
60
+ Host:
61
+ - scrc.lib.ncsu.edu
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Fri, 29 Mar 2013 16:38:08 GMT
69
+ Server:
70
+ - Apache-Coyote/1.1
71
+ Content-Type:
72
+ - application/json
73
+ Content-Length:
74
+ - '194'
75
+ Set-Cookie:
76
+ - JSESSIONID=AE4DB9641590DA8E103F507526524A30; Path=/adore-djatoka/; HttpOnly
77
+ body:
78
+ encoding: UTF-8
79
+ string: |-
80
+ {
81
+ "identifier": "si-ag1964-p123-atkins",
82
+ "imagefile": "/storage/si-ag/si-ag1964-p123-atkins.jp2",
83
+ "width": "331",
84
+ "height": "327",
85
+ "dwtLevels": "7",
86
+ "levels": "2",
87
+ "compositingLayerCount": "1"
88
+ }
89
+ http_version:
90
+ recorded_at: Fri, 29 Mar 2013 16:38:09 GMT
91
+ - request:
92
+ method: get
93
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1964-p123-atkins&svc_id=info:lanl-repo/svc/getMetadata&url_ver=Z39.88-2004
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Accept-Encoding:
99
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
100
+ Accept:
101
+ - '*/*'
102
+ User-Agent:
103
+ - Ruby
104
+ Host:
105
+ - scrc.lib.ncsu.edu
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Date:
112
+ - Fri, 29 Mar 2013 16:38:09 GMT
113
+ Server:
114
+ - Apache-Coyote/1.1
115
+ Content-Type:
116
+ - application/json
117
+ Content-Length:
118
+ - '194'
119
+ Set-Cookie:
120
+ - JSESSIONID=4AED48452990530048CDB2A8C6D1E70C; Path=/adore-djatoka/; HttpOnly
121
+ body:
122
+ encoding: UTF-8
123
+ string: |-
124
+ {
125
+ "identifier": "si-ag1964-p123-atkins",
126
+ "imagefile": "/storage/si-ag/si-ag1964-p123-atkins.jp2",
127
+ "width": "331",
128
+ "height": "327",
129
+ "dwtLevels": "7",
130
+ "levels": "2",
131
+ "compositingLayerCount": "1"
132
+ }
133
+ http_version:
134
+ recorded_at: Fri, 29 Mar 2013 16:38:09 GMT
135
+ recorded_with: VCR 2.4.0