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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1451cbaae9c754a84757afa5167f5051ed01eadb
4
- data.tar.gz: 943e2cd4f3fccd2cdc6e66aaa8b935ea68673e55
3
+ metadata.gz: bfd7037ddd17c4d65bcedbbd02302fb763600484
4
+ data.tar.gz: 1afe1b3efd55e0bb3ec6692338d0cf6f08917fcf
5
5
  SHA512:
6
- metadata.gz: e0e97aec0aeb31dd261f23647a9b0e45014e2fac0b4050d18c2aa151077e048278b0f3cb87bdf0ec3210a8976e21df44ab543cf29282309461336dc2ee52d423
7
- data.tar.gz: 7c0addc07de012c24ada05a6a30ba2301293db56bf894e1b463684bba0657d0dd24d5cabbcf4580793d9c0b7977647ebbde59720ba95b151ea3f1ba81d3ab954
6
+ metadata.gz: 4c07f962a344eeb586545b64d5e28a1bf518fac9d44e20ff3c5abe734c2f6002fd7dc0612ce62cf4119495cffbf800f708652fcdc5572ea17ef6f33c26bfdc35
7
+ data.tar.gz: 9cfa428b69499a0db06771fb110b2f7b02a41fba5a9a0f1530a382a92af2a07eb67b21f76d9554cea55f9b08bd5fe1200464ade0932ea3644b097dd952f2ffc6
@@ -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
 
@@ -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 = missing_tags.index(usable_tag)
36
- missing_tags.delete_at(index) if index
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
@@ -1,3 +1,3 @@
1
1
  module Docstache
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-10 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri