string_pattern 2.0.0 → 2.1.0
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/.yardopts +4 -4
- data/LICENSE +21 -21
- data/README.md +421 -396
- data/data/english/adjs.json +19001 -0
- data/data/english/nouns.json +112986 -0
- data/data/spanish/palabras.json +1 -0
- data/lib/string/pattern/add_to_ruby.rb +294 -284
- data/lib/string_pattern.rb +1029 -935
- metadata +12 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string_pattern
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: regexp_parser
|
@@ -30,11 +30,11 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.3.0
|
33
|
-
description: '
|
34
|
-
#>qBstvc6JN8ra.
|
35
|
-
|
36
|
-
|
37
|
-
for testing your applications.'
|
33
|
+
description: 'Easily generate strings supplying a very simple pattern. ''10-20:Xn/x/''.generate
|
34
|
+
#>qBstvc6JN8ra. Generate random strings using a regular expression (Regexp): /[a-z0-9]{2,5}w+/.gen
|
35
|
+
. Also generate words in English or Spanish. Perfect to be used in test data factories.
|
36
|
+
Also, validate if a text fulfills a specific pattern or even generate a string following
|
37
|
+
a pattern and returning the wrong length, value... for testing your applications.'
|
38
38
|
email: marioruizs@gmail.com
|
39
39
|
executables: []
|
40
40
|
extensions: []
|
@@ -45,6 +45,9 @@ files:
|
|
45
45
|
- ".yardopts"
|
46
46
|
- LICENSE
|
47
47
|
- README.md
|
48
|
+
- data/english/adjs.json
|
49
|
+
- data/english/nouns.json
|
50
|
+
- data/spanish/palabras.json
|
48
51
|
- lib/string/pattern/add_to_ruby.rb
|
49
52
|
- lib/string_pattern.rb
|
50
53
|
homepage: https://github.com/MarioRuiz/string_pattern
|
@@ -71,5 +74,6 @@ rubygems_version: 2.7.6
|
|
71
74
|
signing_key:
|
72
75
|
specification_version: 4
|
73
76
|
summary: 'Generate easily random strings following a simple pattern or regular expression.
|
74
|
-
''10-20:Xn/x/''.generate #>qBstvc6JN8ra
|
77
|
+
''10-20:Xn/x/''.generate #>qBstvc6JN8ra. Also generate words in English or Spanish.
|
78
|
+
Perfect to be used in test data factories.'
|
75
79
|
test_files: []
|