metanorma-iso 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/.gitattributes +4 -0
  3. data/.gitignore +11 -0
  4. data/.hound.yml +3 -0
  5. data/.oss-guides.rubocop.yml +1077 -0
  6. data/.rubocop.ribose.yml +66 -0
  7. data/.rubocop.tb.yml +650 -0
  8. data/.rubocop.yml +15 -0
  9. data/.travis.yml +21 -0
  10. data/CODE_OF_CONDUCT.md +46 -0
  11. data/Gemfile +7 -0
  12. data/LICENSE +25 -0
  13. data/Makefile +39 -0
  14. data/README.adoc +882 -0
  15. data/Rakefile +6 -0
  16. data/asciidoctor-iso.gemspec.old +50 -0
  17. data/bin/rspec +18 -0
  18. data/docs/customisation.adoc +186 -0
  19. data/docs/guidance.adoc +436 -0
  20. data/docs/htmloutput.adoc +115 -0
  21. data/docs/quickstart.adoc +375 -0
  22. data/lib/asciidoctor-iso.rb +11 -0
  23. data/lib/asciidoctor/iso/base.rb +48 -0
  24. data/lib/asciidoctor/iso/biblio.rng +836 -0
  25. data/lib/asciidoctor/iso/cleanup.rb +39 -0
  26. data/lib/asciidoctor/iso/converter.rb +19 -0
  27. data/lib/asciidoctor/iso/front.rb +131 -0
  28. data/lib/asciidoctor/iso/isodoc.rng +1059 -0
  29. data/lib/asciidoctor/iso/isostandard.rnc +176 -0
  30. data/lib/asciidoctor/iso/isostandard.rng +1001 -0
  31. data/lib/asciidoctor/iso/section.rb +72 -0
  32. data/lib/asciidoctor/iso/validate.rb +190 -0
  33. data/lib/asciidoctor/iso/validate_requirements.rb +105 -0
  34. data/lib/asciidoctor/iso/validate_section.rb +214 -0
  35. data/lib/asciidoctor/iso/validate_style.rb +134 -0
  36. data/lib/asciidoctor/iso/version.rb +5 -0
  37. data/lib/isodoc/iso/html/header.html +206 -0
  38. data/lib/isodoc/iso/html/html_iso_intro.html +34 -0
  39. data/lib/isodoc/iso/html/html_iso_titlepage.html +34 -0
  40. data/lib/isodoc/iso/html/htmlstyle.scss +46 -0
  41. data/lib/isodoc/iso/html/isodoc.scss +696 -0
  42. data/lib/isodoc/iso/html/scripts.html +174 -0
  43. data/lib/isodoc/iso/html/style-human.scss +1277 -0
  44. data/lib/isodoc/iso/html/style-iso.scss +1257 -0
  45. data/lib/isodoc/iso/html/word_iso_intro.html +72 -0
  46. data/lib/isodoc/iso/html/word_iso_titlepage.html +62 -0
  47. data/lib/isodoc/iso/html/wordstyle.scss +1175 -0
  48. data/lib/isodoc/iso/html_convert.rb +118 -0
  49. data/lib/isodoc/iso/metadata.rb +107 -0
  50. data/lib/isodoc/iso/word_convert.rb +141 -0
  51. data/lib/metanorma/iso.rb +7 -0
  52. data/lib/metanorma/iso/processor.rb +44 -0
  53. data/spec/asciidoctor-iso/base_spec.rb +350 -0
  54. data/spec/asciidoctor-iso/blocks_spec.rb +469 -0
  55. data/spec/asciidoctor-iso/cleanup_spec.rb +765 -0
  56. data/spec/asciidoctor-iso/inline_spec.rb +162 -0
  57. data/spec/asciidoctor-iso/isobib_cache_spec.rb +332 -0
  58. data/spec/asciidoctor-iso/lists_spec.rb +190 -0
  59. data/spec/asciidoctor-iso/macros_spec.rb +111 -0
  60. data/spec/asciidoctor-iso/refs_spec.rb +643 -0
  61. data/spec/asciidoctor-iso/section_spec.rb +334 -0
  62. data/spec/asciidoctor-iso/table_spec.rb +307 -0
  63. data/spec/asciidoctor-iso/validate_spec.rb +907 -0
  64. data/spec/assets/header.html +7 -0
  65. data/spec/assets/html.css +2 -0
  66. data/spec/assets/htmlcover.html +4 -0
  67. data/spec/assets/htmlintro.html +5 -0
  68. data/spec/assets/i18n.yaml +2 -0
  69. data/spec/assets/iso.doc +1093 -0
  70. data/spec/assets/iso.headless.html +33 -0
  71. data/spec/assets/iso.html +278 -0
  72. data/spec/assets/iso.xml +8 -0
  73. data/spec/assets/rice_image1.png +0 -0
  74. data/spec/assets/scripts.html +3 -0
  75. data/spec/assets/std.css +2 -0
  76. data/spec/assets/word.css +2 -0
  77. data/spec/assets/wordcover.html +3 -0
  78. data/spec/assets/wordintro.html +4 -0
  79. data/spec/examples/103_01_02.html +247 -0
  80. data/spec/examples/english.yaml +69 -0
  81. data/spec/examples/iso_123_.xml +45 -0
  82. data/spec/examples/iso_123_all_parts.xml +45 -0
  83. data/spec/examples/iso_123_no_year_note.xml +46 -0
  84. data/spec/examples/iso_124_.xml +41 -0
  85. data/spec/examples/iso_216_.xml +47 -0
  86. data/spec/examples/iso_iec_12382_.xml +48 -0
  87. data/spec/examples/rice.adoc +715 -0
  88. data/spec/examples/rice.preview.html +1877 -0
  89. data/spec/examples/rice.sh +4 -0
  90. data/spec/examples/rice_images/rice_image1.png +0 -0
  91. data/spec/examples/rice_images/rice_image2.png +0 -0
  92. data/spec/examples/rice_images/rice_image3_1.png +0 -0
  93. data/spec/examples/rice_images/rice_image3_2.png +0 -0
  94. data/spec/examples/rice_images/rice_image3_3.png +0 -0
  95. data/spec/isodoc/i18n_spec.rb +642 -0
  96. data/spec/isodoc/iso_spec.rb +168 -0
  97. data/spec/isodoc/metadata_spec.rb +152 -0
  98. data/spec/isodoc/postproc_spec.rb +405 -0
  99. data/spec/isodoc/section_spec.rb +522 -0
  100. data/spec/isodoc/xref_spec.rb +1337 -0
  101. data/spec/metanorma/processor_spec.rb +70 -0
  102. data/spec/spec_helper.rb +227 -0
  103. metadata +402 -0
@@ -0,0 +1,70 @@
1
+ require "spec_helper"
2
+ require "metanorma"
3
+
4
+ #RSpec.describe Asciidoctor::Gb do
5
+ RSpec.describe Metanorma::Iso::Processor do
6
+
7
+ registry = Metanorma::Registry.instance
8
+ registry.register(Metanorma::Iso::Processor)
9
+ processor = registry.find_processor(:iso)
10
+
11
+ it "registers against metanorma" do
12
+ expect(processor).not_to be nil
13
+ end
14
+
15
+ it "registers output formats against metanorma" do
16
+ expect(processor.output_formats.sort.to_s).to be_equivalent_to <<~"OUTPUT"
17
+ [[:doc, "doc"], [:html, "html"], [:html_alt, "alt.html"], [:xml, "xml"]]
18
+ OUTPUT
19
+ end
20
+
21
+ it "registers version against metanorma" do
22
+ expect(processor.version.to_s).to match(%r{^Asciidoctor::ISO })
23
+ expect(processor.version.to_s).to match(%r{/IsoDoc })
24
+ end
25
+
26
+ it "generates IsoDoc XML from a blank document" do
27
+ expect(processor.input_to_isodoc(<<~"INPUT")).to be_equivalent_to <<~"OUTPUT"
28
+ #{ASCIIDOC_BLANK_HDR}
29
+ INPUT
30
+ #{BLANK_HDR}
31
+ <sections/>
32
+ </iso-standard>
33
+ OUTPUT
34
+ end
35
+
36
+ it "generates HTML from IsoDoc XML" do
37
+ system "rm -f test.xml"
38
+ processor.output(<<~"INPUT", "test.html", :html)
39
+ <iso-standard xmlns="http://riboseinc.com/isoxml">
40
+ <sections>
41
+ <terms id="H" obligation="normative"><title>Terms, Definitions, Symbols and Abbreviated Terms</title>
42
+ <term id="J">
43
+ <preferred>Term2</preferred>
44
+ </term>
45
+ </terms>
46
+ </sections>
47
+ </iso-standard>
48
+ INPUT
49
+ expect(File.read("test.html", encoding: "utf-8").gsub(%r{^.*<main}m, "<main").gsub(%r{</main>.*}m, "</main>")).to be_equivalent_to <<~"OUTPUT"
50
+ <main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
51
+ <p class="zzSTDTitle1"></p>
52
+ <div id="H"><h1>1.&#xA0; Terms and definitions</h1><p>For the purposes of this document,
53
+ the following terms and definitions apply.</p>
54
+ <p>ISO and IEC maintain terminological databases for use in
55
+ standardization at the following addresses:</p>
56
+
57
+ <ul>
58
+ <li> <p>ISO Online browsing platform: available at
59
+ <a href="http://www.iso.org/obp">http://www.iso.org/obp</a></p> </li>
60
+ <li> <p>IEC Electropedia: available at
61
+ <a href="http://www.electropedia.org">http://www.electropedia.org</a>
62
+ </p> </li> </ul>
63
+ <h2 class="TermNum" id="J">1.1</h2>
64
+ <p class="Terms" style="text-align:left;">Term2</p>
65
+ </div>
66
+ </main>
67
+ OUTPUT
68
+ end
69
+
70
+ end
@@ -0,0 +1,227 @@
1
+ require "simplecov"
2
+ SimpleCov.start do
3
+ add_filter "/spec/"
4
+ end
5
+
6
+ require "bundler/setup"
7
+ require "asciidoctor"
8
+ require "asciidoctor-iso"
9
+ require "rspec/matchers"
10
+ require "equivalent-xml"
11
+ require "metanorma"
12
+ require "metanorma/iso"
13
+
14
+ RSpec.configure do |config|
15
+ # Enable flags like --only-failures and --next-failure
16
+ config.example_status_persistence_file_path = ".rspec_status"
17
+
18
+ # Disable RSpec exposing methods globally on `Module` and `main`
19
+ config.disable_monkey_patching!
20
+
21
+ config.expect_with :rspec do |c|
22
+ c.syntax = :expect
23
+ end
24
+ end
25
+
26
+ def strip_guid(x)
27
+ x.gsub(%r{ id="_[^"]+"}, ' id="_"').gsub(%r{ target="_[^"]+"}, ' target="_"')
28
+ end
29
+
30
+ ASCIIDOC_BLANK_HDR = <<~"HDR"
31
+ = Document title
32
+ Author
33
+ :docfile: test.adoc
34
+ :nodoc:
35
+ :novalid:
36
+ :no-isobib:
37
+
38
+ HDR
39
+
40
+ ISOBIB_BLANK_HDR = <<~"HDR"
41
+ = Document title
42
+ Author
43
+ :docfile: test.adoc
44
+ :nodoc:
45
+ :novalid:
46
+ :no-isobib-cache:
47
+
48
+ HDR
49
+
50
+ FLUSH_CACHE_ISOBIB_BLANK_HDR = <<~"HDR"
51
+ = Document title
52
+ Author
53
+ :docfile: test.adoc
54
+ :nodoc:
55
+ :novalid:
56
+ :flush-caches:
57
+
58
+ HDR
59
+
60
+ CACHED_ISOBIB_BLANK_HDR = <<~"HDR"
61
+ = Document title
62
+ Author
63
+ :docfile: test.adoc
64
+ :nodoc:
65
+ :novalid:
66
+
67
+ HDR
68
+
69
+ LOCAL_CACHED_ISOBIB_BLANK_HDR = <<~"HDR"
70
+ = Document title
71
+ Author
72
+ :docfile: test.adoc
73
+ :nodoc:
74
+ :novalid:
75
+ :local-cache:
76
+
77
+ HDR
78
+
79
+ VALIDATING_BLANK_HDR = <<~"HDR"
80
+ = Document title
81
+ Author
82
+ :docfile: test.adoc
83
+ :nodoc:
84
+ :no-isobib:
85
+
86
+ HDR
87
+
88
+ BLANK_HDR = <<~"HDR"
89
+ <?xml version="1.0" encoding="UTF-8"?>
90
+ <iso-standard xmlns="http://riboseinc.com/isoxml">
91
+ <bibdata type="article">
92
+ <title>
93
+ </title>
94
+ <title>
95
+ </title>
96
+ <docidentifier>
97
+ <project-number>ISO </project-number>
98
+ </docidentifier>
99
+ <contributor>
100
+ <role type="author"/>
101
+ <organization>
102
+ <name>International Organization for Standardization</name>
103
+ <abbreviation>ISO</abbreviation>
104
+ </organization>
105
+ </contributor>
106
+ <contributor>
107
+ <role type="publisher"/>
108
+ <organization>
109
+ <name>International Organization for Standardization</name>
110
+ <abbreviation>ISO</abbreviation>
111
+ </organization>
112
+ </contributor>
113
+ <language>en</language>
114
+ <script>Latn</script>
115
+ <status>
116
+ <stage>60</stage>
117
+ <substage>60</substage>
118
+ </status>
119
+ <copyright>
120
+ <from>#{Time.new.year}</from>
121
+ <owner>
122
+ <organization>
123
+ <name>International Organization for Standardization</name>
124
+ <abbreviation>ISO</abbreviation>
125
+ </organization>
126
+ </owner>
127
+ </copyright>
128
+ <editorialgroup>
129
+ <technical-committee/>
130
+ <subcommittee/>
131
+ <workgroup/>
132
+ </editorialgroup>
133
+ </bibdata>
134
+ HDR
135
+
136
+ HTML_HDR = <<~END
137
+ <html xmlns:epub="http://www.idpf.org/2007/ops">
138
+ <head>
139
+ <title>test</title>
140
+ </head>
141
+ <body lang="EN-US" link="blue" vlink="#954F72">
142
+ <div class="title-section">
143
+ <p>&#160;</p>
144
+ </div>
145
+ <br/>
146
+ <div class="prefatory-section">
147
+ <p>&#160;</p>
148
+ </div>
149
+ <br/>
150
+ <div class="main-section">
151
+ END
152
+
153
+ WORD_HDR = <<~END
154
+ <html xmlns:epub="http://www.idpf.org/2007/ops">
155
+ <head>
156
+ <title>test</title>
157
+ </head>
158
+ <body lang="EN-US" link="blue" vlink="#954F72">
159
+ <div class="WordSection1">
160
+ <p>&#160;</p>
161
+ </div>
162
+ <br clear="all" class="section"/>
163
+ <div class="WordSection2">
164
+ <p>&#160;</p>
165
+ </div>
166
+ <br clear="all" class="section"/>
167
+ <div class="WordSection3">
168
+ END
169
+
170
+
171
+ def stub_fetch_ref(**opts)
172
+ xml = ""
173
+
174
+ hit = double("hit")
175
+ expect(hit).to receive(:"[]").with("title") do
176
+ Nokogiri::XML(xml).at("//docidentifier").content
177
+ end.at_least(:once)
178
+
179
+ hit_instance = double("hit_instance")
180
+ expect(hit_instance).to receive(:hit).and_return(hit).at_least(:once)
181
+ expect(hit_instance).to receive(:to_xml) do |builder, opt|
182
+ expect(builder).to be_instance_of Nokogiri::XML::Builder
183
+ expect(opt).to eq opts
184
+ builder << xml
185
+ end.at_least :once
186
+
187
+ hit_page = double("hit_page")
188
+ expect(hit_page).to receive(:first).and_return(hit_instance).at_least :once
189
+
190
+ hit_pages = double("hit_pages")
191
+ expect(hit_pages).to receive(:first).and_return(hit_page).at_least :once
192
+
193
+ expect(Isobib::IsoBibliography).to receive(:search).
194
+ and_wrap_original do |search, *args|
195
+ code = args[0]
196
+ expect(code).to be_instance_of String
197
+ xml = get_xml(search, code, opts)
198
+ hit_pages
199
+ end.at_least :once
200
+ end
201
+
202
+ private
203
+
204
+ def get_xml(search, code, opts)
205
+ c = code.gsub(%r{[\/\s:-]}, "_").sub(%r{_+$}, "").downcase
206
+ o = opts.keys.join "_"
207
+ file = "spec/examples/#{[c, o].join '_'}.xml"
208
+ if File.exist? file
209
+ File.read file
210
+ else
211
+ result = search.call(code)
212
+ hit = result&.first&.first
213
+ xml = hit.to_xml nil, opts
214
+ File.write file, xml
215
+ xml
216
+ end
217
+ end
218
+
219
+ def mock_open_uri(code)
220
+ expect(OpenURI).to receive(:open_uri).and_wrap_original do |m, *args|
221
+ expect(args[0]).to be_instance_of String
222
+ file = "spec/examples/#{code.tr('-', '_')}.html"
223
+ File.write file, m.call(*args).read unless File.exist? file
224
+ File.read file
225
+ end
226
+ end
227
+
metadata ADDED
@@ -0,0 +1,402 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metanorma-iso
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-08-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: asciidoctor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.5.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.5.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-jing
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: isodoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.8.8
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.8.8
55
+ - !ruby/object:Gem::Dependency
56
+ name: iev
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.2.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: relaton
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.1.3
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.1.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: metanorma-standoc
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.0.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.15'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.15'
111
+ - !ruby/object:Gem::Dependency
112
+ name: byebug
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: equivalent-xml
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.6'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.6'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '2.14'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '2.14'
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard-rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '4.7'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '4.7'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '12.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '12.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rspec
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '3.6'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '3.6'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rubocop
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.50'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.50'
209
+ - !ruby/object:Gem::Dependency
210
+ name: simplecov
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.15'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.15'
223
+ - !ruby/object:Gem::Dependency
224
+ name: timecop
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.9'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '0.9'
237
+ - !ruby/object:Gem::Dependency
238
+ name: metanorma
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 0.2.6
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 0.2.6
251
+ - !ruby/object:Gem::Dependency
252
+ name: isobib
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 0.2.0
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 0.2.0
265
+ description: |
266
+ metanorma-iso lets you write ISO standards in AsciiDoc syntax.
267
+
268
+ This gem is in active development.
269
+
270
+ Formerly known as asciidoctor-iso.
271
+ email:
272
+ - open.source@ribose.com
273
+ executables: []
274
+ extensions: []
275
+ extra_rdoc_files: []
276
+ files:
277
+ - ".gitattributes"
278
+ - ".gitignore"
279
+ - ".hound.yml"
280
+ - ".oss-guides.rubocop.yml"
281
+ - ".rubocop.ribose.yml"
282
+ - ".rubocop.tb.yml"
283
+ - ".rubocop.yml"
284
+ - ".travis.yml"
285
+ - CODE_OF_CONDUCT.md
286
+ - Gemfile
287
+ - LICENSE
288
+ - Makefile
289
+ - README.adoc
290
+ - Rakefile
291
+ - asciidoctor-iso.gemspec.old
292
+ - bin/rspec
293
+ - docs/customisation.adoc
294
+ - docs/guidance.adoc
295
+ - docs/htmloutput.adoc
296
+ - docs/quickstart.adoc
297
+ - lib/asciidoctor-iso.rb
298
+ - lib/asciidoctor/iso/base.rb
299
+ - lib/asciidoctor/iso/biblio.rng
300
+ - lib/asciidoctor/iso/cleanup.rb
301
+ - lib/asciidoctor/iso/converter.rb
302
+ - lib/asciidoctor/iso/front.rb
303
+ - lib/asciidoctor/iso/isodoc.rng
304
+ - lib/asciidoctor/iso/isostandard.rnc
305
+ - lib/asciidoctor/iso/isostandard.rng
306
+ - lib/asciidoctor/iso/section.rb
307
+ - lib/asciidoctor/iso/validate.rb
308
+ - lib/asciidoctor/iso/validate_requirements.rb
309
+ - lib/asciidoctor/iso/validate_section.rb
310
+ - lib/asciidoctor/iso/validate_style.rb
311
+ - lib/asciidoctor/iso/version.rb
312
+ - lib/isodoc/iso/html/header.html
313
+ - lib/isodoc/iso/html/html_iso_intro.html
314
+ - lib/isodoc/iso/html/html_iso_titlepage.html
315
+ - lib/isodoc/iso/html/htmlstyle.scss
316
+ - lib/isodoc/iso/html/isodoc.scss
317
+ - lib/isodoc/iso/html/scripts.html
318
+ - lib/isodoc/iso/html/style-human.scss
319
+ - lib/isodoc/iso/html/style-iso.scss
320
+ - lib/isodoc/iso/html/word_iso_intro.html
321
+ - lib/isodoc/iso/html/word_iso_titlepage.html
322
+ - lib/isodoc/iso/html/wordstyle.scss
323
+ - lib/isodoc/iso/html_convert.rb
324
+ - lib/isodoc/iso/metadata.rb
325
+ - lib/isodoc/iso/word_convert.rb
326
+ - lib/metanorma/iso.rb
327
+ - lib/metanorma/iso/processor.rb
328
+ - spec/asciidoctor-iso/base_spec.rb
329
+ - spec/asciidoctor-iso/blocks_spec.rb
330
+ - spec/asciidoctor-iso/cleanup_spec.rb
331
+ - spec/asciidoctor-iso/inline_spec.rb
332
+ - spec/asciidoctor-iso/isobib_cache_spec.rb
333
+ - spec/asciidoctor-iso/lists_spec.rb
334
+ - spec/asciidoctor-iso/macros_spec.rb
335
+ - spec/asciidoctor-iso/refs_spec.rb
336
+ - spec/asciidoctor-iso/section_spec.rb
337
+ - spec/asciidoctor-iso/table_spec.rb
338
+ - spec/asciidoctor-iso/validate_spec.rb
339
+ - spec/assets/header.html
340
+ - spec/assets/html.css
341
+ - spec/assets/htmlcover.html
342
+ - spec/assets/htmlintro.html
343
+ - spec/assets/i18n.yaml
344
+ - spec/assets/iso.doc
345
+ - spec/assets/iso.headless.html
346
+ - spec/assets/iso.html
347
+ - spec/assets/iso.xml
348
+ - spec/assets/rice_image1.png
349
+ - spec/assets/scripts.html
350
+ - spec/assets/std.css
351
+ - spec/assets/word.css
352
+ - spec/assets/wordcover.html
353
+ - spec/assets/wordintro.html
354
+ - spec/examples/103_01_02.html
355
+ - spec/examples/english.yaml
356
+ - spec/examples/iso_123_.xml
357
+ - spec/examples/iso_123_all_parts.xml
358
+ - spec/examples/iso_123_no_year_note.xml
359
+ - spec/examples/iso_124_.xml
360
+ - spec/examples/iso_216_.xml
361
+ - spec/examples/iso_iec_12382_.xml
362
+ - spec/examples/rice.adoc
363
+ - spec/examples/rice.preview.html
364
+ - spec/examples/rice.sh
365
+ - spec/examples/rice_images/rice_image1.png
366
+ - spec/examples/rice_images/rice_image2.png
367
+ - spec/examples/rice_images/rice_image3_1.png
368
+ - spec/examples/rice_images/rice_image3_2.png
369
+ - spec/examples/rice_images/rice_image3_3.png
370
+ - spec/isodoc/i18n_spec.rb
371
+ - spec/isodoc/iso_spec.rb
372
+ - spec/isodoc/metadata_spec.rb
373
+ - spec/isodoc/postproc_spec.rb
374
+ - spec/isodoc/section_spec.rb
375
+ - spec/isodoc/xref_spec.rb
376
+ - spec/metanorma/processor_spec.rb
377
+ - spec/spec_helper.rb
378
+ homepage: https://github.com/riboseinc/metanorma-iso
379
+ licenses:
380
+ - BSD-2-Clause
381
+ metadata: {}
382
+ post_install_message:
383
+ rdoc_options: []
384
+ require_paths:
385
+ - lib
386
+ required_ruby_version: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - ">="
389
+ - !ruby/object:Gem::Version
390
+ version: 2.3.0
391
+ required_rubygems_version: !ruby/object:Gem::Requirement
392
+ requirements:
393
+ - - ">="
394
+ - !ruby/object:Gem::Version
395
+ version: '0'
396
+ requirements: []
397
+ rubyforge_project:
398
+ rubygems_version: 2.7.6
399
+ signing_key:
400
+ specification_version: 4
401
+ summary: metanorma-iso lets you write ISO standards in AsciiDoc.
402
+ test_files: []