relaton-ieee 1.4.0 → 1.5.pre

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: aaf06375726fbbc3787de633d801af3b3d0b9a5eb034db2bcfee5a73f82d9f9e
4
- data.tar.gz: 941f57105265f5c195a031ba2514299ec50f09439f35f00a2801543e9e906691
3
+ metadata.gz: ac9127f5e1160419aa815fa5ad62515847c1289445a395244ff6d8c6a6d2c151
4
+ data.tar.gz: 3f9beb45ce9a3fea3d3801dd416169bdd5a58aa951be6fa7974fca786d056c63
5
5
  SHA512:
6
- metadata.gz: 2e00b76917329c4cfc1d2d5952cefc7776d5c33540087c84e20dddd7dec55ffb2e1ce48e2ab9289e1a0543ef3ad39db6a0ba399aeef93fc32536e4756906271b
7
- data.tar.gz: 0acfdc0b3f0bab3a84605520761db7b21dc8167ea1b0c27255f4362f323593ccc82f95978ecbdb99b693050bab008aa0782c14e4f3203471451ac17e2fd93edc
6
+ metadata.gz: a835a56b1182d4b352b3a621fa8ce80d9a2aaff6f6443f767399a73300c1b5172ef971c696d5b3e1e3899bb826ad678d788e02456b0892649eacdfdf45c0d444
7
+ data.tar.gz: 393782bd19f4ff8829784eadb1c1afbbb1759e5f074b08cba6c1e3f4e6c40d264891eb0dc2847d05f0e8da25f2e4aa0278b2a2548ed14775c0342155602d0097
@@ -9,10 +9,13 @@ module RelatonIeee
9
9
  super
10
10
  end
11
11
 
12
- # @param builder [Nokogiri::XML::Bilder]
13
- # @parma bibdata [TrueClass, FalseClass, NilClass]
14
- def to_xml(builder = nil, **opts)
15
- super do |bldr|
12
+ # @param opts [Hash]
13
+ # @option opts [Nokogiri::XML::Builder] :builder XML builder
14
+ # @option opts [Boolean] :bibdata
15
+ # @option opts [String] :lang language
16
+ # @return [String] XML
17
+ def to_xml(**opts)
18
+ super **opts do |bldr|
16
19
  if opts[:bibdata] && committee.any?
17
20
  bldr.ext do |b|
18
21
  committee.each { |c| c.to_xml b }
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.5.pre".freeze
3
3
  end
@@ -43,5 +43,5 @@ Gem::Specification.new do |spec|
43
43
  spec.add_development_dependency "webmock"
44
44
 
45
45
  spec.add_dependency "faraday", "~> 1.0.0"
46
- spec.add_dependency "relaton-bib", "~> 1.4.0"
46
+ spec.add_dependency "relaton-bib", "~> 1.5.pre"
47
47
  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.4.0
4
+ version: 1.5.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.4.0
145
+ version: 1.5.pre
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.4.0
152
+ version: 1.5.pre
153
153
  description: 'RelatonIeee: retrieve IEEE Standards for bibliographic use using the
154
154
  IeeeBibliographicItem model'
155
155
  email:
@@ -204,9 +204,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  version: 2.3.0
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">="
207
+ - - ">"
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: 1.3.1
210
210
  requirements: []
211
211
  rubygems_version: 3.0.6
212
212
  signing_key: