relaton-iec 1.19.0 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c60902215d917d1699b588d576e9b0b775bb266617eb2f75f4fb8c1282d335c9
4
- data.tar.gz: acc1c1bd4ad7fadacd3585eadef5b23bee9004568489164e2eb2638dde6aca2c
3
+ metadata.gz: 7153721bcd73a90080e9ac70e5cc041cb3f943711f11cdd82ef335f01f07cf64
4
+ data.tar.gz: 9c84261060e5363ac7f5e961ca38c467703bd3043bd782e764054f407388cf83
5
5
  SHA512:
6
- metadata.gz: 5d84bf94de3ee0ab5d8572817422a934a06324babbe382442ed43a445ea52085ef884e586eb5f0cab43a5c0a86062f6501c3945a400244cf89ed089651d8c585
7
- data.tar.gz: 54a7652ce95dc6cfe26a722af5f0e5ba7f4f45968e71e0abf1db1e3f00a5f9018d8981e5a2219e972d6192defebfd760770e5832322c960db7c1293473e776be
6
+ metadata.gz: 10d2990ec6d73858fe68c0f85424c8bf0037205837a3ae3787dc0952de5883f3f104ef56bcf9cd266fed8816e35b5d32c5e0993ff2f2c7eebcb4792e755ab161
7
+ data.tar.gz: 900bffdce5c4b87976a351f10d0a75ea17c7efff1bdd8791a0660df5a352e3c6a4701b273882556b6822edc0f3af7dd0fbf439d5dfccc3ee3b491c904a5d65db
@@ -110,12 +110,12 @@ module RelatonIec
110
110
  #
111
111
  # Parse titles.
112
112
  #
113
- # @return [Array<RelatonBib::TypedTitleString>] titles
113
+ # @return [RelatonBib::TypedTitleStringCollection] titles
114
114
  #
115
115
  def title
116
- @pub["title"].map do |t|
117
- RelatonBib::TypedTitleString.new(
118
- content: t["value"], language: t["lang"], script: lang_to_script(t["lang"]), type: "main",
116
+ @pub["title"].reduce(RelatonBib::TypedTitleStringCollection.new) do |a, t|
117
+ a + RelatonBib::TypedTitleString.from_string(
118
+ t["value"], t["lang"], lang_to_script(t["lang"])
119
119
  )
120
120
  end
121
121
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIec
2
- VERSION = "1.19.0".freeze
2
+ VERSION = "1.19.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-03 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable