docstache 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +3 -0
- data/lib/docstache/document.rb +2 -2
- data/lib/docstache/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfd7037ddd17c4d65bcedbbd02302fb763600484
|
4
|
+
data.tar.gz: 1afe1b3efd55e0bb3ec6692338d0cf6f08917fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c07f962a344eeb586545b64d5e28a1bf518fac9d44e20ff3c5abe734c2f6002fd7dc0612ce62cf4119495cffbf800f708652fcdc5572ea17ef6f33c26bfdc35
|
7
|
+
data.tar.gz: 9cfa428b69499a0db06771fb110b2f7b02a41fba5a9a0f1530a382a92af2a07eb67b21f76d9554cea55f9b08bd5fe1200464ade0932ea3644b097dd952f2ffc6
|
data/changelog.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.3.2
|
4
|
+
* [b3b66a0cd7ae67834cdbe7c18cefdb1498bcc5ab] I'm an idiot. Fixed an error in the `Document#unusable_tags` method
|
5
|
+
|
3
6
|
## 0.3.1
|
4
7
|
* [2228ba727f8a2e3705fe223ce02b5e760c935572] Added `Document#unusable_tags` to list out tags that are not able to be interpolated due to being split across tags in the Document's XML
|
5
8
|
|
data/lib/docstache/document.rb
CHANGED
@@ -32,8 +32,8 @@ module Docstache
|
|
32
32
|
def unusable_tags
|
33
33
|
unusable_tags = tags
|
34
34
|
usable_tags.each do |usable_tag|
|
35
|
-
index =
|
36
|
-
|
35
|
+
index = unusable_tags.index(usable_tag)
|
36
|
+
unusable_tags.delete_at(index) if index
|
37
37
|
end
|
38
38
|
return unusable_tags
|
39
39
|
end
|
data/lib/docstache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docstache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Cosgrove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|