random-words 1.0.11 → 1.0.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57abe07bfca026af5e60d98956fc1f1acea891691d0b9e26fd7ea10e567bc573
4
- data.tar.gz: '028696c284724b1e3d8abd9048365035d48e7e50f84239fa3244430ff1fe0b33'
3
+ metadata.gz: f2d912535417fcff1c87d761381383f776bbf8f80fcc8dea66aa246768cab424
4
+ data.tar.gz: 1612bc59a7c8dc89b22812f597bf24be952707c382358eff61675e88dc429386
5
5
  SHA512:
6
- metadata.gz: 3ccead8e4431c2fb4b3e4574a5947ae7aef581b85ceaae4c541fd68efb0599973545f09981b269f0e7220b0eb74effa6a0a77ef61b599096b9dd8871b7175f16
7
- data.tar.gz: 81c3fc2a730c475b3999646a128487a1cf4904005c1507f0745a63845615b136d45f70c6464d7ab6c2d5a931d37625f0ee28493f1bdacf9f2d89331b0490f936
6
+ metadata.gz: 3a7a84b18d023cec1cf90accb12d3716bc2a61040e58bbcf152c08ca04fda1db586781e5db0fda082b1ec43ee9509bd057eb35292a0eaf895956833f98986e24
7
+ data.tar.gz: 64b04ae1a6f5039acffffe3c29c6ee1ce33f97efd9d357f23f2125c69418648ea3703afe0f241ca6cbc7cc851d9fb0ce5dabfd304c9d041135842e99ca7a3b72
data/.rubocop.yml CHANGED
@@ -26,7 +26,7 @@ Metrics/AbcSize:
26
26
  # Offense count: 1
27
27
  # Configuration parameters: CountComments, CountAsOne.
28
28
  Metrics/ClassLength:
29
- Max: 300
29
+ Max: 350
30
30
 
31
31
  # Offense count: 2
32
32
  # Configuration parameters: AllowedMethods, AllowedPatterns.
@@ -66,3 +66,318 @@ Layout/LineLength:
66
66
  Max: 135
67
67
  Exclude:
68
68
  - bin/randw
69
+
70
+ Metrics/MethodLength:
71
+ Max: 50
72
+ Exclude:
73
+ - lib/random-words/generator.rb
74
+ - lib/random-words/lorem-markdown.rb
75
+ - lib/random-words/string.rb
76
+ - lib/random-words/table-cleanup.rb
77
+ - lib/random-words/html2markdown.rb
78
+
79
+ # Offense count: 1
80
+ # This cop supports safe autocorrection (--autocorrect).
81
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
82
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
83
+ Bundler/OrderedGems:
84
+ Exclude:
85
+ - 'Gemfile'
86
+
87
+ # Offense count: 3
88
+ # This cop supports safe autocorrection (--autocorrect).
89
+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
90
+ # SupportedStyles: case, end
91
+ Layout/CaseIndentation:
92
+ Exclude:
93
+ - 'bin/randw'
94
+
95
+ # Offense count: 1
96
+ # This cop supports safe autocorrection (--autocorrect).
97
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
98
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
99
+ Layout/EndAlignment:
100
+ Exclude:
101
+ - 'bin/randw'
102
+
103
+ # Offense count: 2
104
+ # This cop supports safe autocorrection (--autocorrect).
105
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
106
+ # URISchemes: http, https
107
+ Layout/LineLength:
108
+ Exclude:
109
+ - 'bin/randw'
110
+ - 'lib/random-words/generator.rb'
111
+ - 'random-words.gemspec'
112
+
113
+ # Offense count: 1
114
+ # This cop supports safe autocorrection (--autocorrect).
115
+ Lint/AmbiguousOperatorPrecedence:
116
+ Exclude:
117
+ - 'bin/randw'
118
+
119
+ # Offense count: 1
120
+ # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
121
+ Lint/DuplicateBranch:
122
+ Exclude:
123
+ - 'lib/random-words/string.rb'
124
+
125
+ # Offense count: 1
126
+ Lint/MixedRegexpCaptureTypes:
127
+ Exclude:
128
+ - 'lib/random-words/table-cleanup.rb'
129
+
130
+ # Offense count: 1
131
+ Lint/RescueException:
132
+ Exclude:
133
+ - 'lib/random-words/html2markdown.rb'
134
+
135
+ # Offense count: 2
136
+ Lint/StructNewOverride:
137
+ Exclude:
138
+ - 'lib/random-words/generator.rb'
139
+
140
+ # Offense count: 2
141
+ # This cop supports safe autocorrection (--autocorrect).
142
+ # Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
143
+ Lint/UnusedBlockArgument:
144
+ Exclude:
145
+ - 'bin/randw'
146
+
147
+ # Offense count: 1
148
+ Lint/UselessConstantScoping:
149
+ Exclude:
150
+ - 'lib/random-words/generator.rb'
151
+
152
+ # Offense count: 12
153
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
154
+ Metrics/AbcSize:
155
+ Exclude:
156
+ - 'bin/randw'
157
+ - 'lib/random-words/config.rb'
158
+ - 'lib/random-words/generator.rb'
159
+ - 'lib/random-words/html2markdown.rb'
160
+ - 'lib/random-words/lorem-markdown.rb'
161
+ - 'lib/random-words/source.rb'
162
+ - 'lib/random-words/table-cleanup.rb'
163
+
164
+ # Offense count: 19
165
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
166
+ # AllowedMethods: refine
167
+ Metrics/BlockLength:
168
+ Max: 250
169
+
170
+ # Offense count: 1
171
+ # Configuration parameters: CountComments, Max, CountAsOne.
172
+ Metrics/ClassLength:
173
+ Exclude:
174
+ - 'lib/random-words/generator.rb'
175
+
176
+ # Offense count: 9
177
+ # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
178
+ Metrics/CyclomaticComplexity:
179
+ Exclude:
180
+ - 'bin/randw'
181
+ - 'lib/random-words/array.rb'
182
+ - 'lib/random-words/config.rb'
183
+ - 'lib/random-words/generator.rb'
184
+ - 'lib/random-words/html2markdown.rb'
185
+ - 'lib/random-words/lorem-markdown.rb'
186
+ - 'lib/random-words/table-cleanup.rb'
187
+
188
+ # Offense count: 2
189
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
190
+ Metrics/MethodLength:
191
+ Exclude:
192
+ - 'bin/randw'
193
+ - 'lib/random-words/html2markdown.rb'
194
+
195
+ # Offense count: 1
196
+ # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
197
+ Metrics/ParameterLists:
198
+ Max: 7
199
+
200
+ # Offense count: 7
201
+ # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
202
+ Metrics/PerceivedComplexity:
203
+ Exclude:
204
+ - 'lib/random-words/array.rb'
205
+ - 'lib/random-words/generator.rb'
206
+ - 'lib/random-words/html2markdown.rb'
207
+ - 'lib/random-words/lorem-markdown.rb'
208
+ - 'lib/random-words/table-cleanup.rb'
209
+
210
+ # Offense count: 3
211
+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
212
+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
213
+ # 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
214
+ Naming/FileName:
215
+ Exclude:
216
+ - 'Rakefile.rb'
217
+ - 'lib/random-words/lorem-markdown.rb'
218
+ - 'lib/random-words/number-to-word.rb'
219
+ - 'lib/random-words/table-cleanup.rb'
220
+
221
+ # Offense count: 1
222
+ # This cop supports unsafe autocorrection (--autocorrect-all).
223
+ # Configuration parameters: EnforcedStyleForLeadingUnderscores.
224
+ # SupportedStylesForLeadingUnderscores: disallowed, required, optional
225
+ Naming/MemoizedInstanceVariableName:
226
+ Exclude:
227
+ - 'lib/random-words.rb'
228
+
229
+ # Offense count: 1
230
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
231
+ # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
232
+ Naming/MethodParameterName:
233
+ Exclude:
234
+ - 'lib/random-words/lorem-markdown.rb'
235
+
236
+ # Offense count: 2
237
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
238
+ # SupportedStyles: snake_case, normalcase, non_integer
239
+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
240
+ Naming/VariableNumber:
241
+ Exclude:
242
+ - 'bin/randw'
243
+
244
+ # Offense count: 4
245
+ # This cop supports unsafe autocorrection (--autocorrect-all).
246
+ Security/IoMethods:
247
+ Exclude:
248
+ - 'Rakefile'
249
+ - 'lib/random-words/source.rb'
250
+
251
+ # Offense count: 1
252
+ # Configuration parameters: AllowedConstants.
253
+ Style/Documentation:
254
+ Exclude:
255
+ - 'spec/**/*'
256
+ - 'test/**/*'
257
+ - 'lib/random-words/string.rb'
258
+ - 'bin/randw'
259
+
260
+ # Offense count: 3
261
+ # This cop supports unsafe autocorrection (--autocorrect-all).
262
+ # Configuration parameters: EnforcedStyle.
263
+ # SupportedStyles: always, always_true, never
264
+ Style/FrozenStringLiteralComment:
265
+ Exclude:
266
+ - '**/*.arb'
267
+ - '.irbrc'
268
+ - 'Rakefile'
269
+ - 'lib/random-words/version.rb'
270
+
271
+ # Offense count: 3
272
+ # This cop supports unsafe autocorrection (--autocorrect-all).
273
+ # Configuration parameters: AllowedReceivers.
274
+ # AllowedReceivers: Thread.current
275
+ Style/HashEachMethods:
276
+ Exclude:
277
+ - 'bin/randw'
278
+ - 'lib/random-words/string.rb'
279
+
280
+ # Offense count: 2
281
+ Style/MultilineBlockChain:
282
+ Exclude:
283
+ - 'lib/random-words/html2markdown.rb'
284
+
285
+ # Offense count: 1
286
+ # This cop supports unsafe autocorrection (--autocorrect-all).
287
+ # Configuration parameters: EnforcedStyle.
288
+ # SupportedStyles: literals, strict
289
+ Style/MutableConstant:
290
+ Exclude:
291
+ - 'lib/random-words/version.rb'
292
+
293
+ # Offense count: 1
294
+ # This cop supports unsafe autocorrection (--autocorrect-all).
295
+ # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
296
+ # SupportedStyles: predicate, comparison
297
+ Style/NumericPredicate:
298
+ Exclude:
299
+ - 'spec/**/*'
300
+ - 'lib/random-words/generator.rb'
301
+
302
+ # Offense count: 1
303
+ Style/OptionalArguments:
304
+ Exclude:
305
+ - 'lib/random-words/number-to-word.rb'
306
+
307
+ # Offense count: 2
308
+ # Configuration parameters: AllowedMethods.
309
+ # AllowedMethods: respond_to_missing?
310
+ Style/OptionalBooleanParameter:
311
+ Exclude:
312
+ - 'lib/random-words.rb'
313
+ - 'lib/random-words/lorem-markdown.rb'
314
+
315
+ # Offense count: 4
316
+ # This cop supports unsafe autocorrection (--autocorrect-all).
317
+ # Configuration parameters: Methods.
318
+ Style/RedundantArgument:
319
+ Exclude:
320
+ - 'lib/random-words/lorem-markdown.rb'
321
+ - 'lib/random-words/source.rb'
322
+ - 'lib/random-words/string.rb'
323
+
324
+ # Offense count: 3
325
+ # This cop supports unsafe autocorrection (--autocorrect-all).
326
+ Style/RedundantInterpolation:
327
+ Exclude:
328
+ - 'bin/randw'
329
+ - 'lib/random-words/string.rb'
330
+
331
+ # Offense count: 3
332
+ # This cop supports unsafe autocorrection (--autocorrect-all).
333
+ Style/SlicingWithRange:
334
+ Exclude:
335
+ - 'lib/random-words/html2markdown.rb'
336
+ - 'lib/random-words/table-cleanup.rb'
337
+
338
+ # Offense count: 3
339
+ # This cop supports unsafe autocorrection (--autocorrect-all).
340
+ Style/StringChars:
341
+ Exclude:
342
+ - 'lib/random-words/string.rb'
343
+
344
+ # Offense count: 10
345
+ # This cop supports unsafe autocorrection (--autocorrect-all).
346
+ # Configuration parameters: Mode.
347
+ Style/StringConcatenation:
348
+ Exclude:
349
+ - 'lib/random-words/html2markdown.rb'
350
+ - 'lib/random-words/number-to-word.rb'
351
+
352
+ # Offense count: 111
353
+ # This cop supports safe autocorrection (--autocorrect).
354
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
355
+ # SupportedStyles: single_quotes, double_quotes
356
+ Style/StringLiterals:
357
+ Exclude:
358
+ - 'Gemfile'
359
+ - 'bin/randw'
360
+
361
+ # Offense count: 5
362
+ # This cop supports safe autocorrection (--autocorrect).
363
+ # Configuration parameters: EnforcedStyle.
364
+ # SupportedStyles: single_quotes, double_quotes
365
+ Style/StringLiteralsInInterpolation:
366
+ Exclude:
367
+ - 'bin/randw'
368
+
369
+ # Offense count: 1
370
+ # This cop supports unsafe autocorrection (--autocorrect-all).
371
+ # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
372
+ # AllowedMethods: define_method
373
+ Style/SymbolProc:
374
+ Exclude:
375
+ - 'lib/random-words/string.rb'
376
+
377
+ # Offense count: 7
378
+ # This cop supports safe autocorrection (--autocorrect).
379
+ # Configuration parameters: EnforcedStyleForMultiline.
380
+ # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
381
+ Style/TrailingCommaInHashLiteral:
382
+ Exclude:
383
+ - '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,23 @@
1
+ ### 1.0.12
2
+
3
+ 2025-04-25 07:23
4
+
5
+ #### NEW
6
+
7
+ - Add footnote option
8
+ - Add image option
9
+ - Add horizontal rule option
10
+ - Complete HTML output
11
+ - Specify CSS with style:filename.css
12
+
13
+ #### IMPROVED
14
+
15
+ - More test coverage
16
+
17
+ #### FIXED
18
+
19
+ - Markdown output missing link definitions
20
+
1
21
  ### 1.0.11
2
22
 
3
23
  2025-04-22 07:11