asciidoctor-interdoc-reftext 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +1 -1
- data/lib/asciidoctor/interdoc_reftext/resolver.rb +1 -10
- data/lib/asciidoctor/interdoc_reftext/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fe18f0a39c7bab22259bf6b8daf8cb87440a8c21eca12e073c700e90ceeefb7
|
4
|
+
data.tar.gz: e9cba797d10bf115684bbebb56475e47d9c028863d65e3bb049caa6311a35573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13c07451f52b16fd9b77cf2f2d522d0cf0eeaf07b7c0260bfd18c1f41bd874b43e8f92dc2bc7eca61e4af7026e1bd4fa3cbaefa3bba7e547ecb48c5b5bc23cc
|
7
|
+
data.tar.gz: b09b02cdcd818c0bb7dabeed3beb42ba1a28ebe1469ec88f8f1a3d1f3644b9fe46e415ac3b272eda06f73bfeca00d65b8ddabaf4ac14433d6e107da23e7cd0e1
|
data/README.adoc
CHANGED
@@ -108,7 +108,7 @@ IMPORTANT: Bundler automatically _requires_ all the specified gems.
|
|
108
108
|
[source, js, subs="+attributes"]
|
109
109
|
----
|
110
110
|
// Load asciidoctor.js and {gem-name}.
|
111
|
-
const asciidoctor = require('asciidoctor
|
111
|
+
const asciidoctor = require('@asciidoctor/core')()
|
112
112
|
const interdocReftextExt = require('{gem-name}')
|
113
113
|
|
114
114
|
// See documentation at the end of this section.
|
@@ -20,17 +20,8 @@ module Asciidoctor::InterdocReftext
|
|
20
20
|
|
21
21
|
logger ||= if defined? ::Asciidoctor::LoggerManager
|
22
22
|
::Asciidoctor::LoggerManager.logger
|
23
|
-
elsif defined? ::Logger
|
24
|
-
::Logger.new(STDERR)
|
25
23
|
else
|
26
|
-
|
27
|
-
# TODO: Remove after update to Asciidoctor 1.5.7 or Opal with Logger.
|
28
|
-
Object.new.tap do |o|
|
29
|
-
# rubocop: disable MethodMissing
|
30
|
-
def o.method_missing(_, *args)
|
31
|
-
STDERR.puts(*args)
|
32
|
-
end
|
33
|
-
end
|
24
|
+
::Logger.new(STDERR)
|
34
25
|
end
|
35
26
|
|
36
27
|
@document = document
|
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.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Jirutka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|