metanorma-ieee 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -4
- data/lib/isodoc/ieee/ieee.amendment.xsl +1 -0
- data/lib/isodoc/ieee/ieee.standard.xsl +1 -0
- data/lib/metanorma/ieee/front.rb +8 -0
- data/lib/metanorma/ieee/version.rb +1 -1
- data/metanorma-ieee.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edbc1c2ec6a319e834d202c0911809cf533ef18acf4993408bc710c4c7345c80
|
4
|
+
data.tar.gz: f2c83c819e4403d4c656a2638cd1a3e64936522e6451cd0f70dd2e23fae70c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d44d88f96fdb139a618f2659cb43e4d8554253da43b344a4f8210c9e6aaa968406711b903f6d7a028f7e94012045af990bf03c2a9126f94e9e43e4f859ac553
|
7
|
+
data.tar.gz: 0c7931e7442adff8c970f84ea3e2161bba759b3a4cce939ea6423818c658c056d58abe8c966ffed50cbecf3ab6ff1070b899eb32a90b007e873bc3fe29e12785
|
data/Gemfile
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
Encoding.default_external = Encoding::UTF_8
|
2
2
|
Encoding.default_internal = Encoding::UTF_8
|
3
3
|
|
4
|
-
source
|
4
|
+
source "https://rubygems.org"
|
5
5
|
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
6
6
|
|
7
|
-
|
7
|
+
group :development, :test do
|
8
|
+
gem "rspec"
|
9
|
+
end
|
8
10
|
|
9
|
-
if File.exist?
|
10
|
-
eval File.read(
|
11
|
+
if File.exist? "Gemfile.devel"
|
12
|
+
eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
|
11
13
|
end
|
14
|
+
|
15
|
+
gemspec
|
@@ -78,6 +78,7 @@
|
|
78
78
|
<xsl:choose>
|
79
79
|
<xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and $stage = 'draft'">draft</xsl:when>
|
80
80
|
<xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and ($stage = 'published' or $stage = 'approved')">standard</xsl:when>
|
81
|
+
<xsl:when test="$doctype = 'whitepaper' and $subdoctype = 'icap'">icap-whitepaper</xsl:when>
|
81
82
|
<xsl:otherwise><xsl:value-of select="$doctype"/></xsl:otherwise>
|
82
83
|
</xsl:choose>
|
83
84
|
</xsl:variable>
|
@@ -78,6 +78,7 @@
|
|
78
78
|
<xsl:choose>
|
79
79
|
<xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and $stage = 'draft'">draft</xsl:when>
|
80
80
|
<xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and ($stage = 'published' or $stage = 'approved')">standard</xsl:when>
|
81
|
+
<xsl:when test="$doctype = 'whitepaper' and $subdoctype = 'icap'">icap-whitepaper</xsl:when>
|
81
82
|
<xsl:otherwise><xsl:value-of select="$doctype"/></xsl:otherwise>
|
82
83
|
</xsl:choose>
|
83
84
|
</xsl:variable>
|
data/lib/metanorma/ieee/front.rb
CHANGED
@@ -33,6 +33,7 @@ module Metanorma
|
|
33
33
|
xml.docnumber node.attr("docnumber")
|
34
34
|
end
|
35
35
|
|
36
|
+
=begin
|
36
37
|
def metadata_publisher(node, xml)
|
37
38
|
publishers = node.attr("publisher") || "IEEE"
|
38
39
|
csv_split(publishers).each do |p|
|
@@ -44,7 +45,13 @@ module Metanorma
|
|
44
45
|
end
|
45
46
|
end
|
46
47
|
end
|
48
|
+
=end
|
47
49
|
|
50
|
+
def default_publisher
|
51
|
+
"IEEE"
|
52
|
+
end
|
53
|
+
|
54
|
+
=begin
|
48
55
|
def metadata_copyright(node, xml)
|
49
56
|
publishers = node.attr("copyright-holder") || node.attr("publisher") ||
|
50
57
|
"IEEE"
|
@@ -64,6 +71,7 @@ module Metanorma
|
|
64
71
|
end
|
65
72
|
end
|
66
73
|
end
|
74
|
+
=end
|
67
75
|
|
68
76
|
def metadata_status(node, xml)
|
69
77
|
status = node.attr("status") || node.attr("docstage") ||
|
data/metanorma-ieee.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
27
27
|
|
28
|
-
spec.add_dependency "metanorma-standoc", "~> 2.
|
28
|
+
spec.add_dependency "metanorma-standoc", "~> 2.7.0"
|
29
29
|
spec.add_dependency "mnconvert", "~> 1.20"
|
30
30
|
#spec.add_dependency "pubid-ieee", "~> 0.1.1"
|
31
31
|
#spec.add_dependency "pubid-iso", "~> 0.5.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ieee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mnconvert
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|