random-words 1.0.10 → 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 +9 -0
- data/bin/randw +2 -2
- data/lib/random-words/version.rb +1 -1
- data/lib/random-words/words/latin/clauses.txt +87 -89
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57abe07bfca026af5e60d98956fc1f1acea891691d0b9e26fd7ea10e567bc573
|
|
4
|
+
data.tar.gz: '028696c284724b1e3d8abd9048365035d48e7e50f84239fa3244430ff1fe0b33'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ccead8e4431c2fb4b3e4574a5947ae7aef581b85ceaae4c541fd68efb0599973545f09981b269f0e7220b0eb74effa6a0a77ef61b599096b9dd8871b7175f16
|
|
7
|
+
data.tar.gz: 81c3fc2a730c475b3999646a128487a1cf4904005c1507f0745a63845615b136d45f70c6464d7ab6c2d5a931d37625f0ee28493f1bdacf9f2d89331b0490f936
|
data/CHANGELOG.md
CHANGED
data/bin/randw
CHANGED
|
@@ -423,7 +423,7 @@ def markdown_settings(settings)
|
|
|
423
423
|
markdown_options
|
|
424
424
|
end
|
|
425
425
|
|
|
426
|
-
@rw = RandomWords::Generator.new(@options[:source], { debug: @options[:debug_level] > 1 })
|
|
426
|
+
@rw = RandomWords::Generator.new(@options[:source], { debug: @options[:debug_level] && @options[:debug_level] > 1 })
|
|
427
427
|
@rw.sentence_length = @options[:length] || :medium
|
|
428
428
|
@rw.paragraph_length = @options[:paragraph_length] || 3
|
|
429
429
|
@options[:use_extended_punctuation] = @options[:use_extended_punctuation] ? true : false
|
|
@@ -501,7 +501,7 @@ when :password
|
|
|
501
501
|
cap_char = rand(20) while p[cap_char] !~ /[a-z]/
|
|
502
502
|
p[cap_char] = p[cap_char].upcase
|
|
503
503
|
|
|
504
|
-
tail_char =
|
|
504
|
+
tail_char = /[^a-z0-9]/i.match?(p) ? "" : %w[! @ # $ % ^ & * ( ) _ + - = ; : < > , . ? /].sample
|
|
505
505
|
|
|
506
506
|
print p.gsub(/ /, @options[:separator]) + tail_char
|
|
507
507
|
debug "#{p.split(@options[:separator]).count}w, #{p.length}c"
|
data/lib/random-words/version.rb
CHANGED
|
@@ -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
|