metanorma-un 0.5.15 → 0.5.16

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: c75ce0d3ca8611cf187a1e7775468a26a071af7b6ce64a5c1a056a140be234ec
4
- data.tar.gz: 58e3518b84f467e8d4f0c138d23a6a9980a186cb45875eee1dba85d24c0e66ec
3
+ metadata.gz: ec139c7a4c8d73d3d274edfbd05f5169f0d10da3ac8d3439ea7c35445d9561a4
4
+ data.tar.gz: 1cd3a00831238f7bfccfccb7a7a29bafbf3767341a7ebf4fa6a3811ab600b69f
5
5
  SHA512:
6
- metadata.gz: 713c1a9ffc75aee2461401d8af1770e74fb1667b54883e15f60cfb1329d857bab5ba471e4e3ca40e2fff585546eb2ab13414ad9b4b9da41d428ba8f04ba68a59
7
- data.tar.gz: c9c7bbd9521cd6d9854e847addcf9a2b78f5a49a148ee020a9da733d78af0f332de4b27fffea2927ed44aaef6496010b8fc8097b6d1a5b2bb51c01c36d0205f9
6
+ metadata.gz: f88a58ddc30aa6028a0ddba08360e280a98ac491d657e1b8b332b3109d496cecd80d6c0421c2d8f86a5bac3e55fdc5b14359023a278f8aaab802d44fabec1856
7
+ data.tar.gz: 8394a664e6d7185d2f4713acca25568d77a52ef5bc1259908cfa8789775b5c70a4ae52eddf801e223407e5bfd005bd324b0caf5125cc34e90029039365be3cb2
data/.gitignore CHANGED
@@ -1 +1,3 @@
1
1
  .DS_Store
2
+
3
+ .rubocop-https--*
data/.rubocop.yml CHANGED
@@ -1,10 +1,14 @@
1
1
  # This project follows the Ribose OSS style guide.
2
2
  # https://github.com/riboseinc/oss-guides
3
3
  # All project-specific additions and overrides should be specified in this file.
4
-
5
4
  inherit_from:
6
5
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
6
+
7
+ # local repo-specific modifications
8
+
7
9
  AllCops:
8
- TargetRubyVersion: 2.3
10
+ DisplayCopNames: false
11
+ StyleGuideCopsOnly: false
12
+ TargetRubyVersion: 2.4
9
13
  Rails:
10
14
  Enabled: true
@@ -124,7 +124,7 @@
124
124
  <value>application/tei+xml</value>
125
125
  <value>text/x-asciidoc</value>
126
126
  <value>text/markdown</value>
127
- <value>application/x-isodoc+xml</value>
127
+ <value>application/x-metanorma+xml</value>
128
128
  <text/>
129
129
  </choice>
130
130
  </attribute>
@@ -452,6 +452,7 @@
452
452
  <attribute name="type">
453
453
  <choice>
454
454
  <value>isni</value>
455
+ <value>orcid</value>
455
456
  <value>uri</value>
456
457
  </choice>
457
458
  </attribute>
@@ -461,10 +462,7 @@
461
462
  <define name="org-identifier">
462
463
  <element name="identifier">
463
464
  <attribute name="type">
464
- <choice>
465
- <value>orcid</value>
466
- <value>uri</value>
467
- </choice>
465
+ <data type="string" datatypeLibrary=""/>
468
466
  </attribute>
469
467
  <text/>
470
468
  </element>
@@ -1106,7 +1104,7 @@
1106
1104
  <value>complementOf</value>
1107
1105
  <value>obsoletes</value>
1108
1106
  <value>obsoletedBy</value>
1109
- <value>cited</value>
1107
+ <value>cites</value>
1110
1108
  <value>isCitedIn</value>
1111
1109
  </choice>
1112
1110
  </define>
@@ -4713,8 +4713,8 @@
4713
4713
  <fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
4714
4714
  <xsl:apply-templates/>
4715
4715
  </fo:block>
4716
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']">
4717
- <fo:inline id="{@id}"/>
4716
+ </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
4717
+ <fo:inline id="{@id}" font-size="1pt"/>
4718
4718
  </xsl:template><xsl:template match="*[local-name() = 'errata']">
4719
4719
  <!-- <row>
4720
4720
  <date>05-07-2013</date>
@@ -4713,8 +4713,8 @@
4713
4713
  <fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
4714
4714
  <xsl:apply-templates/>
4715
4715
  </fo:block>
4716
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']">
4717
- <fo:inline id="{@id}"/>
4716
+ </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
4717
+ <fo:inline id="{@id}" font-size="1pt"/>
4718
4718
  </xsl:template><xsl:template match="*[local-name() = 'errata']">
4719
4719
  <!-- <row>
4720
4720
  <date>05-07-2013</date>
@@ -4587,8 +4587,8 @@
4587
4587
  <fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
4588
4588
  <xsl:apply-templates/>
4589
4589
  </fo:block>
4590
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']">
4591
- <fo:inline id="{@id}"/>
4590
+ </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
4591
+ <fo:inline id="{@id}" font-size="1pt"/>
4592
4592
  </xsl:template><xsl:template match="*[local-name() = 'errata']">
4593
4593
  <!-- <row>
4594
4594
  <date>05-07-2013</date>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.5.15"
3
+ VERSION = "0.5.16"
4
4
  end
5
5
  end
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
40
40
  spec.add_development_dependency "guard-rspec", "~> 4.7"
41
41
  spec.add_development_dependency "rake", "~> 13.0"
42
42
  spec.add_development_dependency "rspec", "~> 3.6"
43
- spec.add_development_dependency "rubocop", "= 0.54.0"
43
+ spec.add_development_dependency "rubocop", "~> 1.5.2"
44
44
  spec.add_development_dependency "simplecov", "~> 0.15"
45
45
  spec.add_development_dependency "timecop", "~> 0.9"
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-un
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.15
4
+ version: 0.5.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-16 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roman-numerals
@@ -182,16 +182,16 @@ dependencies:
182
182
  name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '='
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.54.0
187
+ version: 1.5.2
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '='
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.54.0
194
+ version: 1.5.2
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement