asciidoctor-defmastership 1.0.9 → 1.0.10

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: 120879775fb430f58cc83b38f54a85a783e53c13a303f21aa1d53b140afe534c
4
- data.tar.gz: 2dd09334b90b48c2d3fec43e8ba64a456ae00c13771113bae1655ac90d3451ef
3
+ metadata.gz: 50c94ef32fb04c7d26f51b2bf66bacc22cc769c9d242087dbea838c6e29abc89
4
+ data.tar.gz: bbb7d84ab7db8e26f64f5eca89b724699f8dd89417fbf0015dbaf84081fbaefd
5
5
  SHA512:
6
- metadata.gz: ef6a6b74bc6486b24cad993dad606b6a4d7d1730344c074af2fd9792fa94492730f80933bd262149963b5501e9c53ab41ce6b2a06cb61aa3ec770c3f176b06a9
7
- data.tar.gz: 71c5ca0517d3766e4cd880ceccbca363f723859636d11cf2618ddf2590f73d19658ef15cdb71fe4ae13b5e283fefc4ac12ce2f45607bb9788eb1e7c2fd366a1c
6
+ metadata.gz: 85733bd136c5df20ae5d6003fa651fe418ca4038e0069c47edbe32ee8d57e50a9a8ae65ccd361343f716fca59d0957e782f9f83faa60bd914ea3283b0b76678c
7
+ data.tar.gz: 3304a8381022cc29b118f0e6fc0fd6076abb7a669bdb9dc56b2dd2b649f9cf093dcae7ef9bd52cd3546090a396b34184af0a83657e37245642a7ad93f01acda2
@@ -44,11 +44,14 @@ module Asciidoctor
44
44
 
45
45
  private_constant :REGEXPS
46
46
 
47
- def process(_document, reader)
47
+ def initialize(config = {})
48
+ super
48
49
  @has_url = Set.new
49
50
  @variables = {}
50
51
  @parsing_state = ::DefMastership::ParsingState.new
52
+ end
51
53
 
54
+ def process(_document, reader)
52
55
  return reader if reader.eof?
53
56
 
54
57
  reader.unshift_lines(parse_and_replace(reader.read_lines))
@@ -4,7 +4,7 @@
4
4
  module Asciidoctor
5
5
  # main application module
6
6
  module DefMastership
7
- VERSION = '1.0.9'
7
+ VERSION = '1.0.10'
8
8
  public_constant :VERSION
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-defmastership
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jérôme Arbez-Gindre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.5.9
99
+ rubygems_version: 3.4.10
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: asciidoctor extension to handle applicable definition references