metanorma-iec 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/lib/isodoc/iec/html/htmlstyle.scss +0 -3
- data/lib/isodoc/iec/html/isodoc.scss +0 -1
- data/lib/isodoc/iec/html/wordstyle.scss +0 -1
- data/lib/isodoc/iec/iec.international-standard.xsl +32 -0
- data/lib/metanorma/iec/version.rb +1 -1
- data/metanorma-iec.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a03790c16ae55ccf7da30ce41dfe6545ccf0da95ad4d4df47bdd4195df78c1fe
|
4
|
+
data.tar.gz: 35343d7963ac64e990d2745982d8973d5e73877a1185a6c6b63793db33ee99fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a99840caae5508f6568548c9b9786027c883872ec659384498c46f42a7e5ed3d7976cd4a8505c4e1382306ed8d7a7ef29dd6e704107e675e36b5a2a11991d945
|
7
|
+
data.tar.gz: 2d31918fd1515324b6614518999a5a9575c8426ffedb84076fbd4adcfd7ed7f12708adef7ed196276b8168ab1390abeca2c11c49d28a1df1ccf78c465caba867
|
data/Rakefile
CHANGED
@@ -3607,6 +3607,7 @@
|
|
3607
3607
|
<fo:inline padding-right="2mm">
|
3608
3608
|
|
3609
3609
|
|
3610
|
+
|
3610
3611
|
<xsl:variable name="title-note">
|
3611
3612
|
<xsl:call-template name="getTitle">
|
3612
3613
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -4704,4 +4705,35 @@
|
|
4704
4705
|
</xsl:if>
|
4705
4706
|
</xsl:template><xsl:template name="getDocumentId">
|
4706
4707
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
4708
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
4709
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
4710
|
+
<xsl:variable name="XSLNS">
|
4711
|
+
|
4712
|
+
|
4713
|
+
<xsl:value-of select="document('')//*/namespace::iec"/>
|
4714
|
+
|
4715
|
+
|
4716
|
+
|
4717
|
+
|
4718
|
+
|
4719
|
+
|
4720
|
+
|
4721
|
+
|
4722
|
+
|
4723
|
+
|
4724
|
+
|
4725
|
+
</xsl:variable>
|
4726
|
+
<xsl:if test="$documentNS != $XSLNS">
|
4727
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
4728
|
+
</xsl:if>
|
4729
|
+
</xsl:template><xsl:template name="getLanguage">
|
4730
|
+
<xsl:param name="lang"/>
|
4731
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
4732
|
+
<xsl:choose>
|
4733
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
4734
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
4735
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
4736
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
4737
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
4738
|
+
</xsl:choose>
|
4707
4739
|
</xsl:template></xsl:stylesheet>
|
data/metanorma-iec.gemspec
CHANGED
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency "metanorma-iso", "~> 1.4.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "byebug"
|
35
|
+
spec.add_development_dependency "sassc", "2.4.0"
|
35
36
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
37
|
spec.add_development_dependency "guard", "~> 2.14"
|
37
38
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-jing
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sassc
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.4.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.4.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: equivalent-xml
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|