random-words 1.0.9 → 1.0.11
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/CHANGELOG.md +23 -0
- data/README.md +3 -2
- data/bin/randw +9 -4
- data/lib/random-words/array.rb +9 -0
- data/lib/random-words/config.rb +1 -1
- data/lib/random-words/generator.rb +69 -47
- data/lib/random-words/number-to-word.rb +4 -4
- data/lib/random-words/numeric.rb +13 -0
- data/lib/random-words/string.rb +109 -10
- data/lib/random-words/version.rb +1 -1
- data/lib/random-words/words/1984/clauses.txt +79 -79
- data/lib/random-words/words/alice/clauses.txt +81 -81
- data/lib/random-words/words/bacon/clauses.txt +639 -639
- data/lib/random-words/words/corporate/clauses.txt +100 -100
- data/lib/random-words/words/doctor/clauses.txt +83 -83
- data/lib/random-words/words/english/clauses.txt +639 -639
- data/lib/random-words/words/english/conjunctions-subordinate.txt +0 -1
- data/lib/random-words/words/foulmouth/clauses.txt +58 -58
- data/lib/random-words/words/hipster/clauses.txt +180 -180
- data/lib/random-words/words/hipster/conjunctions-coordinating.txt +1 -1
- data/lib/random-words/words/hipster/phrases.txt +3 -3
- data/lib/random-words/words/latin/clauses.txt +87 -89
- data/lib/random-words/words/veggie/clauses.txt +57 -57
- data/lib/random-words.rb +1 -0
- data/src/_README.md +4 -3
- metadata +3 -2
@@ -1,89 +1,87 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
quod est vastum
|
89
|
-
quod est velox
|
1
|
+
admirabile
|
2
|
+
altissimum
|
3
|
+
altitudinis
|
4
|
+
amabile
|
5
|
+
antiquissimum
|
6
|
+
avitum
|
7
|
+
benevolentissimum
|
8
|
+
brutum
|
9
|
+
castissimum
|
10
|
+
caveosum
|
11
|
+
celer
|
12
|
+
compatibile
|
13
|
+
cotidianum
|
14
|
+
cultum
|
15
|
+
curiosum
|
16
|
+
delectabile
|
17
|
+
delicatum
|
18
|
+
difficile
|
19
|
+
divinum
|
20
|
+
elaboratum
|
21
|
+
excellentissimum
|
22
|
+
eximium
|
23
|
+
expositum
|
24
|
+
felix
|
25
|
+
festinum
|
26
|
+
firmissimum
|
27
|
+
gratificum
|
28
|
+
gratium
|
29
|
+
incredibile
|
30
|
+
inutilis
|
31
|
+
invidiosum
|
32
|
+
ipsissimum
|
33
|
+
irrationabile
|
34
|
+
iucundissimum
|
35
|
+
iucundum
|
36
|
+
levissimum
|
37
|
+
lucens
|
38
|
+
luctuosum
|
39
|
+
magnificum
|
40
|
+
magniloquens
|
41
|
+
magnum
|
42
|
+
maximus
|
43
|
+
minimum
|
44
|
+
minimus
|
45
|
+
mirabile
|
46
|
+
miranima
|
47
|
+
mirificum
|
48
|
+
modernum
|
49
|
+
monumentale
|
50
|
+
necessarium
|
51
|
+
odoratum
|
52
|
+
omnium
|
53
|
+
optimum
|
54
|
+
paene
|
55
|
+
parvum
|
56
|
+
peculiare
|
57
|
+
perfectum
|
58
|
+
periculosum
|
59
|
+
popularis
|
60
|
+
portiosum
|
61
|
+
praeclarum
|
62
|
+
praestans
|
63
|
+
professionale
|
64
|
+
pulchrum
|
65
|
+
purissimum
|
66
|
+
rapidum
|
67
|
+
regale
|
68
|
+
sapidum
|
69
|
+
sapientissimum
|
70
|
+
secundum
|
71
|
+
securum
|
72
|
+
separabile
|
73
|
+
simplicissimum
|
74
|
+
sinuatus
|
75
|
+
sonorus
|
76
|
+
splendidissimum
|
77
|
+
splendidum
|
78
|
+
stultum
|
79
|
+
suum
|
80
|
+
tactum
|
81
|
+
tenax
|
82
|
+
tenebrosum
|
83
|
+
universum
|
84
|
+
utilissimum
|
85
|
+
vastissimum
|
86
|
+
vastum
|
87
|
+
velox
|
@@ -1,57 +1,57 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
1
|
+
I buy fresh vegetables
|
2
|
+
I wash the greens
|
3
|
+
I chop the carrots
|
4
|
+
cooking the stir-fry
|
5
|
+
I prepare the salad
|
6
|
+
the vegetables are in season
|
7
|
+
I prefer organic produce
|
8
|
+
I picked from the farmers' market
|
9
|
+
I can eat healthier
|
10
|
+
I have everything ready
|
11
|
+
they are a bit pricey
|
12
|
+
they taste better raw
|
13
|
+
I sauté or steam them
|
14
|
+
they are still crisp
|
15
|
+
soon as I get home
|
16
|
+
I finish my grocery shopping
|
17
|
+
they require some prep time
|
18
|
+
I can find them locally
|
19
|
+
I want to try a new recipe
|
20
|
+
they are packed with nutrients
|
21
|
+
I season them properly
|
22
|
+
I blend the vegetable soup
|
23
|
+
I wait for the water to boil
|
24
|
+
I add spices to the mix
|
25
|
+
they are stored properly
|
26
|
+
serving them to guests
|
27
|
+
they can enhance the flavor
|
28
|
+
I experiment with different cooking methods
|
29
|
+
I finish chopping the herbs
|
30
|
+
I need to feed a large group
|
31
|
+
I like to eat a variety of veggies
|
32
|
+
soon as I find the freshest ingredients
|
33
|
+
I check for quality and freshness
|
34
|
+
I plan my weekly meals
|
35
|
+
I enjoy the cooking process
|
36
|
+
I can find a good recipe
|
37
|
+
I can share with friends
|
38
|
+
I want to incorporate more greens
|
39
|
+
they add color to the plate
|
40
|
+
I prepare a hearty vegetable dish
|
41
|
+
I want to create a balanced meal
|
42
|
+
I gather all the necessary ingredients
|
43
|
+
the recipe calls for seasonal vegetables
|
44
|
+
I serve the dish
|
45
|
+
I'm experimenting with flavors
|
46
|
+
I pick up my favorite vegetables
|
47
|
+
they are versatile and easy to cook
|
48
|
+
I want to make a healthy snack
|
49
|
+
I finish cooking
|
50
|
+
I explore new cuisines
|
51
|
+
I want to eat more plant-based meals
|
52
|
+
I go grocery shopping
|
53
|
+
I'm trying to eat more healthily
|
54
|
+
I have time to cook from scratch
|
55
|
+
I sometimes prefer frozen options
|
56
|
+
I gather my ingredients
|
57
|
+
I can enjoy with my family
|
data/lib/random-words.rb
CHANGED
@@ -9,6 +9,7 @@ require_relative 'random-words/string'
|
|
9
9
|
require_relative 'random-words/hash'
|
10
10
|
require_relative 'random-words/array'
|
11
11
|
require_relative 'random-words/boolean'
|
12
|
+
require_relative 'random-words/numeric'
|
12
13
|
require_relative 'random-words/source'
|
13
14
|
require_relative 'random-words/config'
|
14
15
|
require_relative 'random-words/generator'
|
data/src/_README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# RandomWords
|
2
2
|
<!--README-->
|
3
3
|
|
4
|
-
[](https://rubygems.org/gems/random-words)[](https://rubygems.org/gems/random-words)[](https://opensource.org/licenses/MIT)
|
5
5
|
|
6
6
|
A random text (Lorem Ipsum) generator.
|
7
7
|
|
@@ -68,7 +68,7 @@ elements to include.
|
|
68
68
|
|
69
69
|
First, the source language (defaults to latin), then the
|
70
70
|
length of paragraphs and tables: e.g. `english/medium`. You
|
71
|
-
can add any digits to determine how many
|
71
|
+
can add any digits to determine how many paragraphs are
|
72
72
|
generated (default 5), e.g. `corporate/medium/10`.
|
73
73
|
|
74
74
|
Then you can add individual elements, or use `/all` to
|
@@ -87,6 +87,7 @@ trigger all elements. The elements available are:
|
|
87
87
|
| headers | add headlines |
|
88
88
|
| image | add images |
|
89
89
|
| table | add tables |
|
90
|
+
| x | add extended punctuation |
|
90
91
|
|
91
92
|
The number of elements inserted depends on the length you specify.
|
92
93
|
|
@@ -293,4 +294,4 @@ rw.sentence_length
|
|
293
294
|
|
294
295
|
### License
|
295
296
|
|
296
|
-
This project is licensed under the [MIT license](LICENSE).
|
297
|
+
This project is licensed under the [MIT license](LICENSE).
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: random-words
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: nokogiri
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/random-words/html2markdown.rb
|
52
52
|
- lib/random-words/lorem-markdown.rb
|
53
53
|
- lib/random-words/number-to-word.rb
|
54
|
+
- lib/random-words/numeric.rb
|
54
55
|
- lib/random-words/source.rb
|
55
56
|
- lib/random-words/string.rb
|
56
57
|
- lib/random-words/table-cleanup.rb
|