relaton-bib 1.12.2 → 1.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bib/document_status.rb +2 -2
- data/lib/relaton_bib/technical_committee.rb +2 -4
- data/lib/relaton_bib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3610adb6319fa59f2a67b10146c3e976c7c827d91df441b504de6534cb285020
|
4
|
+
data.tar.gz: 75f324998da686277dee651003ba6bb2e0dea57bcb170e8db0e0566f12a45ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d732c577746afab2468f58404b93ab207999425ab8f9069589622ea3b89172ed9230390bdb033652440c478ab2b723977ec62064e92ce5202cde0dc753ca3c5
|
7
|
+
data.tar.gz: 3ac992c12c4dd00a17314a5f49ea79d82f8a66b1e8707087a2e52c17f863ea547d793f5d429fa2d63024ca6f9b22ce258e35fe55c4bfc4c947a81dcb44bd5209
|
@@ -56,8 +56,8 @@ module RelatonBib
|
|
56
56
|
def stage_new(stg)
|
57
57
|
case stg
|
58
58
|
when Stage then stg
|
59
|
-
when Hash then Stage.new(**stg)
|
60
|
-
when String then Stage.new(value: stg)
|
59
|
+
when Hash then self.class::Stage.new(**stg)
|
60
|
+
when String then self.class::Stage.new(value: stg)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -12,9 +12,7 @@ module RelatonBib
|
|
12
12
|
|
13
13
|
# @param builder [Nokogiri::XML::Builder]
|
14
14
|
def to_xml(builder)
|
15
|
-
builder.send
|
16
|
-
workgroup.to_xml b
|
17
|
-
end
|
15
|
+
builder.send(:"technical-committee") { |b| workgroup.to_xml b }
|
18
16
|
end
|
19
17
|
|
20
18
|
# @return [Hash]
|
@@ -26,7 +24,7 @@ module RelatonBib
|
|
26
24
|
# @param count [Integer] number of technical committees
|
27
25
|
# @return [String]
|
28
26
|
def to_asciibib(prefix = "", count = 1)
|
29
|
-
pref = prefix.empty? ? prefix : prefix
|
27
|
+
pref = prefix.empty? ? prefix : "#{prefix}."
|
30
28
|
pref += "technical_committee"
|
31
29
|
out = count > 1 ? "#{pref}::\n" : ""
|
32
30
|
out += workgroup.to_asciibib pref
|
data/lib/relaton_bib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|