faker 2.11.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/README.md +8 -2
- data/lib/faker.rb +14 -9
- data/lib/faker/default/address.rb +1 -1
- data/lib/faker/default/bank.rb +79 -0
- data/lib/faker/default/blood.rb +48 -0
- data/lib/faker/default/business.rb +1 -1
- data/lib/faker/default/commerce.rb +73 -10
- data/lib/faker/default/company.rb +39 -0
- data/lib/faker/default/compass.rb +135 -0
- data/lib/faker/default/computer.rb +63 -0
- data/lib/faker/default/construction.rb +54 -0
- data/lib/faker/default/cosmere.rb +90 -0
- data/lib/faker/default/crypto_coin.rb +45 -0
- data/lib/faker/default/driving_licence.rb +42 -0
- data/lib/faker/default/file.rb +49 -0
- data/lib/faker/default/finance.rb +24 -0
- data/lib/faker/default/hipster.rb +94 -0
- data/lib/faker/default/invoice.rb +32 -5
- data/lib/faker/default/json.rb +55 -0
- data/lib/faker/default/measurement.rb +90 -0
- data/lib/faker/default/name.rb +83 -0
- data/lib/faker/default/phone_number.rb +88 -5
- data/lib/faker/default/placeholdit.rb +21 -0
- data/lib/faker/default/slack_emoji.rb +81 -0
- data/lib/faker/default/south_africa.rb +90 -0
- data/lib/faker/default/string.rb +19 -3
- data/lib/faker/default/stripe.rb +61 -0
- data/lib/faker/default/twitter.rb +35 -0
- data/lib/faker/default/types.rb +80 -0
- data/lib/faker/default/university.rb +45 -0
- data/lib/faker/default/vehicle.rb +184 -4
- data/lib/faker/default/verb.rb +45 -0
- data/lib/faker/games/control.rb +113 -0
- data/lib/faker/games/dnd.rb +61 -0
- data/lib/faker/games/warhammer_fantasy.rb +74 -0
- data/lib/faker/movies/departed.rb +49 -0
- data/lib/faker/music/pearl_jam.rb +50 -0
- data/lib/faker/music/phish.rb +27 -1
- data/lib/faker/music/show.rb +49 -0
- data/lib/faker/quotes/quote.rb +54 -1
- data/lib/faker/quotes/shakespeare.rb +36 -0
- data/lib/faker/tv_shows/suits.rb +37 -0
- data/lib/faker/version.rb +1 -1
- data/lib/helpers/char.rb +2 -1
- data/lib/locales/de-CH.yml +1693 -0
- data/lib/locales/en-AU.yml +44 -10
- data/lib/locales/en-CA.yml +2 -0
- data/lib/locales/en-US.yml +29 -3
- data/lib/locales/en/address.yml +2 -0
- data/lib/locales/en/blood.yml +13 -0
- data/lib/locales/en/computer.yml +36 -0
- data/lib/locales/en/control.yml +247 -0
- data/lib/locales/en/departed.yml +50 -0
- data/lib/locales/en/dnd.yml +54 -0
- data/lib/locales/en/heroes_of_the_storm.yml +1 -1
- data/lib/locales/en/house.yml +1 -1
- data/lib/locales/en/one_piece.yml +2 -2
- data/lib/locales/en/pearl_jam.yml +213 -0
- data/lib/locales/en/phish.yml +392 -1
- data/lib/locales/en/show.yml +597 -0
- data/lib/locales/en/star_wars.yml +568 -221
- data/lib/locales/en/suits.yml +45 -0
- data/lib/locales/en/warhammer_fantasy.yml +582 -0
- data/lib/locales/fr-CA.yml +2 -0
- data/lib/locales/ko.yml +82 -0
- data/lib/locales/pt-BR.yml +1 -0
- metadata +29 -11
data/lib/locales/fr-CA.yml
CHANGED
@@ -19,6 +19,8 @@ fr-CA:
|
|
19
19
|
domain_suffix: [ca, com, biz, info, name, net, org]
|
20
20
|
|
21
21
|
phone_number:
|
22
|
+
subscriber_number: ['####']
|
23
|
+
extension: ['####']
|
22
24
|
area_code: ["204", "226", "236", "249", "250", "289", "306", "343", "365", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "579", "581", "587", "604", "613", "639", "647", "705", "709", "778", "780", "807", "819", "867", "873", "902", "905"]
|
23
25
|
exchange_code: ["201", "202", "203", "205", "206", "207", "208", "209", "210", "212", "213", "214", "215", "216", "217", "218", "219", "224", "225", "227", "228", "229", "231", "234", "239", "240", "248", "251", "252", "253", "254", "256", "260", "262", "267", "269", "270", "276", "281", "283", "301", "302", "303", "304", "305", "307", "308", "309", "310", "312", "313", "314", "315", "316", "317", "318", "319", "320", "321", "323", "330", "331", "334", "336", "337", "339", "347", "351", "352", "360", "361", "386", "401", "402", "404", "405", "406", "407", "408", "409", "410", "412", "413", "414", "415", "417", "419", "423", "424", "425", "434", "435", "440", "443", "445", "464", "469", "470", "475", "478", "479", "480", "484", "501", "502", "503", "504", "505", "507", "508", "509", "510", "512", "513", "515", "516", "517", "518", "520", "530", "540", "541", "551", "557", "559", "561", "562", "563", "564", "567", "570", "571", "573", "574", "580", "585", "586", "601", "602", "603", "605", "606", "607", "608", "609", "610", "612", "614", "615", "616", "617", "618", "619", "620", "623", "626", "630", "631", "636", "641", "646", "650", "651", "660", "661", "662", "667", "678", "682", "701", "702", "703", "704", "706", "707", "708", "712", "713", "714", "715", "716", "717", "718", "719", "720", "724", "727", "731", "732", "734", "737", "740", "754", "757", "760", "763", "765", "770", "772", "773", "774", "775", "781", "785", "786", "801", "802", "803", "804", "805", "806", "808", "810", "812", "813", "814", "815", "816", "817", "818", "828", "830", "831", "832", "835", "843", "845", "847", "848", "850", "856", "857", "858", "859", "860", "862", "863", "864", "865", "870", "872", "878", "901", "903", "904", "906", "907", "908", "909", "910", "912", "913", "914", "915", "916", "917", "918", "919", "920", "925", "928", "931", "936", "937", "940", "941", "947", "949", "952", "954", "956", "959", "970", "971", "972", "973", "975", "978", "979", "980", "984", "985", "989"]
|
24
26
|
formats:
|
data/lib/locales/ko.yml
CHANGED
@@ -38,3 +38,85 @@ ko:
|
|
38
38
|
- "#{last_name} #{first_name}"
|
39
39
|
name_with_middle:
|
40
40
|
- "#{first_name} #{last_name} #{last_name}"
|
41
|
+
|
42
|
+
commerce:
|
43
|
+
department:
|
44
|
+
- 의류
|
45
|
+
product_name:
|
46
|
+
adjective:
|
47
|
+
- 핏좋은
|
48
|
+
- 섹시한
|
49
|
+
- 부드러운
|
50
|
+
- 깔끔한
|
51
|
+
- 트렌디한
|
52
|
+
- 편안한
|
53
|
+
- 댄디한
|
54
|
+
- 포근한
|
55
|
+
- 소박한
|
56
|
+
- 화려한
|
57
|
+
- 멋진
|
58
|
+
- 환상적인
|
59
|
+
- 실용적인
|
60
|
+
- 산뜻한
|
61
|
+
- 무난한
|
62
|
+
- 평범한
|
63
|
+
- 가벼운
|
64
|
+
- 튼튼한
|
65
|
+
material:
|
66
|
+
- 울
|
67
|
+
- 기모
|
68
|
+
- 강철
|
69
|
+
- 목재
|
70
|
+
- 면
|
71
|
+
- 고무
|
72
|
+
- 가죽
|
73
|
+
- 린넨
|
74
|
+
- 실크
|
75
|
+
- 대리석
|
76
|
+
- 청동
|
77
|
+
- 구리
|
78
|
+
- 알루미늄
|
79
|
+
- 종이
|
80
|
+
- 양털
|
81
|
+
- 캐시미어
|
82
|
+
- 데님
|
83
|
+
product:
|
84
|
+
- 치마
|
85
|
+
- 셔츠
|
86
|
+
- 티셔츠
|
87
|
+
- 바지
|
88
|
+
- 슬랙스
|
89
|
+
- 자켓
|
90
|
+
- 니트
|
91
|
+
- 가디건
|
92
|
+
- 블라우스
|
93
|
+
- 원피스
|
94
|
+
- 구두
|
95
|
+
- 바람막이
|
96
|
+
- 맨투맨
|
97
|
+
- 패딩
|
98
|
+
promotion_code:
|
99
|
+
adjective:
|
100
|
+
- 단독
|
101
|
+
- 봄맞이
|
102
|
+
- 봄
|
103
|
+
- 여름
|
104
|
+
- 가을
|
105
|
+
- 겨울
|
106
|
+
- 새해
|
107
|
+
- 설
|
108
|
+
- 특별
|
109
|
+
- 가을맞이
|
110
|
+
- 신년맞이
|
111
|
+
- 연말
|
112
|
+
- 브랜드
|
113
|
+
- 신학기
|
114
|
+
- 봄준비
|
115
|
+
noun:
|
116
|
+
- 기획전
|
117
|
+
- 세일
|
118
|
+
- 할인
|
119
|
+
- 기획
|
120
|
+
- 특가
|
121
|
+
- 시즌오프
|
122
|
+
- 이벤트
|
data/lib/locales/pt-BR.yml
CHANGED
@@ -654,6 +654,7 @@ pt-BR:
|
|
654
654
|
sport: ['handebol', 'basquete', 'futebol', 'UFC', 'volêi', 'tênis']
|
655
655
|
|
656
656
|
phone_number:
|
657
|
+
subscriber_number: ['####']
|
657
658
|
area_code: ["11", "12", "13", "14", "15", "16", "17", "18", "19", "21", "22", "24", "27", "28", "31", "32", "33", "34", "35", "37", "38", "41", "42", "43", "44", "45", "46", "47", "48", "49", "51", "53", "54", "55", "61", "62", "63", "64", "65", "66", "67", "68", "69", "71", "73", "74", "75", "77", "79", "81", "82", "83", "84", "85", "86", "87", "88", "89", "91", "92", "93", "94", "95", "96", "97", "98", "99"]
|
658
659
|
formats:
|
659
660
|
- "(#{PhoneNumber.area_code}) #{PhoneNumber.subscriber_number}-#{PhoneNumber.subscriber_number}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Curtis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -37,28 +37,28 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.14.
|
40
|
+
version: 5.14.1
|
41
41
|
type: :development
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 5.14.
|
47
|
+
version: 5.14.1
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: pry
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.13.
|
54
|
+
version: 0.13.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.13.
|
61
|
+
version: 0.13.1
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.81.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.81.0
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: simplecov
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +135,14 @@ dependencies:
|
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.9.
|
138
|
+
version: 0.9.25
|
139
139
|
type: :development
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.9.
|
145
|
+
version: 0.9.25
|
146
146
|
description: 'Faker, a port of Data::Faker from Perl, is used to easily generate fake
|
147
147
|
data: names, addresses, phone numbers, etc.'
|
148
148
|
email:
|
@@ -180,6 +180,7 @@ files:
|
|
180
180
|
- lib/faker/default/avatar.rb
|
181
181
|
- lib/faker/default/bank.rb
|
182
182
|
- lib/faker/default/beer.rb
|
183
|
+
- lib/faker/default/blood.rb
|
183
184
|
- lib/faker/default/boolean.rb
|
184
185
|
- lib/faker/default/bossa_nova.rb
|
185
186
|
- lib/faker/default/business.rb
|
@@ -193,6 +194,7 @@ files:
|
|
193
194
|
- lib/faker/default/commerce.rb
|
194
195
|
- lib/faker/default/company.rb
|
195
196
|
- lib/faker/default/compass.rb
|
197
|
+
- lib/faker/default/computer.rb
|
196
198
|
- lib/faker/default/construction.rb
|
197
199
|
- lib/faker/default/cosmere.rb
|
198
200
|
- lib/faker/default/crypto.rb
|
@@ -259,6 +261,8 @@ files:
|
|
259
261
|
- lib/faker/default/vehicle.rb
|
260
262
|
- lib/faker/default/verb.rb
|
261
263
|
- lib/faker/default/world_cup.rb
|
264
|
+
- lib/faker/games/control.rb
|
265
|
+
- lib/faker/games/dnd.rb
|
262
266
|
- lib/faker/games/dota.rb
|
263
267
|
- lib/faker/games/elder_scrolls.rb
|
264
268
|
- lib/faker/games/fallout.rb
|
@@ -272,6 +276,7 @@ files:
|
|
272
276
|
- lib/faker/games/pokemon.rb
|
273
277
|
- lib/faker/games/sonic_the_hedgehog.rb
|
274
278
|
- lib/faker/games/super_smash_bros.rb
|
279
|
+
- lib/faker/games/warhammer_fantasy.rb
|
275
280
|
- lib/faker/games/witcher.rb
|
276
281
|
- lib/faker/games/world_of_warcraft.rb
|
277
282
|
- lib/faker/games/zelda.rb
|
@@ -279,6 +284,7 @@ files:
|
|
279
284
|
- lib/faker/japanese_media/one_piece.rb
|
280
285
|
- lib/faker/japanese_media/sword_art_online.rb
|
281
286
|
- lib/faker/movies/back_to_the_future.rb
|
287
|
+
- lib/faker/movies/departed.rb
|
282
288
|
- lib/faker/movies/ghostbusters.rb
|
283
289
|
- lib/faker/movies/harry_potter.rb
|
284
290
|
- lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb
|
@@ -292,8 +298,10 @@ files:
|
|
292
298
|
- lib/faker/music/grateful_dead.rb
|
293
299
|
- lib/faker/music/music.rb
|
294
300
|
- lib/faker/music/opera.rb
|
301
|
+
- lib/faker/music/pearl_jam.rb
|
295
302
|
- lib/faker/music/phish.rb
|
296
303
|
- lib/faker/music/rock_band.rb
|
304
|
+
- lib/faker/music/show.rb
|
297
305
|
- lib/faker/music/umphreys_mcgee.rb
|
298
306
|
- lib/faker/quotes/chiquito.rb
|
299
307
|
- lib/faker/quotes/quote.rb
|
@@ -325,6 +333,7 @@ files:
|
|
325
333
|
- lib/faker/tv_shows/star_trek.rb
|
326
334
|
- lib/faker/tv_shows/stargate.rb
|
327
335
|
- lib/faker/tv_shows/stranger_things.rb
|
336
|
+
- lib/faker/tv_shows/suits.rb
|
328
337
|
- lib/faker/tv_shows/the_expanse.rb
|
329
338
|
- lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb
|
330
339
|
- lib/faker/tv_shows/the_it_crowd.rb
|
@@ -374,6 +383,7 @@ files:
|
|
374
383
|
- lib/locales/en/bank.yml
|
375
384
|
- lib/locales/en/basketball.yml
|
376
385
|
- lib/locales/en/beer.yml
|
386
|
+
- lib/locales/en/blood.yml
|
377
387
|
- lib/locales/en/bojack_horseman.yml
|
378
388
|
- lib/locales/en/book.yml
|
379
389
|
- lib/locales/en/bossa_nova.yml
|
@@ -392,15 +402,19 @@ files:
|
|
392
402
|
- lib/locales/en/community.yml
|
393
403
|
- lib/locales/en/company.yml
|
394
404
|
- lib/locales/en/compass.yml
|
405
|
+
- lib/locales/en/computer.yml
|
395
406
|
- lib/locales/en/construction.yml
|
407
|
+
- lib/locales/en/control.yml
|
396
408
|
- lib/locales/en/cosmere.yml
|
397
409
|
- lib/locales/en/crypto_coin.yml
|
398
410
|
- lib/locales/en/culture_series.yml
|
399
411
|
- lib/locales/en/currency.yml
|
400
412
|
- lib/locales/en/dc_comics.yml
|
401
413
|
- lib/locales/en/demographic.yml
|
414
|
+
- lib/locales/en/departed.yml
|
402
415
|
- lib/locales/en/dessert.yml
|
403
416
|
- lib/locales/en/device.yml
|
417
|
+
- lib/locales/en/dnd.yml
|
404
418
|
- lib/locales/en/dog.yml
|
405
419
|
- lib/locales/en/dota.yml
|
406
420
|
- lib/locales/en/dr_who.yml
|
@@ -465,6 +479,7 @@ files:
|
|
465
479
|
- lib/locales/en/opera.yml
|
466
480
|
- lib/locales/en/overwatch.yml
|
467
481
|
- lib/locales/en/parks_and_rec.yml
|
482
|
+
- lib/locales/en/pearl_jam.yml
|
468
483
|
- lib/locales/en/phish.yml
|
469
484
|
- lib/locales/en/phone_number.yml
|
470
485
|
- lib/locales/en/pokemon.yml
|
@@ -480,6 +495,7 @@ files:
|
|
480
495
|
- lib/locales/en/science.yml
|
481
496
|
- lib/locales/en/seinfeld.yml
|
482
497
|
- lib/locales/en/shakespeare.yml
|
498
|
+
- lib/locales/en/show.yml
|
483
499
|
- lib/locales/en/silicon_valley.yml
|
484
500
|
- lib/locales/en/simpsons.yml
|
485
501
|
- lib/locales/en/slack_emoji.yml
|
@@ -493,6 +509,7 @@ files:
|
|
493
509
|
- lib/locales/en/stranger_thing.yml
|
494
510
|
- lib/locales/en/stripe.yml
|
495
511
|
- lib/locales/en/subscription.yml
|
512
|
+
- lib/locales/en/suits.yml
|
496
513
|
- lib/locales/en/super_smash_bros.yml
|
497
514
|
- lib/locales/en/superhero.yml
|
498
515
|
- lib/locales/en/sword_art_online.yml
|
@@ -507,6 +524,7 @@ files:
|
|
507
524
|
- lib/locales/en/vehicle.yml
|
508
525
|
- lib/locales/en/venture_bros.yml
|
509
526
|
- lib/locales/en/verbs.yml
|
527
|
+
- lib/locales/en/warhammer_fantasy.yml
|
510
528
|
- lib/locales/en/witcher.yml
|
511
529
|
- lib/locales/en/world_cup.yml
|
512
530
|
- lib/locales/en/world_of_warcraft.yml
|
@@ -565,7 +583,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
565
583
|
- !ruby/object:Gem::Version
|
566
584
|
version: '0'
|
567
585
|
requirements: []
|
568
|
-
rubygems_version: 3.
|
586
|
+
rubygems_version: 3.1.2
|
569
587
|
signing_key:
|
570
588
|
specification_version: 4
|
571
589
|
summary: Easily generate fake data
|