relaton-bib 2.1.9 → 2.2.0.pre.alpha.2
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.
- checksums.yaml +4 -4
- data/lib/relaton/bib/model/item_shared.rb +4 -1
- data/lib/relaton/bib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8716e113f7ad4c7786d629305dc61a05db0d1edeb91bf3a98ba997ca05557de6
|
|
4
|
+
data.tar.gz: 7f5b7dac89db49d1fc4af1f9f275f853a1fe8d60f81263326e679329e82ab51c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbcafb8a400fcec5c3f34bdb41bffbf1ad6591e8b501add1fc1c44b581536e5806270015e71612633fb14cb54d5acbdb9b2c9370c7c2a4edbc7fbc32359eb47c
|
|
7
|
+
data.tar.gz: 7d76d26d13c413684650b829ec64857d7d13f4009e5ec396646935086f4e463b819f6e3cf404789751bd78d8368b1af5d1830ee9824be5546d9b50f54e053a91
|
|
@@ -12,7 +12,10 @@ module Relaton
|
|
|
12
12
|
graphic_work music patent inbook incollection inproceedings journal website
|
|
13
13
|
webresource dataset archival social_media alert message convesation misc
|
|
14
14
|
]
|
|
15
|
-
|
|
15
|
+
# Bilingual bibdata (GB) can carry several <formattedref> elements;
|
|
16
|
+
# classic relaton kept the first one, so collapse over-ingested
|
|
17
|
+
# collections instead of raising at serialization time.
|
|
18
|
+
attribute :formattedref, Formattedref, singular_tolerance: :first
|
|
16
19
|
attribute :title, Title, collection: true, initialize_empty: true
|
|
17
20
|
attribute :source, Uri, collection: true, initialize_empty: true
|
|
18
21
|
attribute :docidentifier, Docidentifier, collection: true, initialize_empty: true
|
data/lib/relaton/bib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relaton-bib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0.pre.alpha.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bibtex-ruby
|