ex-doc-include 0.4c → 0.4d

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 +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bfabb5c48f66e4ffdb60feccd4d37a269059225537378433212be39ec2bff16
4
- data.tar.gz: a6f493075341f558a0327439ec24f538e36a65601b24385d6b16d93930a4d115
3
+ metadata.gz: 9236e931fa5dbde40482a643e87977a621983b1fab2d527f8347f1c5081e7eaa
4
+ data.tar.gz: 745f872d8118abe6cd1393ae13ba3092edaee95459d120e3727813fb7c85ce40
5
5
  SHA512:
6
- metadata.gz: feea7602f18b1b67e13636b7858e75fce7f5d584753b782ee4e4d7b7e6857d35439d133fcdbb8b41c494797fca1addc00971b752167f87f2888eea4761229276
7
- data.tar.gz: 9e2f49b1caf44004d16c5185908c9e16c3397268343a238b645e5d2ae84d4374ca739aa0a1ca9c7f3292ac389eed2b447e7be42c4325ad9b1823a08d5af3c389
6
+ metadata.gz: 7d2b89c1567702f4c0b617f07e6b586d6186b2778ed22d39eda2d9b39d6ae159d4bd26ac3aced3143c8e2ee4e0d25d2e9d2aa06c3e21e5e26deaf907e7265739
7
+ data.tar.gz: 212cd1da14c49fc0189b41e3a04315a0ff424f7809758ace9ef39a472b762f3b548d9ef06c112a998de10f9cb093d02e8d1504c640321723b18ceba1b3d54b0c
@@ -74,11 +74,11 @@ class ExDocIncludeProcessor < Asciidoctor::Extensions::IncludeProcessor
74
74
  end
75
75
 
76
76
  def expand? attributes
77
- return attributes.key? 'expand'
77
+ attributes.key? 'expand'
78
78
  end
79
79
 
80
80
  def link? attributes
81
- return not (expand? attributes)
81
+ 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.4c
4
+ version: 0.4d
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giuseppe Puoti