kinney 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
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,967 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=0004685&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:33:32 GMT
25
+ Server:
26
+ - Apache-Coyote/1.1
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '169'
31
+ Set-Cookie:
32
+ - JSESSIONID=C28E48DE961BC8884CE32F76406FF7C5; Path=/adore-djatoka/; HttpOnly
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ {
37
+ "identifier": "0004685",
38
+ "imagefile": "/storage/00046/0004685.jp2",
39
+ "width": "8925",
40
+ "height": "11344",
41
+ "dwtLevels": "7",
42
+ "levels": "7",
43
+ "compositingLayerCount": "1"
44
+ }
45
+ http_version:
46
+ recorded_at: Fri, 29 Mar 2013 16:33:33 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=0004685&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:33:33 GMT
69
+ Server:
70
+ - Apache-Coyote/1.1
71
+ Content-Type:
72
+ - application/json
73
+ Content-Length:
74
+ - '169'
75
+ Set-Cookie:
76
+ - JSESSIONID=A897B6B652F45FF2D6CC0D476629E7E6; Path=/adore-djatoka/; HttpOnly
77
+ body:
78
+ encoding: UTF-8
79
+ string: |-
80
+ {
81
+ "identifier": "0004685",
82
+ "imagefile": "/storage/00046/0004685.jp2",
83
+ "width": "8925",
84
+ "height": "11344",
85
+ "dwtLevels": "7",
86
+ "levels": "7",
87
+ "compositingLayerCount": "1"
88
+ }
89
+ http_version:
90
+ recorded_at: Fri, 29 Mar 2013 16:33:33 GMT
91
+ - request:
92
+ method: get
93
+ 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
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:33:33 GMT
113
+ Server:
114
+ - Apache-Coyote/1.1
115
+ Content-Type:
116
+ - application/json
117
+ Content-Length:
118
+ - '196'
119
+ Set-Cookie:
120
+ - JSESSIONID=20C84A4712FD407EDE7FFA47E05AF4C9; Path=/adore-djatoka/; HttpOnly
121
+ body:
122
+ encoding: UTF-8
123
+ string: |-
124
+ {
125
+ "identifier": "si-ag1962-p100-tolson",
126
+ "imagefile": "/storage/si-ag/si-ag1962-p100-tolson.jp2",
127
+ "width": "1276",
128
+ "height": "1420",
129
+ "dwtLevels": "7",
130
+ "levels": "4",
131
+ "compositingLayerCount": "1"
132
+ }
133
+ http_version:
134
+ recorded_at: Fri, 29 Mar 2013 16:33:33 GMT
135
+ - request:
136
+ method: get
137
+ 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
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:33:33 GMT
157
+ Server:
158
+ - Apache-Coyote/1.1
159
+ Content-Type:
160
+ - application/json
161
+ Content-Length:
162
+ - '196'
163
+ Set-Cookie:
164
+ - JSESSIONID=1CFBC94B2F518A059F9D4F7C07EFF67C; Path=/adore-djatoka/; HttpOnly
165
+ body:
166
+ encoding: UTF-8
167
+ string: |-
168
+ {
169
+ "identifier": "si-ag1962-p100-tolson",
170
+ "imagefile": "/storage/si-ag/si-ag1962-p100-tolson.jp2",
171
+ "width": "1276",
172
+ "height": "1420",
173
+ "dwtLevels": "7",
174
+ "levels": "4",
175
+ "compositingLayerCount": "1"
176
+ }
177
+ http_version:
178
+ recorded_at: Fri, 29 Mar 2013 16:33:33 GMT
179
+ - request:
180
+ method: get
181
+ 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
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:33:33 GMT
201
+ Server:
202
+ - Apache-Coyote/1.1
203
+ Content-Type:
204
+ - application/json
205
+ Content-Length:
206
+ - '194'
207
+ Set-Cookie:
208
+ - JSESSIONID=705077632DEF3D9FE06ACCDD3FFDD64D; Path=/adore-djatoka/; HttpOnly
209
+ body:
210
+ encoding: UTF-8
211
+ string: |-
212
+ {
213
+ "identifier": "si-ag1962-p408-tolson",
214
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
215
+ "width": "360",
216
+ "height": "464",
217
+ "dwtLevels": "7",
218
+ "levels": "3",
219
+ "compositingLayerCount": "1"
220
+ }
221
+ http_version:
222
+ recorded_at: Fri, 29 Mar 2013 16:33:33 GMT
223
+ - request:
224
+ method: get
225
+ 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
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:33:33 GMT
245
+ Server:
246
+ - Apache-Coyote/1.1
247
+ Content-Type:
248
+ - application/json
249
+ Content-Length:
250
+ - '194'
251
+ Set-Cookie:
252
+ - JSESSIONID=85E9A1FF4CF97F144F98E85A7A3B36FD; Path=/adore-djatoka/; HttpOnly
253
+ body:
254
+ encoding: UTF-8
255
+ string: |-
256
+ {
257
+ "identifier": "si-ag1962-p408-tolson",
258
+ "imagefile": "/storage/si-ag/si-ag1962-p408-tolson.jp2",
259
+ "width": "360",
260
+ "height": "464",
261
+ "dwtLevels": "7",
262
+ "levels": "3",
263
+ "compositingLayerCount": "1"
264
+ }
265
+ http_version:
266
+ recorded_at: Fri, 29 Mar 2013 16:33:34 GMT
267
+ - request:
268
+ method: get
269
+ 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
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:33:34 GMT
289
+ Server:
290
+ - Apache-Coyote/1.1
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '194'
295
+ Set-Cookie:
296
+ - JSESSIONID=29593F1B3128FBA21572AFAA61C87ECF; Path=/adore-djatoka/; HttpOnly
297
+ body:
298
+ encoding: UTF-8
299
+ string: |-
300
+ {
301
+ "identifier": "si-ag1964-p123-atkins",
302
+ "imagefile": "/storage/si-ag/si-ag1964-p123-atkins.jp2",
303
+ "width": "331",
304
+ "height": "327",
305
+ "dwtLevels": "7",
306
+ "levels": "2",
307
+ "compositingLayerCount": "1"
308
+ }
309
+ http_version:
310
+ recorded_at: Fri, 29 Mar 2013 16:33:34 GMT
311
+ - request:
312
+ method: get
313
+ 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
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:33:34 GMT
333
+ Server:
334
+ - Apache-Coyote/1.1
335
+ Content-Type:
336
+ - application/json
337
+ Content-Length:
338
+ - '194'
339
+ Set-Cookie:
340
+ - JSESSIONID=DFB279132FBB6DF8226862D1A624057D; Path=/adore-djatoka/; HttpOnly
341
+ body:
342
+ encoding: UTF-8
343
+ string: |-
344
+ {
345
+ "identifier": "si-ag1964-p123-atkins",
346
+ "imagefile": "/storage/si-ag/si-ag1964-p123-atkins.jp2",
347
+ "width": "331",
348
+ "height": "327",
349
+ "dwtLevels": "7",
350
+ "levels": "2",
351
+ "compositingLayerCount": "1"
352
+ }
353
+ http_version:
354
+ recorded_at: Fri, 29 Mar 2013 16:33:34 GMT
355
+ - request:
356
+ method: get
357
+ 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
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:33:34 GMT
377
+ Server:
378
+ - Apache-Coyote/1.1
379
+ Content-Type:
380
+ - application/json
381
+ Content-Length:
382
+ - '195'
383
+ Set-Cookie:
384
+ - JSESSIONID=C3C428B24ECAB90DB0784BB5A59E71D7; Path=/adore-djatoka/; HttpOnly
385
+ body:
386
+ encoding: UTF-8
387
+ string: |-
388
+ {
389
+ "identifier": "si-ag1962-p212-tolson",
390
+ "imagefile": "/storage/si-ag/si-ag1962-p212-tolson.jp2",
391
+ "width": "760",
392
+ "height": "1168",
393
+ "dwtLevels": "7",
394
+ "levels": "4",
395
+ "compositingLayerCount": "1"
396
+ }
397
+ http_version:
398
+ recorded_at: Fri, 29 Mar 2013 16:33:34 GMT
399
+ - request:
400
+ method: get
401
+ 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
402
+ body:
403
+ encoding: US-ASCII
404
+ string: ''
405
+ headers:
406
+ Accept-Encoding:
407
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
408
+ Accept:
409
+ - '*/*'
410
+ User-Agent:
411
+ - Ruby
412
+ Host:
413
+ - scrc.lib.ncsu.edu
414
+ response:
415
+ status:
416
+ code: 200
417
+ message: OK
418
+ headers:
419
+ Date:
420
+ - Fri, 29 Mar 2013 16:33:34 GMT
421
+ Server:
422
+ - Apache-Coyote/1.1
423
+ Content-Type:
424
+ - application/json
425
+ Content-Length:
426
+ - '195'
427
+ Set-Cookie:
428
+ - JSESSIONID=5CA0EB082E2288F3CB3D404F8C2E5ED5; Path=/adore-djatoka/; HttpOnly
429
+ body:
430
+ encoding: UTF-8
431
+ string: |-
432
+ {
433
+ "identifier": "si-ag1962-p212-tolson",
434
+ "imagefile": "/storage/si-ag/si-ag1962-p212-tolson.jp2",
435
+ "width": "760",
436
+ "height": "1168",
437
+ "dwtLevels": "7",
438
+ "levels": "4",
439
+ "compositingLayerCount": "1"
440
+ }
441
+ http_version:
442
+ recorded_at: Fri, 29 Mar 2013 16:33:34 GMT
443
+ - request:
444
+ method: post
445
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/url
446
+ body:
447
+ encoding: UTF-8
448
+ string: '{"url":"http://127.0.0.1:60316/admin/kinney_images"}'
449
+ headers:
450
+ Accept:
451
+ - application/json
452
+ Content-Type:
453
+ - application/json; charset=utf-8
454
+ Content-Length:
455
+ - '52'
456
+ Accept-Encoding:
457
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
458
+ User-Agent:
459
+ - Ruby
460
+ response:
461
+ status:
462
+ code: 200
463
+ message: OK
464
+ headers:
465
+ Content-Type:
466
+ - application/json; charset=UTF-8
467
+ Connection:
468
+ - close
469
+ Content-Length:
470
+ - '87'
471
+ Server:
472
+ - httpd.js
473
+ Date:
474
+ - Fri, 29 Mar 2013 16:33:35 GMT
475
+ body:
476
+ encoding: UTF-8
477
+ string: '{"name":"get","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
478
+ http_version:
479
+ recorded_at: Fri, 29 Mar 2013 16:33:35 GMT
480
+ - request:
481
+ method: post
482
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
483
+ body:
484
+ encoding: UTF-8
485
+ string: '{"using":"xpath","value":".//a[./@href][(((./@id = ''New Kinney Image''
486
+ or contains(normalize-space(string(.)), ''New Kinney Image'')) or contains(./@title,
487
+ ''New Kinney Image'')) or .//img[contains(./@alt, ''New Kinney Image'')])]"}'
488
+ headers:
489
+ Accept:
490
+ - application/json
491
+ Content-Type:
492
+ - application/json; charset=utf-8
493
+ Content-Length:
494
+ - '225'
495
+ Accept-Encoding:
496
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
497
+ User-Agent:
498
+ - Ruby
499
+ response:
500
+ status:
501
+ code: 200
502
+ message: OK
503
+ headers:
504
+ Content-Type:
505
+ - application/json; charset=UTF-8
506
+ Connection:
507
+ - close
508
+ Content-Length:
509
+ - '148'
510
+ Server:
511
+ - httpd.js
512
+ Date:
513
+ - Fri, 29 Mar 2013 16:33:35 GMT
514
+ body:
515
+ encoding: UTF-8
516
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{3b9c2e9e-fb7d-4404-940c-6abdc8ae8463}"}]}'
517
+ http_version:
518
+ recorded_at: Fri, 29 Mar 2013 16:33:35 GMT
519
+ - request:
520
+ method: post
521
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B3b9c2e9e-fb7d-4404-940c-6abdc8ae8463%7D/click
522
+ body:
523
+ encoding: UTF-8
524
+ string: '{}'
525
+ headers:
526
+ Accept:
527
+ - application/json
528
+ Content-Length:
529
+ - '2'
530
+ Accept-Encoding:
531
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
532
+ User-Agent:
533
+ - Ruby
534
+ response:
535
+ status:
536
+ code: 200
537
+ message: OK
538
+ headers:
539
+ Content-Type:
540
+ - application/json; charset=UTF-8
541
+ Connection:
542
+ - close
543
+ Content-Length:
544
+ - '98'
545
+ Server:
546
+ - httpd.js
547
+ Date:
548
+ - Fri, 29 Mar 2013 16:33:35 GMT
549
+ body:
550
+ encoding: UTF-8
551
+ string: '{"name":"clickElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"ok"}'
552
+ http_version:
553
+ recorded_at: Fri, 29 Mar 2013 16:33:35 GMT
554
+ - request:
555
+ method: post
556
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
557
+ body:
558
+ encoding: UTF-8
559
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
560
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
561
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
562
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
563
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
564
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
565
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
566
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
567
+ headers:
568
+ Accept:
569
+ - application/json
570
+ Content-Type:
571
+ - application/json; charset=utf-8
572
+ Content-Length:
573
+ - '616'
574
+ Accept-Encoding:
575
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
576
+ User-Agent:
577
+ - Ruby
578
+ response:
579
+ status:
580
+ code: 200
581
+ message: OK
582
+ headers:
583
+ Content-Type:
584
+ - application/json; charset=UTF-8
585
+ Connection:
586
+ - close
587
+ Content-Length:
588
+ - '96'
589
+ Server:
590
+ - httpd.js
591
+ Date:
592
+ - Fri, 29 Mar 2013 16:33:36 GMT
593
+ body:
594
+ encoding: UTF-8
595
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[]}'
596
+ http_version:
597
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
598
+ - request:
599
+ method: post
600
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
601
+ body:
602
+ encoding: UTF-8
603
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
604
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
605
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
606
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
607
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
608
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
609
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
610
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
611
+ headers:
612
+ Accept:
613
+ - application/json
614
+ Content-Type:
615
+ - application/json; charset=utf-8
616
+ Content-Length:
617
+ - '616'
618
+ Accept-Encoding:
619
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
620
+ User-Agent:
621
+ - Ruby
622
+ response:
623
+ status:
624
+ code: 200
625
+ message: OK
626
+ headers:
627
+ Content-Type:
628
+ - application/json; charset=UTF-8
629
+ Connection:
630
+ - close
631
+ Content-Length:
632
+ - '148'
633
+ Server:
634
+ - httpd.js
635
+ Date:
636
+ - Fri, 29 Mar 2013 16:33:36 GMT
637
+ body:
638
+ encoding: UTF-8
639
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{483fc635-47af-4b75-a210-e5188cd081c9}"}]}'
640
+ http_version:
641
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
642
+ - request:
643
+ method: get
644
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B483fc635-47af-4b75-a210-e5188cd081c9%7D/name
645
+ body:
646
+ encoding: US-ASCII
647
+ string: ''
648
+ headers:
649
+ Accept:
650
+ - application/json
651
+ Cache-Control:
652
+ - no-cache
653
+ Accept-Encoding:
654
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
655
+ User-Agent:
656
+ - Ruby
657
+ response:
658
+ status:
659
+ code: 200
660
+ message: OK
661
+ headers:
662
+ Content-Type:
663
+ - application/json; charset=UTF-8
664
+ Connection:
665
+ - close
666
+ Content-Length:
667
+ - '106'
668
+ Server:
669
+ - httpd.js
670
+ Date:
671
+ - Fri, 29 Mar 2013 16:33:36 GMT
672
+ body:
673
+ encoding: UTF-8
674
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
675
+ http_version:
676
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
677
+ - request:
678
+ method: get
679
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B483fc635-47af-4b75-a210-e5188cd081c9%7D/attribute/type
680
+ body:
681
+ encoding: US-ASCII
682
+ string: ''
683
+ headers:
684
+ Accept:
685
+ - application/json
686
+ Cache-Control:
687
+ - no-cache
688
+ Accept-Encoding:
689
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
690
+ User-Agent:
691
+ - Ruby
692
+ response:
693
+ status:
694
+ code: 200
695
+ message: OK
696
+ headers:
697
+ Content-Type:
698
+ - application/json; charset=UTF-8
699
+ Connection:
700
+ - close
701
+ Content-Length:
702
+ - '107'
703
+ Server:
704
+ - httpd.js
705
+ Date:
706
+ - Fri, 29 Mar 2013 16:33:36 GMT
707
+ body:
708
+ encoding: UTF-8
709
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
710
+ http_version:
711
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
712
+ - request:
713
+ method: post
714
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
715
+ body:
716
+ encoding: UTF-8
717
+ string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{483fc635-47af-4b75-a210-e5188cd081c9}"}]}'
718
+ headers:
719
+ Accept:
720
+ - application/json
721
+ Content-Type:
722
+ - application/json; charset=utf-8
723
+ Content-Length:
724
+ - '98'
725
+ Accept-Encoding:
726
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
727
+ User-Agent:
728
+ - Ruby
729
+ response:
730
+ status:
731
+ code: 200
732
+ message: OK
733
+ headers:
734
+ Content-Type:
735
+ - application/json; charset=UTF-8
736
+ Connection:
737
+ - close
738
+ Content-Length:
739
+ - '99'
740
+ Server:
741
+ - httpd.js
742
+ Date:
743
+ - Fri, 29 Mar 2013 16:33:36 GMT
744
+ body:
745
+ encoding: UTF-8
746
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
747
+ http_version:
748
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
749
+ - request:
750
+ method: post
751
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B483fc635-47af-4b75-a210-e5188cd081c9%7D/value
752
+ body:
753
+ encoding: UTF-8
754
+ string: '{"value":["000001"]}'
755
+ headers:
756
+ Accept:
757
+ - application/json
758
+ Content-Type:
759
+ - application/json; charset=utf-8
760
+ Content-Length:
761
+ - '20'
762
+ Accept-Encoding:
763
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
764
+ User-Agent:
765
+ - Ruby
766
+ response:
767
+ status:
768
+ code: 200
769
+ message: OK
770
+ headers:
771
+ Content-Type:
772
+ - application/json; charset=UTF-8
773
+ Connection:
774
+ - close
775
+ Content-Length:
776
+ - '101'
777
+ Server:
778
+ - httpd.js
779
+ Date:
780
+ - Fri, 29 Mar 2013 16:33:36 GMT
781
+ body:
782
+ encoding: UTF-8
783
+ string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
784
+ http_version:
785
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
786
+ - request:
787
+ method: post
788
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
789
+ body:
790
+ encoding: UTF-8
791
+ string: '{"using":"xpath","value":".//input[./@type = ''checkbox''][(((./@id
792
+ = ''Top Pick?'' or ./@name = ''Top Pick?'') or ./@placeholder = ''Top Pick?'')
793
+ or ./@id = //label[contains(normalize-space(string(.)), ''Top Pick?'')]/@for)][not(./@disabled)]
794
+ | .//label[contains(normalize-space(string(.)), ''Top Pick?'')]//.//input[./@type
795
+ = ''checkbox''][not(./@disabled)]"}'
796
+ headers:
797
+ Accept:
798
+ - application/json
799
+ Content-Type:
800
+ - application/json; charset=utf-8
801
+ Content-Length:
802
+ - '347'
803
+ Accept-Encoding:
804
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
805
+ User-Agent:
806
+ - Ruby
807
+ response:
808
+ status:
809
+ code: 200
810
+ message: OK
811
+ headers:
812
+ Content-Type:
813
+ - application/json; charset=UTF-8
814
+ Connection:
815
+ - close
816
+ Content-Length:
817
+ - '148'
818
+ Server:
819
+ - httpd.js
820
+ Date:
821
+ - Fri, 29 Mar 2013 16:33:36 GMT
822
+ body:
823
+ encoding: UTF-8
824
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{4212d4c9-cfe1-4e2b-8f68-35ebfc077142}"}]}'
825
+ http_version:
826
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
827
+ - request:
828
+ method: get
829
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B4212d4c9-cfe1-4e2b-8f68-35ebfc077142%7D/name
830
+ body:
831
+ encoding: US-ASCII
832
+ string: ''
833
+ headers:
834
+ Accept:
835
+ - application/json
836
+ Cache-Control:
837
+ - no-cache
838
+ Accept-Encoding:
839
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
840
+ User-Agent:
841
+ - Ruby
842
+ response:
843
+ status:
844
+ code: 200
845
+ message: OK
846
+ headers:
847
+ Content-Type:
848
+ - application/json; charset=UTF-8
849
+ Connection:
850
+ - close
851
+ Content-Length:
852
+ - '106'
853
+ Server:
854
+ - httpd.js
855
+ Date:
856
+ - Fri, 29 Mar 2013 16:33:36 GMT
857
+ body:
858
+ encoding: UTF-8
859
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
860
+ http_version:
861
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
862
+ - request:
863
+ method: get
864
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B4212d4c9-cfe1-4e2b-8f68-35ebfc077142%7D/attribute/type
865
+ body:
866
+ encoding: US-ASCII
867
+ string: ''
868
+ headers:
869
+ Accept:
870
+ - application/json
871
+ Cache-Control:
872
+ - no-cache
873
+ Accept-Encoding:
874
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
875
+ User-Agent:
876
+ - Ruby
877
+ response:
878
+ status:
879
+ code: 200
880
+ message: OK
881
+ headers:
882
+ Content-Type:
883
+ - application/json; charset=UTF-8
884
+ Connection:
885
+ - close
886
+ Content-Length:
887
+ - '111'
888
+ Server:
889
+ - httpd.js
890
+ Date:
891
+ - Fri, 29 Mar 2013 16:33:36 GMT
892
+ body:
893
+ encoding: UTF-8
894
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"checkbox"}'
895
+ http_version:
896
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
897
+ - request:
898
+ method: get
899
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B4212d4c9-cfe1-4e2b-8f68-35ebfc077142%7D/attribute/checked
900
+ body:
901
+ encoding: US-ASCII
902
+ string: ''
903
+ headers:
904
+ Accept:
905
+ - application/json
906
+ Cache-Control:
907
+ - no-cache
908
+ Accept-Encoding:
909
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
910
+ User-Agent:
911
+ - Ruby
912
+ response:
913
+ status:
914
+ code: 200
915
+ message: OK
916
+ headers:
917
+ Content-Type:
918
+ - application/json; charset=UTF-8
919
+ Connection:
920
+ - close
921
+ Content-Length:
922
+ - '105'
923
+ Server:
924
+ - httpd.js
925
+ Date:
926
+ - Fri, 29 Mar 2013 16:33:36 GMT
927
+ body:
928
+ encoding: UTF-8
929
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
930
+ http_version:
931
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
932
+ - request:
933
+ method: post
934
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B4212d4c9-cfe1-4e2b-8f68-35ebfc077142%7D/click
935
+ body:
936
+ encoding: UTF-8
937
+ string: '{}'
938
+ headers:
939
+ Accept:
940
+ - application/json
941
+ Content-Length:
942
+ - '2'
943
+ Accept-Encoding:
944
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
945
+ User-Agent:
946
+ - Ruby
947
+ response:
948
+ status:
949
+ code: 200
950
+ message: OK
951
+ headers:
952
+ Content-Type:
953
+ - application/json; charset=UTF-8
954
+ Connection:
955
+ - close
956
+ Content-Length:
957
+ - '98'
958
+ Server:
959
+ - httpd.js
960
+ Date:
961
+ - Fri, 29 Mar 2013 16:33:36 GMT
962
+ body:
963
+ encoding: UTF-8
964
+ string: '{"name":"clickElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"ok"}'
965
+ http_version:
966
+ recorded_at: Fri, 29 Mar 2013 16:33:36 GMT
967
+ recorded_with: VCR 2.4.0