relaton-itu 1.19.3 → 1.20.0

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: 6eb58814c2b6eb0575c22b0e73606a7e54b0011f412e7d797c8be92d150a31f9
4
- data.tar.gz: 2cf52ac96e85e7f916c0c7efc452c81514483c52553e02171cc562b1c0557027
3
+ metadata.gz: 5a30bf20031156fa42620cdc60617bfde448a9ea5404f30839856aa885c16542
4
+ data.tar.gz: fa19d27c32808e7856d687bd57a667ca369dffe1bef11b94b55a2be594f98f81
5
5
  SHA512:
6
- metadata.gz: 8e869a3131ab07a3601eedb46e5d62a6a4ac92e638c1c5e362003193d24b699bf829ffa2eade9705a01a5073f63e22f311686500c8a21fde958f4c309b72dc35
7
- data.tar.gz: 57531fcb780e7ec0950628efae847101c4daef24d68809e53ff3d7934818fe21ab794f027bf2dcc0ad73b50137693274ec960a8cc5368e03f6fe523f7fa436ad
6
+ metadata.gz: ca37959c346cb6386461c933b802949322c8536325078e4b5a5affaf50db81884b68be273f05d96d788f56ad1fca1521e54328a564d834763f49f66e29f49c9f
7
+ data.tar.gz: dc698fc47d0cc3fcf91b848bb6e901d255cf16322600f3f047fc752dcf590686bc3c9d7ac0e089251cae7db4a149ec42e1d3e831322c28e2b8f671f5b65999e9
@@ -15,7 +15,7 @@ module RelatonItu
15
15
  end
16
16
 
17
17
  def editorialgroup_hash_to_bib(ret)
18
- eg = ret[:editorialgroup]
18
+ eg = ret.dig(:ext, :editorialgroup) || ret[:editorialgroup] # @TODO: remove ret[:editorialgroup] after all gems will be updated
19
19
  return unless eg
20
20
 
21
21
  ret[:editorialgroup] = EditorialGroup.new(**eg)
@@ -23,11 +23,10 @@ module RelatonItu
23
23
 
24
24
  # @param ret [Hash]
25
25
  def structuredidentifier_hash_to_bib(ret)
26
- return unless ret[:structuredidentifier]
26
+ struct_id = ret.dig(:ext, :structuredidentifier) || ret[:structuredidentifier] # @TODO: remove ret[:structuredidentifier] after all gems will be updated
27
+ return unless struct_id
27
28
 
28
- ret[:structuredidentifier] = StructuredIdentifier.new(
29
- **ret[:structuredidentifier]
30
- )
29
+ ret[:structuredidentifier] = StructuredIdentifier.new(**struct_id)
31
30
  end
32
31
 
33
32
  def create_doctype(**args)
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "1.19.3".freeze
2
+ VERSION = "1.20.0".freeze
3
3
  end
data/relaton_itu.gemspec CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency "mechanize", "~> 2.10"
29
29
  spec.add_dependency "parslet", "~> 2.0.0"
30
- spec.add_dependency "relaton-bib", "~> 1.19.0"
30
+ spec.add_dependency "relaton-bib", "~> 1.20.0"
31
31
  spec.add_dependency "relaton-index", "~> 0.2.0"
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.3
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-01 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.19.0
47
+ version: 1.20.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.19.0
54
+ version: 1.20.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: relaton-index
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ homepage: https://github.com/metanorma/relaton-itu
114
114
  licenses:
115
115
  - MIT
116
116
  metadata: {}
117
- post_install_message:
117
+ post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
120
120
  - lib
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubygems_version: 3.3.27
133
- signing_key:
133
+ signing_key:
134
134
  specification_version: 4
135
135
  summary: 'RelatonItu: retrieve ITU Standards for bibliographic use using the BibliographicItem
136
136
  model'