relaton-ieee 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: aff076d0381b1923da4c5d4283d074ec079d2036c137d88000b18abf02104591
4
- data.tar.gz: a7e3c169397610b0535d76dc6b9f960f5b3364058a40a6b3cacd19390fd66cde
3
+ metadata.gz: 48e29befbf896c3fc598040f4b93e1c1c601ca652602db77a41300a39243213d
4
+ data.tar.gz: 0d5060435ad8cf5d2b1c24a64215632ea707b0da8c8f504095748f8ca56818ac
5
5
  SHA512:
6
- metadata.gz: c00b424479fcc970c2c3f7bf69cbfafc12497e4aead258bb33c269ccd0562e2a2d390e4450f15b48fa00469b38212ce6476fa02063beff3b2393adf12ee2cb82
7
- data.tar.gz: 18eb28f45eb03c3a330a862995c061c6b3463307818cc6e643ebd23b146f511ba12548629fea161a4818fc82619e178891719af9b648d31b9bff59013f001333
6
+ metadata.gz: 717cf18a8d236ce50ec0b9fc71404b8cd6ac790f6313035a6c2bb1cc03c50b9130fb4c98b8ec28b7659597d1fc074408553f30bd2ccc77d85086e92ef7528754
7
+ data.tar.gz: 67493d4a175515bdc8aa807888fb1ec8b0b55f09b816c23a7a0137157a0de4948f413a76dc719aca3fb00aff4f0706544a682d56aa8c52a2e5bccafe1a474f9d
@@ -89,7 +89,7 @@ module RelatonIeee
89
89
  #
90
90
  def to_hash(embedded: false) # rubocop:disable Metrics/AbcSize
91
91
  hash = super
92
- hash["trialuse"] = trialuse unless trialuse.nil?
92
+ hash["ext"]["trialuse"] = trialuse unless trialuse.nil?
93
93
  hash["ext"]["standard_status"] = standard_status unless standard_status.nil?
94
94
  hash["ext"]["standard_modified"] = standard_modified unless standard_modified.nil?
95
95
  hash["ext"]["pubstatus"] = pubstatus unless pubstatus.nil?
@@ -97,6 +97,10 @@ module RelatonIeee
97
97
  hash
98
98
  end
99
99
 
100
+ def has_ext?
101
+ super || !trialuse.nil? || standard_status || standard_modified || pubstatus || holdstatus
102
+ end
103
+
100
104
  # @param prefix [String]
101
105
  # @return [String]
102
106
  def to_asciibib(prefix = "")
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.19.3".freeze
2
+ VERSION = "1.20.0".freeze
3
3
  end
data/relaton_ieee.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency "faraday", "~> 2.7.0"
35
35
  spec.add_dependency "ieee-idams", "~> 0.2.10"
36
36
  spec.add_dependency "mini_portile2", "~> 2.8.0"
37
- spec.add_dependency "relaton-bib", "~> 1.19.0"
37
+ spec.add_dependency "relaton-bib", "~> 1.20.0"
38
38
  spec.add_dependency "relaton-index", "~> 0.2.0"
39
39
  spec.add_dependency "rubyzip", "~> 2.3.0"
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ieee
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-11-27 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.19.0
61
+ version: 1.20.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.19.0
68
+ version: 1.20.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: relaton-index
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -144,7 +144,7 @@ licenses:
144
144
  metadata:
145
145
  homepage_uri: https://github.com/relaton/relaton-ieee
146
146
  source_code_uri: https://github.com/relaton/relaton-ieee
147
- post_install_message:
147
+ post_install_message:
148
148
  rdoc_options: []
149
149
  require_paths:
150
150
  - lib
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  requirements: []
162
162
  rubygems_version: 3.3.27
163
- signing_key:
163
+ signing_key:
164
164
  specification_version: 4
165
165
  summary: 'RelatonIeee: retrieve IEEE Standards for bibliographic use using the IeeeBibliographicItem
166
166
  model'