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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42080c1c3ebb7eab76de1fc1b18bb91da064ac175581633c34b0c8daa2361282
|
|
4
|
+
data.tar.gz: 340d032da2900d7873da399c2711587b38ccd99307a0a401b1a4b3ba8201db5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9292924b806016e99034be78d609420b96be057745499ef4f7c006682325fdb4ef38a80369398bc6c882379b703fd7debeb4ad4b26a6daad12a1be5893d70aec
|
|
7
|
+
data.tar.gz: 5c7908cdb8d6943da712d3a1a43c91310efed866530504434b7377f18e50f6f871798e95efb16b04a5c88bd2f6ada1c8aab3c30836c546d1a6b3ed5e4d4206be
|
data/.github/workflows/rake.yml
CHANGED
|
@@ -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.
|
|
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
|
|
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)
|
data/lib/relaton/bipm/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|