random-words 1.0.11 → 1.0.13

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +267 -20
  3. data/.rubocop_todo.yml +0 -313
  4. data/CHANGELOG.md +36 -0
  5. data/bin/randw +54 -194
  6. data/generator.cgi +155 -0
  7. data/lib/random-words/array.rb +0 -2
  8. data/lib/random-words/boolean.rb +1 -1
  9. data/lib/random-words/config.rb +6 -6
  10. data/lib/random-words/generator.rb +60 -32
  11. data/lib/random-words/html2markdown.rb +80 -20
  12. data/lib/random-words/{lorem-markdown.rb → lorem_html.rb} +123 -56
  13. data/lib/random-words/{number-to-word.rb → number_to_word.rb} +5 -5
  14. data/lib/random-words/numeric.rb +2 -2
  15. data/lib/random-words/string.rb +10 -3
  16. data/lib/random-words/terminal.rb +185 -0
  17. data/lib/random-words/version.rb +1 -1
  18. data/lib/random-words/words/corporate/clauses.txt +100 -100
  19. data/lib/random-words/words/walken/adjectives.txt +139 -0
  20. data/lib/random-words/words/walken/adverbs.txt +164 -0
  21. data/lib/random-words/words/walken/articles-plural.txt +10 -0
  22. data/lib/random-words/words/walken/articles-singular.txt +10 -0
  23. data/lib/random-words/words/walken/clauses.txt +200 -0
  24. data/lib/random-words/words/walken/config.yml +4 -0
  25. data/lib/random-words/words/walken/conjunctions-coordinating.txt +20 -0
  26. data/lib/random-words/words/walken/conjunctions-subordinate.txt +28 -0
  27. data/lib/random-words/words/walken/names.txt +101 -0
  28. data/lib/random-words/words/walken/nouns-plural.txt +330 -0
  29. data/lib/random-words/words/walken/nouns-singular.txt +500 -0
  30. data/lib/random-words/words/walken/numbers.yml +5 -0
  31. data/lib/random-words/words/walken/phrases.txt +45 -0
  32. data/lib/random-words/words/walken/prepositions.txt +45 -0
  33. data/lib/random-words/words/walken/terminators.txt +17 -0
  34. data/lib/random-words/words/walken/verbs-passive.txt +370 -0
  35. data/lib/random-words/words/walken/verbs-plural.txt +294 -0
  36. data/lib/random-words/words/walken/verbs-singular.txt +262 -0
  37. data/lib/random-words.rb +3 -2
  38. metadata +24 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57abe07bfca026af5e60d98956fc1f1acea891691d0b9e26fd7ea10e567bc573
4
- data.tar.gz: '028696c284724b1e3d8abd9048365035d48e7e50f84239fa3244430ff1fe0b33'
3
+ metadata.gz: 31da4c2eaac6cfdd53576f5453621759a9f17d36dc68abca44d4d70abeb281f8
4
+ data.tar.gz: 436e1f6aa43654687fb2eb2a7920446ee1ab0815bb1d8d6508cd25e423e9998a
5
5
  SHA512:
6
- metadata.gz: 3ccead8e4431c2fb4b3e4574a5947ae7aef581b85ceaae4c541fd68efb0599973545f09981b269f0e7220b0eb74effa6a0a77ef61b599096b9dd8871b7175f16
7
- data.tar.gz: 81c3fc2a730c475b3999646a128487a1cf4904005c1507f0745a63845615b136d45f70c6464d7ab6c2d5a931d37625f0ee28493f1bdacf9f2d89331b0490f936
6
+ metadata.gz: f643e4685954135a314fe45835320b316fd68a04edc4d41dd4a6bc5cd13041f1cd79816e3453ab83db048f295bba5dfa514a67e7cd5b1bd088374149804ac08a
7
+ data.tar.gz: b934b0cf6d354b513e8c7d58d7b272576054c8ac256fd704711f28a9f2bceed1951a50971e4ab0604fafb5710dc96fffb39465ce7f971b7b0b45b0081edfeefc
data/.rubocop.yml CHANGED
@@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
4
  NewCops: enable
5
+ SuggestExtensions: false
5
6
 
6
7
  # Offense count: 3
7
8
  # This cop supports safe autocorrection (--autocorrect).
@@ -21,27 +22,163 @@ Lint/UselessAssignment:
21
22
  # Offense count: 3
22
23
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
23
24
  Metrics/AbcSize:
24
- Max: 39
25
-
26
- # Offense count: 1
27
- # Configuration parameters: CountComments, CountAsOne.
28
- Metrics/ClassLength:
29
- Max: 300
25
+ Max: 60
26
+ Exclude:
27
+ - 'lib/random-words/lorem_html.rb'
28
+ - 'lib/random-words/html2markdown.rb'
30
29
 
31
30
  # Offense count: 2
32
31
  # Configuration parameters: AllowedMethods, AllowedPatterns.
33
32
  Metrics/CyclomaticComplexity:
33
+ Max: 20
34
+ Exclude:
35
+ - 'lib/random-words/html2markdown.rb'
36
+
37
+ # Offense count: 1
38
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
39
+ Metrics/PerceivedComplexity:
40
+ Max: 20
41
+ Exclude:
42
+ - 'lib/random-words/html2markdown.rb'
43
+
44
+ Metrics/ParameterLists:
34
45
  Max: 10
35
46
 
47
+ # Offense count: 1
48
+ # This cop supports unsafe autocorrection (--autocorrect-all).
49
+ # Configuration parameters: RequireEnglish.
50
+ # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
51
+ Style/SpecialGlobalVars:
52
+ EnforcedStyle: use_perl_names
53
+
54
+ # Offense count: 1
55
+ # This cop supports safe autocorrection (--autocorrect).
56
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
57
+ # URISchemes: http, https
58
+ Layout/LineLength:
59
+ Max: 150
60
+ Exclude:
61
+ - bin/randw
62
+
63
+ Metrics/MethodLength:
64
+ Max: 100
65
+ Exclude:
66
+ - 'lib/random-words/html2markdown.rb'
67
+
68
+ # Offense count: 1
69
+ # This cop supports safe autocorrection (--autocorrect).
70
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
71
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
72
+ Bundler/OrderedGems:
73
+ Exclude:
74
+ - 'Gemfile'
75
+
36
76
  # Offense count: 3
77
+ # This cop supports safe autocorrection (--autocorrect).
78
+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
79
+ # SupportedStyles: case, end
80
+ Layout/CaseIndentation:
81
+ Exclude:
82
+ - 'bin/randw'
83
+
84
+ # Offense count: 1
85
+ # This cop supports safe autocorrection (--autocorrect).
86
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
87
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
88
+ Layout/EndAlignment:
89
+ Exclude:
90
+ - 'bin/randw'
91
+
92
+ # Offense count: 1
93
+ # This cop supports safe autocorrection (--autocorrect).
94
+ Lint/AmbiguousOperatorPrecedence:
95
+ Exclude:
96
+ - 'bin/randw'
97
+
98
+ # Offense count: 1
99
+ # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
100
+ Lint/DuplicateBranch:
101
+ Exclude:
102
+ - 'lib/random-words/string.rb'
103
+
104
+ # Offense count: 1
105
+ Lint/MixedRegexpCaptureTypes:
106
+ Exclude:
107
+ - 'lib/random-words/table-cleanup.rb'
108
+
109
+ # Offense count: 1
110
+ Lint/RescueException:
111
+ Exclude:
112
+ - 'lib/random-words/html2markdown.rb'
113
+
114
+ # Offense count: 2
115
+ Lint/StructNewOverride:
116
+ Exclude:
117
+ - 'lib/random-words/generator.rb'
118
+
119
+ # Offense count: 2
120
+ # This cop supports safe autocorrection (--autocorrect).
121
+ # Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
122
+ Lint/UnusedBlockArgument:
123
+ Exclude:
124
+ - 'bin/randw'
125
+
126
+ # Offense count: 1
127
+ Lint/UselessConstantScoping:
128
+ Exclude:
129
+ - 'lib/random-words/generator.rb'
130
+
131
+ # Offense count: 19
37
132
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
38
- Metrics/MethodLength:
39
- Max: 50
133
+ # AllowedMethods: refine
134
+ Metrics/BlockLength:
135
+ Max: 300
40
136
 
41
137
  # Offense count: 1
42
- # Configuration parameters: AllowedMethods, AllowedPatterns.
43
- Metrics/PerceivedComplexity:
44
- Max: 11
138
+ # Configuration parameters: CountComments, Max, CountAsOne.
139
+ Metrics/ClassLength:
140
+ Max: 500
141
+
142
+ # Offense count: 3
143
+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
144
+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
145
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
146
+ Naming/FileName:
147
+ Exclude:
148
+ - 'Rakefile.rb'
149
+ - 'lib/random-words/lorem-markdown.rb'
150
+ - 'lib/random-words/number-to-word.rb'
151
+ - 'lib/random-words/table-cleanup.rb'
152
+
153
+ # Offense count: 1
154
+ # This cop supports unsafe autocorrection (--autocorrect-all).
155
+ # Configuration parameters: EnforcedStyleForLeadingUnderscores.
156
+ # SupportedStylesForLeadingUnderscores: disallowed, required, optional
157
+ Naming/MemoizedInstanceVariableName:
158
+ Exclude:
159
+ - 'lib/random-words.rb'
160
+
161
+ # Offense count: 1
162
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
163
+ # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
164
+ Naming/MethodParameterName:
165
+ Exclude:
166
+ - 'lib/random-words/lorem-markdown.rb'
167
+
168
+ # Offense count: 2
169
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
170
+ # SupportedStyles: snake_case, normalcase, non_integer
171
+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
172
+ Naming/VariableNumber:
173
+ Exclude:
174
+ - 'bin/randw'
175
+
176
+ # Offense count: 4
177
+ # This cop supports unsafe autocorrection (--autocorrect-all).
178
+ Security/IoMethods:
179
+ Exclude:
180
+ - 'Rakefile'
181
+ - 'lib/random-words/source.rb'
45
182
 
46
183
  # Offense count: 1
47
184
  # Configuration parameters: AllowedConstants.
@@ -50,19 +187,129 @@ Style/Documentation:
50
187
  - 'spec/**/*'
51
188
  - 'test/**/*'
52
189
  - 'lib/random-words/string.rb'
190
+ - 'bin/randw'
191
+
192
+ # Offense count: 3
193
+ # This cop supports unsafe autocorrection (--autocorrect-all).
194
+ # Configuration parameters: EnforcedStyle.
195
+ # SupportedStyles: always, always_true, never
196
+ Style/FrozenStringLiteralComment:
197
+ Exclude:
198
+ - '**/*.arb'
199
+ - '.irbrc'
200
+ - 'Rakefile'
201
+ - 'lib/random-words/version.rb'
202
+
203
+ # Offense count: 3
204
+ # This cop supports unsafe autocorrection (--autocorrect-all).
205
+ # Configuration parameters: AllowedReceivers.
206
+ # AllowedReceivers: Thread.current
207
+ Style/HashEachMethods:
208
+ Exclude:
209
+ - 'bin/randw'
210
+ - 'lib/random-words/string.rb'
211
+
212
+ # Offense count: 2
213
+ Style/MultilineBlockChain:
214
+ Exclude:
215
+ - 'lib/random-words/html2markdown.rb'
53
216
 
54
217
  # Offense count: 1
55
218
  # This cop supports unsafe autocorrection (--autocorrect-all).
56
- # Configuration parameters: RequireEnglish.
57
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
58
- Style/SpecialGlobalVars:
59
- EnforcedStyle: use_perl_names
219
+ # Configuration parameters: EnforcedStyle.
220
+ # SupportedStyles: literals, strict
221
+ Style/MutableConstant:
222
+ Exclude:
223
+ - 'lib/random-words/version.rb'
60
224
 
61
225
  # Offense count: 1
226
+ # This cop supports unsafe autocorrection (--autocorrect-all).
227
+ # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
228
+ # SupportedStyles: predicate, comparison
229
+ Style/NumericPredicate:
230
+ Exclude:
231
+ - 'spec/**/*'
232
+ - 'lib/random-words/generator.rb'
233
+
234
+ # Offense count: 1
235
+ Style/OptionalArguments:
236
+ Exclude:
237
+ - 'lib/random-words/number-to-word.rb'
238
+
239
+ # Offense count: 2
240
+ # Configuration parameters: AllowedMethods.
241
+ # AllowedMethods: respond_to_missing?
242
+ Style/OptionalBooleanParameter:
243
+ Exclude:
244
+ - 'lib/random-words.rb'
245
+ - 'lib/random-words/lorem-markdown.rb'
246
+
247
+ # Offense count: 4
248
+ # This cop supports unsafe autocorrection (--autocorrect-all).
249
+ # Configuration parameters: Methods.
250
+ Style/RedundantArgument:
251
+ Exclude:
252
+ - 'lib/random-words/lorem-markdown.rb'
253
+ - 'lib/random-words/source.rb'
254
+ - 'lib/random-words/string.rb'
255
+
256
+ # Offense count: 3
257
+ # This cop supports unsafe autocorrection (--autocorrect-all).
258
+ Style/RedundantInterpolation:
259
+ Exclude:
260
+ - 'bin/randw'
261
+ - 'lib/random-words/string.rb'
262
+
263
+ # Offense count: 3
264
+ # This cop supports unsafe autocorrection (--autocorrect-all).
265
+ Style/SlicingWithRange:
266
+ Exclude:
267
+ - 'lib/random-words/html2markdown.rb'
268
+ - 'lib/random-words/table-cleanup.rb'
269
+
270
+ # Offense count: 3
271
+ # This cop supports unsafe autocorrection (--autocorrect-all).
272
+ Style/StringChars:
273
+ Exclude:
274
+ - 'lib/random-words/string.rb'
275
+
276
+ # Offense count: 10
277
+ # This cop supports unsafe autocorrection (--autocorrect-all).
278
+ # Configuration parameters: Mode.
279
+ Style/StringConcatenation:
280
+ Exclude:
281
+ - 'lib/random-words/html2markdown.rb'
282
+ - 'lib/random-words/number-to-word.rb'
283
+
284
+ # Offense count: 111
62
285
  # This cop supports safe autocorrection (--autocorrect).
63
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
64
- # URISchemes: http, https
65
- Layout/LineLength:
66
- Max: 135
286
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
287
+ # SupportedStyles: single_quotes, double_quotes
288
+ Style/StringLiterals:
67
289
  Exclude:
68
- - bin/randw
290
+ - 'Gemfile'
291
+ - 'bin/randw'
292
+
293
+ # Offense count: 5
294
+ # This cop supports safe autocorrection (--autocorrect).
295
+ # Configuration parameters: EnforcedStyle.
296
+ # SupportedStyles: single_quotes, double_quotes
297
+ Style/StringLiteralsInInterpolation:
298
+ Exclude:
299
+ - 'bin/randw'
300
+
301
+ # Offense count: 1
302
+ # This cop supports unsafe autocorrection (--autocorrect-all).
303
+ # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
304
+ # AllowedMethods: define_method
305
+ Style/SymbolProc:
306
+ Exclude:
307
+ - 'lib/random-words/string.rb'
308
+
309
+ # Offense count: 7
310
+ # This cop supports safe autocorrection (--autocorrect).
311
+ # Configuration parameters: EnforcedStyleForMultiline.
312
+ # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
313
+ Style/TrailingCommaInHashLiteral:
314
+ Exclude:
315
+ - 'bin/randw'
data/.rubocop_todo.yml CHANGED
@@ -1,313 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2025-04-16 12:16:23 UTC using RuboCop version 1.75.2.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 1
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12
- # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13
- Bundler/OrderedGems:
14
- Exclude:
15
- - 'Gemfile'
16
-
17
- # Offense count: 3
18
- # This cop supports safe autocorrection (--autocorrect).
19
- # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
20
- # SupportedStyles: case, end
21
- Layout/CaseIndentation:
22
- Exclude:
23
- - 'bin/randw'
24
-
25
- # Offense count: 1
26
- # This cop supports safe autocorrection (--autocorrect).
27
- # Configuration parameters: EnforcedStyleAlignWith, Severity.
28
- # SupportedStylesAlignWith: keyword, variable, start_of_line
29
- Layout/EndAlignment:
30
- Exclude:
31
- - 'bin/randw'
32
-
33
- # Offense count: 2
34
- # This cop supports safe autocorrection (--autocorrect).
35
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
36
- # URISchemes: http, https
37
- Layout/LineLength:
38
- Exclude:
39
- - 'bin/randw'
40
- - 'lib/random-words/generator.rb'
41
- - 'random-words.gemspec'
42
-
43
- # Offense count: 1
44
- # This cop supports safe autocorrection (--autocorrect).
45
- Lint/AmbiguousOperatorPrecedence:
46
- Exclude:
47
- - 'bin/randw'
48
-
49
- # Offense count: 1
50
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
51
- Lint/DuplicateBranch:
52
- Exclude:
53
- - 'lib/random-words/string.rb'
54
-
55
- # Offense count: 1
56
- Lint/MixedRegexpCaptureTypes:
57
- Exclude:
58
- - 'lib/random-words/table-cleanup.rb'
59
-
60
- # Offense count: 1
61
- Lint/RescueException:
62
- Exclude:
63
- - 'lib/random-words/html2markdown.rb'
64
-
65
- # Offense count: 2
66
- Lint/StructNewOverride:
67
- Exclude:
68
- - 'lib/random-words/generator.rb'
69
-
70
- # Offense count: 2
71
- # This cop supports safe autocorrection (--autocorrect).
72
- # Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
73
- Lint/UnusedBlockArgument:
74
- Exclude:
75
- - 'bin/randw'
76
-
77
- # Offense count: 1
78
- Lint/UselessConstantScoping:
79
- Exclude:
80
- - 'lib/random-words/generator.rb'
81
-
82
- # Offense count: 12
83
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
84
- Metrics/AbcSize:
85
- Exclude:
86
- - 'bin/randw'
87
- - 'lib/random-words/config.rb'
88
- - 'lib/random-words/generator.rb'
89
- - 'lib/random-words/html2markdown.rb'
90
- - 'lib/random-words/lorem-markdown.rb'
91
- - 'lib/random-words/source.rb'
92
- - 'lib/random-words/table-cleanup.rb'
93
-
94
- # Offense count: 19
95
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
96
- # AllowedMethods: refine
97
- Metrics/BlockLength:
98
- Max: 250
99
-
100
- # Offense count: 1
101
- # Configuration parameters: CountComments, Max, CountAsOne.
102
- Metrics/ClassLength:
103
- Exclude:
104
- - 'lib/random-words/generator.rb'
105
-
106
- # Offense count: 9
107
- # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
108
- Metrics/CyclomaticComplexity:
109
- Exclude:
110
- - 'bin/randw'
111
- - 'lib/random-words/array.rb'
112
- - 'lib/random-words/config.rb'
113
- - 'lib/random-words/generator.rb'
114
- - 'lib/random-words/html2markdown.rb'
115
- - 'lib/random-words/lorem-markdown.rb'
116
- - 'lib/random-words/table-cleanup.rb'
117
-
118
- # Offense count: 2
119
- # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
120
- Metrics/MethodLength:
121
- Exclude:
122
- - 'bin/randw'
123
- - 'lib/random-words/html2markdown.rb'
124
-
125
- # Offense count: 1
126
- # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
127
- Metrics/ParameterLists:
128
- Max: 7
129
-
130
- # Offense count: 7
131
- # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
132
- Metrics/PerceivedComplexity:
133
- Exclude:
134
- - 'lib/random-words/array.rb'
135
- - 'lib/random-words/generator.rb'
136
- - 'lib/random-words/html2markdown.rb'
137
- - 'lib/random-words/lorem-markdown.rb'
138
- - 'lib/random-words/table-cleanup.rb'
139
-
140
- # Offense count: 3
141
- # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
142
- # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
143
- # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
144
- Naming/FileName:
145
- Exclude:
146
- - 'Rakefile.rb'
147
- - 'lib/random-words/lorem-markdown.rb'
148
- - 'lib/random-words/number-to-word.rb'
149
- - 'lib/random-words/table-cleanup.rb'
150
-
151
- # Offense count: 1
152
- # This cop supports unsafe autocorrection (--autocorrect-all).
153
- # Configuration parameters: EnforcedStyleForLeadingUnderscores.
154
- # SupportedStylesForLeadingUnderscores: disallowed, required, optional
155
- Naming/MemoizedInstanceVariableName:
156
- Exclude:
157
- - 'lib/random-words.rb'
158
-
159
- # Offense count: 1
160
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
161
- # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
162
- Naming/MethodParameterName:
163
- Exclude:
164
- - 'lib/random-words/lorem-markdown.rb'
165
-
166
- # Offense count: 2
167
- # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
168
- # SupportedStyles: snake_case, normalcase, non_integer
169
- # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
170
- Naming/VariableNumber:
171
- Exclude:
172
- - 'bin/randw'
173
-
174
- # Offense count: 4
175
- # This cop supports unsafe autocorrection (--autocorrect-all).
176
- Security/IoMethods:
177
- Exclude:
178
- - 'Rakefile'
179
- - 'lib/random-words/source.rb'
180
-
181
- # Offense count: 1
182
- # Configuration parameters: AllowedConstants.
183
- Style/Documentation:
184
- Exclude:
185
- - 'spec/**/*'
186
- - 'test/**/*'
187
- - 'lib/random-words/string.rb'
188
- - 'bin/randw'
189
-
190
- # Offense count: 3
191
- # This cop supports unsafe autocorrection (--autocorrect-all).
192
- # Configuration parameters: EnforcedStyle.
193
- # SupportedStyles: always, always_true, never
194
- Style/FrozenStringLiteralComment:
195
- Exclude:
196
- - '**/*.arb'
197
- - '.irbrc'
198
- - 'Rakefile'
199
- - 'lib/random-words/version.rb'
200
-
201
- # Offense count: 3
202
- # This cop supports unsafe autocorrection (--autocorrect-all).
203
- # Configuration parameters: AllowedReceivers.
204
- # AllowedReceivers: Thread.current
205
- Style/HashEachMethods:
206
- Exclude:
207
- - 'bin/randw'
208
- - 'lib/random-words/string.rb'
209
-
210
- # Offense count: 2
211
- Style/MultilineBlockChain:
212
- Exclude:
213
- - 'lib/random-words/html2markdown.rb'
214
-
215
- # Offense count: 1
216
- # This cop supports unsafe autocorrection (--autocorrect-all).
217
- # Configuration parameters: EnforcedStyle.
218
- # SupportedStyles: literals, strict
219
- Style/MutableConstant:
220
- Exclude:
221
- - 'lib/random-words/version.rb'
222
-
223
- # Offense count: 1
224
- # This cop supports unsafe autocorrection (--autocorrect-all).
225
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
226
- # SupportedStyles: predicate, comparison
227
- Style/NumericPredicate:
228
- Exclude:
229
- - 'spec/**/*'
230
- - 'lib/random-words/generator.rb'
231
-
232
- # Offense count: 1
233
- Style/OptionalArguments:
234
- Exclude:
235
- - 'lib/random-words/number-to-word.rb'
236
-
237
- # Offense count: 2
238
- # Configuration parameters: AllowedMethods.
239
- # AllowedMethods: respond_to_missing?
240
- Style/OptionalBooleanParameter:
241
- Exclude:
242
- - 'lib/random-words.rb'
243
- - 'lib/random-words/lorem-markdown.rb'
244
-
245
- # Offense count: 4
246
- # This cop supports unsafe autocorrection (--autocorrect-all).
247
- # Configuration parameters: Methods.
248
- Style/RedundantArgument:
249
- Exclude:
250
- - 'lib/random-words/lorem-markdown.rb'
251
- - 'lib/random-words/source.rb'
252
- - 'lib/random-words/string.rb'
253
-
254
- # Offense count: 3
255
- # This cop supports unsafe autocorrection (--autocorrect-all).
256
- Style/RedundantInterpolation:
257
- Exclude:
258
- - 'bin/randw'
259
- - 'lib/random-words/string.rb'
260
-
261
- # Offense count: 3
262
- # This cop supports unsafe autocorrection (--autocorrect-all).
263
- Style/SlicingWithRange:
264
- Exclude:
265
- - 'lib/random-words/html2markdown.rb'
266
- - 'lib/random-words/table-cleanup.rb'
267
-
268
- # Offense count: 3
269
- # This cop supports unsafe autocorrection (--autocorrect-all).
270
- Style/StringChars:
271
- Exclude:
272
- - 'lib/random-words/string.rb'
273
-
274
- # Offense count: 10
275
- # This cop supports unsafe autocorrection (--autocorrect-all).
276
- # Configuration parameters: Mode.
277
- Style/StringConcatenation:
278
- Exclude:
279
- - 'lib/random-words/html2markdown.rb'
280
- - 'lib/random-words/number-to-word.rb'
281
-
282
- # Offense count: 111
283
- # This cop supports safe autocorrection (--autocorrect).
284
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
285
- # SupportedStyles: single_quotes, double_quotes
286
- Style/StringLiterals:
287
- Exclude:
288
- - 'Gemfile'
289
- - 'bin/randw'
290
-
291
- # Offense count: 5
292
- # This cop supports safe autocorrection (--autocorrect).
293
- # Configuration parameters: EnforcedStyle.
294
- # SupportedStyles: single_quotes, double_quotes
295
- Style/StringLiteralsInInterpolation:
296
- Exclude:
297
- - 'bin/randw'
298
-
299
- # Offense count: 1
300
- # This cop supports unsafe autocorrection (--autocorrect-all).
301
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
302
- # AllowedMethods: define_method
303
- Style/SymbolProc:
304
- Exclude:
305
- - 'lib/random-words/string.rb'
306
-
307
- # Offense count: 7
308
- # This cop supports safe autocorrection (--autocorrect).
309
- # Configuration parameters: EnforcedStyleForMultiline.
310
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
311
- Style/TrailingCommaInHashLiteral:
312
- Exclude:
313
- - 'bin/randw'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ ### 1.0.13
2
+
3
+ 2025-04-28 07:25
4
+
5
+ #### NEW
6
+
7
+ - Christopher Walken dictionary
8
+
9
+ #### IMPROVED
10
+
11
+ - Code cleanup
12
+
13
+ #### FIXED
14
+
15
+ - CLI outputting debug errantly
16
+
17
+ ### 1.0.12
18
+
19
+ 2025-04-25 07:23
20
+
21
+ #### NEW
22
+
23
+ - Add footnote option
24
+ - Add image option
25
+ - Add horizontal rule option
26
+ - Complete HTML output
27
+ - Specify CSS with style:filename.css
28
+
29
+ #### IMPROVED
30
+
31
+ - More test coverage
32
+
33
+ #### FIXED
34
+
35
+ - Markdown output missing link definitions
36
+
1
37
  ### 1.0.11
2
38
 
3
39
  2025-04-22 07:11