faker 2.18.0 → 2.21.0

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 (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +109 -0
  3. data/README.md +16 -3
  4. data/lib/faker/books/the_kingkiller_chronicle.rb +61 -0
  5. data/lib/faker/default/commerce.rb +28 -0
  6. data/lib/faker/default/company.rb +5 -7
  7. data/lib/faker/default/emotion.rb +33 -0
  8. data/lib/faker/default/finance.rb +13 -0
  9. data/lib/faker/default/food.rb +13 -0
  10. data/lib/faker/default/hobby.rb +22 -0
  11. data/lib/faker/default/internet.rb +40 -16
  12. data/lib/faker/default/lorem.rb +0 -4
  13. data/lib/faker/default/markdown.rb +2 -2
  14. data/lib/faker/default/nation.rb +0 -3
  15. data/lib/faker/default/omniauth.rb +45 -1
  16. data/lib/faker/default/placeholdit.rb +9 -9
  17. data/lib/faker/default/religion.rb +6 -0
  18. data/lib/faker/default/science.rb +82 -0
  19. data/lib/faker/default/string.rb +0 -3
  20. data/lib/faker/default/time.rb +0 -2
  21. data/lib/faker/games/dota.rb +13 -0
  22. data/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +48 -0
  23. data/lib/faker/japanese_media/kamen_rider.rb +102 -0
  24. data/lib/faker/locations/australia.rb +47 -0
  25. data/lib/faker/movies/tron.rb +161 -0
  26. data/lib/faker/music/hiphop.rb +3 -3
  27. data/lib/faker/religion/bible.rb +50 -0
  28. data/lib/faker/tv_shows/brooklyn_nine_nine.rb +38 -0
  29. data/lib/faker/tv_shows/michael_scott.rb +0 -3
  30. data/lib/faker/tv_shows/supernatural.rb +48 -0
  31. data/lib/faker/tv_shows/the_office.rb +37 -0
  32. data/lib/faker/version.rb +2 -2
  33. data/lib/locales/ar.yml +5 -1
  34. data/lib/locales/de-AT.yml +2 -2
  35. data/lib/locales/de.yml +7 -3
  36. data/lib/locales/en/address.yml +2 -3
  37. data/lib/locales/en/animal.yml +1 -1
  38. data/lib/locales/en/australia.yml +108 -0
  39. data/lib/locales/en/bible.yml +90 -0
  40. data/lib/locales/en/brooklyn_nine_nine.yml +35 -0
  41. data/lib/locales/en/cat.yml +1 -1
  42. data/lib/locales/en/coffee.yml +1 -1
  43. data/lib/locales/en/commerce.yml +17 -0
  44. data/lib/locales/en/community.yml +17 -17
  45. data/lib/locales/en/dota.yml +7 -0
  46. data/lib/locales/en/emotion.yml +480 -0
  47. data/lib/locales/en/finance.yml +21 -0
  48. data/lib/locales/en/fma_brotherhood.yml +78 -0
  49. data/lib/locales/en/food.yml +1054 -10
  50. data/lib/locales/en/game.yml +11 -0
  51. data/lib/locales/en/hobby.yml +171 -0
  52. data/lib/locales/en/horse.yml +2 -2
  53. data/lib/locales/en/internet.yml +108 -3
  54. data/lib/locales/en/kamen_rider.yml +452 -0
  55. data/lib/locales/en/kpop.yml +7 -7
  56. data/lib/locales/en/mountain.yml +14 -1
  57. data/lib/locales/en/movie.yml +2 -1
  58. data/lib/locales/en/music.yml +142 -142
  59. data/lib/locales/en/naruto.yml +2 -3
  60. data/lib/locales/en/science.yml +126 -0
  61. data/lib/locales/en/stranger_thing.yml +1 -1
  62. data/lib/locales/en/super_smash_bros.yml +5 -2
  63. data/lib/locales/en/supernatural.yml +141 -0
  64. data/lib/locales/en/the_kingkiller_chronicle.yml +56 -0
  65. data/lib/locales/en/the_office.yml +86 -0
  66. data/lib/locales/en/touhou.yml +1 -1
  67. data/lib/locales/en/tron.yml +227 -0
  68. data/lib/locales/en-US.yml +1 -1
  69. data/lib/locales/es-AR.yml +1 -4
  70. data/lib/locales/fr/adjective.yml +266 -0
  71. data/lib/locales/fr/animal.yml +5 -0
  72. data/lib/locales/fr/appliance.yml +4 -0
  73. data/lib/locales/fr/pokemon.yml +0 -2
  74. data/lib/locales/ja/address.yml +120523 -1
  75. data/lib/locales/ja/animal.yml +5 -0
  76. data/lib/locales/ja/cat.yml +5 -0
  77. data/lib/locales/ja/color.yml +1 -1
  78. data/lib/locales/ja/{creature.yml → dog.yml} +0 -4
  79. data/lib/locales/ja/emotion.yml +51 -0
  80. data/lib/locales/ja/lorem.yml +2 -2
  81. data/lib/locales/ja/naruto.yml +230 -0
  82. data/lib/locales/ja/overwatch.yml +5 -0
  83. data/lib/locales/ja/{games.yml → pokemon.yml} +0 -11
  84. data/lib/locales/ja/relationship.yml +10 -0
  85. data/lib/locales/ja/studio_ghibli.yml +112 -0
  86. data/lib/locales/ja/super_mario.yml +9 -0
  87. data/lib/locales/ja/super_smash_bros.yml +8 -0
  88. data/lib/locales/ja/zelda.yml +5 -0
  89. data/lib/locales/lt.yml +35 -0
  90. data/lib/locales/lv.yml +1 -1
  91. data/lib/locales/mi-NZ.yml +281 -0
  92. data/lib/locales/pt-BR.yml +7 -2
  93. metadata +60 -22
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.0
4
+ version: 2.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
8
8
  - Vitor Oliveira
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-15 00:00:00.000000000 Z
12
+ date: 2022-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1.6'
20
+ version: 1.8.11
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '2'
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: '1.6'
30
+ version: 1.8.11
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2'
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 5.14.4
40
+ version: 5.15.0
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.4
47
+ version: 5.15.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: pry
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -65,28 +65,28 @@ dependencies:
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 13.0.3
68
+ version: 13.0.6
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 13.0.3
75
+ version: 13.0.6
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: rubocop
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.14.0
82
+ version: 1.26.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: 1.14.0
89
+ version: 1.26.0
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: simplecov
92
92
  requirement: !ruby/object:Gem::Requirement
@@ -113,42 +113,42 @@ dependencies:
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 3.4.1
116
+ version: 3.5.3
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 3.4.1
123
+ version: 3.5.3
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: timecop
126
126
  requirement: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 0.9.4
130
+ version: 0.9.5
131
131
  type: :development
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - '='
136
136
  - !ruby/object:Gem::Version
137
- version: 0.9.4
137
+ version: 0.9.5
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: yard
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - '='
143
143
  - !ruby/object:Gem::Version
144
- version: 0.9.26
144
+ version: 0.9.27
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 0.9.26
151
+ version: 0.9.27
152
152
  description: 'Faker, a port of Data::Faker from Perl, is used to easily generate fake
153
153
  data: names, addresses, phone numbers, etc.'
154
154
  email:
@@ -173,6 +173,7 @@ files:
173
173
  - lib/faker/books/culture_series.rb
174
174
  - lib/faker/books/dune.rb
175
175
  - lib/faker/books/lovecraft.rb
176
+ - lib/faker/books/the_kingkiller_chronicle.rb
176
177
  - lib/faker/creature/animal.rb
177
178
  - lib/faker/creature/bird.rb
178
179
  - lib/faker/creature/cat.rb
@@ -218,6 +219,7 @@ files:
218
219
  - lib/faker/default/drone.rb
219
220
  - lib/faker/default/educator.rb
220
221
  - lib/faker/default/electrical_components.rb
222
+ - lib/faker/default/emotion.rb
221
223
  - lib/faker/default/esport.rb
222
224
  - lib/faker/default/faker_adjective.rb
223
225
  - lib/faker/default/file.rb
@@ -229,6 +231,7 @@ files:
229
231
  - lib/faker/default/greek_philosophers.rb
230
232
  - lib/faker/default/hacker.rb
231
233
  - lib/faker/default/hipster.rb
234
+ - lib/faker/default/hobby.rb
232
235
  - lib/faker/default/house.rb
233
236
  - lib/faker/default/id_number.rb
234
237
  - lib/faker/default/industry_segments.rb
@@ -256,6 +259,7 @@ files:
256
259
  - lib/faker/default/placeholdit.rb
257
260
  - lib/faker/default/programming_language.rb
258
261
  - lib/faker/default/relationship.rb
262
+ - lib/faker/default/religion.rb
259
263
  - lib/faker/default/restaurant.rb
260
264
  - lib/faker/default/science.rb
261
265
  - lib/faker/default/slack_emoji.rb
@@ -303,10 +307,13 @@ files:
303
307
  - lib/faker/japanese_media/conan.rb
304
308
  - lib/faker/japanese_media/doraemon.rb
305
309
  - lib/faker/japanese_media/dragon_ball.rb
310
+ - lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb
311
+ - lib/faker/japanese_media/kamen_rider.rb
306
312
  - lib/faker/japanese_media/naruto.rb
307
313
  - lib/faker/japanese_media/one_piece.rb
308
314
  - lib/faker/japanese_media/studio_ghibli.rb
309
315
  - lib/faker/japanese_media/sword_art_online.rb
316
+ - lib/faker/locations/australia.rb
310
317
  - lib/faker/movies/back_to_the_future.rb
311
318
  - lib/faker/movies/departed.rb
312
319
  - lib/faker/movies/ghostbusters.rb
@@ -320,6 +327,7 @@ files:
320
327
  - lib/faker/movies/princess_bride.rb
321
328
  - lib/faker/movies/room.rb
322
329
  - lib/faker/movies/star_wars.rb
330
+ - lib/faker/movies/tron.rb
323
331
  - lib/faker/movies/v_for_vendetta.rb
324
332
  - lib/faker/music/grateful_dead.rb
325
333
  - lib/faker/music/hiphop.rb
@@ -336,6 +344,7 @@ files:
336
344
  - lib/faker/quotes/quote.rb
337
345
  - lib/faker/quotes/rajnikanth.rb
338
346
  - lib/faker/quotes/shakespeare.rb
347
+ - lib/faker/religion/bible.rb
339
348
  - lib/faker/sports/basketball.rb
340
349
  - lib/faker/sports/football.rb
341
350
  - lib/faker/sports/volleyball.rb
@@ -343,6 +352,7 @@ files:
343
352
  - lib/faker/tv_shows/big_bang_theory.rb
344
353
  - lib/faker/tv_shows/bojack_horseman.rb
345
354
  - lib/faker/tv_shows/breaking_bad.rb
355
+ - lib/faker/tv_shows/brooklyn_nine_nine.rb
346
356
  - lib/faker/tv_shows/buffy.rb
347
357
  - lib/faker/tv_shows/community.rb
348
358
  - lib/faker/tv_shows/dr_who.rb
@@ -367,9 +377,11 @@ files:
367
377
  - lib/faker/tv_shows/stargate.rb
368
378
  - lib/faker/tv_shows/stranger_things.rb
369
379
  - lib/faker/tv_shows/suits.rb
380
+ - lib/faker/tv_shows/supernatural.rb
370
381
  - lib/faker/tv_shows/the_expanse.rb
371
382
  - lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb
372
383
  - lib/faker/tv_shows/the_it_crowd.rb
384
+ - lib/faker/tv_shows/the_office.rb
373
385
  - lib/faker/tv_shows/the_thick_of_it.rb
374
386
  - lib/faker/tv_shows/twin_peaks.rb
375
387
  - lib/faker/tv_shows/venture_bros.rb
@@ -413,11 +425,13 @@ files:
413
425
  - lib/locales/en/appliance.yml
414
426
  - lib/locales/en/aqua_teen_hunger_force.yml
415
427
  - lib/locales/en/artist.yml
428
+ - lib/locales/en/australia.yml
416
429
  - lib/locales/en/back_to_the_future.yml
417
430
  - lib/locales/en/bank.yml
418
431
  - lib/locales/en/barcode.yml
419
432
  - lib/locales/en/basketball.yml
420
433
  - lib/locales/en/beer.yml
434
+ - lib/locales/en/bible.yml
421
435
  - lib/locales/en/big_bang_theory.yml
422
436
  - lib/locales/en/bird.yml
423
437
  - lib/locales/en/blood.yml
@@ -425,6 +439,7 @@ files:
425
439
  - lib/locales/en/book.yml
426
440
  - lib/locales/en/bossa_nova.yml
427
441
  - lib/locales/en/breaking_bad.yml
442
+ - lib/locales/en/brooklyn_nine_nine.yml
428
443
  - lib/locales/en/buffy.yml
429
444
  - lib/locales/en/business.yml
430
445
  - lib/locales/en/camera.yml
@@ -467,12 +482,14 @@ files:
467
482
  - lib/locales/en/educator.yml
468
483
  - lib/locales/en/elder_scrolls.yml
469
484
  - lib/locales/en/electrical_components.yml
485
+ - lib/locales/en/emotion.yml
470
486
  - lib/locales/en/esport.yml
471
487
  - lib/locales/en/fallout.yml
472
488
  - lib/locales/en/family_guy.yml
473
489
  - lib/locales/en/file.yml
474
490
  - lib/locales/en/final_space.yml
475
491
  - lib/locales/en/finance.yml
492
+ - lib/locales/en/fma_brotherhood.yml
476
493
  - lib/locales/en/food.yml
477
494
  - lib/locales/en/football.yml
478
495
  - lib/locales/en/fresh_prince_of_bel_air.yml
@@ -493,6 +510,7 @@ files:
493
510
  - lib/locales/en/hey_arnold.yml
494
511
  - lib/locales/en/hipster.yml
495
512
  - lib/locales/en/hitchhikers_guide_to_the_galaxy.yml
513
+ - lib/locales/en/hobby.yml
496
514
  - lib/locales/en/horse.yml
497
515
  - lib/locales/en/house.yml
498
516
  - lib/locales/en/how_i_met_your_mother.yml
@@ -503,6 +521,7 @@ files:
503
521
  - lib/locales/en/invoice.yml
504
522
  - lib/locales/en/jack_handey.yml
505
523
  - lib/locales/en/job.yml
524
+ - lib/locales/en/kamen_rider.yml
506
525
  - lib/locales/en/kpop.yml
507
526
  - lib/locales/en/league_of_legends.yml
508
527
  - lib/locales/en/lebowski.yml
@@ -566,14 +585,18 @@ files:
566
585
  - lib/locales/en/super_mario.yml
567
586
  - lib/locales/en/super_smash_bros.yml
568
587
  - lib/locales/en/superhero.yml
588
+ - lib/locales/en/supernatural.yml
569
589
  - lib/locales/en/sword_art_online.yml
570
590
  - lib/locales/en/tea.yml
571
591
  - lib/locales/en/team.yml
572
592
  - lib/locales/en/the_expanse.yml
573
593
  - lib/locales/en/the_it_crowd.yml
594
+ - lib/locales/en/the_kingkiller_chronicle.yml
595
+ - lib/locales/en/the_office.yml
574
596
  - lib/locales/en/the_thick_of_it.yml
575
597
  - lib/locales/en/tolkien.yml
576
598
  - lib/locales/en/touhou.yml
599
+ - lib/locales/en/tron.yml
577
600
  - lib/locales/en/twin_peaks.yml
578
601
  - lib/locales/en/umphreys_mcgee.yml
579
602
  - lib/locales/en/university.yml
@@ -597,6 +620,9 @@ files:
597
620
  - lib/locales/fr-CH.yml
598
621
  - lib/locales/fr.yml
599
622
  - lib/locales/fr/address.yml
623
+ - lib/locales/fr/adjective.yml
624
+ - lib/locales/fr/animal.yml
625
+ - lib/locales/fr/appliance.yml
600
626
  - lib/locales/fr/book.yml
601
627
  - lib/locales/fr/color.yml
602
628
  - lib/locales/fr/company.yml
@@ -616,25 +642,37 @@ files:
616
642
  - lib/locales/ja/README.md
617
643
  - lib/locales/ja/address.yml
618
644
  - lib/locales/ja/ancient.yml
645
+ - lib/locales/ja/animal.yml
619
646
  - lib/locales/ja/bank.yml
620
647
  - lib/locales/ja/book.yml
648
+ - lib/locales/ja/cat.yml
621
649
  - lib/locales/ja/coffee.yml
622
650
  - lib/locales/ja/color.yml
623
651
  - lib/locales/ja/commerce.yml
624
652
  - lib/locales/ja/company.yml
625
- - lib/locales/ja/creature.yml
653
+ - lib/locales/ja/dog.yml
654
+ - lib/locales/ja/emotion.yml
626
655
  - lib/locales/ja/food.yml
627
- - lib/locales/ja/games.yml
628
656
  - lib/locales/ja/gender.yml
629
657
  - lib/locales/ja/lorem.yml
630
658
  - lib/locales/ja/name.yml
659
+ - lib/locales/ja/naruto.yml
660
+ - lib/locales/ja/overwatch.yml
631
661
  - lib/locales/ja/phone_number.yml
662
+ - lib/locales/ja/pokemon.yml
663
+ - lib/locales/ja/relationship.yml
632
664
  - lib/locales/ja/restaurant.yml
633
665
  - lib/locales/ja/space.yml
666
+ - lib/locales/ja/studio_ghibli.yml
634
667
  - lib/locales/ja/subscription.yml
668
+ - lib/locales/ja/super_mario.yml
669
+ - lib/locales/ja/super_smash_bros.yml
635
670
  - lib/locales/ja/university.yml
671
+ - lib/locales/ja/zelda.yml
636
672
  - lib/locales/ko.yml
673
+ - lib/locales/lt.yml
637
674
  - lib/locales/lv.yml
675
+ - lib/locales/mi-NZ.yml
638
676
  - lib/locales/nb-NO.yml
639
677
  - lib/locales/nl.yml
640
678
  - lib/locales/no.yml
@@ -659,7 +697,7 @@ metadata:
659
697
  bug_tracker_uri: https://github.com/faker-ruby/faker/issues
660
698
  documentation_uri: https://rubydoc.info/github/faker-ruby/faker/master
661
699
  yard.run: yri
662
- post_install_message:
700
+ post_install_message:
663
701
  rdoc_options: []
664
702
  require_paths:
665
703
  - lib
@@ -674,8 +712,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
674
712
  - !ruby/object:Gem::Version
675
713
  version: '0'
676
714
  requirements: []
677
- rubygems_version: 3.1.2
678
- signing_key:
715
+ rubygems_version: 3.0.3.1
716
+ signing_key:
679
717
  specification_version: 4
680
718
  summary: Easily generate fake data
681
719
  test_files: []