docstache 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/lib/docstache/document.rb +3 -1
- data/lib/docstache/version.rb +1 -1
- data/lib/docstache.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08c60c077ff86e003e3519a97b4cd6077987ddf7
|
4
|
+
data.tar.gz: d001afdb640660291ec819b83f709c10f2d3cfba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fc33d73b305f1cba92607e1bd2181bc802f031f7c62a8b8956878b40b9920d0c70d0c74c841bd8b14a4ead40c2e596db818de8cd36296285fc47e1d66529869
|
7
|
+
data.tar.gz: 0f4f43d8b761f0c67e822613f26b6c54b54e2de24fd18a83b9c81a8b6a2770ccc9b7e58d03ca918e59e70cdbca42f4841ffbca8f252145d888d93d5c7582144d
|
data/Rakefile
CHANGED
data/lib/docstache/document.rb
CHANGED
@@ -18,7 +18,9 @@ module Docstache
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def usable_tags
|
21
|
-
@document.css('w|t').select { |tag| tag.text =~ /\{\{[\w\.\^\#\/]+\}\}/ }.map
|
21
|
+
@document.css('w|t').select { |tag| tag.text =~ /\{\{[\w\.\^\#\/]+\}\}/ }.map { |tag|
|
22
|
+
tag.text.scan(/\{\{[\w\.\^\#\/]+\}\}/)
|
23
|
+
}.flatten
|
22
24
|
end
|
23
25
|
|
24
26
|
def fix_errors
|
data/lib/docstache/version.rb
CHANGED
data/lib/docstache.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.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Cosgrove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.4.
|
103
|
+
rubygems_version: 2.4.5
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Merges Hash of Data into Word docx template files using mustache syntax
|