multi_string_replace 0.1.0 → 0.1.1
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/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +30 -3
- data/ext/multi_string_replace/ahocorasick.c +5 -3
- data/ext/multi_string_replace/ahocorasick.h +2 -1
- data/ext/multi_string_replace/multi_string_replace.c +6 -2
- data/lib/multi_string_replace/version.rb +1 -1
- data/multi_string_replace.gemspec +3 -3
- data/replaced.txt +522 -0
- data/replaced2.txt +522 -0
- metadata +8 -4
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: multi_string_replace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joseph Dayo
|
|
@@ -80,7 +80,8 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
|
-
description:
|
|
83
|
+
description: A fast multiple string replace library for ruby. Uses a C implementation
|
|
84
|
+
of the Aho–Corasick Algorithm
|
|
84
85
|
email:
|
|
85
86
|
- joseph.dayo@gmail.com
|
|
86
87
|
executables: []
|
|
@@ -112,7 +113,9 @@ files:
|
|
|
112
113
|
- lib/multi_string_replace.rb
|
|
113
114
|
- lib/multi_string_replace/version.rb
|
|
114
115
|
- multi_string_replace.gemspec
|
|
115
|
-
|
|
116
|
+
- replaced.txt
|
|
117
|
+
- replaced2.txt
|
|
118
|
+
homepage: https://github.com/jedld/mutli_word_replace
|
|
116
119
|
licenses:
|
|
117
120
|
- MIT
|
|
118
121
|
metadata:
|
|
@@ -136,5 +139,6 @@ rubyforge_project:
|
|
|
136
139
|
rubygems_version: 2.7.7
|
|
137
140
|
signing_key:
|
|
138
141
|
specification_version: 4
|
|
139
|
-
summary:
|
|
142
|
+
summary: A fast multiple string replace library for ruby. Uses a C implementation
|
|
143
|
+
of the Aho–Corasick Algorithm
|
|
140
144
|
test_files: []
|