multi_string_replace 1.0.6 → 1.0.7
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 +4 -4
- data/ext/multi_string_replace/ahocorasick.c +1 -1
- data/lib/multi_string_replace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1a53ef0a40acd23f625842f8ce1335b69e28b4334896ef50989c09936f4601b
|
|
4
|
+
data.tar.gz: 64880e395d26638853ab4501d76f9c882628410df8a1a41bea533249b8d0b447
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b3f3479e79dbca29630549b6895c714069d6baa134e184a8f87488203b4aac551b5b2e8759de5dfd4bd9b30d4abc5d5a8c8cb9fd56742801361f504c9d21829
|
|
7
|
+
data.tar.gz: e88071ce970e38300297472214eb73bb368308e924bb57ee80488228ac57eb820348d3e573566ca7fb4148083434e1071d96e53725307a50e0b9f21041f61c25
|
|
@@ -42,7 +42,7 @@ int aho_add_match_text(struct ahocorasick * restrict aho, const char* text, unsi
|
|
|
42
42
|
if (!a_text)
|
|
43
43
|
goto lack_free_mem;
|
|
44
44
|
|
|
45
|
-
a_text->text = (char*) malloc(sizeof(char)*len);
|
|
45
|
+
a_text->text = (char*) malloc(sizeof(char)*(len + 1));
|
|
46
46
|
|
|
47
47
|
if (!a_text->text)
|
|
48
48
|
goto lack_free_mem;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: multi_string_replace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joseph Dayo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|