invenio-vocabularies 5.0.0__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.0"
13
+ __version__ = "5.0.2"
14
14
 
15
15
  __all__ = ("__version__", "InvenioVocabularies")
@@ -14,8 +14,8 @@
14
14
  "type": "custom",
15
15
  "char_filter": ["strip_special_chars"],
16
16
  "filter": [
17
- "lowercase",
18
- "asciifolding",
17
+ "lowercasepreserveoriginal",
18
+ "asciifoldingpreserveoriginal",
19
19
  "edgegrams"
20
20
  ]
21
21
  },
@@ -24,8 +24,8 @@
24
24
  "type": "custom",
25
25
  "char_filter": ["strip_special_chars"],
26
26
  "filter": [
27
- "lowercase",
28
- "asciifolding"
27
+ "lowercasepreserveoriginal",
28
+ "asciifoldingpreserveoriginal"
29
29
  ]
30
30
  }
31
31
  },
@@ -40,11 +40,11 @@
40
40
  }
41
41
  },
42
42
  "filter": {
43
- "lowercase": {
43
+ "lowercasepreserveoriginal": {
44
44
  "type": "lowercase",
45
45
  "preserve_original": true
46
46
  },
47
- "asciifolding": {
47
+ "asciifoldingpreserveoriginal": {
48
48
  "type": "asciifolding",
49
49
  "preserve_original": true
50
50
  },
@@ -14,8 +14,8 @@
14
14
  "type": "custom",
15
15
  "char_filter": ["strip_special_chars"],
16
16
  "filter": [
17
- "lowercase",
18
- "asciifolding",
17
+ "lowercasepreserveoriginal",
18
+ "asciifoldingpreserveoriginal",
19
19
  "edgegrams"
20
20
  ]
21
21
  },
@@ -24,8 +24,8 @@
24
24
  "type": "custom",
25
25
  "char_filter": ["strip_special_chars"],
26
26
  "filter": [
27
- "lowercase",
28
- "asciifolding"
27
+ "lowercasepreserveoriginal",
28
+ "asciifoldingpreserveoriginal"
29
29
  ]
30
30
  }
31
31
  },
@@ -40,11 +40,11 @@
40
40
  }
41
41
  },
42
42
  "filter": {
43
- "lowercase": {
43
+ "lowercasepreserveoriginal": {
44
44
  "type": "lowercase",
45
45
  "preserve_original": true
46
46
  },
47
- "asciifolding": {
47
+ "asciifoldingpreserveoriginal": {
48
48
  "type": "asciifolding",
49
49
  "preserve_original": true
50
50
  },
@@ -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(
@@ -14,8 +14,8 @@
14
14
  "type": "custom",
15
15
  "char_filter": ["strip_special_chars"],
16
16
  "filter": [
17
- "lowercase",
18
- "asciifolding",
17
+ "lowercasepreserveoriginal",
18
+ "asciifoldingpreserveoriginal",
19
19
  "edgegrams"
20
20
  ]
21
21
  },
@@ -24,8 +24,8 @@
24
24
  "type": "custom",
25
25
  "char_filter": ["strip_special_chars"],
26
26
  "filter": [
27
- "lowercase",
28
- "asciifolding"
27
+ "lowercasepreserveoriginal",
28
+ "asciifoldingpreserveoriginal"
29
29
  ]
30
30
  }
31
31
  },
@@ -40,11 +40,11 @@
40
40
  }
41
41
  },
42
42
  "filter": {
43
- "lowercase": {
43
+ "lowercasepreserveoriginal": {
44
44
  "type": "lowercase",
45
45
  "preserve_original": true
46
46
  },
47
- "asciifolding": {
47
+ "asciifoldingpreserveoriginal": {
48
48
  "type": "asciifolding",
49
49
  "preserve_original": true
50
50
  },
@@ -14,8 +14,8 @@
14
14
  "type": "custom",
15
15
  "char_filter": ["strip_special_chars"],
16
16
  "filter": [
17
- "lowercase",
18
- "asciifolding",
17
+ "lowercasepreserveoriginal",
18
+ "asciifoldingpreserveoriginal",
19
19
  "edgegrams"
20
20
  ]
21
21
  },
@@ -24,8 +24,8 @@
24
24
  "type": "custom",
25
25
  "char_filter": ["strip_special_chars"],
26
26
  "filter": [
27
- "lowercase",
28
- "asciifolding"
27
+ "lowercasepreserveoriginal",
28
+ "asciifoldingpreserveoriginal"
29
29
  ]
30
30
  }
31
31
  },
@@ -40,11 +40,11 @@
40
40
  }
41
41
  },
42
42
  "filter": {
43
- "lowercase": {
43
+ "lowercasepreserveoriginal": {
44
44
  "type": "lowercase",
45
45
  "preserve_original": true
46
46
  },
47
- "asciifolding": {
47
+ "asciifoldingpreserveoriginal": {
48
48
  "type": "asciifolding",
49
49
  "preserve_original": true
50
50
  },
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: invenio-vocabularies
3
- Version: 5.0.0
4
- Summary: "Invenio module for managing vocabularies."
3
+ Version: 5.0.2
4
+ Summary: Invenio module for managing vocabularies.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-vocabularies
6
6
  Author: CERN
7
7
  Author-email: info@inveniosoftware.org
@@ -81,6 +81,14 @@ 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
+
88
+ Version v5.0.1 (released 2024-08-27)
89
+
90
+ - mapping: fix normalizer
91
+
84
92
  Version v5.0.0 (released 2024-08-22)
85
93
 
86
94
  - affiliations: dd analyzers and filters to improve results when searching affiliations
@@ -1,4 +1,4 @@
1
- invenio_vocabularies/__init__.py,sha256=QgrRSZqGNKFf0ZkumBppJjoXfEavUx6ns-YUmt_f96U,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
@@ -57,10 +57,10 @@ invenio_vocabularies/contrib/affiliations/jsonschemas/affiliations/affiliation-v
57
57
  invenio_vocabularies/contrib/affiliations/mappings/__init__.py,sha256=q7hb9lcT9KLRSGr6G7qpL8Top6wZfzj_E4uzGxnraTw,295
58
58
  invenio_vocabularies/contrib/affiliations/mappings/os-v1/__init__.py,sha256=uEiG5rFrjhpFxg5pD5j5E96_xrPojsla9PhtlOqSCw4,256
59
59
  invenio_vocabularies/contrib/affiliations/mappings/os-v1/affiliations/affiliation-v1.0.0.json,sha256=h9xXxxEGEevtTusLAmpTSfqt7h-I1NgVa8Zm_SSROiM,2100
60
- invenio_vocabularies/contrib/affiliations/mappings/os-v1/affiliations/affiliation-v2.0.0.json,sha256=aB0tV3p4Wk0agcNjwGsFH77AqsWxcMqvp1iAr3H5Ges,3638
60
+ invenio_vocabularies/contrib/affiliations/mappings/os-v1/affiliations/affiliation-v2.0.0.json,sha256=EAj7R-GRJUtHn5MvZITRe46cyT7DEsL1V_-dzarPZKw,3734
61
61
  invenio_vocabularies/contrib/affiliations/mappings/os-v2/__init__.py,sha256=qgNQbJjbfA2hSpFJtXrsUQBZdKwg-5Y1isoXzj31InE,256
62
62
  invenio_vocabularies/contrib/affiliations/mappings/os-v2/affiliations/affiliation-v1.0.0.json,sha256=PaHChFsf9r7xRnZ_7ro8SWNEXpWv4uUYrl32g0QESZs,2096
63
- invenio_vocabularies/contrib/affiliations/mappings/os-v2/affiliations/affiliation-v2.0.0.json,sha256=aB0tV3p4Wk0agcNjwGsFH77AqsWxcMqvp1iAr3H5Ges,3638
63
+ invenio_vocabularies/contrib/affiliations/mappings/os-v2/affiliations/affiliation-v2.0.0.json,sha256=EAj7R-GRJUtHn5MvZITRe46cyT7DEsL1V_-dzarPZKw,3734
64
64
  invenio_vocabularies/contrib/affiliations/mappings/v7/__init__.py,sha256=zr9YyyKyqMAnahKbnIFGr_Z7PXy9ONoU08i9z5cRguQ,259
65
65
  invenio_vocabularies/contrib/affiliations/mappings/v7/affiliations/affiliation-v1.0.0.json,sha256=PaHChFsf9r7xRnZ_7ro8SWNEXpWv4uUYrl32g0QESZs,2096
66
66
  invenio_vocabularies/contrib/awards/__init__.py,sha256=KwCmwFalz-3pDs9iTa5TKUidBjLepnUMqpCBXRiQOO8,474
@@ -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
@@ -122,10 +122,10 @@ invenio_vocabularies/contrib/names/jsonschemas/names/name-v1.0.0.json,sha256=RYV
122
122
  invenio_vocabularies/contrib/names/mappings/__init__.py,sha256=l5hYJmrj83lds5GupnwCcwQn7cdJo6_4H4YYzrnBa54,242
123
123
  invenio_vocabularies/contrib/names/mappings/os-v1/__init__.py,sha256=CKtF-xflE4QGF5P82Lj1ifEP1c7ekR24fc3SiTAkhsY,249
124
124
  invenio_vocabularies/contrib/names/mappings/os-v1/names/name-v1.0.0.json,sha256=5Ybcq3fUMYx3u1MNKmHh-CWBtATS9MYpdEcwAM8EQ80,1943
125
- invenio_vocabularies/contrib/names/mappings/os-v1/names/name-v2.0.0.json,sha256=3tqidfdC9rWjCV59hf45wDA0EmnEAfWlei4PfkeR9fY,3253
125
+ invenio_vocabularies/contrib/names/mappings/os-v1/names/name-v2.0.0.json,sha256=q9jfAXSy_r0ZcTVH-9HbpM29P_wzIi7NKpufJphGJ8A,3349
126
126
  invenio_vocabularies/contrib/names/mappings/os-v2/__init__.py,sha256=p38Ausy2cu1OetTQYwx-9gOFoxGrtrmqjArSDpvxfMU,249
127
127
  invenio_vocabularies/contrib/names/mappings/os-v2/names/name-v1.0.0.json,sha256=5Ybcq3fUMYx3u1MNKmHh-CWBtATS9MYpdEcwAM8EQ80,1943
128
- invenio_vocabularies/contrib/names/mappings/os-v2/names/name-v2.0.0.json,sha256=3tqidfdC9rWjCV59hf45wDA0EmnEAfWlei4PfkeR9fY,3253
128
+ invenio_vocabularies/contrib/names/mappings/os-v2/names/name-v2.0.0.json,sha256=q9jfAXSy_r0ZcTVH-9HbpM29P_wzIi7NKpufJphGJ8A,3349
129
129
  invenio_vocabularies/contrib/names/mappings/v7/__init__.py,sha256=qLGB8C0kPI3xubcfhI8t6Wb2bLlCmVYCiwQ08bKGz9g,252
130
130
  invenio_vocabularies/contrib/names/mappings/v7/names/name-v1.0.0.json,sha256=5Ybcq3fUMYx3u1MNKmHh-CWBtATS9MYpdEcwAM8EQ80,1943
131
131
  invenio_vocabularies/contrib/subjects/__init__.py,sha256=GtXZKA6VWG1oA1fUX2Wh92nd-1i7RnnQF6RprGhxkD4,591
@@ -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.0.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
294
- invenio_vocabularies-5.0.0.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
295
- invenio_vocabularies-5.0.0.dist-info/METADATA,sha256=KEurtozDDWDh9TTPACb9QIb7M_jI_O2AZqedGjp6wFw,8662
296
- invenio_vocabularies-5.0.0.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
297
- invenio_vocabularies-5.0.0.dist-info/entry_points.txt,sha256=qHHFkyU3r0COsKm5gCYuhP8tfsioBggxKAiEXNAbbjM,2803
298
- invenio_vocabularies-5.0.0.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
299
- invenio_vocabularies-5.0.0.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,,