metanorma-iso 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -4
- data/lib/asciidoctor/iso/base.rb +12 -12
- data/lib/asciidoctor/iso/cleanup.rb +1 -1
- data/lib/asciidoctor/iso/isodoc.rng +19 -1
- data/lib/asciidoctor/iso/isostandard-amd.rng +3 -0
- data/lib/asciidoctor/iso/isostandard.rng +6 -0
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/asciidoctor-iso/amd_spec.rb +575 -573
- data/spec/asciidoctor-iso/base_spec.rb +445 -454
- data/spec/asciidoctor-iso/blocks_spec.rb +333 -288
- data/spec/asciidoctor-iso/cleanup_spec.rb +813 -704
- data/spec/asciidoctor-iso/inline_spec.rb +116 -91
- data/spec/asciidoctor-iso/lists_spec.rb +128 -121
- data/spec/asciidoctor-iso/refs_spec.rb +308 -250
- data/spec/asciidoctor-iso/section_spec.rb +273 -242
- data/spec/asciidoctor-iso/table_spec.rb +258 -242
- data/spec/asciidoctor-iso/validate_spec.rb +1099 -1165
- data/spec/isodoc/amd_spec.rb +967 -946
- data/spec/isodoc/blocks_spec.rb +530 -507
- data/spec/isodoc/i18n_spec.rb +953 -911
- data/spec/isodoc/inline_spec.rb +355 -293
- data/spec/isodoc/iso_spec.rb +338 -314
- data/spec/isodoc/metadata_spec.rb +392 -382
- data/spec/isodoc/postproc_spec.rb +833 -656
- data/spec/isodoc/ref_spec.rb +374 -331
- data/spec/isodoc/section_spec.rb +608 -525
- data/spec/isodoc/table_spec.rb +472 -411
- data/spec/isodoc/terms_spec.rb +209 -185
- data/spec/isodoc/xref_spec.rb +1370 -1236
- data/spec/metanorma/processor_spec.rb +28 -26
- data/spec/spec_helper.rb +176 -193
- metadata +2 -4
- data/.rubocop.ribose.yml +0 -66
- data/spec/assets/xref_error.adoc +0 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.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: 2021-02-
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-jing
|
@@ -265,7 +265,6 @@ files:
|
|
265
265
|
- ".gitignore"
|
266
266
|
- ".hound.yml"
|
267
267
|
- ".oss-guides.rubocop.yml"
|
268
|
-
- ".rubocop.ribose.yml"
|
269
268
|
- ".rubocop.tb.yml"
|
270
269
|
- ".rubocop.yml"
|
271
270
|
- CODE_OF_CONDUCT.md
|
@@ -360,7 +359,6 @@ files:
|
|
360
359
|
- spec/assets/word.css
|
361
360
|
- spec/assets/wordcover.html
|
362
361
|
- spec/assets/wordintro.html
|
363
|
-
- spec/assets/xref_error.adoc
|
364
362
|
- spec/examples/103_01_02.html
|
365
363
|
- spec/examples/english.yaml
|
366
364
|
- spec/examples/iso_123_.xml
|
data/.rubocop.ribose.yml
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
Include:
|
3
|
-
- "**/*.rake"
|
4
|
-
- "**/Gemfile"
|
5
|
-
- "**/*.gemfile"
|
6
|
-
- "**/Rakefile"
|
7
|
-
- "**/*.rb"
|
8
|
-
Exclude:
|
9
|
-
- "vendor/**/*"
|
10
|
-
- "db/**/*"
|
11
|
-
- "tmp/**/*"
|
12
|
-
DisplayCopNames: false
|
13
|
-
StyleGuideCopsOnly: false
|
14
|
-
Rails:
|
15
|
-
Enabled: true
|
16
|
-
Metrics/AbcSize:
|
17
|
-
Description: A calculated magnitude based on number of assignments, branches, and
|
18
|
-
conditions.
|
19
|
-
Enabled: true
|
20
|
-
Max: 15
|
21
|
-
Metrics/BlockLength:
|
22
|
-
Exclude:
|
23
|
-
- "spec/**/*"
|
24
|
-
Metrics/BlockNesting:
|
25
|
-
Description: Avoid excessive block nesting
|
26
|
-
StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
|
27
|
-
Enabled: true
|
28
|
-
Max: 3
|
29
|
-
Metrics/ClassLength:
|
30
|
-
Description: Avoid classes longer than 100 lines of code.
|
31
|
-
Enabled: false
|
32
|
-
CountComments: false
|
33
|
-
Max: 100
|
34
|
-
Metrics/CyclomaticComplexity:
|
35
|
-
Description: A complexity metric that is strongly correlated to the number of test
|
36
|
-
cases needed to validate a method.
|
37
|
-
Enabled: true
|
38
|
-
Max: 6
|
39
|
-
Metrics/LineLength:
|
40
|
-
Description: Limit lines to 80 characters.
|
41
|
-
StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
|
42
|
-
Enabled: true
|
43
|
-
Max: 80
|
44
|
-
AllowURI: true
|
45
|
-
URISchemes:
|
46
|
-
- http
|
47
|
-
- https
|
48
|
-
Metrics/MethodLength:
|
49
|
-
Description: Avoid methods longer than 10 lines of code.
|
50
|
-
StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
|
51
|
-
Enabled: true
|
52
|
-
CountComments: true
|
53
|
-
Max: 10
|
54
|
-
Exclude:
|
55
|
-
- "spec/**/*"
|
56
|
-
Metrics/ParameterLists:
|
57
|
-
Description: Avoid long parameter lists.
|
58
|
-
StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
|
59
|
-
Enabled: true
|
60
|
-
Max: 5
|
61
|
-
CountKeywordArgs: true
|
62
|
-
Metrics/PerceivedComplexity:
|
63
|
-
Description: A complexity metric geared towards measuring complexity for a human
|
64
|
-
reader.
|
65
|
-
Enabled: true
|
66
|
-
Max: 7
|