lm_docstache 1.3.9 → 1.3.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a232c835166c36e1ec8b49e14881d256a648831dd6fe799453cd8472ad43314e
4
- data.tar.gz: 518e61a524ecdb2b8e74b504f02c5411979ebea4b18d10675ebc02c7e654bb31
3
+ metadata.gz: 58addacdd5e64a7a54ca48ea1a811e310b3ef0d3e7a2084f41244ae8f5b39cbf
4
+ data.tar.gz: 40471c6fcceb845dcfadb81dbf30a260eb15f0f37c444ff796fcaa3c08f1edb2
5
5
  SHA512:
6
- metadata.gz: dd072339bf46460c662552c68a4cfff8dcfacc68ffd65b97bd612adeccc46015a036c3635ad93d1e5306e3072d9b602f38935e68d6bfde5d1c36d08fbf89765b
7
- data.tar.gz: 97506e402af04f22899a1dcc3df6250c5bbdaf2eae39cd62f3dafa430b6aba2bdc3f91d2569938766d4b542cf81eba8979277bc063df25e305dd14dc301c40cc
6
+ metadata.gz: d9e6329eaafd68058293052d339c7a0edff0ec0fb3cf309757b16c13eb42428ea22d0ae121b8eaf6fb3ab430ccc3ea4b93d9d5068403bd53a385df22056ed755
7
+ data.tar.gz: ac48fc982b1a1e38a8ff7c6a4207aa7e6558d3b79ebd8ef8bfb437234ebddd458ae5ec1674f942f4de370dd4660127f160ffa7c58b7487bd22caf494cfc594a6
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.10
4
+ * Fix close tag encoding bug.
5
+
3
6
  ## 1.3.9
4
7
  * Fix bug on Renderer Class remove_role_tags method that was replacing the entire line instead of just the role tag.
5
8
 
@@ -9,14 +12,14 @@
9
12
  ## 1.3.7
10
13
  * Fix bug on renderer returning invalid data.
11
14
  * Refactor Renderer Class remove_role_tags method to standardize, following other remove methods.
12
-
15
+
13
16
  ## 1.3.6
14
17
  * Change remove signature tags to be remove role tags.
15
18
  * Fix method remove role tags to be following the new regexp rules.
16
- * Remove not necessary unique_role_tag_names method.
19
+ * Remove not necessary unique_role_tag_names method.
17
20
 
18
21
  ## 1.3.5
19
- * Replace signatures by roles. Add unique roles name collector.
22
+ * Replace signatures by roles. Add unique roles name collector.
20
23
 
21
24
  ## 1.3.4
22
25
  * Change signature signs identifiers to be braces instead of brackets.
@@ -36,7 +36,7 @@ module LMDocstache
36
36
  inverted_op = inverted ? '\^' : '\#'
37
37
  full_tag_regex = /\{\{#{inverted_op}(#{name})\s?#{condition}\}\}.+?\{\{\/\k<1>\}\}/m
38
38
  start_tag_regex = /\{\{#{inverted_op}#{name}\s?#{condition}\}\}/m
39
- close_tag_regex = /\{\{\/#{name}\}\}/s
39
+ close_tag_regex = /\{\{\/#{name}\}\}/
40
40
 
41
41
  if elements.text.match(full_tag_regex)
42
42
  if elements.any? { |e| e.text.match(full_tag_regex) }
@@ -1,3 +1,3 @@
1
1
  module LMDocstache
2
- VERSION = "1.3.9"
2
+ VERSION = "1.3.10"
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lm_docstache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roey Chasman
8
8
  - Frederico Assunção
9
9
  - Jonathan Stevens
10
10
  - Will Cosgrove
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-11-05 00:00:00.000000000 Z
14
+ date: 2020-11-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: nokogiri
@@ -45,22 +45,22 @@ dependencies:
45
45
  name: rspec
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
49
- - !ruby/object:Gem::Version
50
- version: '3.1'
51
48
  - - ">="
52
49
  - !ruby/object:Gem::Version
53
50
  version: 3.1.0
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.1'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '3.1'
61
58
  - - ">="
62
59
  - !ruby/object:Gem::Version
63
60
  version: 3.1.0
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '3.1'
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: pry-byebug
66
66
  requirement: !ruby/object:Gem::Requirement
@@ -126,7 +126,7 @@ homepage: https://www.lawmatics.com
126
126
  licenses:
127
127
  - MIT
128
128
  metadata: {}
129
- post_install_message:
129
+ post_install_message:
130
130
  rdoc_options: []
131
131
  require_paths:
132
132
  - lib
@@ -141,8 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.1.2
145
- signing_key:
144
+ rubygems_version: 3.0.3
145
+ signing_key:
146
146
  specification_version: 4
147
147
  summary: Merges Hash of Data into Word docx template files using mustache syntax
148
148
  test_files: