-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_faker.yml
481 lines (479 loc) · 8.87 KB
/
.rubocop_faker.yml
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
require: rubocop-faker
Faker/DeprecatedArguments:
Description: 'Checks that Faker arguments style is based on Faker 2.'
Enabled: true
VersionAdded: '0.1'
Reference: 'https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md#v20-2019-31-07'
ArgumentKeywords:
#
# FakerClassName:
# method_name:
# - keyword_name_for_first_argument
# - keyword_name_for_second_argument
# - keyword_name_for_third_argument
#
Faker::Dune:
quote:
- character
saying:
- source
Faker::Books::Lovecraft:
fhtagn:
- number
sentence:
- word_count
- random_words_to_add
words:
- number
- spaces_allowed
sentences:
- number
paragraph:
- sentence_count
- random_sentences_to_add
paragraphs:
- number
paragraph_by_chars:
- characters
Faker::Address:
city:
- options
street_address:
- include_secondary
zip_code:
- state_abbreviation
country_by_code:
- code
country_name_to_code:
- name
Faker::Alphanumeric:
alpha:
- number
alphanumeric:
- number
Faker::App:
semantic_version:
- major
- minor
- patch
Faker::Avatar:
image:
- slug
- size
- format
- set
- bgset
Faker::Bank:
account_number:
- digits
iban:
- country_code
Faker::Boolean:
boolean:
- true_ratio
Faker::ChileRut:
rut:
- min_rut
- fixed
full_rut:
- min_rut
- fixed
Faker::Code:
isbn:
- base
ean:
- base
nric:
- min_age
- max_age
Faker::Commerce:
promotion_code:
- digits
department:
- max
- fixed_amount
price:
- range
- as_string
Faker::Company:
polish_register_of_national_economy:
- length
brazilian_company_number:
- formatted
Faker::CryptoCoin:
coin_name:
- coin
acronym:
- coin
url_logo:
- coin
Faker::Date:
between:
- from
- to
between_except:
- from
- to
- excepted
forward:
- days
backward:
- days
birthday:
- min_age
- max_age
Faker::Demographic:
height:
- unit
Faker::DrivingLicence:
british_driving_licence:
- last_name
- initials
- gender
- date_of_birth
Faker::File:
dir:
- segment_count
- root
- directory_separator
file_name:
- dir
- name
- ext
- directory_separator
Faker::Fillmurray:
image:
- grayscale
- width
- height
Faker::Finance:
vat_number:
- country
Faker::Hipster:
words:
- number
- supplemental
- spaces_allowed
sentence:
- word_count
- supplemental
- random_words_to_add
sentences:
- number
- supplemental
paragraph:
- sentence_count
- supplemental
- random_sentences_to_add
paragraphs:
- number
- supplemental
paragraph_by_chars:
- characters
- supplemental
Faker::IDNumber:
brazilian_citizen_number:
- formatted
brazilian_id:
- formatted
Faker::Internet:
email:
- name
- separators
free_email:
- name
safe_email:
- name
username:
- specifier
- separators
password:
- min_length
- max_length
- mix_case
- special_characters
domain_name:
- subdomain
fix_umlauts:
- string
mac_address:
- prefix
url:
- host
- path
- scheme
slug:
- words
- glue
user_agent:
- vendor
Faker::Invoice:
amount_between:
- from
- to
creditor_reference:
- ref
reference:
- ref
Faker::Json:
shallow_json:
- width
- options
add_depth_to_json:
- json
- width
- options
Faker::Lorem:
words:
- number
- supplemental
characters:
- number
sentence:
- word_count
- supplemental
- random_words_to_add
sentences:
- number
- supplemental
paragraph:
- sentence_count
- supplemental
- random_sentences_to_add
paragraphs:
- number
- supplemental
paragraph_by_chars:
- number
- supplemental
question:
- word_count
- supplemental
- random_words_to_add
questions:
- number
- supplemental
Faker::LoremFlickr:
image:
- size
- search_terms
- match_all
grayscale_image:
- size
- search_terms
- match_all
pixelated_image:
- size
- search_terms
- match_all
colorized_image:
- size
- color
- search_terms
- match_all
Faker::LoremPixel:
image:
- size
- is_gray
- category
- number
- text
- secure
Faker::Markdown:
sandwich:
- sentences
- repeat
Faker::Measurement:
height:
- amount
length:
- amount
volume:
- amount
weight:
- amount
metric_height:
- amount
metric_length:
- amount
metric_volume:
- amount
metric_weight:
- amount
Faker::Name:
initials:
- number
Faker::NationalHealthService:
check_digit:
- number
Faker::Number:
number:
- digits
leading_zero_number:
- digits
decimal_part:
- digits
decimal:
- l_digits
- r_digits
hexadecimal:
- digits
normal:
- mean
- standard_deviation
between:
- from
- to
within:
- range
positive:
- from
- to
negative:
- from
- to
Faker::Omniauth:
google:
- name
- email
- uid
facebook:
- name
- email
- username
- uid
twitter:
- name
- nickname
- uid
linkedin:
- name
- email
- uid
github:
- name
- email
- uid
Faker::PhoneNumber:
subscriber_number:
- length
Faker::Placeholdit:
image:
- size
- format
- background_color
- text_color
- text
Faker::Relationship:
familial:
- connection
Faker::Source:
hello_world:
- lang
print:
- str
- lang
print_1_to_10:
- lang
Faker::String:
random:
- length
Faker::Stripe:
valid_card:
- card_type
valid_token:
- card_type
invalid_card:
- card_error
ccv:
- card_type
Faker::Time:
between:
- from
- to
- format
between_dates:
- from
- to
- period
- format
forward:
- days
- period
- format
backward:
- days
- period
- format
Faker::Twitter:
user:
- include_status
- include_email
status:
- include_user
- include_photo
status_entities:
- include_photo
Faker::Types:
rb_string:
- words
rb_integer:
- from
- to
rb_hash:
- number
- type
complex_rb_hash:
- number
rb_array:
- len
Faker::Vehicle:
model:
- make_of_model
mileage:
- min
- max
license_plate:
- state_abbreviation
Faker::WorldCup:
group:
- group
roster:
- country
- type
Faker::Dota:
quote:
- hero
Faker::Movies::StarWars:
quote:
- character
Decidim::Faker::Localized:
words:
- number
- supplemental
characters:
- number
sentence:
- word_count
- supplemental
- random_words_to_add
sentences:
- number
- supplemental
paragraph:
- sentence_count
- supplemental
- random_sentences_to_add
paragraphs:
- number
- supplemental
paragraph_by_chars:
- number
- supplemental
question:
- word_count
- supplemental
- random_words_to_add
questions:
- number
- supplemental