aspec_rb 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +4 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +5 -5
- data/README.md +3 -2
- data/Rakefile +2 -0
- data/aspec_rb.gemspec +9 -7
- data/bin/console +1 -1
- data/lib/aspec_rb/version.rb +3 -1
- data/lib/aspec_rb.rb +2 -0
- data/lib/extensions/autoxrefs.rb +5 -11
- data/lib/extensions/definition_block.rb +3 -4
- data/lib/extensions/inline_callout_macro.rb +2 -2
- data/lib/extensions/inline_cwiki_macro.rb +2 -2
- data/lib/extensions/inline_repo_macro.rb +2 -6
- data/lib/extensions/inline_task_macro.rb +6 -5
- data/lib/extensions/postprocessor.rb +2 -2
- data/lib/extensions/req_refs.rb +8 -12
- data/lib/extensions/requirement_appendix.rb +3 -1
- data/lib/extensions/requirement_block.rb +2 -0
- data/lib/extensions/todo_block.rb +2 -2
- data/lib/extensions/utils/block.rb +5 -3
- data/lib/extensions/utils/index.rb +16 -0
- data/lib/extensions/utils/labels.rb +2 -0
- data/lib/extensions/utils/scanner.rb +12 -10
- data/lib/extensions/utils/utils.rb +6 -0
- data/lib/html_chunker.rb +13 -13
- data/lib/postprocessors/fulltext_search.rb +2 -0
- data/lib/postprocessors/generate_toc.rb +6 -2
- metadata +14 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 761010f19d7ad3485c65f72edc6b9e438777e680
|
4
|
+
data.tar.gz: fef2e1403570de7dba974e48bad1bfe02b15f3f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f3f05739378fad8e1add57de8cacc4d67a483a6fdc58c80cf8df28d0bb37426c3c52f3ab27aacd586b129510af133ad5148afbcdfba28d366b9146a1dbae86
|
7
|
+
data.tar.gz: d0e4421826c674162dd886ee7fd33b132f8064e517bbe33aea451bfcd95c73dd606a8a20f8d7280a693b77c02446f573cc2ea0c624c7cb1ea4164a09233737c1
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aspec_rb (0.0.
|
5
|
-
asciidoctor
|
4
|
+
aspec_rb (0.0.6)
|
5
|
+
asciidoctor
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -25,10 +25,10 @@ PLATFORMS
|
|
25
25
|
|
26
26
|
DEPENDENCIES
|
27
27
|
aspec_rb!
|
28
|
-
bundler
|
29
|
-
rake
|
28
|
+
bundler
|
29
|
+
rake
|
30
30
|
simplecov
|
31
|
-
test-unit
|
31
|
+
test-unit
|
32
32
|
|
33
33
|
BUNDLED WITH
|
34
34
|
1.16.1
|
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# aspec_rb
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/aspec_rb.svg)](https://badge.fury.io/rb/aspec_rb)
|
4
3
|
[![Build Status](https://travis-ci.org/tcob/aspec_rb.svg?branch=master)](https://travis-ci.org/tcob/aspec_rb)
|
5
|
-
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/aspec_rb.svg)](https://badge.fury.io/rb/aspec_rb)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/11ef540aabef88117720/maintainability)](https://codeclimate.com/github/tcob/aspec_rb/maintainability)
|
6
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/11ef540aabef88117720/test_coverage)](https://codeclimate.com/github/tcob/aspec_rb/test_coverage)
|
6
7
|
## Installation
|
7
8
|
|
8
9
|
```
|
data/Rakefile
CHANGED
data/aspec_rb.gemspec
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
lib = File.expand_path('lib', __dir__)
|
3
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
6
|
require 'aspec_rb/version'
|
5
7
|
|
@@ -17,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
17
19
|
spec.homepage = 'https://github.com/tcob/aspec_rb'
|
18
20
|
spec.license = 'MIT'
|
19
21
|
|
20
|
-
# This gem will work with 2.
|
21
|
-
spec.required_ruby_version = '>= 2.
|
22
|
+
# This gem will work with 2.3 or greater.
|
23
|
+
spec.required_ruby_version = '>= 2.3'
|
22
24
|
|
23
25
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
24
26
|
f.match(%r{^(test|spec|features)/})
|
@@ -27,8 +29,8 @@ Gem::Specification.new do |spec|
|
|
27
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
30
|
spec.require_paths = ['lib']
|
29
31
|
|
30
|
-
spec.add_development_dependency 'bundler'
|
31
|
-
spec.add_development_dependency 'rake'
|
32
|
-
spec.add_development_dependency 'test-unit'
|
33
|
-
spec.add_runtime_dependency 'asciidoctor'
|
32
|
+
spec.add_development_dependency 'bundler'
|
33
|
+
spec.add_development_dependency 'rake'
|
34
|
+
spec.add_development_dependency 'test-unit'
|
35
|
+
spec.add_runtime_dependency 'asciidoctor'
|
34
36
|
end
|
data/bin/console
CHANGED
data/lib/aspec_rb/version.rb
CHANGED
data/lib/aspec_rb.rb
CHANGED
data/lib/extensions/autoxrefs.rb
CHANGED
@@ -1,26 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor/extensions'
|
2
|
-
require_relative 'utils/
|
4
|
+
require_relative 'utils/utils'
|
3
5
|
|
4
6
|
include ::Asciidoctor
|
5
7
|
|
6
8
|
# Read from config file - do NOT hard code the srcdir
|
7
9
|
$srcdir = 'chapters'
|
8
|
-
invoc = Dir.pwd
|
9
10
|
|
10
11
|
AnchorRx = /\[\[(?:|([\w+?_:][\w+?:.-]*)(?:, *(.+))?)\]\]/
|
11
12
|
|
12
|
-
|
13
|
+
ni_includes, includes, doclinks, anchorfixes, intrachapter, interchapter, anchors, xrefs = Array.new(9) { [] }
|
13
14
|
|
14
15
|
adoc_files = Dir.glob("#{$srcdir}/**/*.adoc")
|
15
16
|
|
16
|
-
|
17
|
-
File.read('index.adoc').each_line do |li|
|
18
|
-
if li[IncludeDirectiveRx]
|
19
|
-
doc = li.match(/(?<=^include::).+?\.adoc(?=\[\])/).to_s
|
20
|
-
doc = doc.sub(/^\{find\}/, '')
|
21
|
-
indexincludes.push(doc) unless doc == 'config'
|
22
|
-
end
|
23
|
-
end
|
17
|
+
indexincludes = Index.includes
|
24
18
|
|
25
19
|
adoc_files.each do |filename|
|
26
20
|
main = false
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
4
4
|
|
5
5
|
Extensions.register do
|
6
6
|
block do
|
@@ -19,9 +19,8 @@ Extensions.register do
|
|
19
19
|
# Also replacing special HTML entities:
|
20
20
|
# " = "
|
21
21
|
# & = &
|
22
|
-
downcased_title = attrs['title'].downcase.tr(' ', '_').gsub('"', '"')
|
23
22
|
san_title = attrs['title'].gsub(/&/, '&').delete('`').delete("'").delete('*')
|
24
|
-
rescue
|
23
|
+
rescue StandardError => msg
|
25
24
|
puts msg
|
26
25
|
# If no title exists on the Def block, throw an exception
|
27
26
|
puts '[ERROR] Definition block title missing'
|
@@ -1,9 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
2
4
|
require_relative 'utils/labels'
|
3
5
|
require_relative 'utils/block'
|
4
6
|
|
5
|
-
include ::Asciidoctor
|
6
|
-
|
7
7
|
# @example Basic Usage
|
8
8
|
# See cwiki:topic[] for details
|
9
9
|
# @example Block Use
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
4
4
|
|
5
5
|
# Link to a file on GitHub.
|
6
6
|
#
|
@@ -24,15 +24,11 @@ Extensions.register do
|
|
24
24
|
|
25
25
|
process do |parent, target, attrs|
|
26
26
|
html = ''
|
27
|
-
url = ''
|
28
27
|
file = ''
|
29
28
|
line = ''
|
30
29
|
formattedurl = ''
|
31
|
-
text = ''
|
32
30
|
arr = []
|
33
31
|
|
34
|
-
# @todo fix handling of use within cells. This is done using the context.
|
35
|
-
|
36
32
|
if parent.context.to_s == 'cell'
|
37
33
|
warn %([Hell in a cell] cell with repo link must have 'asciidoc format')
|
38
34
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor/extensions'
|
2
4
|
require_relative 'utils/labels'
|
3
5
|
require_relative 'utils/block'
|
@@ -25,11 +27,10 @@ Extensions.register do
|
|
25
27
|
parent.document.attributes.each do |key, value|
|
26
28
|
next unless key[/^task_def_/]
|
27
29
|
prefix = key.sub(/^task_def_/, '')
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
end
|
30
|
+
next unless dest == prefix
|
31
|
+
type, tip, patt, icon, id = value.match(/^([^^]+)\;([^^]+)\;([^^]+)\;([^^]+)\;([^^]+)/).captures
|
32
|
+
patt.gsub!(/\/(\w+?-)?{.+?}/, '')
|
33
|
+
pattern = patt
|
33
34
|
end
|
34
35
|
|
35
36
|
if pattern.nil?
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require 'asciidoctor/extensions'
|
4
4
|
|
5
5
|
jquery = '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>'
|
6
6
|
lt_gt = '(>>|<<)'
|
data/lib/extensions/req_refs.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor/extensions'
|
2
|
-
require_relative 'utils/
|
4
|
+
require_relative 'utils/utils'
|
3
5
|
|
4
6
|
# test using ruby benchmark
|
5
7
|
|
@@ -13,17 +15,11 @@ $doclinks = []
|
|
13
15
|
adoc_files = Dir.glob("#{$srcdir}/**/*.adoc")
|
14
16
|
|
15
17
|
# Find a nicer way to initialize some arrays:
|
16
|
-
|
18
|
+
ni_includes, includes, doclinksfix, docs, titles, mainchaps, xrefs = Array.new(8) { [] }
|
19
|
+
|
17
20
|
$reqfixes = []
|
18
21
|
|
19
|
-
|
20
|
-
File.read('index.adoc').each_line do |li|
|
21
|
-
if li[IncludeDirectiveRx]
|
22
|
-
doc = li.match(/(?<=^include::).+?\.adoc(?=\[\])/).to_s
|
23
|
-
doc = doc.sub(/^\{find\}/, '')
|
24
|
-
indexincludes.push(doc) unless doc == 'config'
|
25
|
-
end
|
26
|
-
end
|
22
|
+
indexincludes = Index.includes
|
27
23
|
|
28
24
|
adoc_files.sort!
|
29
25
|
adoc_files.each do |filename|
|
@@ -138,8 +134,8 @@ $reqs.sort_by!(&:first)
|
|
138
134
|
# For all requirements, check which chapter they should finally be in with includes catered for
|
139
135
|
# match with a main document name - should be a main chapter title
|
140
136
|
$reqs.each do |rid, _line, path, _filename, _main, _chapter|
|
141
|
-
$doclinks.each do |
|
142
|
-
next unless path == "#{chapter}/#{
|
137
|
+
$doclinks.each do |doc, link, chapter|
|
138
|
+
next unless path == "#{chapter}/#{doc}"
|
143
139
|
$reqfixes.push([rid, link])
|
144
140
|
break
|
145
141
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor'
|
2
4
|
require 'asciidoctor/extensions'
|
3
5
|
|
@@ -82,7 +84,7 @@ reqs.each do |req, f, title, chapter, doctitle|
|
|
82
84
|
|
83
85
|
link = link.sub(/^_/, '') if link[/^_/]
|
84
86
|
f = f.sub(/^chapters\//, '')
|
85
|
-
icon =
|
87
|
+
icon = '<i class="fa fa-external-link-square" aria-hidden="true"></i>'
|
86
88
|
ref = "<a class=\"link\" href=\"#{link}\"><emphasis role=\"strong\">#{icon} #{title}</emphasis> </a>"
|
87
89
|
breadcrumb = "<a href=\"#{f}\">#{chapter} / #{doctitle}</a>"
|
88
90
|
anchor = "<a class=\"link\" href=\"#Req-#{rid}\">#{rid}</a>"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Helper methods handling whether to output inline content or a block.
|
2
4
|
# Will read the attributes of the current macro and output a HTML string that is either
|
3
5
|
# inline or a block (float-right).
|
@@ -23,14 +25,14 @@ module Context
|
|
23
25
|
"<div style=\"float:right;padding-left:0.1em;\"><span class=\"label label-#{label}\" data-toggle=\"tooltip\" title=\"Missing config\">#{target}</span></div>"
|
24
26
|
else
|
25
27
|
"<div style=\"float:right;padding-left:0.1em;\"><a href=\"#{url}\"><span class=\"label label-#{label}\">#{target}</span></a></div>"
|
26
|
-
|
28
|
+
end
|
27
29
|
else
|
28
30
|
if pattern == 'unknown'
|
29
31
|
"<span class=\"label label-#{label}\" data-toggle=\"tooltip\" title=\"Missing config\">#{target}</span>"
|
30
32
|
else
|
31
33
|
"<a href=\"#{url}\"><span class=\"label label-#{label}\">#{target}</span></a>"
|
32
|
-
|
33
|
-
|
34
|
+
end
|
35
|
+
end
|
34
36
|
html
|
35
37
|
end
|
36
38
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Index
|
4
|
+
def self.includes
|
5
|
+
# From the index, create an array of the main chapters
|
6
|
+
@indexincludes = []
|
7
|
+
File.read('index.adoc').each_line do |line|
|
8
|
+
@indexincludes.push(match_include(line).sub(/^\{find\}/, '')) if line[IncludeDirectiveRx]
|
9
|
+
end
|
10
|
+
@indexincludes
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.match_include(line)
|
14
|
+
line.match(/(?<=^include::).+?\.adoc(?=\[\])/).to_s
|
15
|
+
end
|
16
|
+
end
|
@@ -1,20 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Sform
|
2
|
-
def self.trim(
|
3
|
-
|
4
|
-
|
4
|
+
def self.trim(string)
|
5
|
+
string = string.gsub(/^#{$srcdir}\//, '') unless string.nil?
|
6
|
+
string = string.gsub(/(\.adoc)/, '') unless string.nil?
|
5
7
|
end
|
6
8
|
|
7
|
-
def self.underscorify(
|
8
|
-
|
9
|
+
def self.underscorify(title)
|
10
|
+
title = title.downcase.gsub(/(\s|-)/, '_')
|
9
11
|
# document attribute idprefix must be seet to empty, if not
|
10
12
|
# the default value is an underscore and the following line is required
|
11
13
|
# t = t.prepend('_') unless t.match(/^_/)
|
12
|
-
|
14
|
+
title = title.gsub(/___/, '_').delete('`')
|
13
15
|
end
|
14
16
|
|
15
|
-
def self.titleify(
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
def self.titleify(title)
|
18
|
+
title = title.tr('_', ' ')
|
19
|
+
title = title.lstrip
|
20
|
+
title = title.split.map(&:capitalize).join(' ')
|
19
21
|
end
|
20
22
|
end
|
data/lib/html_chunker.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'asciidoctor'
|
2
4
|
|
3
5
|
# Chunks the HTML output generated by the HTML5 converter by chapter.
|
@@ -7,7 +9,7 @@ class MultipageHtml5Converter
|
|
7
9
|
include Asciidoctor::Writer
|
8
10
|
|
9
11
|
register_for 'multipage'
|
10
|
-
EOL = "\n"
|
12
|
+
EOL = "\n"
|
11
13
|
|
12
14
|
def initialize(backend, opts)
|
13
15
|
super
|
@@ -33,13 +35,6 @@ class MultipageHtml5Converter
|
|
33
35
|
master_content << %(= #{node.doctitle})
|
34
36
|
master_content << (node.attr 'author') if node.attr? 'author'
|
35
37
|
master_content << ''
|
36
|
-
# @documents.each do |doc|
|
37
|
-
# sect = doc.blocks[0]
|
38
|
-
# sectnum = sect.numbered && !sect.caption ? %(#{sect.sectnum} ) : nil
|
39
|
-
# filename = doc.attr 'docname'
|
40
|
-
# filename = filename.sub(/^_/, '')
|
41
|
-
# master_content << %(== <<#{filename}#,#{sectnum}#{sect.captioned_title}>> +)
|
42
|
-
# end
|
43
38
|
master_content << ''
|
44
39
|
master_content << 'requirements::[]'
|
45
40
|
Asciidoctor.convert master_content, doctype: node.doctype, header_footer: true, safe: node.safe, attributes: indexconfigs
|
@@ -70,9 +65,14 @@ class MultipageHtml5Converter
|
|
70
65
|
block.columns.each do |col|
|
71
66
|
col.parent = col.parent
|
72
67
|
end
|
73
|
-
block.rows.body.
|
74
|
-
row.
|
75
|
-
cell.
|
68
|
+
block.rows.body = block.rows.body.map do |row|
|
69
|
+
row.map do |cell|
|
70
|
+
if cell.attributes['style'] == :asciidoc
|
71
|
+
text = cell.instance_variable_get(:@text)
|
72
|
+
Asciidoctor::Table::Cell.new cell.column, text, cell.attributes
|
73
|
+
else
|
74
|
+
cell
|
75
|
+
end
|
76
76
|
end
|
77
77
|
end
|
78
78
|
elsif block.context == :dlist
|
@@ -100,7 +100,7 @@ class MultipageHtml5Converter
|
|
100
100
|
::File.open(target, 'w') do |f|
|
101
101
|
f.write output
|
102
102
|
end
|
103
|
-
load
|
104
|
-
load
|
103
|
+
load 'postprocessors/generate_toc.rb'
|
104
|
+
load 'postprocessors/fulltext_search.rb'
|
105
105
|
end
|
106
106
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'nokogiri'
|
2
4
|
require 'open-uri'
|
3
5
|
|
@@ -17,7 +19,9 @@ style="margin-left: 18px;">
|
|
17
19
|
}
|
18
20
|
|
19
21
|
html_files = Dir.glob("#{gendir}/**/*.html")
|
20
|
-
anchors
|
22
|
+
anchors = []
|
23
|
+
sections = []
|
24
|
+
appendices = []
|
21
25
|
|
22
26
|
html_files.each do |file|
|
23
27
|
next if file == "#{gendir}/search.html" || file[%r{^#{gendir}\/index}]
|
@@ -71,7 +75,7 @@ anchors.each do |file, id, text, level|
|
|
71
75
|
if level > prev_level
|
72
76
|
if i != 0
|
73
77
|
toc = toc.chomp("</li>\n")
|
74
|
-
toc += " <a href=\"#\" data-toggle=\"collapse\" data-target=\"#tocnav_#{id}\"></a>
|
78
|
+
toc += " <a href=\"#\" data-toggle=\"collapse\" data-target=\"#tocnav_#{id}\"><i class=\"fa fa-plus-square\" aria-hidden=\"true\"></i></a>
|
75
79
|
<ul>
|
76
80
|
<div id=\"tocnav_#{id}\" class=\"collapse\">
|
77
81
|
<li><a href=\"#{file}##{id}\">#{text}</a></li>\n"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspec_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tcob
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: test-unit
|
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: :development
|
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: asciidoctor
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
description: |-
|
70
70
|
This plugin is a group of Asciidoctor extensions that perform directory walking,
|
71
71
|
resolving the location of titles and anchors in all adoc files so that inter-document
|
@@ -101,8 +101,10 @@ files:
|
|
101
101
|
- lib/extensions/requirement_block.rb
|
102
102
|
- lib/extensions/todo_block.rb
|
103
103
|
- lib/extensions/utils/block.rb
|
104
|
+
- lib/extensions/utils/index.rb
|
104
105
|
- lib/extensions/utils/labels.rb
|
105
106
|
- lib/extensions/utils/scanner.rb
|
107
|
+
- lib/extensions/utils/utils.rb
|
106
108
|
- lib/html_chunker.rb
|
107
109
|
- lib/postprocessors/fulltext_search.rb
|
108
110
|
- lib/postprocessors/generate_toc.rb
|
@@ -118,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
120
|
requirements:
|
119
121
|
- - ">="
|
120
122
|
- !ruby/object:Gem::Version
|
121
|
-
version: '2.
|
123
|
+
version: '2.3'
|
122
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
125
|
requirements:
|
124
126
|
- - ">="
|
@@ -126,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
128
|
version: '0'
|
127
129
|
requirements: []
|
128
130
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.6.12
|
130
132
|
signing_key:
|
131
133
|
specification_version: 4
|
132
134
|
summary: Asciidoctor extensions for large HTML documents
|