metanorma-ribose 2.1.6 → 2.1.7

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: 1a17fb7d3f0e0f898cd81e4a8035143076ad002a189b805c4b533a8c4ca37ae8
4
- data.tar.gz: a275006a54dcb4dc0e000dda2839648795d29434e9917c3e681ac396cc6dbb35
3
+ metadata.gz: 6c1b24dece446288c1fc3107f0435bfe944ce86194510176f30195e8b53bad8c
4
+ data.tar.gz: 62175ae256a81816f870fe2035f2d480387a4f8ef149af3e1ec35017d9aea534
5
5
  SHA512:
6
- metadata.gz: 1945565392ba993239ddc47da3faaf4248406aa334fbdca2a451e224378f288ac9f66c7be593a090777fb668e1f6b9f75e4474dea85d92d5dda6d8cc2055e0a4
7
- data.tar.gz: 7a46834ed94f863827fa6fea374af0a41baeea0c2954f3fb6068bd1870e658f94e34f48f6bb9db37726c0caec22b02a43e2454302d12f6fce999a0a9acf6f0b1
6
+ metadata.gz: 398637b24fae005be588c7c6cb400a6740f41fadf96943a50bb4c0e436943b11482a430ce85bc542561390681607258db657a8ee25c391c6692b402ef4349e96
7
+ data.tar.gz: 462f520a6a0a6dab5f9bf0041a8d07fca7b8f9caf3a04c2c2c9c05258b32ed8c37add4e01cc1c1ab3e824f82e0856312f13d9b63e9891a65d761ec002009ede5
@@ -1652,6 +1652,9 @@
1652
1652
  <xsl:attribute-set name="import-style">
1653
1653
  </xsl:attribute-set>
1654
1654
 
1655
+ <xsl:attribute-set name="component-style">
1656
+ </xsl:attribute-set>
1657
+
1655
1658
  <xsl:attribute-set name="recommendation-style">
1656
1659
 
1657
1660
  </xsl:attribute-set>
@@ -7599,41 +7602,47 @@
7599
7602
  </fo:block>
7600
7603
  </xsl:template>
7601
7604
 
7602
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
7605
+ <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] | *[local-name() = 'div'][@type = 'requirement-inherit'] | *[local-name() = 'div'][@type = 'recommendation-inherit'] | *[local-name() = 'div'][@type = 'permission-inherit']">
7603
7606
  <fo:block xsl:use-attribute-sets="inherit-style">
7604
7607
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
7605
7608
  </fo:block>
7606
7609
  </xsl:template>
7607
7610
 
7608
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
7611
+ <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description'] | *[local-name() = 'div'][@type = 'requirement-description'] | *[local-name() = 'div'][@type = 'recommendation-description'] | *[local-name() = 'div'][@type = 'permission-description']">
7609
7612
  <fo:block xsl:use-attribute-sets="description-style">
7610
7613
  <xsl:apply-templates/>
7611
7614
  </fo:block>
7612
7615
  </xsl:template>
7613
7616
 
7614
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
7617
+ <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification'] | *[local-name() = 'div'][@type = 'requirement-specification'] | *[local-name() = 'div'][@type = 'recommendation-specification'] | *[local-name() = 'div'][@type = 'permission-specification']">
7615
7618
  <fo:block xsl:use-attribute-sets="specification-style">
7616
7619
  <xsl:apply-templates/>
7617
7620
  </fo:block>
7618
7621
  </xsl:template>
7619
7622
 
7620
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
7623
+ <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target'] | *[local-name() = 'div'][@type = 'requirement-measurement-target'] | *[local-name() = 'div'][@type = 'recommendation-measurement-target'] | *[local-name() = 'div'][@type = 'permission-measurement-target']">
7621
7624
  <fo:block xsl:use-attribute-sets="measurement-target-style">
7622
7625
  <xsl:apply-templates/>
7623
7626
  </fo:block>
7624
7627
  </xsl:template>
7625
7628
 
7626
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
7629
+ <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification'] | *[local-name() = 'div'][@type = 'requirement-verification'] | *[local-name() = 'div'][@type = 'recommendation-verification'] | *[local-name() = 'div'][@type = 'permission-verification']">
7627
7630
  <fo:block xsl:use-attribute-sets="verification-style">
7628
7631
  <xsl:apply-templates/>
7629
7632
  </fo:block>
7630
7633
  </xsl:template>
7631
7634
 
7632
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
7635
+ <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import'] | *[local-name() = 'div'][@type = 'requirement-import'] | *[local-name() = 'div'][@type = 'recommendation-import'] | *[local-name() = 'div'][@type = 'permission-import']">
7633
7636
  <fo:block xsl:use-attribute-sets="import-style">
7634
7637
  <xsl:apply-templates/>
7635
7638
  </fo:block>
7636
7639
  </xsl:template>
7640
+
7641
+ <xsl:template match="*[local-name() = 'div'][starts-with(@type, 'requirement-component')] | *[local-name() = 'div'][starts-with(@type, 'recommendation-component')] | *[local-name() = 'div'][starts-with(@type, 'permission-component')]">
7642
+ <fo:block xsl:use-attribute-sets="component-style">
7643
+ <xsl:apply-templates/>
7644
+ </fo:block>
7645
+ </xsl:template>
7637
7646
  <!-- ========== -->
7638
7647
  <!-- END -->
7639
7648
  <!-- ========== -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.1.6".freeze
3
+ VERSION = "2.1.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ribose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.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: 2022-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic