ex-doc-include 0.3 → 0.4c

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ex-doc-include.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e6082092ff85595bf1c6abafc7cc80f060319d5a5b6db7448fffbd7dbce8327
4
- data.tar.gz: 3a16089963e1fbc6e6d142a180c5a5206329e9f8701673073e63401b43a54c71
3
+ metadata.gz: 4bfabb5c48f66e4ffdb60feccd4d37a269059225537378433212be39ec2bff16
4
+ data.tar.gz: a6f493075341f558a0327439ec24f538e36a65601b24385d6b16d93930a4d115
5
5
  SHA512:
6
- metadata.gz: f860819a257c2e2a2d15795d90086c67cbf298d8fc1dc874930e29c3390b37dc66f01cce3d99eb67ff5679499e8c528700e56cac9b3197aa9681b91b2a3f593d
7
- data.tar.gz: f29b34fa361ded28f2ec20b9c2ff5021d9b1a700bdfba0f0886409a669e82c374b88a00f41b58d55b98936ba8211471f6ebc3138ad96476ad30e35245e776718
6
+ metadata.gz: feea7602f18b1b67e13636b7858e75fce7f5d584753b782ee4e4d7b7e6857d35439d133fcdbb8b41c494797fca1addc00971b752167f87f2888eea4761229276
7
+ data.tar.gz: 9e2f49b1caf44004d16c5185908c9e16c3397268343a238b645e5d2ae84d4374ca739aa0a1ca9c7f3292ac389eed2b447e7be42c4325ad9b1823a08d5af3c389
@@ -1,5 +1,5 @@
1
1
  require 'asciidoctor'
2
- require_relative 'articles-addresser'
2
+ require 'articles-addresser'
3
3
 
4
4
 
5
5
  class DocBlocksExtractor
@@ -78,7 +78,7 @@ class ExDocIncludeProcessor < Asciidoctor::Extensions::IncludeProcessor
78
78
  end
79
79
 
80
80
  def link? attributes
81
- return not expand? attributes
81
+ return not (expand? attributes)
82
82
  end
83
83
 
84
84
  def process doc, reader, target, attributes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ex-doc-include
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.4c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giuseppe Puoti
@@ -34,7 +34,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  requirements: []
37
- rubygems_version: 3.6.9
37
+ rubygems_version: 3.7.2
38
38
  specification_version: 4
39
39
  summary: 'AsciiDoctor plug-in that lets you borrow the content of specific C++ documentation
40
40
  block comments (/*! #ex-doc ... */) directly into your AsciiDoc files.'