asciidoctor-iso 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -10
- data/asciidoctor-iso.gemspec +1 -1
- data/lib/asciidoctor/iso/base.rb +6 -3
- data/lib/asciidoctor/iso/blocks.rb +4 -18
- data/lib/asciidoctor/iso/cleanup.rb +20 -11
- data/lib/asciidoctor/iso/cleanup_block.rb +38 -21
- data/lib/asciidoctor/iso/cleanup_ref.rb +17 -4
- data/lib/asciidoctor/iso/converter.rb +0 -1
- data/lib/asciidoctor/iso/front.rb +23 -14
- data/lib/asciidoctor/iso/html/html_iso_intro.html +0 -36
- data/lib/asciidoctor/iso/html/isodoc.css +5 -0
- data/lib/asciidoctor/iso/inline.rb +14 -2
- data/lib/asciidoctor/iso/isodoc.rng +38 -6
- data/lib/asciidoctor/iso/isostandard.rng +16 -11
- data/lib/asciidoctor/iso/lists.rb +28 -23
- data/lib/asciidoctor/iso/section.rb +4 -14
- data/lib/asciidoctor/iso/table.rb +0 -3
- data/lib/asciidoctor/iso/utils.rb +2 -0
- data/lib/asciidoctor/iso/validate.rb +2 -2
- data/lib/asciidoctor/iso/validate_section.rb +62 -4
- data/lib/asciidoctor/iso/validate_style.rb +24 -15
- data/lib/asciidoctor/iso/version.rb +1 -1
- data/spec/asciidoctor-iso/base_spec.rb +32 -6
- data/spec/asciidoctor-iso/blocks_spec.rb +10 -0
- data/spec/asciidoctor-iso/cleanup_spec.rb +26 -18
- data/spec/asciidoctor-iso/inline_spec.rb +2 -0
- data/spec/asciidoctor-iso/lists_spec.rb +1 -0
- data/spec/asciidoctor-iso/refs_spec.rb +44 -11
- data/spec/asciidoctor-iso/validate_spec.rb +1 -0
- data/spec/examples/rice.doc +2751 -2732
- data/spec/examples/rice.html +184 -205
- data/spec/examples/rice.xml +244 -212
- data/spec/spec_helper.rb +6 -3
- metadata +6 -6
data/spec/spec_helper.rb
CHANGED
@@ -56,13 +56,15 @@ BLANK_HDR = <<~"HDR"
|
|
56
56
|
<contributor>
|
57
57
|
<role type="author"/>
|
58
58
|
<organization>
|
59
|
-
<name>
|
59
|
+
<name>International Organization for Standardization</name>
|
60
|
+
<abbreviation>ISO</abbreviation>
|
60
61
|
</organization>
|
61
62
|
</contributor>
|
62
63
|
<contributor>
|
63
64
|
<role type="publisher"/>
|
64
65
|
<organization>
|
65
|
-
<name>
|
66
|
+
<name>International Organization for Standardization</name>
|
67
|
+
<abbreviation>ISO</abbreviation>
|
66
68
|
</organization>
|
67
69
|
</contributor>
|
68
70
|
<script>Latn</script>
|
@@ -74,7 +76,8 @@ BLANK_HDR = <<~"HDR"
|
|
74
76
|
<from>#{Time.new.year}</from>
|
75
77
|
<owner>
|
76
78
|
<organization>
|
77
|
-
|
79
|
+
<name>International Organization for Standardization</name>
|
80
|
+
<abbreviation>ISO</abbreviation>
|
78
81
|
</organization>
|
79
82
|
</owner>
|
80
83
|
</copyright>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ruby-jing
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|