Sha256: dd587447ce8c73a406d8dba7d6d50cc3c4870ae4812e6cca415aa78524e05737

Contents?: true

Size: 1.98 KB

Versions: 31

Compression:

Stored size: 1.98 KB

Contents

stub_request(:get, "http://example.org/endpoint?identifier=1&metadataPrefix=oai_dc&verb=GetRecord").
  with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.0'}).
  to_return(:status => 200, :body => '<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/oai2.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2014-10-27T22:19:17Z</responseDate><request verb="GetRecord" identifier="oai:oaipmh.huygens.knaw.nl:arthurianfiction:MAN0000000010" metadataPrefix="oai_dc">http://oaipmh.huygens.knaw.nl/</request><GetRecord><record><header><identifier>oai:oaipmh.huygens.knaw.nl:arthurianfiction:MAN0000000010</identifier><datestamp>2012-07-13T14:27:31Z</datestamp><setSpec>arthurianfiction:manuscript</setSpec><setSpec>arthurianfiction</setSpec></header><metadata><oai_dc:dc xmlns:cmdi="http://www.clarin.eu/cmd/" xmlns:database="http://www.oclc.org/pears/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd http://www.clarin.eu/cmd/ http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1345561703673/xsd">
   <dc:title>Aberystwyth, National Library of Wales, 446-E</dc:title>
   <dc:creator>Bart Besamusca</dc:creator>
   <dc:identifier>https://service.arthurianfiction.org/manuscript/MAN0000000010</dc:identifier>
   <dc:date>2012-07-13T14:27:31Z</dc:date>
   <dc:contributor>Bart Besamusca</dc:contributor>
   <dc:type>model</dc:type>
   <dc:language>eng</dc:language>
</oai_dc:dc></metadata></record></GetRecord></OAI-PMH>', :headers => {})

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
krikri-0.13.2 spec/webmocks/oai.rb~
krikri-0.13.1 spec/webmocks/oai.rb~
krikri-0.13.0 spec/webmocks/oai.rb~
krikri-0.12.4 spec/webmocks/oai.rb~
krikri-0.11.2 spec/webmocks/oai.rb~
krikri-0.11.1 spec/webmocks/oai.rb~
krikri-0.11.0 spec/webmocks/oai.rb~
krikri-0.10.1 spec/webmocks/oai.rb~
krikri-0.8.9 spec/webmocks/oai.rb~
krikri-0.8.8 spec/webmocks/oai.rb~
krikri-0.8.7 spec/webmocks/oai.rb~
krikri-0.8.6 spec/webmocks/oai.rb~
krikri-0.8.5 spec/webmocks/oai.rb~
krikri-0.8.4 spec/webmocks/oai.rb~
krikri-0.8.2 spec/webmocks/oai.rb~
krikri-0.8.0 spec/webmocks/oai.rb~
krikri-0.7.3 spec/webmocks/oai.rb~
krikri-0.7.2 spec/webmocks/oai.rb~
krikri-0.7.1 spec/webmocks/oai.rb~
krikri-0.6.0 spec/webmocks/oai.rb~