relaton-bipm 2.1.0 → 2.1.1

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: 2e37174de8c0a2e222fe3ba17b60860488f2c2b1a34e1fdb90e9098b9ba5c3a3
4
- data.tar.gz: 8260ed3d205d39197b919671691b3763c72b393b465daf81c4dfd9e8e70ae26c
3
+ metadata.gz: 42080c1c3ebb7eab76de1fc1b18bb91da064ac175581633c34b0c8daa2361282
4
+ data.tar.gz: 340d032da2900d7873da399c2711587b38ccd99307a0a401b1a4b3ba8201db5a
5
5
  SHA512:
6
- metadata.gz: 2f46ac25806b9ed07a77968a1fa026788ffcdaa43d1786d7da4f8c4531c760a81c0c84fca30bcb4381b58f593e2d982f8ba33078fda1447dfc6cb631a4f2de21
7
- data.tar.gz: 856d01e50884008f66e4e0bda00330080659a3a991e0d1c183bec11c98510b93e3ad677661c04714e498b12478f68968a9539b5afc6ea7b8f3148a14a491c056
6
+ metadata.gz: 9292924b806016e99034be78d609420b96be057745499ef4f7c006682325fdb4ef38a80369398bc6c882379b703fd7debeb4ad4b26a6daad12a1be5893d70aec
7
+ data.tar.gz: 5c7908cdb8d6943da712d3a1a43c91310efed866530504434b7377f18e50f6f871798e95efb16b04a5c88bd2f6ada1c8aab3c30836c546d1a6b3ed5e4d4206be
@@ -4,7 +4,7 @@ name: rake
4
4
 
5
5
  on:
6
6
  push:
7
- branches: [ master, main ]
7
+ branches: [ master, main, lutaml-integration ]
8
8
  tags: [ v* ]
9
9
  pull_request:
10
10
 
@@ -437,7 +437,7 @@ module Relaton::Bipm
437
437
  did.content.sub!(regex) { "#{$1}-#{part}" }
438
438
  # did.instance_variable_set(:@id, id)
439
439
  end
440
- hash[:ext].structuredidentifier.instance_variable_set :@part, part
440
+ hash[:ext].structuredidentifier.part = part
441
441
  end
442
442
 
443
443
  #
@@ -10,7 +10,6 @@ module Relaton
10
10
  kg_h_c_deltanu kg_h m_c_deltanu m_c mol_NA s_deltanu
11
11
  ]
12
12
 
13
- attribute :schema_version, method: :get_schema_version
14
13
  attribute :doctype, Doctype
15
14
  attribute :comment_period, CommentPeriod
16
15
  attribute :si_aspect, :string, values: SI_ASPECTS
@@ -24,6 +23,12 @@ module Relaton
24
23
  map_element "structuredidentifier", to: :structuredidentifier
25
24
  end
26
25
 
26
+ key_value do
27
+ map_element "comment_period", to: :comment_period
28
+ map_element "si_aspect", to: :si_aspect
29
+ map_element "meeting_note", to: :meeting_note
30
+ end
31
+
27
32
  def get_schema_version
28
33
  Relaton.schema_versions["relaton-model-bipm"]
29
34
  end
@@ -299,7 +299,7 @@ module Relaton::Bipm
299
299
  next unless from
300
300
 
301
301
  owner = l.at("./copyright-statement").text.split(" & ").map do |c|
302
- /(?<name>[A-z]+(?:\s[A-z]+)*)/ =~ c
302
+ /(?<name>\p{L}+(?:\s\p{L}+)*)/ =~ c
303
303
  org_name = Relaton::Bib::TypedLocalizedString.new(content: name, language: "en", script: "Latn")
304
304
  org = Relaton::Bib::Organization.new name: [org_name]
305
305
  Relaton::Bib::ContributionInfo.new(organization: org)
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Bipm
3
- VERSION = "2.1.0".freeze
3
+ VERSION = "2.1.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.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: 2026-05-04 00:00:00.000000000 Z
11
+ date: 2026-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday