invenio-vocabularies 5.0.1__py2.py3-none-any.whl → 5.0.2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of invenio-vocabularies might be problematic. Click here for more details.

@@ -10,6 +10,6 @@
10
10
 
11
11
  from .ext import InvenioVocabularies
12
12
 
13
- __version__ = "5.0.1"
13
+ __version__ = "5.0.2"
14
14
 
15
15
  __all__ = ("__version__", "InvenioVocabularies")
@@ -46,7 +46,10 @@ class RORHTTPReader(BaseReader):
46
46
  json_ld_reponse.raise_for_status()
47
47
  json_ld_data = json_ld_reponse.json()
48
48
 
49
- last_dump_date = arrow.get(json_ld_data["dateCreated"])
49
+ last_dump_date = arrow.get(
50
+ json_ld_data.get("dateCreated")
51
+ or json_ld_data.get("datePublished")
52
+ )
50
53
  return last_dump_date
51
54
  else:
52
55
  raise ReaderError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: invenio-vocabularies
3
- Version: 5.0.1
3
+ Version: 5.0.2
4
4
  Summary: Invenio module for managing vocabularies.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-vocabularies
6
6
  Author: CERN
@@ -81,6 +81,10 @@ https://invenio-vocabularies.readthedocs.io/
81
81
  Changes
82
82
  =======
83
83
 
84
+ Version v5.0.2 (released 2024-08-28)
85
+
86
+ - ror: use datePublished as fallback date for dataset timestamp
87
+
84
88
  Version v5.0.1 (released 2024-08-27)
85
89
 
86
90
  - mapping: fix normalizer
@@ -1,4 +1,4 @@
1
- invenio_vocabularies/__init__.py,sha256=T2RBpYtqVCU6h_7-M8A8nDuMeNafu9cW7t6f_pPvfDA,377
1
+ invenio_vocabularies/__init__.py,sha256=OL5grlUCznD7I2pTl2Pk59Rm6zju_S9ptITe7Zf0vdM,377
2
2
  invenio_vocabularies/cli.py,sha256=ToGc5dcGarDwNUgUXGqHIRT-3Uv1rleyFLKenwZdyBw,5719
3
3
  invenio_vocabularies/config.py,sha256=sOkJdmnfoSftfpH7msZEC6Eyo61Q3RQ7V2mMeE5LPAM,5157
4
4
  invenio_vocabularies/ext.py,sha256=GujJ4UARd4Fxf4z7zznRk9JAgHamZuYCOdrKU5czg00,5987
@@ -84,7 +84,7 @@ invenio_vocabularies/contrib/awards/mappings/v7/__init__.py,sha256=fERdPp7K7ajao
84
84
  invenio_vocabularies/contrib/awards/mappings/v7/awards/award-v1.0.0.json,sha256=QJT2gS7SE47YTP2HdU4ESjMwHJBTzAH70JEhWWg9SXM,1528
85
85
  invenio_vocabularies/contrib/common/__init__.py,sha256=DdbGYRthEpQtObhY_YK4vOT9Zf7FFagQ6qtUjJOYw-M,247
86
86
  invenio_vocabularies/contrib/common/ror/__init__.py,sha256=3u2-fre1SQ-4nz3Ay0nxj3ntmMZ8Ujh_4eV-fyxfmtc,239
87
- invenio_vocabularies/contrib/common/ror/datastreams.py,sha256=4eRS_Z-dibN-t0alT98rfZuOAUOCrZo6462NnjUVQEM,7830
87
+ invenio_vocabularies/contrib/common/ror/datastreams.py,sha256=7VaQUGtc4j0fX6P16csjAUgIVxSDEySrdZ5QZ57RD_g,7941
88
88
  invenio_vocabularies/contrib/funders/__init__.py,sha256=YxFXBDnT7NM8rFwxT_Ge3xXR2n17EM0alknQq7r_Bt8,478
89
89
  invenio_vocabularies/contrib/funders/api.py,sha256=QKGGeSnPHSoBfucvpaVruXT_txYidofZ080G3IxFkIo,306
90
90
  invenio_vocabularies/contrib/funders/config.py,sha256=llUYFK7hzP5DRzP8MfrgCZfFf1WNURCGvGwjnw4v2GM,2026
@@ -290,10 +290,10 @@ invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo,sha256=g1I5aNO8r
290
290
  invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po,sha256=vg8qC8ofpAdJ3mQz7mWM1ylKDpiNWXFs7rlMdSPkgKk,4629
291
291
  invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo,sha256=cqSm8NtMAwrP9O6qbmtkDtRT1e9D93qpsJN5X9_PPVw,600
292
292
  invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po,sha256=9ACePz_EpB-LfcIJajZ2kp8Q04tcdrQLOtug162ZUss,4115
293
- invenio_vocabularies-5.0.1.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
294
- invenio_vocabularies-5.0.1.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
295
- invenio_vocabularies-5.0.1.dist-info/METADATA,sha256=hGwPE1s2F2oLLwu0nukke9rJX_mtYGaREji9ML6ayaw,8725
296
- invenio_vocabularies-5.0.1.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
297
- invenio_vocabularies-5.0.1.dist-info/entry_points.txt,sha256=qHHFkyU3r0COsKm5gCYuhP8tfsioBggxKAiEXNAbbjM,2803
298
- invenio_vocabularies-5.0.1.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
299
- invenio_vocabularies-5.0.1.dist-info/RECORD,,
293
+ invenio_vocabularies-5.0.2.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
294
+ invenio_vocabularies-5.0.2.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
295
+ invenio_vocabularies-5.0.2.dist-info/METADATA,sha256=V8ddv-nWaDPyvtg1Y66UIqIgeVP7CA0rH47Z9Io5b3M,8828
296
+ invenio_vocabularies-5.0.2.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
297
+ invenio_vocabularies-5.0.2.dist-info/entry_points.txt,sha256=qHHFkyU3r0COsKm5gCYuhP8tfsioBggxKAiEXNAbbjM,2803
298
+ invenio_vocabularies-5.0.2.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
299
+ invenio_vocabularies-5.0.2.dist-info/RECORD,,