string_pattern
Easily generate strings supplying a very simple pattern. '10-20:Xn/x/'.generate #>qBstvc6JN8ra. Generate random strings using a regular expression (Regexp): /[a-z0-9]{2,5}w+/.gen . Also generate words in English or Spanish. Perfect to be used in test data factories. Also, validate if a text fulfills a specific pattern or even generate a string following a pattern and returning the wrong length, value... for testing your applications.
Ecosystem
rubygems.org
rubygems.org
Latest Release
27 days ago
2.4.0
27 days ago
Versions
23
23
Downloads
1,010,056 total
1,010,056 total
Dependent Packages
3
3
Dependent Repos
6
6
MarioRuiz
11 packages1,605,896 downloads
Links
| Registry | rubygems.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:gem/string_pattern
spec |
| License | MIT |
| First Release | almost 8 years ago |
| Last Synced | 5 days ago |
Repository
| Stars | 17 on GitHub |
| Forks | 1 on GitHub |
| Docker Dependents | 1 |
| Docker Downloads | 75,591,967 |
| Commits | 44 |
| Committers | 3 |
| Avg per Author | 14.667 |
| DDS | 0.068 |
Rankings on rubygems.org
Dependent packages
Top 4.0%
Dependent repos
Top 9.1%