reverse_adoc 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/macos.yml +8 -1
  3. data/.github/workflows/ubuntu.yml +8 -1
  4. data/.github/workflows/windows.yml +8 -1
  5. data/Gemfile +1 -1
  6. data/README.adoc +5 -5
  7. data/Rakefile +1 -1
  8. data/bin/reverse_adoc +18 -18
  9. data/bin/w2a +15 -15
  10. data/lib/{reverse_asciidoctor.rb → reverse_adoc.rb} +9 -9
  11. data/lib/{reverse_asciidoctor → reverse_adoc}/cleaner.rb +4 -4
  12. data/lib/{reverse_asciidoctor → reverse_adoc}/config.rb +1 -1
  13. data/lib/{reverse_asciidoctor → reverse_adoc}/converters.rb +6 -6
  14. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/a.rb +1 -1
  15. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/aside.rb +1 -1
  16. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/audio.rb +1 -1
  17. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/base.rb +2 -2
  18. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/blockquote.rb +2 -2
  19. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/br.rb +1 -1
  20. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/bypass.rb +1 -1
  21. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/code.rb +1 -1
  22. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/div.rb +1 -1
  23. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/drop.rb +1 -1
  24. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/em.rb +1 -1
  25. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/example.rb +1 -1
  26. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/express_ref.rb +1 -1
  27. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/ext_description.rb +1 -1
  28. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/ext_descriptions.rb +1 -1
  29. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/figure.rb +1 -1
  30. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/h.rb +1 -1
  31. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/head.rb +1 -1
  32. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/hr.rb +1 -1
  33. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/ignore.rb +1 -1
  34. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/img.rb +7 -7
  35. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/li.rb +1 -1
  36. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/mark.rb +1 -1
  37. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/math.rb +3 -3
  38. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/note.rb +1 -1
  39. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/ol.rb +1 -1
  40. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/p.rb +1 -1
  41. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/pass_through.rb +1 -1
  42. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/pre.rb +1 -1
  43. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/q.rb +1 -1
  44. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/strong.rb +1 -1
  45. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/sub.rb +1 -1
  46. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/sup.rb +1 -1
  47. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/table.rb +1 -1
  48. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/td.rb +1 -1
  49. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/text.rb +1 -1
  50. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/th.rb +1 -1
  51. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/tr.rb +1 -1
  52. data/lib/{reverse_asciidoctor → reverse_adoc}/converters/video.rb +1 -1
  53. data/lib/{reverse_asciidoctor → reverse_adoc}/errors.rb +1 -1
  54. data/lib/reverse_adoc/html_converter.rb +56 -0
  55. data/lib/reverse_adoc/smrl_description_converter.rb +45 -0
  56. data/lib/reverse_adoc/version.rb +3 -0
  57. data/reverse_adoc.gemspec +2 -2
  58. data/spec/components/anchors_spec.rb +2 -2
  59. data/spec/components/basic_spec.rb +2 -2
  60. data/spec/components/code_spec.rb +4 -4
  61. data/spec/components/escapables_spec.rb +2 -2
  62. data/spec/components/from_the_wild_spec.rb +2 -2
  63. data/spec/components/html_fragment_spec.rb +2 -2
  64. data/spec/components/lists_spec.rb +2 -2
  65. data/spec/components/paragraphs_spec.rb +2 -2
  66. data/spec/components/quotation_spec.rb +2 -2
  67. data/spec/components/tables_spec.rb +2 -2
  68. data/spec/components/unknown_tags_spec.rb +9 -9
  69. data/spec/lib/{reverse_asciidoctor_spec.rb → reverse_adoc.rb} +17 -17
  70. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/cleaner_spec.rb +4 -4
  71. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/config_spec.rb +5 -5
  72. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/aside_spec.rb +2 -2
  73. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/audio_spec.rb +2 -2
  74. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/blockquote_spec.rb +2 -2
  75. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/br_spec.rb +2 -2
  76. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/code_spec.rb +2 -2
  77. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/div_spec.rb +2 -2
  78. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/example_spec.rb +2 -2
  79. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/express_ref_spec.rb +2 -2
  80. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/ext_description_spec.rb +2 -2
  81. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/ext_descriptions_spec.rb +2 -2
  82. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/figure_spec.rb +2 -2
  83. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/img_spec.rb +2 -2
  84. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/li_spec.rb +2 -2
  85. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/mark_spec.rb +2 -2
  86. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/note_spec.rb +2 -2
  87. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/p_spec.rb +2 -2
  88. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/pre_spec.rb +2 -2
  89. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/q_spec.rb +2 -2
  90. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/strong_spec.rb +2 -2
  91. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/text_spec.rb +2 -2
  92. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters/video_spec.rb +2 -2
  93. data/spec/lib/{reverse_asciidoctor → reverse_adoc}/converters_spec.rb +5 -5
  94. data/spec/spec_helper.rb +3 -3
  95. metadata +100 -100
  96. data/lib/reverse_asciidoctor/html_converter.rb +0 -56
  97. data/lib/reverse_asciidoctor/smrl_description_converter.rb +0 -45
  98. data/lib/reverse_asciidoctor/version.rb +0 -3
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'spec_helper'
4
- require 'reverse_asciidoctor/converters/express_ref'
4
+ require 'reverse_adoc/converters/express_ref'
5
5
 
6
- describe ReverseAsciidoctor::Converters::ExpressRef do
6
+ describe ReverseAdoc::Converters::ExpressRef do
7
7
  let(:converter) { described_class.new }
8
8
  let(:schema) { 'schema' }
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'spec_helper'
4
- require 'reverse_asciidoctor/converters/ext_description'
4
+ require 'reverse_adoc/converters/ext_description'
5
5
 
6
- describe ReverseAsciidoctor::Converters::ExtDescription do
6
+ describe ReverseAdoc::Converters::ExtDescription do
7
7
  let(:converter) { described_class.new }
8
8
  let(:schema) { 'schema' }
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'spec_helper'
4
- require 'reverse_asciidoctor/converters/ext_descriptions'
4
+ require 'reverse_adoc/converters/ext_descriptions'
5
5
 
6
- describe ReverseAsciidoctor::Converters::ExtDescriptions do
6
+ describe ReverseAdoc::Converters::ExtDescriptions do
7
7
  let(:converter) { described_class.new }
8
8
 
9
9
  it 'converts ext_descriptions children' do
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Figure do
3
+ describe ReverseAdoc::Converters::Figure do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Figure.new }
5
+ let(:converter) { ReverseAdoc::Converters::Figure.new }
6
6
 
7
7
  it 'converts figure' do
8
8
  node = node_for("<figure id='A'><img src='example.jpg'/><figcaption>Figure <i>caption</i></figcaption></figure>")
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Img do
3
+ describe ReverseAdoc::Converters::Img do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Img.new }
5
+ let(:converter) { ReverseAdoc::Converters::Img.new }
6
6
 
7
7
  it 'converts image with no attributes' do
8
8
  node = node_for("<img src='example.jpg'/>")
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Li do
3
+ describe ReverseAdoc::Converters::Li do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Li.new }
5
+ let(:converter) { ReverseAdoc::Converters::Li.new }
6
6
 
7
7
  it 'does not fail without a valid parent context' do
8
8
  input = node_for("<li>foo</li>")
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Mark do
4
- let(:converter) { ReverseAsciidoctor::Converters::Mark.new }
3
+ describe ReverseAdoc::Converters::Mark do
4
+ let(:converter) { ReverseAdoc::Converters::Mark.new }
5
5
 
6
6
  it 'renders mark' do
7
7
  input = node_for('<mark>A</mark>')
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'spec_helper'
4
- require 'reverse_asciidoctor/converters/note'
4
+ require 'reverse_adoc/converters/note'
5
5
 
6
- describe ReverseAsciidoctor::Converters::Note do
6
+ describe ReverseAdoc::Converters::Note do
7
7
  let(:converter) { described_class.new }
8
8
  let(:output) do
9
9
  <<~TEXT
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::P do
3
+ describe ReverseAdoc::Converters::P do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::P.new }
5
+ let(:converter) { ReverseAdoc::Converters::P.new }
6
6
 
7
7
  it 'converts p with anchor' do
8
8
  node = node_for("<p id='A'>puts foo</p>")
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Pre do
3
+ describe ReverseAdoc::Converters::Pre do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Pre.new }
5
+ let(:converter) { ReverseAdoc::Converters::Pre.new }
6
6
 
7
7
  it 'converts as literal' do
8
8
  node = node_for("<pre>puts foo</pre>")
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Q do
4
- let(:converter) { ReverseAsciidoctor::Converters::Q.new }
3
+ describe ReverseAdoc::Converters::Q do
4
+ let(:converter) { ReverseAdoc::Converters::Q.new }
5
5
 
6
6
  it 'renders q' do
7
7
  input = node_for('<q>A</q>')
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Strong do
4
- let(:converter) { ReverseAsciidoctor::Converters::Strong.new }
3
+ describe ReverseAdoc::Converters::Strong do
4
+ let(:converter) { ReverseAdoc::Converters::Strong.new }
5
5
 
6
6
  it 'returns an empty string if the node is empty' do
7
7
  input = node_for('<strong></strong>')
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Text do
3
+ describe ReverseAdoc::Converters::Text do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Text.new }
5
+ let(:converter) { ReverseAdoc::Converters::Text.new }
6
6
 
7
7
  it 'treats newline within text as a single whitespace' do
8
8
  input = node_for("<p>foo\nbar</p>")
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters::Video do
3
+ describe ReverseAdoc::Converters::Video do
4
4
 
5
- let(:converter) { ReverseAsciidoctor::Converters::Video.new }
5
+ let(:converter) { ReverseAdoc::Converters::Video.new }
6
6
 
7
7
  it 'converts audio with no attributes' do
8
8
  node = node_for("<audio src='example.mp3'/>")
@@ -1,18 +1,18 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe ReverseAsciidoctor::Converters do
4
- before { ReverseAsciidoctor.config.unknown_tags = :raise }
5
- let(:converters) { ReverseAsciidoctor::Converters }
3
+ describe ReverseAdoc::Converters do
4
+ before { ReverseAdoc.config.unknown_tags = :raise }
5
+ let(:converters) { ReverseAdoc::Converters }
6
6
 
7
7
  describe '.register and .unregister' do
8
8
  it 'adds a converter mapping to the list' do
9
- expect { converters.lookup(:foo) }.to raise_error ReverseAsciidoctor::UnknownTagError
9
+ expect { converters.lookup(:foo) }.to raise_error ReverseAdoc::UnknownTagError
10
10
 
11
11
  converters.register :foo, :foobar
12
12
  expect(converters.lookup(:foo)).to eq :foobar
13
13
 
14
14
  converters.unregister :foo
15
- expect { converters.lookup(:foo) }.to raise_error ReverseAsciidoctor::UnknownTagError
15
+ expect { converters.lookup(:foo) }.to raise_error ReverseAdoc::UnknownTagError
16
16
  end
17
17
  end
18
18
 
@@ -8,8 +8,8 @@ SimpleCov.profiles.define 'gem' do
8
8
  end
9
9
  SimpleCov.start 'gem'
10
10
 
11
- require 'reverse_asciidoctor'
12
- require 'reverse_asciidoctor/html_converter'
11
+ require 'reverse_adoc'
12
+ require 'reverse_adoc/html_converter'
13
13
  require 'word-to-markdown'
14
14
 
15
15
  Dir[File.join('spec', 'support', '**', '*.rb')]
@@ -17,7 +17,7 @@ Dir[File.join('spec', 'support', '**', '*.rb')]
17
17
 
18
18
  RSpec.configure do |config|
19
19
  config.after(:each) do
20
- ReverseAsciidoctor.instance_variable_set(:@config, nil)
20
+ ReverseAdoc.instance_variable_set(:@config, nil)
21
21
  end
22
22
  end
23
23
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reverse_adoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -157,53 +157,53 @@ files:
157
157
  - Rakefile
158
158
  - bin/reverse_adoc
159
159
  - bin/w2a
160
- - lib/reverse_asciidoctor.rb
161
- - lib/reverse_asciidoctor/cleaner.rb
162
- - lib/reverse_asciidoctor/config.rb
163
- - lib/reverse_asciidoctor/converters.rb
164
- - lib/reverse_asciidoctor/converters/a.rb
165
- - lib/reverse_asciidoctor/converters/aside.rb
166
- - lib/reverse_asciidoctor/converters/audio.rb
167
- - lib/reverse_asciidoctor/converters/base.rb
168
- - lib/reverse_asciidoctor/converters/blockquote.rb
169
- - lib/reverse_asciidoctor/converters/br.rb
170
- - lib/reverse_asciidoctor/converters/bypass.rb
171
- - lib/reverse_asciidoctor/converters/code.rb
172
- - lib/reverse_asciidoctor/converters/div.rb
173
- - lib/reverse_asciidoctor/converters/drop.rb
174
- - lib/reverse_asciidoctor/converters/em.rb
175
- - lib/reverse_asciidoctor/converters/example.rb
176
- - lib/reverse_asciidoctor/converters/express_ref.rb
177
- - lib/reverse_asciidoctor/converters/ext_description.rb
178
- - lib/reverse_asciidoctor/converters/ext_descriptions.rb
179
- - lib/reverse_asciidoctor/converters/figure.rb
180
- - lib/reverse_asciidoctor/converters/h.rb
181
- - lib/reverse_asciidoctor/converters/head.rb
182
- - lib/reverse_asciidoctor/converters/hr.rb
183
- - lib/reverse_asciidoctor/converters/ignore.rb
184
- - lib/reverse_asciidoctor/converters/img.rb
185
- - lib/reverse_asciidoctor/converters/li.rb
186
- - lib/reverse_asciidoctor/converters/mark.rb
187
- - lib/reverse_asciidoctor/converters/math.rb
188
- - lib/reverse_asciidoctor/converters/note.rb
189
- - lib/reverse_asciidoctor/converters/ol.rb
190
- - lib/reverse_asciidoctor/converters/p.rb
191
- - lib/reverse_asciidoctor/converters/pass_through.rb
192
- - lib/reverse_asciidoctor/converters/pre.rb
193
- - lib/reverse_asciidoctor/converters/q.rb
194
- - lib/reverse_asciidoctor/converters/strong.rb
195
- - lib/reverse_asciidoctor/converters/sub.rb
196
- - lib/reverse_asciidoctor/converters/sup.rb
197
- - lib/reverse_asciidoctor/converters/table.rb
198
- - lib/reverse_asciidoctor/converters/td.rb
199
- - lib/reverse_asciidoctor/converters/text.rb
200
- - lib/reverse_asciidoctor/converters/th.rb
201
- - lib/reverse_asciidoctor/converters/tr.rb
202
- - lib/reverse_asciidoctor/converters/video.rb
203
- - lib/reverse_asciidoctor/errors.rb
204
- - lib/reverse_asciidoctor/html_converter.rb
205
- - lib/reverse_asciidoctor/smrl_description_converter.rb
206
- - lib/reverse_asciidoctor/version.rb
160
+ - lib/reverse_adoc.rb
161
+ - lib/reverse_adoc/cleaner.rb
162
+ - lib/reverse_adoc/config.rb
163
+ - lib/reverse_adoc/converters.rb
164
+ - lib/reverse_adoc/converters/a.rb
165
+ - lib/reverse_adoc/converters/aside.rb
166
+ - lib/reverse_adoc/converters/audio.rb
167
+ - lib/reverse_adoc/converters/base.rb
168
+ - lib/reverse_adoc/converters/blockquote.rb
169
+ - lib/reverse_adoc/converters/br.rb
170
+ - lib/reverse_adoc/converters/bypass.rb
171
+ - lib/reverse_adoc/converters/code.rb
172
+ - lib/reverse_adoc/converters/div.rb
173
+ - lib/reverse_adoc/converters/drop.rb
174
+ - lib/reverse_adoc/converters/em.rb
175
+ - lib/reverse_adoc/converters/example.rb
176
+ - lib/reverse_adoc/converters/express_ref.rb
177
+ - lib/reverse_adoc/converters/ext_description.rb
178
+ - lib/reverse_adoc/converters/ext_descriptions.rb
179
+ - lib/reverse_adoc/converters/figure.rb
180
+ - lib/reverse_adoc/converters/h.rb
181
+ - lib/reverse_adoc/converters/head.rb
182
+ - lib/reverse_adoc/converters/hr.rb
183
+ - lib/reverse_adoc/converters/ignore.rb
184
+ - lib/reverse_adoc/converters/img.rb
185
+ - lib/reverse_adoc/converters/li.rb
186
+ - lib/reverse_adoc/converters/mark.rb
187
+ - lib/reverse_adoc/converters/math.rb
188
+ - lib/reverse_adoc/converters/note.rb
189
+ - lib/reverse_adoc/converters/ol.rb
190
+ - lib/reverse_adoc/converters/p.rb
191
+ - lib/reverse_adoc/converters/pass_through.rb
192
+ - lib/reverse_adoc/converters/pre.rb
193
+ - lib/reverse_adoc/converters/q.rb
194
+ - lib/reverse_adoc/converters/strong.rb
195
+ - lib/reverse_adoc/converters/sub.rb
196
+ - lib/reverse_adoc/converters/sup.rb
197
+ - lib/reverse_adoc/converters/table.rb
198
+ - lib/reverse_adoc/converters/td.rb
199
+ - lib/reverse_adoc/converters/text.rb
200
+ - lib/reverse_adoc/converters/th.rb
201
+ - lib/reverse_adoc/converters/tr.rb
202
+ - lib/reverse_adoc/converters/video.rb
203
+ - lib/reverse_adoc/errors.rb
204
+ - lib/reverse_adoc/html_converter.rb
205
+ - lib/reverse_adoc/smrl_description_converter.rb
206
+ - lib/reverse_adoc/version.rb
207
207
  - reverse_adoc.gemspec
208
208
  - spec/assets/anchors.html
209
209
  - spec/assets/basic.html
@@ -233,31 +233,31 @@ files:
233
233
  - spec/components/quotation_spec.rb
234
234
  - spec/components/tables_spec.rb
235
235
  - spec/components/unknown_tags_spec.rb
236
- - spec/lib/reverse_asciidoctor/cleaner_spec.rb
237
- - spec/lib/reverse_asciidoctor/config_spec.rb
238
- - spec/lib/reverse_asciidoctor/converters/aside_spec.rb
239
- - spec/lib/reverse_asciidoctor/converters/audio_spec.rb
240
- - spec/lib/reverse_asciidoctor/converters/blockquote_spec.rb
241
- - spec/lib/reverse_asciidoctor/converters/br_spec.rb
242
- - spec/lib/reverse_asciidoctor/converters/code_spec.rb
243
- - spec/lib/reverse_asciidoctor/converters/div_spec.rb
244
- - spec/lib/reverse_asciidoctor/converters/example_spec.rb
245
- - spec/lib/reverse_asciidoctor/converters/express_ref_spec.rb
246
- - spec/lib/reverse_asciidoctor/converters/ext_description_spec.rb
247
- - spec/lib/reverse_asciidoctor/converters/ext_descriptions_spec.rb
248
- - spec/lib/reverse_asciidoctor/converters/figure_spec.rb
249
- - spec/lib/reverse_asciidoctor/converters/img_spec.rb
250
- - spec/lib/reverse_asciidoctor/converters/li_spec.rb
251
- - spec/lib/reverse_asciidoctor/converters/mark_spec.rb
252
- - spec/lib/reverse_asciidoctor/converters/note_spec.rb
253
- - spec/lib/reverse_asciidoctor/converters/p_spec.rb
254
- - spec/lib/reverse_asciidoctor/converters/pre_spec.rb
255
- - spec/lib/reverse_asciidoctor/converters/q_spec.rb
256
- - spec/lib/reverse_asciidoctor/converters/strong_spec.rb
257
- - spec/lib/reverse_asciidoctor/converters/text_spec.rb
258
- - spec/lib/reverse_asciidoctor/converters/video_spec.rb
259
- - spec/lib/reverse_asciidoctor/converters_spec.rb
260
- - spec/lib/reverse_asciidoctor_spec.rb
236
+ - spec/lib/reverse_adoc.rb
237
+ - spec/lib/reverse_adoc/cleaner_spec.rb
238
+ - spec/lib/reverse_adoc/config_spec.rb
239
+ - spec/lib/reverse_adoc/converters/aside_spec.rb
240
+ - spec/lib/reverse_adoc/converters/audio_spec.rb
241
+ - spec/lib/reverse_adoc/converters/blockquote_spec.rb
242
+ - spec/lib/reverse_adoc/converters/br_spec.rb
243
+ - spec/lib/reverse_adoc/converters/code_spec.rb
244
+ - spec/lib/reverse_adoc/converters/div_spec.rb
245
+ - spec/lib/reverse_adoc/converters/example_spec.rb
246
+ - spec/lib/reverse_adoc/converters/express_ref_spec.rb
247
+ - spec/lib/reverse_adoc/converters/ext_description_spec.rb
248
+ - spec/lib/reverse_adoc/converters/ext_descriptions_spec.rb
249
+ - spec/lib/reverse_adoc/converters/figure_spec.rb
250
+ - spec/lib/reverse_adoc/converters/img_spec.rb
251
+ - spec/lib/reverse_adoc/converters/li_spec.rb
252
+ - spec/lib/reverse_adoc/converters/mark_spec.rb
253
+ - spec/lib/reverse_adoc/converters/note_spec.rb
254
+ - spec/lib/reverse_adoc/converters/p_spec.rb
255
+ - spec/lib/reverse_adoc/converters/pre_spec.rb
256
+ - spec/lib/reverse_adoc/converters/q_spec.rb
257
+ - spec/lib/reverse_adoc/converters/strong_spec.rb
258
+ - spec/lib/reverse_adoc/converters/text_spec.rb
259
+ - spec/lib/reverse_adoc/converters/video_spec.rb
260
+ - spec/lib/reverse_adoc/converters_spec.rb
261
261
  - spec/spec_helper.rb
262
262
  - spec/support/shell_helpers.rb
263
263
  homepage: http://github.com/metanorma/reverse_adoc
@@ -279,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  - !ruby/object:Gem::Version
280
280
  version: '0'
281
281
  requirements: []
282
- rubygems_version: 3.0.6
282
+ rubygems_version: 3.0.3
283
283
  signing_key:
284
284
  specification_version: 4
285
285
  summary: Generate AsciiDoc from HTML and Microsoft Word via CLI or library.
@@ -312,30 +312,30 @@ test_files:
312
312
  - spec/components/quotation_spec.rb
313
313
  - spec/components/tables_spec.rb
314
314
  - spec/components/unknown_tags_spec.rb
315
- - spec/lib/reverse_asciidoctor/cleaner_spec.rb
316
- - spec/lib/reverse_asciidoctor/config_spec.rb
317
- - spec/lib/reverse_asciidoctor/converters/aside_spec.rb
318
- - spec/lib/reverse_asciidoctor/converters/audio_spec.rb
319
- - spec/lib/reverse_asciidoctor/converters/blockquote_spec.rb
320
- - spec/lib/reverse_asciidoctor/converters/br_spec.rb
321
- - spec/lib/reverse_asciidoctor/converters/code_spec.rb
322
- - spec/lib/reverse_asciidoctor/converters/div_spec.rb
323
- - spec/lib/reverse_asciidoctor/converters/example_spec.rb
324
- - spec/lib/reverse_asciidoctor/converters/express_ref_spec.rb
325
- - spec/lib/reverse_asciidoctor/converters/ext_description_spec.rb
326
- - spec/lib/reverse_asciidoctor/converters/ext_descriptions_spec.rb
327
- - spec/lib/reverse_asciidoctor/converters/figure_spec.rb
328
- - spec/lib/reverse_asciidoctor/converters/img_spec.rb
329
- - spec/lib/reverse_asciidoctor/converters/li_spec.rb
330
- - spec/lib/reverse_asciidoctor/converters/mark_spec.rb
331
- - spec/lib/reverse_asciidoctor/converters/note_spec.rb
332
- - spec/lib/reverse_asciidoctor/converters/p_spec.rb
333
- - spec/lib/reverse_asciidoctor/converters/pre_spec.rb
334
- - spec/lib/reverse_asciidoctor/converters/q_spec.rb
335
- - spec/lib/reverse_asciidoctor/converters/strong_spec.rb
336
- - spec/lib/reverse_asciidoctor/converters/text_spec.rb
337
- - spec/lib/reverse_asciidoctor/converters/video_spec.rb
338
- - spec/lib/reverse_asciidoctor/converters_spec.rb
339
- - spec/lib/reverse_asciidoctor_spec.rb
315
+ - spec/lib/reverse_adoc.rb
316
+ - spec/lib/reverse_adoc/cleaner_spec.rb
317
+ - spec/lib/reverse_adoc/config_spec.rb
318
+ - spec/lib/reverse_adoc/converters/aside_spec.rb
319
+ - spec/lib/reverse_adoc/converters/audio_spec.rb
320
+ - spec/lib/reverse_adoc/converters/blockquote_spec.rb
321
+ - spec/lib/reverse_adoc/converters/br_spec.rb
322
+ - spec/lib/reverse_adoc/converters/code_spec.rb
323
+ - spec/lib/reverse_adoc/converters/div_spec.rb
324
+ - spec/lib/reverse_adoc/converters/example_spec.rb
325
+ - spec/lib/reverse_adoc/converters/express_ref_spec.rb
326
+ - spec/lib/reverse_adoc/converters/ext_description_spec.rb
327
+ - spec/lib/reverse_adoc/converters/ext_descriptions_spec.rb
328
+ - spec/lib/reverse_adoc/converters/figure_spec.rb
329
+ - spec/lib/reverse_adoc/converters/img_spec.rb
330
+ - spec/lib/reverse_adoc/converters/li_spec.rb
331
+ - spec/lib/reverse_adoc/converters/mark_spec.rb
332
+ - spec/lib/reverse_adoc/converters/note_spec.rb
333
+ - spec/lib/reverse_adoc/converters/p_spec.rb
334
+ - spec/lib/reverse_adoc/converters/pre_spec.rb
335
+ - spec/lib/reverse_adoc/converters/q_spec.rb
336
+ - spec/lib/reverse_adoc/converters/strong_spec.rb
337
+ - spec/lib/reverse_adoc/converters/text_spec.rb
338
+ - spec/lib/reverse_adoc/converters/video_spec.rb
339
+ - spec/lib/reverse_adoc/converters_spec.rb
340
340
  - spec/spec_helper.rb
341
341
  - spec/support/shell_helpers.rb