include2ignore 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/lib/include2ignore/include.rb +1 -0
- data/lib/include2ignore/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12bd8f59b928236ea120418fb2be28ee375b956de4591f171b188b3fdf36152f
|
|
4
|
+
data.tar.gz: e1acd89a6f84bab273df40c04f0307c2cd9bb3909cc6b35162bdc8d7ade7c862
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 871809b79618c7132f9e311f85bc5a033485a23d83412f5db6354686470c2b13dabfe3cf45c7b40e7f371854da5edd17b1ebcb75a18cdffff2d283c2d20917c1
|
|
7
|
+
data.tar.gz: 5f2936076de595ac7c22e9438193f0d0b78d28f28e5f88b9273430d9a568969dc0a8822a3bd259a19f59f0b1270eb317ca622ee4b5a4759439001aee0021ee2d
|
|
@@ -289,6 +289,7 @@ EOF
|
|
|
289
289
|
# Last key is known to match last item, so if that were tested, it would pass.
|
|
290
290
|
return position_index == @elements.size - 1
|
|
291
291
|
end
|
|
292
|
+
return false if position_index == @elements.size
|
|
292
293
|
if @elements[position_index].re == :anydirs
|
|
293
294
|
# :anydir absorbs current key and moves to next position.
|
|
294
295
|
return true if search(index_arrays, array_index + 1, position_index + 1)
|