openxml_docx_templater 0.2.0 → 0.2.1

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: 6acf4751ef96a4c85d4e5a17d23fe65263ea368a
4
- data.tar.gz: 664cff7779ba79761ff6e3e9c2c1de51cfd5057c
3
+ metadata.gz: 4d3a4fc9f820120732c2619df94399a9b8559123
4
+ data.tar.gz: dc3b1fa7fda18b7bae9bb552d5c74bddb6e9f5f4
5
5
  SHA512:
6
- metadata.gz: e639d4980436809ba24516da4a442e0b090318643b22ca12c3da4f60c886f4fd3b3d6e91941d586f265dc39e1813954337c8da2fcff7bf471fb8a1ebaa0269d8
7
- data.tar.gz: 22fa05283f6009d2817a32629097f60c43f1d1c19cd916ab7ce4c60066650b1650965d5aba2ea8f42f6891d5311847da33df4a869bbf65f7a999645ea98aae58
6
+ metadata.gz: 4221642ad1811e30f2d0ebf03ef8e5861e709e6f4fead4a3ee67f4a101de4c96d673f45510e2767e8bb855c901613744e03f083707179e831aebba44778c4272
7
+ data.tar.gz: de2c095fd97e5dae108f44823d4cade648a75079ab0bef02b0f70cca77358d088691296d0fdaf344251cc00aa1e9f64321d75c5e92c50b128cb5b8715ad5dea3
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class String
4
- CODE_LINE_PATTERN = /{(.*?)%(.+?)%(.*?)}/
4
+ CODE_LINE_PATTERN = /{([^{]*?)%(.+?)%(.*?)}/
5
5
  TAG_PATTERN = /<(.+?)>[\n]?/m
6
6
 
7
7
  def escape_xml
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenxmlDocxTemplater
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openxml_docx_templater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Ageev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler