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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc9694104672b3a22efb305a08f2954941f8d91acf81d9fa9f0d5cb64380337b
4
- data.tar.gz: 914fd13e2487bbde82996710386e54e877f7b95af72c48ab18a46542c8878c6f
3
+ metadata.gz: ecc37275d95dbc4dc7be898a49ea706ae9b44e479544e9c29d0c1108d1f8b13e
4
+ data.tar.gz: a3d26bff03b1660a599f3386099fd53232da8787309f12a6590c023b58e3c028
5
5
  SHA512:
6
- metadata.gz: 5745079517ec9a0e9671cec8e89ddc617904de1bc407f2341383a213e31f6f185ee22c8c7a9cee30c07cc201e6928a073870f19d26b2843c5938c40883b4e5b0
7
- data.tar.gz: b532bef1754789cb635e4731b1d8ecb292ce75e37261901dde755395f0d66616de7f12efe17f5ff661efeaaf8561153e3cb7b72273ce28fe072689ac7d527eb8
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|-v\n\n"
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
@@ -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
@@ -25,5 +25,5 @@
25
25
 
26
26
  module AsciidoctorDitaMap
27
27
  NAME = 'dita-map'
28
- VERSION = '0.9.5'
28
+ VERSION = '0.9.6'
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-dita-map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaromir Hradilek