crosscite / content-negotiation

DOI content negotiation
https://data.crosscite.org
MIT License
3 stars 4 forks source link

Issue 1942 upgrade gems #122

Closed ashwinisukale closed 1 year ago

ashwinisukale commented 1 year ago

Issue - https://github.com/datacite/datacite/issues/1942

We upgraded the bolognese gem and its dependency gems to appropriate versions.

I have verified the changes by running test case for different DOI which is not recorded by the VCR. All tests are passing.

I have checked Bolognese gem in this repo, can successfully call the DOI with XML response for https://api.stage.datacite.org/dois/10.70112/igka4u

ashwini ~/Documents/WorkSpace/CrossCite/content-negotiation issue-1942-upgrade-gems > curl -LH "Accept: application/x-datacite+xml" https://api.stage.datacite.org/dois/10.70112/igka4u
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resource xmlns="http://datacite.org/schema/kernel-4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
  <identifier identifierType="DOI">10.70112/IGKA4U</identifier>
  <creators>
    <creator>
      <creatorName>TTT, Pham</creatorName>
      <affiliation>(Inra)</affiliation>
    </creator>
  </creators>
  <titles>
    <title>Dataset with api</title>
  </titles>
  <publisher>Portail Data Inra</publisher>
  <publicationYear>2019</publicationYear>
  <resourceType resourceTypeGeneral="Dataset">Not specified</resourceType>
  <contributors/>
  <descriptions>
    <description descriptionType="Abstract">Test description</description>
  </descriptions>
</resource>% 
digitaldogsbody commented 1 year ago

Superseded by #123 ?

ashwinisukale commented 1 year ago

yes this was from the forked branch and later I created new PR, we can close this one.