asciidoctor-dita-map 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dita-map/cli.rb +1 -1
- data/lib/dita-map/map.rb +1 -1
- data/lib/dita-map/topic.rb +1 -1
- data/lib/dita-map/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ecc37275d95dbc4dc7be898a49ea706ae9b44e479544e9c29d0c1108d1f8b13e
|
|
4
|
+
data.tar.gz: a3d26bff03b1660a599f3386099fd53232da8787309f12a6590c023b58e3c028
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70f3c196109ddeb6cab52f5c96fb222a8336e521e43a7b3660bd9e65a703e1b7820a1e96f0e44d6d59c85666aacafb1640c1bf2028891698ce1f47140a206d62
|
|
7
|
+
data.tar.gz: 663059f4079fd1342808861209779e99656f011d5dbaf7764c698b7518903490193e67e6ffe56024ca240969adb39307f595c05da52a436580d6aa9aac5f25dd
|
data/lib/dita-map/cli.rb
CHANGED
|
@@ -37,7 +37,7 @@ module AsciidoctorDitaMap
|
|
|
37
37
|
def parse_args argv
|
|
38
38
|
parser = OptionParser.new do |opt|
|
|
39
39
|
opt.banner = "Usage: #{NAME} [OPTION...] [FILE...]\n"
|
|
40
|
-
opt.banner += " #{NAME} -h|-
|
|
40
|
+
opt.banner += " #{NAME} -h|-V\n\n"
|
|
41
41
|
|
|
42
42
|
opt.on('-o', '--out-file FILE', 'specify the output file; by default, the output file name is based on the input file') do |output|
|
|
43
43
|
@output = (output.strip == '-') ? $stdout : output
|
data/lib/dita-map/map.rb
CHANGED
|
@@ -40,7 +40,7 @@ module AsciidoctorDitaMap
|
|
|
40
40
|
include_processor CatalogIncludeDirectives
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
doc = Asciidoctor.load input, safe: :safe, catalog_assets: true, attributes: attributes, base_dir: base_dir
|
|
43
|
+
doc = Asciidoctor.load input, safe: :safe, logger: false, catalog_assets: true, attributes: attributes, base_dir: base_dir
|
|
44
44
|
|
|
45
45
|
@includes = doc.catalog[:include_files] ? doc.catalog[:include_files] : []
|
|
46
46
|
@id = doc.id ? doc.id.gsub(/["']/, '') : nil
|
data/lib/dita-map/topic.rb
CHANGED
|
@@ -32,7 +32,7 @@ module AsciidoctorDitaMap
|
|
|
32
32
|
@title = nil
|
|
33
33
|
@type = nil
|
|
34
34
|
else
|
|
35
|
-
doc = Asciidoctor.load input, safe: :secure, attributes: attributes
|
|
35
|
+
doc = Asciidoctor.load input, safe: :secure, logger: false, attributes: attributes
|
|
36
36
|
|
|
37
37
|
@title = doc.title ? doc.title.gsub(/<[^>]*>/, '') : nil
|
|
38
38
|
@type = get_content_type doc.attributes
|
data/lib/dita-map/version.rb
CHANGED