triannon-client 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/lib/triannon-client/triannon_client.rb +14 -3
  4. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +49 -61
  5. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +49 -61
  6. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +49 -61
  7. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +49 -61
  8. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trig_.yml +49 -61
  9. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trix_.yml +49 -61
  10. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +49 -61
  11. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +49 -61
  12. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +49 -61
  13. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/n3_.yml +49 -61
  14. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +49 -61
  15. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +49 -61
  16. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +49 -61
  17. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +46 -46
  18. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +34 -34
  19. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +33 -33
  20. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +33 -33
  21. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +26 -26
  22. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +26 -26
  23. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +26 -26
  24. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +26 -26
  25. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +26 -26
  26. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +26 -26
  27. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trig_.yml +26 -26
  28. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trix_.yml +26 -26
  29. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +26 -26
  30. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +26 -26
  31. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +26 -26
  32. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +26 -26
  33. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/n3_.yml +26 -26
  34. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +26 -26
  35. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +26 -26
  36. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +26 -26
  37. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +26 -26
  38. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +26 -26
  39. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +26 -26
  40. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +26 -26
  41. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +26 -26
  42. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +26 -26
  43. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +26 -26
  44. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +26 -26
  45. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +99 -40
  46. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +46 -46
  47. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +26 -26
  48. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +40 -40
  49. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +26 -26
  50. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +46 -46
  51. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_true_for_a_204_response_to_a_DELETE_request.yml → does_not_log_exceptions_for_missing_annotations_404_responses_.yml} +10 -10
  52. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_false_for_a_500_response_to_a_DELETE_request.yml → does_not_log_exceptions_for_missing_annotations_410_responses_.yml} +10 -10
  53. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_true_for_a_202_response_to_a_DELETE_request.yml → logs_exceptions.yml} +9 -9
  54. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_true_for_a_200_response_to_a_DELETE_request.yml → returns_FALSE_for_a_500_response_to_a_DELETE_request.yml} +11 -12
  55. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +63 -0
  56. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +63 -0
  57. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +63 -0
  58. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +63 -0
  59. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +63 -0
  60. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{fails_to_delete_an_open_annotation_that_does_NOT_exist.yml → returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml} +8 -8
  61. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{deletes_an_open_annotation_that_exists.yml → returns_TRUE_when_deleting_an_open_annotation_that_exists.yml} +34 -34
  62. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +8 -8
  63. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +14 -14
  64. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +14 -14
  65. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +42 -42
  66. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +26 -26
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions.yml +5601 -0
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +5601 -0
  69. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +26 -26
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +26 -26
  71. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +26 -26
  72. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +34 -34
  73. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_array_of_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml +26 -26
  74. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +38 -38
  75. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +26 -26
  76. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +26 -26
  77. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +26 -26
  78. data/spec/lib/triannon-client/triannon_client_spec.rb +67 -26
  79. data/triannon-client.gemspec +1 -1
  80. metadata +28 -14
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"265e3db1d54b189deb02973de055f413"
34
+ - W/"d62c4542198381b6ae6689efce1ff332"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - d2d4d84f-05a4-43bd-9fd2-5e19ed1c2bf3
38
+ - 60b72d90-74d1-4b2d-9630-0b607b64077a
39
39
  X-Runtime:
40
- - '1.371277'
40
+ - '1.699568'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Wed, 13 May 2015 22:31:02 GMT
44
+ - Mon, 18 May 2015 20:07:48 GMT
45
45
  Content-Length:
46
46
  - '443'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=YlhkblFBR0VyenNnN2UrSXd5b1ZuMFcvc1NqcUNVQnl5NkIwY2hvSHg5bHBObjk1OUIxRm9HblluMER6TlpiaUo3eG4xMWVRTGlsYS9CL0JGL3ZKbEJ1amQvL0ZZMlU3VE8wS1ozci83TEx6UUMvaWhlUWRLMjRSU1FEdkVSNGVuQ2w2c3pGSFFURUJpL3VvSS90M0RZM1Ivd2tHbnVCU28wc2dTWUY5NGQ5Z3RndzYxSXAwSkZDdVRrMzJkNVd3eVhzZjE4YzN2aWQ5cEpnMlNMdkgvV1Z4Wk9Cb3BrREV4UC9OYXNlU09FWXdoSHlKaUhoUjhBdGdGTXEzVEZpYi0tcHpsVitmUWFSSzRtdjRWZ2RVMkZvUT09--27c751a8a968e7b6aa9bbb0168d6e0a2a902eec6;
50
+ - _internal_session=UkZrdFJSa0RaWElEVTFvOGxZenBNVXY0UzlHY2hDOFYyRmVPWVdEbDNxMkJMRG9CTm0wU1IyY3pocnZINzFYbFl1VjNCYmpEUFRyakVjRzZHa1MrcVpFL0hxZ2srbDdwQnkyTWdoWTdZUGFmQW5ZQ3BsdW5rVURGVDlrbUYyUk5xK0RvNjdLOFVORU0yUEJoMDhXWEZ0Mk9QbVo3dk1YcUpueXI5dHByak1paFA2UEJiQ3JSczRuWlVFN3d3SmFuL1Q3djIyUzYwc3pYcFRhOGc3VWJMaU5zV245b05JZmxhVjBVTENUV0t1YmM5R1pJWkk1dGhPbVhhVkk5MUw3bS0tQ09aNk5kQ0YxQWUrc0ZSWWoySHBOdz09--567b5bda83f49d3a32ada4d30898cc8185bb6c5e;
51
51
  path=/; HttpOnly
52
52
  - request_method=POST; path=/
53
53
  body:
54
54
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70052645940940","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/9d/c4/c2/0e/9dc4c20e-115c-4a98-af61-b90e4e230494","@type":"oa:Annotation","hasBody":"_:g70052645940940","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70310858732980","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/0e/28/03/67/0e280367-3ccb-4d01-83d3-9c23b912eac5","@type":"oa:Annotation","hasBody":"_:g70310858732980","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Wed, 13 May 2015 22:31:02 GMT
58
+ recorded_at: Mon, 18 May 2015 20:07:48 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Temporary Redirect
76
76
  headers:
77
77
  Date:
78
- - Wed, 13 May 2015 22:31:02 GMT
78
+ - Mon, 18 May 2015 20:07:48 GMT
79
79
  Server:
80
80
  - Apache/2
81
81
  Location:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Cache-Control:
84
84
  - max-age=21600
85
85
  Expires:
86
- - Thu, 14 May 2015 04:31:02 GMT
86
+ - Tue, 19 May 2015 02:07:48 GMT
87
87
  Content-Length:
88
88
  - '240'
89
89
  Content-Type:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
100
  </body></html>
101
101
  http_version:
102
- recorded_at: Wed, 13 May 2015 22:31:02 GMT
102
+ recorded_at: Mon, 18 May 2015 20:07:48 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +121,7 @@ http_interactions:
121
121
  message: OK
122
122
  headers:
123
123
  Date:
124
- - Wed, 13 May 2015 22:31:02 GMT
124
+ - Mon, 18 May 2015 20:07:48 GMT
125
125
  Server:
126
126
  - Apache/2
127
127
  Last-Modified:
@@ -135,7 +135,7 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - max-age=21600
137
137
  Expires:
138
- - Thu, 14 May 2015 04:31:02 GMT
138
+ - Tue, 19 May 2015 02:07:48 GMT
139
139
  P3p:
140
140
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
141
  Access-Control-Allow-Origin:
@@ -1253,7 +1253,7 @@ http_interactions:
1253
1253
 
1254
1254
 
1255
1255
  http_version:
1256
- recorded_at: Wed, 13 May 2015 22:31:03 GMT
1256
+ recorded_at: Mon, 18 May 2015 20:07:48 GMT
1257
1257
  - request:
1258
1258
  method: get
1259
1259
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1273,7 @@ http_interactions:
1273
1273
  message: Temporary Redirect
1274
1274
  headers:
1275
1275
  Date:
1276
- - Wed, 13 May 2015 22:31:03 GMT
1276
+ - Mon, 18 May 2015 20:07:48 GMT
1277
1277
  Server:
1278
1278
  - Apache/2
1279
1279
  Location:
@@ -1281,7 +1281,7 @@ http_interactions:
1281
1281
  Cache-Control:
1282
1282
  - max-age=21600
1283
1283
  Expires:
1284
- - Thu, 14 May 2015 04:31:03 GMT
1284
+ - Tue, 19 May 2015 02:07:48 GMT
1285
1285
  Content-Length:
1286
1286
  - '240'
1287
1287
  Content-Type:
@@ -1297,7 +1297,7 @@ http_interactions:
1297
1297
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1298
  </body></html>
1299
1299
  http_version:
1300
- recorded_at: Wed, 13 May 2015 22:31:03 GMT
1300
+ recorded_at: Mon, 18 May 2015 20:07:48 GMT
1301
1301
  - request:
1302
1302
  method: get
1303
1303
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1319,7 @@ http_interactions:
1319
1319
  message: OK
1320
1320
  headers:
1321
1321
  Date:
1322
- - Wed, 13 May 2015 22:31:03 GMT
1322
+ - Mon, 18 May 2015 20:07:49 GMT
1323
1323
  Server:
1324
1324
  - Apache/2
1325
1325
  Last-Modified:
@@ -1333,7 +1333,7 @@ http_interactions:
1333
1333
  Cache-Control:
1334
1334
  - max-age=21600
1335
1335
  Expires:
1336
- - Thu, 14 May 2015 04:31:03 GMT
1336
+ - Tue, 19 May 2015 02:07:49 GMT
1337
1337
  P3p:
1338
1338
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1339
  Access-Control-Allow-Origin:
@@ -2451,10 +2451,10 @@ http_interactions:
2451
2451
 
2452
2452
 
2453
2453
  http_version:
2454
- recorded_at: Wed, 13 May 2015 22:31:03 GMT
2454
+ recorded_at: Mon, 18 May 2015 20:07:49 GMT
2455
2455
  - request:
2456
2456
  method: get
2457
- uri: http://localhost:3000/annotations/9d%2Fc4%2Fc2%2F0e%2F9dc4c20e-115c-4a98-af61-b90e4e230494
2457
+ uri: http://localhost:3000/annotations/0e%2F28%2F03%2F67%2F0e280367-3ccb-4d01-83d3-9c23b912eac5
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2473,15 +2473,15 @@ http_interactions:
2473
2473
  Content-Type:
2474
2474
  - text/html; charset=utf-8
2475
2475
  Content-Length:
2476
- - '129090'
2476
+ - '127997'
2477
2477
  X-Request-Id:
2478
- - df392c2e-86d2-4d02-bf08-5fbd258ad4be
2478
+ - 8231e0e5-e865-4bac-bc42-7188622f95d6
2479
2479
  X-Runtime:
2480
- - '0.283680'
2480
+ - '0.363218'
2481
2481
  Server:
2482
2482
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2483
2483
  Date:
2484
- - Wed, 13 May 2015 22:31:03 GMT
2484
+ - Mon, 18 May 2015 20:07:49 GMT
2485
2485
  Connection:
2486
2486
  - Keep-Alive
2487
2487
  body:
@@ -3438,17 +3438,7 @@ http_interactions:
3438
3438
  regardless if they changed or not.\n</div>\n</pre>\n</td>\n </tr>\n
3439
3439
  \ </table>\n </div>\n </div>\n <div class=\"source hidden\"
3440
3440
  id=\"frame-source-88\">\n <div class=\"info\">\n Extracted source
3441
- (around line <strong>#17</strong>):\n </div>\n <div class=\"data\">\n
3442
- \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3443
- \ <td>\n <pre class=\"line_numbers\">\n<span>15</span>\n<span>16</span>\n<span>17</span>\n<span>18</span>\n<span>19</span>\n<span>20</span>\n
3444
- \ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div
3445
- class=\"line\"> old, env[FLAG] = env[FLAG], false\n</div><div class=\"line\">
3446
- \ @mutex.lock\n</div><div class=\"line active\"> response = @app.call(env)\n</div><div
3447
- class=\"line\"> body = BodyProxy.new(response[2]) { @mutex.unlock }\n</div><div
3448
- class=\"line\"> response[2] = body\n</div><div class=\"line\"> response\n</div>\n</pre>\n</td>\n
3449
- \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3450
- hidden\" id=\"frame-source-89\">\n <div class=\"info\">\n Extracted
3451
- source (around line <strong>#15</strong>):\n </div>\n <div class=\"data\">\n
3441
+ (around line <strong>#15</strong>):\n </div>\n <div class=\"data\">\n
3452
3442
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3453
3443
  \ <td>\n <pre class=\"line_numbers\">\n<span>13</span>\n<span>14</span>\n<span>15</span>\n<span>16</span>\n<span>17</span>\n<span>18</span>\n
3454
3444
  \ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div
@@ -3457,7 +3447,7 @@ http_interactions:
3457
3447
  \ headers = HeaderHash.new(headers)\n</div><div class=\"line\">\n</div><div
3458
3448
  class=\"line\"> if !STATUS_WITH_NO_ENTITY_BODY.include?(status.to_i)
3459
3449
  &amp;&amp;\n</div>\n</pre>\n</td>\n </tr>\n </table>\n </div>\n
3460
- \ </div>\n <div class=\"source hidden\" id=\"frame-source-90\">\n <div
3450
+ \ </div>\n <div class=\"source hidden\" id=\"frame-source-89\">\n <div
3461
3451
  class=\"info\">\n Extracted source (around line <strong>#89</strong>):\n
3462
3452
  \ </div>\n <div class=\"data\">\n <table cellpadding=\"0\"
3463
3453
  cellspacing=\"0\" class=\"lines\">\n <tr>\n <td>\n <pre
@@ -3469,7 +3459,7 @@ http_interactions:
3469
3459
  \ begin\n</div><div class=\"line\"> res.status = status.to_i\n</div><div
3470
3460
  class=\"line\"> headers.each { |k, vs|\n</div>\n</pre>\n</td>\n </tr>\n
3471
3461
  \ </table>\n </div>\n </div>\n <div class=\"source hidden\"
3472
- id=\"frame-source-91\">\n <div class=\"info\">\n Extracted source
3462
+ id=\"frame-source-90\">\n <div class=\"info\">\n Extracted source
3473
3463
  (around line <strong>#138</strong>):\n </div>\n <div class=\"data\">\n
3474
3464
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3475
3465
  \ <td>\n <pre class=\"line_numbers\">\n<span>136</span>\n<span>137</span>\n<span>138</span>\n<span>139</span>\n<span>140</span>\n<span>141</span>\n
@@ -3479,7 +3469,7 @@ http_interactions:
3479
3469
  class=\"line active\"> si.service(req, res)\n</div><div class=\"line\">
3480
3470
  \ end\n</div><div class=\"line\">\n</div><div class=\"line\"> ##\n</div>\n</pre>\n</td>\n
3481
3471
  \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3482
- hidden\" id=\"frame-source-92\">\n <div class=\"info\">\n Extracted
3472
+ hidden\" id=\"frame-source-91\">\n <div class=\"info\">\n Extracted
3483
3473
  source (around line <strong>#94</strong>):\n </div>\n <div class=\"data\">\n
3484
3474
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3485
3475
  \ <td>\n <pre class=\"line_numbers\">\n<span>92</span>\n<span>93</span>\n<span>94</span>\n<span>95</span>\n<span>96</span>\n<span>97</span>\n
@@ -3490,7 +3480,7 @@ http_interactions:
3490
3480
  =&gt; ex\n</div><div class=\"line\"> res.set_error(ex)\n</div><div
3491
3481
  class=\"line\"> rescue HTTPStatus::Error =&gt; ex\n</div>\n</pre>\n</td>\n
3492
3482
  \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3493
- hidden\" id=\"frame-source-93\">\n <div class=\"info\">\n Extracted
3483
+ hidden\" id=\"frame-source-92\">\n <div class=\"info\">\n Extracted
3494
3484
  source (around line <strong>#294</strong>):\n </div>\n <div class=\"data\">\n
3495
3485
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3496
3486
  \ <td>\n <pre class=\"line_numbers\">\n<span>292</span>\n<span>293</span>\n<span>294</span>\n<span>295</span>\n<span>296</span>\n<span>297</span>\n
@@ -3654,13 +3644,12 @@ http_interactions:
3654
3644
  data-frame-id=\"86\" href=\"#\">railties (4.2.0) lib/rails/engine.rb:518:in
3655
3645
  `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"87\" href=\"#\">railties
3656
3646
  (4.2.0) lib/rails/application.rb:164:in `call&#39;</a><br><a class=\"trace-frames\"
3657
- data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/lock.rb:17:in `call&#39;</a><br><a
3658
- class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3659
- `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"90\" href=\"#\">rack
3647
+ data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3648
+ `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack
3660
3649
  (1.6.1) lib/rack/handler/webrick.rb:89:in `service&#39;</a><br><a class=\"trace-frames\"
3661
- data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3662
- `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3663
- `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"93\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3650
+ data-frame-id=\"90\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3651
+ `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3652
+ `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3664
3653
  `block in start_thread&#39;</a><br></code></pre>\n </div>\n <div id=\"Full-Trace\"
3665
3654
  style=\"display: block;\">\n <pre><code><a class=\"trace-frames\" data-frame-id=\"0\"
3666
3655
  href=\"#\">actionpack (4.2.0) lib/action_controller/metal/mime_responds.rb:218:in
@@ -3809,13 +3798,12 @@ http_interactions:
3809
3798
  data-frame-id=\"86\" href=\"#\">railties (4.2.0) lib/rails/engine.rb:518:in
3810
3799
  `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"87\" href=\"#\">railties
3811
3800
  (4.2.0) lib/rails/application.rb:164:in `call&#39;</a><br><a class=\"trace-frames\"
3812
- data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/lock.rb:17:in `call&#39;</a><br><a
3813
- class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3814
- `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"90\" href=\"#\">rack
3801
+ data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3802
+ `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack
3815
3803
  (1.6.1) lib/rack/handler/webrick.rb:89:in `service&#39;</a><br><a class=\"trace-frames\"
3816
- data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3817
- `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3818
- `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"93\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3804
+ data-frame-id=\"90\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3805
+ `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3806
+ `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3819
3807
  `block in start_thread&#39;</a><br></code></pre>\n </div>\n\n <script
3820
3808
  type=\"text/javascript\">\n var traceFrames = document.getElementsByClassName('trace-frames');\n
3821
3809
  \ var selectedFrame, currentSource = document.getElementById('frame-source-0');\n\n
@@ -3830,7 +3818,7 @@ http_interactions:
3830
3818
  && el) {\n currentSource.className += \" hidden\";\n el.className
3831
3819
  = el.className.replace(\" hidden\", \"\");\n currentSource = el;\n
3832
3820
  \ }\n }\n }\n </script>\n</div>\n\n \n\n<h2 style=\"margin-top:
3833
- 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{&quot;id&quot;=&gt;&quot;9d/c4/c2/0e/9dc4c20e-115c-4a98-af61-b90e4e230494&quot;}</pre>\n\n<div
3821
+ 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{&quot;id&quot;=&gt;&quot;0e/28/03/67/0e280367-3ccb-4d01-83d3-9c23b912eac5&quot;}</pre>\n\n<div
3834
3822
  class=\"details\">\n <div class=\"summary\"><a href=\"#\" onclick=\"return
3835
3823
  toggleSessionDump()\">Toggle session dump</a></div>\n <div id=\"session_dump\"
3836
3824
  style=\"display:none\"><pre></pre></div>\n</div>\n\n<div class=\"details\">\n
@@ -3840,7 +3828,7 @@ http_interactions:
3840
3828
  &quot;gzip, deflate&quot;\nREMOTE_ADDR: &quot;127.0.0.1&quot;\nREMOTE_HOST:
3841
3829
  &quot;127.0.0.1&quot;\nSERVER_NAME: &quot;localhost&quot;\nSERVER_PROTOCOL:
3842
3830
  &quot;HTTP/1.1&quot;</pre></div>\n</div>\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>:</p>
3843
- <pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n<div id=\"console\"\n data-remote-path='console/repl_sessions/8a8b1a0dc65ac4531667d80a394ac52b'\n
3831
+ <pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n<div id=\"console\"\n data-remote-path='console/repl_sessions/e2f7ec04ec8f94344e093b63f12160cb'\n
3844
3832
  \ data-initial-prompt='>> '>\n</div>\n\n\n<script type=\"text/javascript\">\n(function()
3845
3833
  {\n // DOM helpers\nfunction hasClass(el, className) {\n var regex = new
3846
3834
  RegExp('(?:^|\\\\s)' + className + '(?!\\\\S)', 'g');\n return el.className.match(regex);\n}\n\nfunction
@@ -4037,10 +4025,10 @@ http_interactions:
4037
4025
  \ resizerElement.addEventListener('mouseup', recordConsoleElementHeight);\n
4038
4026
  \ });\n});\n\n}).call(this);\n</script>\n\n"
4039
4027
  http_version:
4040
- recorded_at: Wed, 13 May 2015 22:31:03 GMT
4028
+ recorded_at: Mon, 18 May 2015 20:07:49 GMT
4041
4029
  - request:
4042
4030
  method: delete
4043
- uri: http://localhost:3000/annotations/9d%2Fc4%2Fc2%2F0e%2F9dc4c20e-115c-4a98-af61-b90e4e230494
4031
+ uri: http://localhost:3000/annotations/0e%2F28%2F03%2F67%2F0e280367-3ccb-4d01-83d3-9c23b912eac5
4044
4032
  body:
4045
4033
  encoding: US-ASCII
4046
4034
  string: ''
@@ -4067,22 +4055,22 @@ http_interactions:
4067
4055
  Cache-Control:
4068
4056
  - no-cache
4069
4057
  X-Request-Id:
4070
- - 80110905-5121-4b40-be4c-51be32e0c754
4058
+ - 096a425d-dcc7-4d19-a88c-709587382edb
4071
4059
  X-Runtime:
4072
- - '0.173334'
4060
+ - '0.207025'
4073
4061
  Server:
4074
4062
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
4075
4063
  Date:
4076
- - Wed, 13 May 2015 22:31:04 GMT
4064
+ - Mon, 18 May 2015 20:07:49 GMT
4077
4065
  Connection:
4078
4066
  - Keep-Alive
4079
4067
  Set-Cookie:
4080
- - _internal_session=TDJsc2ZDa3ZQai9RRDZaVnR5My9oMFlqMWpwdjNHSllMMSswNlpwYzJiZjh6WXY2WnFxRjFJK0VxbmR6ZGd4MVM4NFRBR1FOTytsbVNOSUZyK1VsVDQvcE5xYVQ2TmpJMVlqUXZEalJiaXNVclRwVWpRS0kyR21pZ09pem5ZTjVMOWNTMmFuaEZ4MStZbzlqbWMzQlJud3hLYzIwaUFzZUNzNnhZaXVPZWdScERCU1Z6RExraDM3K3B4QzZpVnhtLS1KdnN0SGxZUmh3UFRRb3hwRkpFVHlnPT0%3D--b0ae58fd98cd1176d427fa734f368082815f620b;
4068
+ - _internal_session=ZE1BVllOdzNPS0RkOXJSNXNZVmtvUVl3OXEyeTR6WTZKWUplZ3pZUTVXcmxvUEo1c2R6a1cvNnhYS2VpYVhROW42VDFRYjgxbklkcTVSV2hXMG83Zkw5TnFDMEtuemRrUXdoYmUzNG9NZXZHc2NPS2VCK1I3bUZCOGdVdUdnS0NBbmQzU3hZVGVPRDIrRTRQSnJRMjJyOVlXVGN2dHkzYWZtR1JaVmlTL3VaczdySkR1NzFEb1ZYaUZXR0JxQUdaLS1BaGFXaDRzSGMvN2ZRTm4rM1E2QzR3PT0%3D--bfb97083c2ad14066ce6331be1d958b7cdc8e23a;
4081
4069
  path=/; HttpOnly
4082
4070
  - request_method=DELETE; path=/
4083
4071
  body:
4084
4072
  encoding: UTF-8
4085
4073
  string: ''
4086
4074
  http_version:
4087
- recorded_at: Wed, 13 May 2015 22:31:04 GMT
4075
+ recorded_at: Mon, 18 May 2015 20:07:49 GMT
4088
4076
  recorded_with: VCR 2.9.3
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"ce14201aaa6e5b83e10cc72f031c69af"
34
+ - W/"8a777ef01f0d86b00c702c357899cc9a"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 6b9f78c4-3ae0-4afb-945e-8795f895d79e
38
+ - 4f5b290f-6cb9-4af6-8bc6-242f078ec59c
39
39
  X-Runtime:
40
- - '1.581342'
40
+ - '1.758480'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Wed, 13 May 2015 22:30:26 GMT
44
+ - Mon, 18 May 2015 20:07:01 GMT
45
45
  Content-Length:
46
46
  - '443'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=bEw0OTFDdTJjcmhOMGxrbzdUNFN1L3NNbXJ1SUg1bDA5VmwxdGgrRlY5M1VWTjdURnBzaVJMbVp6VXhsM2xMeXlMZytOUisxZGxGcW94aStLems2YmZ3cXNvVWtFMHFCb1F3WDB1bkdNOHBTcmVJSGdURitsWmk5MVJuZVVRRjE5UnJJRVF2MWpYTC9JTmRpbEpSMmpLTWo1VmJqNm9vK2xaQkhZSVJMa0ZNc216UHYrcjh5amxNZTJ1TmhqWkI0WjVXWnpMcXJCSzBYRU0vNm9jTEMzQ3BwWXI5a2hxRjN4RW54YUM4bExRSnpxNTVVdTl6OUI1MlhZK1hkSk1HZi0tczF2ZmtjcCs3NS9yUUYwUlZsY0Irdz09--02fad0030710bdda58603845ae04a1adf83a7e90;
50
+ - _internal_session=TFlPdG53Y0piVEN5THdhSTIvb0YwVVRLZUhVazZRR0ljSVF4NWV1TUpLYm82YzRhT3Bra3htY0IwblgrMWcxZndMVHg4YTFKbi9LVDdra2VLRVBPWVB4dm1CVXZaY01uaVRrcnM2ckZPOHV2NEJxZUt0UHVwcFV5TmxLR1UwVWhLM2hZSUJTQWRmWFErdmdUempubDloRGMvTmk3U1BPYTQvdmNqMHluRkh6WGJGcm1TTWxlUmx4VVJYYWIrRVB3UFZETDEzSGZQQUhvUGRDZDFWdWN1bURpYytRWU9rbVNEYmFNR05ROVdrQ0hvVGZodGx0czg5L0l4VnRBcXkxNi0tdk8vNGU4OGxEMGhlZCtBNm55N1lEUT09--72b7a1d8bb10d07f36fbcd0e9a2091cb4da0e2b7;
51
51
  path=/; HttpOnly
52
52
  - request_method=POST; path=/
53
53
  body:
54
54
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70052324390800","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/10/95/c6/5e/1095c65e-3664-4a4e-a117-55917b0d575c","@type":"oa:Annotation","hasBody":"_:g70052324390800","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70310852959840","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/02/8a/c2/90/028ac290-9cda-4eff-93d3-6d0258dfa24e","@type":"oa:Annotation","hasBody":"_:g70310852959840","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Wed, 13 May 2015 22:30:26 GMT
58
+ recorded_at: Mon, 18 May 2015 20:07:01 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Temporary Redirect
76
76
  headers:
77
77
  Date:
78
- - Wed, 13 May 2015 22:30:26 GMT
78
+ - Mon, 18 May 2015 20:07:01 GMT
79
79
  Server:
80
80
  - Apache/2
81
81
  Location:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Cache-Control:
84
84
  - max-age=21600
85
85
  Expires:
86
- - Thu, 14 May 2015 04:30:26 GMT
86
+ - Tue, 19 May 2015 02:07:01 GMT
87
87
  Content-Length:
88
88
  - '240'
89
89
  Content-Type:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
100
  </body></html>
101
101
  http_version:
102
- recorded_at: Wed, 13 May 2015 22:30:26 GMT
102
+ recorded_at: Mon, 18 May 2015 20:07:01 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +121,7 @@ http_interactions:
121
121
  message: OK
122
122
  headers:
123
123
  Date:
124
- - Wed, 13 May 2015 22:30:27 GMT
124
+ - Mon, 18 May 2015 20:07:02 GMT
125
125
  Server:
126
126
  - Apache/2
127
127
  Last-Modified:
@@ -135,7 +135,7 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - max-age=21600
137
137
  Expires:
138
- - Thu, 14 May 2015 04:30:27 GMT
138
+ - Tue, 19 May 2015 02:07:02 GMT
139
139
  P3p:
140
140
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
141
  Access-Control-Allow-Origin:
@@ -1253,7 +1253,7 @@ http_interactions:
1253
1253
 
1254
1254
 
1255
1255
  http_version:
1256
- recorded_at: Wed, 13 May 2015 22:30:27 GMT
1256
+ recorded_at: Mon, 18 May 2015 20:07:02 GMT
1257
1257
  - request:
1258
1258
  method: get
1259
1259
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1273,7 @@ http_interactions:
1273
1273
  message: Temporary Redirect
1274
1274
  headers:
1275
1275
  Date:
1276
- - Wed, 13 May 2015 22:30:27 GMT
1276
+ - Mon, 18 May 2015 20:07:02 GMT
1277
1277
  Server:
1278
1278
  - Apache/2
1279
1279
  Location:
@@ -1281,7 +1281,7 @@ http_interactions:
1281
1281
  Cache-Control:
1282
1282
  - max-age=21600
1283
1283
  Expires:
1284
- - Thu, 14 May 2015 04:30:27 GMT
1284
+ - Tue, 19 May 2015 02:07:02 GMT
1285
1285
  Content-Length:
1286
1286
  - '240'
1287
1287
  Content-Type:
@@ -1297,7 +1297,7 @@ http_interactions:
1297
1297
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1298
  </body></html>
1299
1299
  http_version:
1300
- recorded_at: Wed, 13 May 2015 22:30:27 GMT
1300
+ recorded_at: Mon, 18 May 2015 20:07:02 GMT
1301
1301
  - request:
1302
1302
  method: get
1303
1303
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1319,7 @@ http_interactions:
1319
1319
  message: OK
1320
1320
  headers:
1321
1321
  Date:
1322
- - Wed, 13 May 2015 22:30:27 GMT
1322
+ - Mon, 18 May 2015 20:07:02 GMT
1323
1323
  Server:
1324
1324
  - Apache/2
1325
1325
  Last-Modified:
@@ -1333,7 +1333,7 @@ http_interactions:
1333
1333
  Cache-Control:
1334
1334
  - max-age=21600
1335
1335
  Expires:
1336
- - Thu, 14 May 2015 04:30:27 GMT
1336
+ - Tue, 19 May 2015 02:07:02 GMT
1337
1337
  P3p:
1338
1338
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1339
  Access-Control-Allow-Origin:
@@ -2451,10 +2451,10 @@ http_interactions:
2451
2451
 
2452
2452
 
2453
2453
  http_version:
2454
- recorded_at: Wed, 13 May 2015 22:30:27 GMT
2454
+ recorded_at: Mon, 18 May 2015 20:07:03 GMT
2455
2455
  - request:
2456
2456
  method: get
2457
- uri: http://localhost:3000/annotations/10%2F95%2Fc6%2F5e%2F1095c65e-3664-4a4e-a117-55917b0d575c
2457
+ uri: http://localhost:3000/annotations/02%2F8a%2Fc2%2F90%2F028ac290-9cda-4eff-93d3-6d0258dfa24e
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2473,15 +2473,15 @@ http_interactions:
2473
2473
  Content-Type:
2474
2474
  - text/html; charset=utf-8
2475
2475
  Content-Length:
2476
- - '129094'
2476
+ - '128001'
2477
2477
  X-Request-Id:
2478
- - fce16d57-5c32-4068-acc0-2822cf6a4d53
2478
+ - 941fba35-7cc8-4b4b-b8b5-194ea874deda
2479
2479
  X-Runtime:
2480
- - '0.247161'
2480
+ - '0.360080'
2481
2481
  Server:
2482
2482
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2483
2483
  Date:
2484
- - Wed, 13 May 2015 22:30:28 GMT
2484
+ - Mon, 18 May 2015 20:07:03 GMT
2485
2485
  Connection:
2486
2486
  - Keep-Alive
2487
2487
  body:
@@ -3438,17 +3438,7 @@ http_interactions:
3438
3438
  regardless if they changed or not.\n</div>\n</pre>\n</td>\n </tr>\n
3439
3439
  \ </table>\n </div>\n </div>\n <div class=\"source hidden\"
3440
3440
  id=\"frame-source-88\">\n <div class=\"info\">\n Extracted source
3441
- (around line <strong>#17</strong>):\n </div>\n <div class=\"data\">\n
3442
- \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3443
- \ <td>\n <pre class=\"line_numbers\">\n<span>15</span>\n<span>16</span>\n<span>17</span>\n<span>18</span>\n<span>19</span>\n<span>20</span>\n
3444
- \ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div
3445
- class=\"line\"> old, env[FLAG] = env[FLAG], false\n</div><div class=\"line\">
3446
- \ @mutex.lock\n</div><div class=\"line active\"> response = @app.call(env)\n</div><div
3447
- class=\"line\"> body = BodyProxy.new(response[2]) { @mutex.unlock }\n</div><div
3448
- class=\"line\"> response[2] = body\n</div><div class=\"line\"> response\n</div>\n</pre>\n</td>\n
3449
- \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3450
- hidden\" id=\"frame-source-89\">\n <div class=\"info\">\n Extracted
3451
- source (around line <strong>#15</strong>):\n </div>\n <div class=\"data\">\n
3441
+ (around line <strong>#15</strong>):\n </div>\n <div class=\"data\">\n
3452
3442
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3453
3443
  \ <td>\n <pre class=\"line_numbers\">\n<span>13</span>\n<span>14</span>\n<span>15</span>\n<span>16</span>\n<span>17</span>\n<span>18</span>\n
3454
3444
  \ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div
@@ -3457,7 +3447,7 @@ http_interactions:
3457
3447
  \ headers = HeaderHash.new(headers)\n</div><div class=\"line\">\n</div><div
3458
3448
  class=\"line\"> if !STATUS_WITH_NO_ENTITY_BODY.include?(status.to_i)
3459
3449
  &amp;&amp;\n</div>\n</pre>\n</td>\n </tr>\n </table>\n </div>\n
3460
- \ </div>\n <div class=\"source hidden\" id=\"frame-source-90\">\n <div
3450
+ \ </div>\n <div class=\"source hidden\" id=\"frame-source-89\">\n <div
3461
3451
  class=\"info\">\n Extracted source (around line <strong>#89</strong>):\n
3462
3452
  \ </div>\n <div class=\"data\">\n <table cellpadding=\"0\"
3463
3453
  cellspacing=\"0\" class=\"lines\">\n <tr>\n <td>\n <pre
@@ -3469,7 +3459,7 @@ http_interactions:
3469
3459
  \ begin\n</div><div class=\"line\"> res.status = status.to_i\n</div><div
3470
3460
  class=\"line\"> headers.each { |k, vs|\n</div>\n</pre>\n</td>\n </tr>\n
3471
3461
  \ </table>\n </div>\n </div>\n <div class=\"source hidden\"
3472
- id=\"frame-source-91\">\n <div class=\"info\">\n Extracted source
3462
+ id=\"frame-source-90\">\n <div class=\"info\">\n Extracted source
3473
3463
  (around line <strong>#138</strong>):\n </div>\n <div class=\"data\">\n
3474
3464
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3475
3465
  \ <td>\n <pre class=\"line_numbers\">\n<span>136</span>\n<span>137</span>\n<span>138</span>\n<span>139</span>\n<span>140</span>\n<span>141</span>\n
@@ -3479,7 +3469,7 @@ http_interactions:
3479
3469
  class=\"line active\"> si.service(req, res)\n</div><div class=\"line\">
3480
3470
  \ end\n</div><div class=\"line\">\n</div><div class=\"line\"> ##\n</div>\n</pre>\n</td>\n
3481
3471
  \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3482
- hidden\" id=\"frame-source-92\">\n <div class=\"info\">\n Extracted
3472
+ hidden\" id=\"frame-source-91\">\n <div class=\"info\">\n Extracted
3483
3473
  source (around line <strong>#94</strong>):\n </div>\n <div class=\"data\">\n
3484
3474
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3485
3475
  \ <td>\n <pre class=\"line_numbers\">\n<span>92</span>\n<span>93</span>\n<span>94</span>\n<span>95</span>\n<span>96</span>\n<span>97</span>\n
@@ -3490,7 +3480,7 @@ http_interactions:
3490
3480
  =&gt; ex\n</div><div class=\"line\"> res.set_error(ex)\n</div><div
3491
3481
  class=\"line\"> rescue HTTPStatus::Error =&gt; ex\n</div>\n</pre>\n</td>\n
3492
3482
  \ </tr>\n </table>\n </div>\n </div>\n <div class=\"source
3493
- hidden\" id=\"frame-source-93\">\n <div class=\"info\">\n Extracted
3483
+ hidden\" id=\"frame-source-92\">\n <div class=\"info\">\n Extracted
3494
3484
  source (around line <strong>#294</strong>):\n </div>\n <div class=\"data\">\n
3495
3485
  \ <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n
3496
3486
  \ <td>\n <pre class=\"line_numbers\">\n<span>292</span>\n<span>293</span>\n<span>294</span>\n<span>295</span>\n<span>296</span>\n<span>297</span>\n
@@ -3654,13 +3644,12 @@ http_interactions:
3654
3644
  data-frame-id=\"86\" href=\"#\">railties (4.2.0) lib/rails/engine.rb:518:in
3655
3645
  `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"87\" href=\"#\">railties
3656
3646
  (4.2.0) lib/rails/application.rb:164:in `call&#39;</a><br><a class=\"trace-frames\"
3657
- data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/lock.rb:17:in `call&#39;</a><br><a
3658
- class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3659
- `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"90\" href=\"#\">rack
3647
+ data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3648
+ `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack
3660
3649
  (1.6.1) lib/rack/handler/webrick.rb:89:in `service&#39;</a><br><a class=\"trace-frames\"
3661
- data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3662
- `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3663
- `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"93\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3650
+ data-frame-id=\"90\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3651
+ `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3652
+ `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3664
3653
  `block in start_thread&#39;</a><br></code></pre>\n </div>\n <div id=\"Full-Trace\"
3665
3654
  style=\"display: block;\">\n <pre><code><a class=\"trace-frames\" data-frame-id=\"0\"
3666
3655
  href=\"#\">actionpack (4.2.0) lib/action_controller/metal/mime_responds.rb:218:in
@@ -3809,13 +3798,12 @@ http_interactions:
3809
3798
  data-frame-id=\"86\" href=\"#\">railties (4.2.0) lib/rails/engine.rb:518:in
3810
3799
  `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"87\" href=\"#\">railties
3811
3800
  (4.2.0) lib/rails/application.rb:164:in `call&#39;</a><br><a class=\"trace-frames\"
3812
- data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/lock.rb:17:in `call&#39;</a><br><a
3813
- class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3814
- `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"90\" href=\"#\">rack
3801
+ data-frame-id=\"88\" href=\"#\">rack (1.6.1) lib/rack/content_length.rb:15:in
3802
+ `call&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"89\" href=\"#\">rack
3815
3803
  (1.6.1) lib/rack/handler/webrick.rb:89:in `service&#39;</a><br><a class=\"trace-frames\"
3816
- data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3817
- `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3818
- `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"93\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3804
+ data-frame-id=\"90\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in
3805
+ `service&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"91\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
3806
+ `run&#39;</a><br><a class=\"trace-frames\" data-frame-id=\"92\" href=\"#\">/home/dlweber/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in
3819
3807
  `block in start_thread&#39;</a><br></code></pre>\n </div>\n\n <script
3820
3808
  type=\"text/javascript\">\n var traceFrames = document.getElementsByClassName('trace-frames');\n
3821
3809
  \ var selectedFrame, currentSource = document.getElementById('frame-source-0');\n\n
@@ -3830,7 +3818,7 @@ http_interactions:
3830
3818
  && el) {\n currentSource.className += \" hidden\";\n el.className
3831
3819
  = el.className.replace(\" hidden\", \"\");\n currentSource = el;\n
3832
3820
  \ }\n }\n }\n </script>\n</div>\n\n \n\n<h2 style=\"margin-top:
3833
- 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{&quot;id&quot;=&gt;&quot;10/95/c6/5e/1095c65e-3664-4a4e-a117-55917b0d575c&quot;}</pre>\n\n<div
3821
+ 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{&quot;id&quot;=&gt;&quot;02/8a/c2/90/028ac290-9cda-4eff-93d3-6d0258dfa24e&quot;}</pre>\n\n<div
3834
3822
  class=\"details\">\n <div class=\"summary\"><a href=\"#\" onclick=\"return
3835
3823
  toggleSessionDump()\">Toggle session dump</a></div>\n <div id=\"session_dump\"
3836
3824
  style=\"display:none\"><pre></pre></div>\n</div>\n\n<div class=\"details\">\n
@@ -3840,7 +3828,7 @@ http_interactions:
3840
3828
  &quot;gzip, deflate&quot;\nREMOTE_ADDR: &quot;127.0.0.1&quot;\nREMOTE_HOST:
3841
3829
  &quot;127.0.0.1&quot;\nSERVER_NAME: &quot;localhost&quot;\nSERVER_PROTOCOL:
3842
3830
  &quot;HTTP/1.1&quot;</pre></div>\n</div>\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>:</p>
3843
- <pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n<div id=\"console\"\n data-remote-path='console/repl_sessions/c954d006e3ee701112f15df52ac27511'\n
3831
+ <pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n<div id=\"console\"\n data-remote-path='console/repl_sessions/5816238e53fbf6f03e4c74da9a0bb2d6'\n
3844
3832
  \ data-initial-prompt='>> '>\n</div>\n\n\n<script type=\"text/javascript\">\n(function()
3845
3833
  {\n // DOM helpers\nfunction hasClass(el, className) {\n var regex = new
3846
3834
  RegExp('(?:^|\\\\s)' + className + '(?!\\\\S)', 'g');\n return el.className.match(regex);\n}\n\nfunction
@@ -4037,10 +4025,10 @@ http_interactions:
4037
4025
  \ resizerElement.addEventListener('mouseup', recordConsoleElementHeight);\n
4038
4026
  \ });\n});\n\n}).call(this);\n</script>\n\n"
4039
4027
  http_version:
4040
- recorded_at: Wed, 13 May 2015 22:30:28 GMT
4028
+ recorded_at: Mon, 18 May 2015 20:07:03 GMT
4041
4029
  - request:
4042
4030
  method: delete
4043
- uri: http://localhost:3000/annotations/10%2F95%2Fc6%2F5e%2F1095c65e-3664-4a4e-a117-55917b0d575c
4031
+ uri: http://localhost:3000/annotations/02%2F8a%2Fc2%2F90%2F028ac290-9cda-4eff-93d3-6d0258dfa24e
4044
4032
  body:
4045
4033
  encoding: US-ASCII
4046
4034
  string: ''
@@ -4067,22 +4055,22 @@ http_interactions:
4067
4055
  Cache-Control:
4068
4056
  - no-cache
4069
4057
  X-Request-Id:
4070
- - b13a9dbc-92cf-43af-a624-4299ea802bd5
4058
+ - b6b97b02-c4c6-4a8a-8755-3d97e80d42ca
4071
4059
  X-Runtime:
4072
- - '0.221141'
4060
+ - '0.303610'
4073
4061
  Server:
4074
4062
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
4075
4063
  Date:
4076
- - Wed, 13 May 2015 22:30:28 GMT
4064
+ - Mon, 18 May 2015 20:07:03 GMT
4077
4065
  Connection:
4078
4066
  - Keep-Alive
4079
4067
  Set-Cookie:
4080
- - _internal_session=Ry9qVEpReGJzbEtPSXV1Nnl6ejFUYlRaMkRzY1NuKzk0TkhldFcyRHhNN1gzSkhXakljUTVpR01LOXNGSnVPQkFVRitoNU9qSHYxNHVGOTdIc3JaeENBc3kzRk1YSnhsTENLTlVYMHFLOTlBdG9WY2N6bzBJR2RKcitCT3Rqb3MySXptc0o3SDhLaGxOcXI0RE8wd05CMzNDN1lpTTR5b2RXOXFTaGZFdEUzU3d3ZCs2cGdHZXNUUmNZWlBOVUFCLS1wVGNDSS9ZMXRYbjYvNzZ5VzhzRk1nPT0%3D--e31f9256e791f0e9b64d33537079849425e6da27;
4068
+ - _internal_session=dDhOWEhpSHdGcjRVWUFsYlBlbEFibW43TStvak9ncXBnNG9EenNpaGVXZmhoZnROWTlveTlsVjF4WnJ5TVo3TmgvTlVaTzl4ZFhjc0t4cG9HNWsrQzMxQW1EZ3MxWTNnOElYNVpEN3IrN21GVExrUC92bkNwRnJDSnhrbXRPSXAxUU1zTzRmWmhDeW45Y2dIdVI2TmZoMFlNallPTWZvdUIxYmUrL2dqUnJaOVE1SHJYV1RhVFE0Rk40U1cwM3FlLS1XYUcxSlA1blNlemtrNXZ4ZUFQRmdRPT0%3D--31a895c0e8896f894b37b8a87db119b76518c025;
4081
4069
  path=/; HttpOnly
4082
4070
  - request_method=DELETE; path=/
4083
4071
  body:
4084
4072
  encoding: UTF-8
4085
4073
  string: ''
4086
4074
  http_version:
4087
- recorded_at: Wed, 13 May 2015 22:30:28 GMT
4075
+ recorded_at: Mon, 18 May 2015 20:07:03 GMT
4088
4076
  recorded_with: VCR 2.9.3