asciidoctor-interdoc-reftext 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: fed3980f4a2bfa3f3c12b30ed11ffeb67271369c
4
- data.tar.gz: dab27d0a17a2fcd44349879a58c87c18684f4033
2
+ SHA256:
3
+ metadata.gz: 5bf118d27282774a79f9de747c40893c28869eeee5bef9a410a96831c3d4df09
4
+ data.tar.gz: 2a2ea538d8a78c72cd29acb2000dca3675283b4676dff9628744ceecde691ab2
5
5
  SHA512:
6
- metadata.gz: 5cb9baa9cc4604a27f7314f814ad65358fc4571b8cb42de27ef97c74c8b99100a7f16cc4fd056076aa7965445bc9bfd13b7c45c31d6ab99a2fc7c1f5cad22509
7
- data.tar.gz: ce59c604c441f61eddb9f1409890e814f3fa7704b58b41c651ba40966d85e01d3e2b1cb424fbbb8dd297e6497e3fe585a2c6ce7cc40d3cb65f2dfe4268a59e12
6
+ metadata.gz: 4a65935a73ea23bbbc009209ff5677d3f6b61cb96bfd2af65c2296c87d3a6469e557d9aa7e3eb530d176fc8295a4c4e3a054500dc2e143b5f35fafb854a431ab
7
+ data.tar.gz: 408672fd9341f1f0bcedb455c63fb625508cde6c9fe9843d53845ed41caaee91ca12b8fd94e772e66fd8fc0ad3f732bed54ad20f104e48bcbbb944171dbe25c1
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'asciidoctor'
2
3
  require 'asciidoctor/extensions'
3
4
  require 'asciidoctor/interdoc_reftext/version'
4
5
  require 'asciidoctor/interdoc_reftext/processor'
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'asciidoctor'
2
3
  require 'asciidoctor/extensions'
3
4
  require 'asciidoctor/interdoc_reftext/inline_node_mixin'
4
5
  require 'asciidoctor/interdoc_reftext/resolver'
@@ -53,9 +53,21 @@ module Asciidoctor::InterdocReftext
53
53
 
54
54
  protected
55
55
 
56
+ # @return [Array<String>] AsciiDoc file extensions (e.g. `.adoc`).
57
+ attr_reader :asciidoc_exts
58
+
56
59
  # @return [Hash<String, String>] a cache of resolved reftexts.
57
60
  attr_reader :cache
58
61
 
62
+ # @return [Asciidoctor::Document] the document associated with this resolver.
63
+ attr_reader :document
64
+
65
+ # @return [Logger] the logger to use for logging warning and errors.
66
+ attr_reader :logger
67
+
68
+ # @return [Boolean] whether to raise exceptions, or just log them.
69
+ attr_reader :raise_exceptions
70
+
59
71
  # @param target_path [String] the target path without a file extension.
60
72
  # @return [String, nil] file path of the *target_path*, or `nil` if not found.
61
73
  def resolve_target_path(target_path)
@@ -3,6 +3,6 @@
3
3
  module Asciidoctor
4
4
  module InterdocReftext
5
5
  # Version of the asciidoctor-interdoc-reftext gem.
6
- VERSION = '0.1.0'.freeze
6
+ VERSION = '0.1.1'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-interdoc-reftext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Jirutka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.6.11
174
+ rubygems_version: 2.7.6
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Asciidoctor extension providing implicit (automatic) reference text (label)