asciidoctor-include-ext 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of asciidoctor-include-ext might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4f8ae8d634d1a5e01cbbe36f072c22334d1d803b6d15c973e5d4e6aa71e75af5
|
4
|
+
data.tar.gz: 9761e2aa0a94de0ce830c5b614cb4b7af0d4f480cfbb4234f3ef4728efa8d280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c8b96a7c05f84a71aeecd5b94beaab016cb3983303db4e29df50b2b3f1e4a86511dcb5a505fe5b39a6356f244b80f66ad0a068f53f85d77aa7a63ac20b1e033
|
7
|
+
data.tar.gz: cf27dab806f49cfe97758128e8c339576b99aec18ac373f92ec86fe103b14743c2da7b9ba7454bcf8ce22e41555dd3a2413affc9d7d422570a5191abd2238afe
|
@@ -34,7 +34,7 @@ module Asciidoctor::IncludeExt
|
|
34
34
|
# `include::[]` directive.
|
35
35
|
def process(_, reader, target, attributes)
|
36
36
|
unless include_allowed? target, reader
|
37
|
-
reader.
|
37
|
+
reader.unshift_line("link:#{target}[]")
|
38
38
|
return
|
39
39
|
end
|
40
40
|
|
@@ -134,7 +134,7 @@ module Asciidoctor::IncludeExt
|
|
134
134
|
# @param target (see #process)
|
135
135
|
# @param reader (see #process)
|
136
136
|
def unresolved_include!(target, reader)
|
137
|
-
reader.
|
137
|
+
reader.unshift_line("Unresolved directive in #{reader.path} - include::#{target}[]")
|
138
138
|
end
|
139
139
|
|
140
140
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-include-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
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: 2017-12-
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.7.3
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Asciidoctor's standard include::[] processor reimplemented as an extension
|