howzit 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +2 -0
- data/CHANGELOG.md +8 -0
- data/lib/howzit/config.rb +1 -1
- data/lib/howzit/stringutils.rb +5 -1
- data/lib/howzit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e053730ff4a0386a25682221bcf58a36a81e15b220659afb72cb1a5084172664
|
4
|
+
data.tar.gz: baea37c956d1c64506499a764a502c879eb5ee70830e2ced4cb04f596b8231a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78e286ded9e392237f321e7c3361945ee2e8f586c091ed9ab78fc68757d49710416dbe76d03edd43b464df857527b7e8412649a85c9543a3b490ff03994a8acd
|
7
|
+
data.tar.gz: 5df805459407073f865e5223bef535d1f488f2207f7cdb243cb5357da2a5ee8f19c05f5f4f1dec630b24122ce0892ef0783d46aaa161f9c36f5170823f18316b
|
data/.github/FUNDING.yml
ADDED
data/CHANGELOG.md
CHANGED
data/lib/howzit/config.rb
CHANGED
data/lib/howzit/stringutils.rb
CHANGED
@@ -223,7 +223,11 @@ module Howzit
|
|
223
223
|
gsub!(/\[%#{k}(:.*?)?\]/, v)
|
224
224
|
end
|
225
225
|
|
226
|
-
|
226
|
+
# Replace empty variables with default
|
227
|
+
gsub!(/\[%(.*?):(.*?)\]/, '\2')
|
228
|
+
|
229
|
+
# Remove remaining empty variables
|
230
|
+
gsub(/\[%(.*?)\]/, '')
|
227
231
|
end
|
228
232
|
|
229
233
|
##
|
data/lib/howzit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: howzit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -291,6 +291,7 @@ extensions: []
|
|
291
291
|
extra_rdoc_files: []
|
292
292
|
files:
|
293
293
|
- ".editorconfig"
|
294
|
+
- ".github/FUNDING.yml"
|
294
295
|
- ".gitignore"
|
295
296
|
- ".howzit.taskpaper.bak"
|
296
297
|
- ".rspec"
|