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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31ad0fc7a826af64223d5b4838ef5fa70bd22411a5dfc28a955572d7f61d1687
4
- data.tar.gz: c08f1b24327a0d5eabfe419e7805744f8d67d86d816bac27bc5791d6d11d1413
3
+ metadata.gz: 0fe18f0a39c7bab22259bf6b8daf8cb87440a8c21eca12e073c700e90ceeefb7
4
+ data.tar.gz: e9cba797d10bf115684bbebb56475e47d9c028863d65e3bb049caa6311a35573
5
5
  SHA512:
6
- metadata.gz: 267b44379a5daa498c0a49ad1e8515c48284fb6b82e67167901bc8f631219a24123a1d191a295458884dcb3bd40534b9128113cef902f2cff06361b2328bebbe
7
- data.tar.gz: e6430f170d83f4538794b2df4b6bc6cb169e857783d8b78a74e83c9450e8bb1d06a0c11bb3b8e7f2a8b386a335b93e2fdf73b3441380504efda2731e7fd6942b
6
+ metadata.gz: c13c07451f52b16fd9b77cf2f2d522d0cf0eeaf07b7c0260bfd18c1f41bd874b43e8f92dc2bc7eca61e4af7026e1bd4fa3cbaefa3bba7e547ecb48c5b5bc23cc
7
+ data.tar.gz: b09b02cdcd818c0bb7dabeed3beb42ba1a28ebe1469ec88f8f1a3d1f3644b9fe46e415ac3b272eda06f73bfeca00d65b8ddabaf4ac14433d6e107da23e7cd0e1
@@ -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.js')()
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
- # Fake logger for Opal.
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
@@ -3,6 +3,6 @@
3
3
  module Asciidoctor
4
4
  module InterdocReftext
5
5
  # Version of the asciidoctor-interdoc-reftext gem.
6
- VERSION = '0.4.2'
6
+ VERSION = '0.5.0'
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.4.2
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-14 00:00:00.000000000 Z
11
+ date: 2019-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor