triannon-client 0.2.0.pre.0.rc1 → 0.2.1.pre.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.env_example +1 -0
  3. data/bin/console +7 -1
  4. data/lib/triannon-client/configuration.rb +3 -0
  5. data/lib/triannon-client/triannon_client.rb +27 -11
  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/n-quads_.yml +78 -78
  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/n-triples_.yml +78 -78
  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/rdf_json_.yml +78 -78
  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/rdf_n3_.yml +78 -78
  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/trig_.yml +78 -78
  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/trix_.yml +78 -78
  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/turtle_.yml +78 -78
  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_application/x-ld_json_.yml +78 -78
  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_application/x-trig_.yml +78 -78
  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/n3_.yml +78 -78
  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/rdf_n3_.yml +78 -78
  17. 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 +78 -78
  18. 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 +78 -78
  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/ld_json_.yml +51 -51
  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_application/rdf_xml_.yml +46 -46
  21. 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 +45 -45
  22. 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 +45 -45
  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/ld_json_.yml +29 -29
  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/n-quads_.yml +29 -29
  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/n-triples_.yml +29 -29
  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_json_.yml +29 -29
  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/rdf_n3_.yml +29 -29
  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/rdf_xml_.yml +29 -29
  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/trig_.yml +29 -29
  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/trix_.yml +29 -29
  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/turtle_.yml +29 -29
  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-ld_json_.yml +29 -29
  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_application/x-trig_.yml +29 -29
  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_application/x-turtle_.yml +29 -29
  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/n3_.yml +29 -29
  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/rdf_n3_.yml +29 -29
  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/rdf_turtle_.yml +29 -29
  38. 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 +29 -29
  39. 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 +29 -29
  40. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +29 -29
  41. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +29 -29
  42. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +29 -29
  43. 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 +29 -29
  44. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +29 -29
  45. 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 +29 -29
  46. 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 +29 -29
  47. 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 +85 -498
  48. 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 +51 -51
  49. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +29 -273
  50. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +45 -45
  51. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +29 -2473
  52. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +51 -51
  53. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/deletes_an_open_annotation_that_exists.yml +39 -38
  54. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/fails_to_delete_an_open_annotation_that_does_NOT_exist.yml +10 -10
  55. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_false_for_a_500_response_to_a_DELETE_request.yml +5 -5
  56. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_200_response_to_a_DELETE_request.yml +5 -5
  57. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_202_response_to_a_DELETE_request.yml +5 -5
  58. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_204_response_to_a_DELETE_request.yml +5 -5
  59. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +5 -5
  60. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +17 -17
  61. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +17 -17
  62. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +49 -49
  63. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +29 -29
  64. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +29 -29
  65. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +29 -29
  66. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +29 -29
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uri/returns_an_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml +29 -29
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uri/returns_an_RDF_URI_that_is_a_valid_URI.yml +39 -38
  69. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +41 -41
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +29 -29
  71. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +29 -29
  72. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +29 -29
  73. data/spec/lib/triannon-client/configuration_spec.rb +18 -2
  74. data/spec/lib/triannon-client/triannon_client_spec.rb +14 -6
  75. data/triannon-client.gemspec +3 -4
  76. metadata +10 -76
  77. 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/n-quads_.yml +0 -4088
  78. 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/n-triples_.yml +0 -4088
  79. 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_json_.yml +0 -4088
  80. 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_n3_.yml +0 -4088
  81. 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/trig_.yml +0 -4088
  82. 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/trix_.yml +0 -4088
  83. 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/turtle_.yml +0 -4088
  84. 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-ld_json_.yml +0 -4088
  85. 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-trig_.yml +0 -4088
  86. 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/n3_.yml +0 -4088
  87. 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/rdf_n3_.yml +0 -4088
  88. 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/rdf_turtle_.yml +0 -4088
  89. 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/x-nquads_.yml +0 -4088
  90. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_accepting_JSON-LD_content.yml +0 -2502
  91. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +0 -2502
  92. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_using_a_default_JSON-LD_content.yml +0 -2502
  93. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_optional_content_type_parameter.yml +0 -2502
  94. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_turtle_content_type_parameter.yml +0 -2502
  95. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/checks_the_annotation_ID.yml +0 -2561
  96. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/logs_exceptions.yml +0 -2502
  97. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_a_nil_ID.yml +0 -2502
  98. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +0 -2502
  99. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_an_integer_ID.yml +0 -2502
  100. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +0 -2502
  101. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +0 -3623
  102. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +0 -4946
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"1d5e1774890b137bd47f5b606b922fee"
34
+ - W/"7e5957ee7212a6808cb6bb74834f67cb"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 8d94ad39-f8e3-43e2-b128-713b12a93ae4
38
+ - da18052b-8fdd-4b5f-985d-a8993efbcba9
39
39
  X-Runtime:
40
- - '1.560456'
40
+ - '6.493483'
41
41
  Server:
42
- - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 04 May 2015 18:39:55 GMT
44
+ - Mon, 11 May 2015 21:30:36 GMT
45
45
  Content-Length:
46
- - '431'
46
+ - '443'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=QVQ1OFc5ZTlQd1hrSEFydTdEM3lwUHNJOHhtRElxbWdXTWVsSmRRamRPRTExSk5vQlFldlU2djVDZVp2MFdMdXQ1cEdLMFR1KzlyN0ZyZ0ZWQXNUYVBlUWxtcHFTalVQRDFIQVh3TlpLbXRJeFB0V1FrVFByRlY4aFlZeE1yL2FiVlVNemNzNGJyN1NLSjh4MC9FREc5SWoxeGZGR2VuQTZzSEMwNWhrY0RydE03cWRBaVc0OEZoamJXbXR0bDFSSkJIMzVER0pLTkhJaE5KREVpMHU2S2JFRjhFQkVMYXlzcnlrL2djYmtZZz0tLWdDR2dwSzVjS0lRTlozK1ZOQ0QxdkE9PQ%3D%3D--558ac014d3fb214f807a570da5465a775b2981fe;
50
+ - _internal_session=QzdiMDMydTg2LzdpNVlRWVVFdmtxbW9NUWZuRWpZOHErdEhlNzZvUHFMS2t1YTBoTitmZzhqWGF0aTdSbVFhbXFVb291VlhISnVHanZ3Qlh4MzVYOU1ESTVRUHl4ZEVVUTl2RlROVWZ4S2VXcDA4QnJESUhTMkVkUFhIWml6TTlsdU9rb05YQ0dsK2o2MFhVWThoc1p3MkI5cFBWeEs1RnRuYXVIZUVNZDdXODJuTFY1eVRPNEJWZG1WR2JqUGluYkFZS3NwUHo5MFdJSG4zWmtyb29QcTZnV3lFUEc0MHR6djdTZnkxOUVpMUlnRmMwOG5qWWdJNEk2TmI5VlhBSi0teVhqZXNvMS9jeHdBeVJCMlRQckNFQT09--3a6d1504fd52c379db64de9e1527cf4d998389c0;
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":"_:g70075058729700","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/2172003d-2e7b-4e1e-b7d1-e891b5c38ef1","@type":"oa:Annotation","hasBody":"_:g70075058729700","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g69902330956660","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/0f/93/3e/aa/0f933eaa-1d60-4fe1-8660-9eb3dd08f398","@type":"oa:Annotation","hasBody":"_:g69902330956660","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 04 May 2015 18:39:55 GMT
58
+ recorded_at: Mon, 11 May 2015 21:30:36 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
- - Mon, 04 May 2015 18:39:56 GMT
78
+ - Mon, 11 May 2015 21:30:36 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
- - Tue, 05 May 2015 00:39:56 GMT
86
+ - Tue, 12 May 2015 03:30:36 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: Mon, 04 May 2015 18:39:56 GMT
102
+ recorded_at: Mon, 11 May 2015 21:30:36 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
- - Mon, 04 May 2015 18:39:56 GMT
124
+ - Mon, 11 May 2015 21:30:37 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
- - Tue, 05 May 2015 00:39:56 GMT
138
+ - Tue, 12 May 2015 03:30:37 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: Mon, 04 May 2015 18:39:56 GMT
1256
+ recorded_at: Mon, 11 May 2015 21:30:37 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
- - Mon, 04 May 2015 18:39:56 GMT
1276
+ - Mon, 11 May 2015 21:30:37 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
- - Tue, 05 May 2015 00:39:56 GMT
1284
+ - Tue, 12 May 2015 03:30:37 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: Mon, 04 May 2015 18:39:56 GMT
1300
+ recorded_at: Mon, 11 May 2015 21:30:37 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
- - Mon, 04 May 2015 18:39:56 GMT
1322
+ - Mon, 11 May 2015 21:30:37 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
- - Tue, 05 May 2015 00:39:56 GMT
1336
+ - Tue, 12 May 2015 03:30:37 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: Mon, 04 May 2015 18:39:57 GMT
2454
+ recorded_at: Mon, 11 May 2015 21:30:37 GMT
2455
2455
  - request:
2456
2456
  method: get
2457
- uri: http://localhost:3000/annotations/2172003d-2e7b-4e1e-b7d1-e891b5c38ef1
2457
+ uri: http://localhost:3000/annotations/0f%2F93%2F3e%2Faa%2F0f933eaa-1d60-4fe1-8660-9eb3dd08f398
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2479,27 +2479,27 @@ http_interactions:
2479
2479
  Content-Type:
2480
2480
  - application/ld+json; charset=utf-8
2481
2481
  Etag:
2482
- - W/"9bab20310315a9c51cf9591e8a9e02ac"
2482
+ - W/"17d8039ef388245b2ff1b16522e48ccf"
2483
2483
  Cache-Control:
2484
2484
  - max-age=0, private, must-revalidate
2485
2485
  X-Request-Id:
2486
- - 92ce7b1d-4816-4cfd-8bb7-588b92a0c1c1
2486
+ - 5dc694be-0e22-481e-a675-533f2404c655
2487
2487
  X-Runtime:
2488
- - '0.121026'
2488
+ - '0.196679'
2489
2489
  Server:
2490
- - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
2490
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2491
2491
  Date:
2492
- - Mon, 04 May 2015 18:39:57 GMT
2492
+ - Mon, 11 May 2015 21:30:38 GMT
2493
2493
  Content-Length:
2494
- - '425'
2494
+ - '437'
2495
2495
  Connection:
2496
2496
  - Keep-Alive
2497
2497
  body:
2498
2498
  encoding: UTF-8
2499
- string: '{"@context":"http://iiif.io/api/presentation/2/context.json","@graph":[{"@id":"_:g70075208363400","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
2500
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/2172003d-2e7b-4e1e-b7d1-e891b5c38ef1","@type":"oa:Annotation","motivation":"oa:commenting","on":"http://purl.stanford.edu/kq131cs7229","resource":"_:g70075208363400"}]}'
2499
+ string: '{"@context":"http://iiif.io/api/presentation/2/context.json","@graph":[{"@id":"_:g69902328929020","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
2500
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/0f/93/3e/aa/0f933eaa-1d60-4fe1-8660-9eb3dd08f398","@type":"oa:Annotation","motivation":"oa:commenting","on":"http://purl.stanford.edu/kq131cs7229","resource":"_:g69902328929020"}]}'
2501
2501
  http_version:
2502
- recorded_at: Mon, 04 May 2015 18:39:57 GMT
2502
+ recorded_at: Mon, 11 May 2015 21:30:38 GMT
2503
2503
  - request:
2504
2504
  method: get
2505
2505
  uri: http://iiif.io/api/presentation/2/context.json
@@ -2519,7 +2519,7 @@ http_interactions:
2519
2519
  message: OK
2520
2520
  headers:
2521
2521
  Date:
2522
- - Mon, 04 May 2015 18:42:24 GMT
2522
+ - Mon, 11 May 2015 21:33:16 GMT
2523
2523
  Server:
2524
2524
  - Apache/2.2.15 (Red Hat)
2525
2525
  Last-Modified:
@@ -2531,7 +2531,7 @@ http_interactions:
2531
2531
  Cache-Control:
2532
2532
  - max-age=86400
2533
2533
  Expires:
2534
- - Tue, 05 May 2015 18:42:24 GMT
2534
+ - Tue, 12 May 2015 21:33:16 GMT
2535
2535
  Content-Type:
2536
2536
  - application/ld+json
2537
2537
  Access-Control-Allow-Origin:
@@ -2597,7 +2597,7 @@ http_interactions:
2597
2597
  \ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
2598
2598
  \"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
2599
2599
  http_version:
2600
- recorded_at: Mon, 04 May 2015 18:39:57 GMT
2600
+ recorded_at: Mon, 11 May 2015 21:30:38 GMT
2601
2601
  - request:
2602
2602
  method: get
2603
2603
  uri: http://iiif.io/api/presentation/2/context.json
@@ -2617,7 +2617,7 @@ http_interactions:
2617
2617
  message: OK
2618
2618
  headers:
2619
2619
  Date:
2620
- - Mon, 04 May 2015 18:42:24 GMT
2620
+ - Mon, 11 May 2015 21:33:16 GMT
2621
2621
  Server:
2622
2622
  - Apache/2.2.15 (Red Hat)
2623
2623
  Last-Modified:
@@ -2629,7 +2629,7 @@ http_interactions:
2629
2629
  Cache-Control:
2630
2630
  - max-age=86400
2631
2631
  Expires:
2632
- - Tue, 05 May 2015 18:42:24 GMT
2632
+ - Tue, 12 May 2015 21:33:16 GMT
2633
2633
  Content-Type:
2634
2634
  - application/ld+json
2635
2635
  Access-Control-Allow-Origin:
@@ -2695,10 +2695,10 @@ http_interactions:
2695
2695
  \ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
2696
2696
  \"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
2697
2697
  http_version:
2698
- recorded_at: Mon, 04 May 2015 18:39:57 GMT
2698
+ recorded_at: Mon, 11 May 2015 21:30:38 GMT
2699
2699
  - request:
2700
2700
  method: delete
2701
- uri: http://localhost:3000/annotations/2172003d-2e7b-4e1e-b7d1-e891b5c38ef1
2701
+ uri: http://localhost:3000/annotations/0f%2F93%2F3e%2Faa%2F0f933eaa-1d60-4fe1-8660-9eb3dd08f398
2702
2702
  body:
2703
2703
  encoding: US-ASCII
2704
2704
  string: ''
@@ -2725,22 +2725,22 @@ http_interactions:
2725
2725
  Cache-Control:
2726
2726
  - no-cache
2727
2727
  X-Request-Id:
2728
- - a5bafcaa-599b-4a10-baa0-763bc490c26f
2728
+ - 1ccc3656-5048-4148-8bbc-78d9c5e18b18
2729
2729
  X-Runtime:
2730
- - '0.148333'
2730
+ - '0.161953'
2731
2731
  Server:
2732
- - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
2732
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2733
2733
  Date:
2734
- - Mon, 04 May 2015 18:39:57 GMT
2734
+ - Mon, 11 May 2015 21:30:38 GMT
2735
2735
  Connection:
2736
2736
  - Keep-Alive
2737
2737
  Set-Cookie:
2738
- - _internal_session=VUNaQjZObW5RNjFMUTRRamh6djNNRG1PL0VuTVRYbmxXUTNmWkR1MmdnM1RwQjRDN2pqZ09yeVdrT3pYUk9pbGVGUXNaWkFCcWlFeXJEYkFrYlBZTTZZTFY4d0ova2JkVm5WQzRqS3hUYnJyYks3OFl2TENhaERic1hyR3dNNG11dDRnVFM5UlUwVEsrd0kwb1hoeExiZS8ybnl4SHI3VVZUMVZ5b2dWN1NJV3dJUG9lTGxOYlpRZHp0VE9IQ1RXLS1mNkJEcDVGaVlpc1NpeUJvNHhhRU1RPT0%3D--9690c1d4f0ff3114f0c669ba57f4bfc3c85da96a;
2738
+ - _internal_session=MENXWFhJRS9OK0RqWC9Eb2YyZjJGWHBZNkY1Wm8zazljc28zWlNLMGErcGhjZlNvN0dUcm1VSzdYWGRBdjNobmNEZDdTR01XR1lDYzFpaUlXcWdyWmd0dUNkMmp1bUIwMWNQSHc1OXZENit6c29jMTh0TG9QK0g4OEU3SnlGVnZVRkhYdURDM2xpVWhlY0RLMzl3WDI3ekZKM1g3eEpBaVVmS1VlMzJYU2xRWlFzRmlHR1lQMDJuMFJleGZWbXNXLS1FM0gyb21rYTM1UVZ1WkFwWlZ4RnRnPT0%3D--c1385e3507a25be3bb3ce62569b0d0aea50afcb1;
2739
2739
  path=/; HttpOnly
2740
2740
  - request_method=DELETE; path=/
2741
2741
  body:
2742
2742
  encoding: UTF-8
2743
2743
  string: ''
2744
2744
  http_version:
2745
- recorded_at: Mon, 04 May 2015 18:39:57 GMT
2745
+ recorded_at: Mon, 11 May 2015 21:30:38 GMT
2746
2746
  recorded_with: VCR 2.9.3