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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74bf6a3c3abe13cbadc903c2d2b811b125f654033e092ed33305834663404854
4
- data.tar.gz: 396420681c9fe3567117b7e6a992c56a0cbfd3b219d36d650d8deb072a36435b
3
+ metadata.gz: 8716e113f7ad4c7786d629305dc61a05db0d1edeb91bf3a98ba997ca05557de6
4
+ data.tar.gz: 7f5b7dac89db49d1fc4af1f9f275f853a1fe8d60f81263326e679329e82ab51c
5
5
  SHA512:
6
- metadata.gz: 9fdb28c540d26dd47ac56af80c292cae33f6cafa96672161d732f85e457b4a7336c2c5f11d5f5b852284433f73b08cfefe7d2af0c1e2d99e1557c05f985f46da
7
- data.tar.gz: 1585a8df0f2a2ad420eb26ed1d11a6f36483f90f10510f3cb63f72145d0d401b4499016100475b37195f31033d4c600bd281d8d4f97b7f648732212f7a5378b2
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
- attribute :formattedref, Formattedref
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
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Bib
3
- VERSION = "2.1.9".freeze
3
+ VERSION = "2.2.0.pre.alpha.2".freeze
4
4
  end
5
5
  end
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.1.9
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-09-06 00:00:00.000000000 Z
11
+ date: 2026-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby