faker 2.20.0 → 3.0.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 +184 -7
- data/History.md +1 -1
- data/README.md +15 -11
- data/lib/faker/blockchain/aeternity.rb +1 -1
- data/lib/faker/blockchain/ethereum.rb +1 -1
- data/lib/faker/blockchain/tezos.rb +1 -1
- data/lib/faker/books/dune.rb +2 -10
- data/lib/faker/books/lovecraft.rb +7 -38
- data/lib/faker/default/address.rb +5 -25
- data/lib/faker/default/{faker_adjective.rb → adjective.rb} +0 -0
- data/lib/faker/default/alphanumeric.rb +2 -8
- data/lib/faker/default/app.rb +1 -10
- data/lib/faker/default/avatar.rb +1 -12
- data/lib/faker/default/bank.rb +9 -17
- data/lib/faker/default/boolean.rb +1 -4
- data/lib/faker/default/chile_rut.rb +8 -14
- data/lib/faker/default/code.rb +10 -23
- data/lib/faker/default/color.rb +77 -6
- data/lib/faker/default/commerce.rb +3 -17
- data/lib/faker/default/company.rb +6 -14
- data/lib/faker/default/crypto_coin.rb +3 -15
- data/lib/faker/default/date.rb +5 -38
- data/lib/faker/default/demographic.rb +1 -5
- data/lib/faker/default/driving_licence.rb +1 -11
- data/lib/faker/default/file.rb +5 -24
- data/lib/faker/default/fillmurray.rb +1 -10
- data/lib/faker/default/finance.rb +17 -7
- data/lib/faker/default/hipster.rb +6 -45
- data/lib/faker/default/id_number.rb +108 -11
- data/lib/faker/default/internet.rb +34 -71
- data/lib/faker/default/invoice.rb +3 -16
- data/lib/faker/default/json.rb +2 -20
- data/lib/faker/default/lorem.rb +9 -66
- data/lib/faker/default/lorem_flickr.rb +4 -32
- data/lib/faker/default/lorem_pixel.rb +4 -10
- data/lib/faker/default/markdown.rb +6 -11
- data/lib/faker/default/measurement.rb +8 -40
- data/lib/faker/default/name.rb +1 -5
- data/lib/faker/default/nhs.rb +2 -6
- data/lib/faker/default/number.rb +10 -55
- data/lib/faker/default/omniauth.rb +5 -39
- data/lib/faker/default/phone_number.rb +1 -5
- data/lib/faker/default/placeholdit.rb +1 -12
- data/lib/faker/default/relationship.rb +1 -5
- data/lib/faker/default/source.rb +3 -16
- data/lib/faker/default/string.rb +1 -5
- data/lib/faker/default/stripe.rb +4 -20
- data/lib/faker/default/time.rb +4 -32
- data/lib/faker/default/twitter.rb +3 -17
- data/lib/faker/default/types.rb +5 -27
- data/lib/faker/default/vehicle.rb +21 -21
- data/lib/faker/default/vulnerability_identifier.rb +23 -0
- data/lib/faker/default/world_cup.rb +2 -11
- data/lib/faker/games/dota.rb +1 -5
- data/lib/faker/games/tarkov.rb +205 -0
- data/lib/faker/japanese_media/kamen_rider.rb +2 -2
- data/lib/faker/japanese_media/one_piece.rb +1 -1
- data/lib/faker/movies/hackers.rb +48 -0
- data/lib/faker/movies/star_wars.rb +1 -5
- data/lib/faker/movies/tron.rb +161 -0
- data/lib/faker/sports/mountaineering.rb +22 -0
- data/lib/faker/sports/sport.rb +110 -0
- data/lib/faker/version.rb +1 -1
- data/lib/faker.rb +15 -63
- data/lib/helpers/base58.rb +1 -1
- data/lib/helpers/unique_generator.rb +13 -11
- data/lib/locales/en/australia.yml +3 -4
- data/lib/locales/en/computer.yml +23 -4
- data/lib/locales/en/dota.yml +113 -0
- data/lib/locales/en/file.yml +9 -1
- data/lib/locales/en/finance.yml +3 -1
- data/lib/locales/en/game.yml +0 -1
- data/lib/locales/en/hackers.yml +53 -0
- data/lib/locales/en/heroes.yml +2 -2
- data/lib/locales/en/internet.yml +29 -0
- data/lib/locales/en/mountaineering.yml +14 -0
- data/lib/locales/en/movie.yml +2 -1
- data/lib/locales/en/naruto.yml +2 -3
- data/lib/locales/en/one_piece.yml +1 -1
- data/lib/locales/en/opera.yml +1 -1
- data/lib/locales/en/overwatch.yml +5 -7
- data/lib/locales/en/source.yml +5 -0
- data/lib/locales/en/sport.yml +130 -0
- data/lib/locales/en/tarkov.yml +593 -0
- data/lib/locales/en/tron.yml +227 -0
- data/lib/locales/en/vehicle.yml +2809 -75
- data/lib/locales/en-AU.yml +1 -1
- data/lib/locales/en-CA.yml +1 -0
- data/lib/locales/es-AR.yml +2 -2
- data/lib/locales/fi-FI.yml +2 -1
- data/lib/locales/fr/adjective.yml +266 -0
- data/lib/locales/fr/ancient.yml +141 -0
- data/lib/locales/hy.yml +1 -1
- data/lib/locales/ja/adjective.yml +148 -0
- data/lib/locales/ja/dog.yml +1 -0
- data/lib/locales/ja/emotion.yml +51 -0
- data/lib/locales/ja/naruto.yml +230 -0
- data/lib/locales/ja/relationship.yml +10 -0
- data/lib/locales/pl.yml +1 -1
- data/lib/locales/th.yml +76 -76
- metadata +65 -25
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:
|
4
|
+
version: 3.0.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: 2022-
|
12
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.
|
40
|
+
version: 5.16.3
|
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.
|
47
|
+
version: 5.16.3
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: pry
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,62 +79,84 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.37.1
|
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.
|
89
|
+
version: 1.37.1
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
91
|
+
name: rubocop-minitest
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
97
|
-
|
96
|
+
version: 0.23.0
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.23.0
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rubocop-rake
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
98
109
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
110
|
+
version: 0.6.0
|
100
111
|
type: :development
|
101
112
|
prerelease: false
|
102
113
|
version_requirements: !ruby/object:Gem::Requirement
|
103
114
|
requirements:
|
104
115
|
- - '='
|
105
116
|
- !ruby/object:Gem::Version
|
106
|
-
version: 0.
|
107
|
-
|
117
|
+
version: 0.6.0
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: simplecov
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.21'
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
108
130
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
131
|
+
version: '0.21'
|
110
132
|
- !ruby/object:Gem::Dependency
|
111
133
|
name: test-unit
|
112
134
|
requirement: !ruby/object:Gem::Requirement
|
113
135
|
requirements:
|
114
136
|
- - '='
|
115
137
|
- !ruby/object:Gem::Version
|
116
|
-
version: 3.5.
|
138
|
+
version: 3.5.5
|
117
139
|
type: :development
|
118
140
|
prerelease: false
|
119
141
|
version_requirements: !ruby/object:Gem::Requirement
|
120
142
|
requirements:
|
121
143
|
- - '='
|
122
144
|
- !ruby/object:Gem::Version
|
123
|
-
version: 3.5.
|
145
|
+
version: 3.5.5
|
124
146
|
- !ruby/object:Gem::Dependency
|
125
147
|
name: timecop
|
126
148
|
requirement: !ruby/object:Gem::Requirement
|
127
149
|
requirements:
|
128
150
|
- - '='
|
129
151
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.9.
|
152
|
+
version: 0.9.5
|
131
153
|
type: :development
|
132
154
|
prerelease: false
|
133
155
|
version_requirements: !ruby/object:Gem::Requirement
|
134
156
|
requirements:
|
135
157
|
- - '='
|
136
158
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.9.
|
159
|
+
version: 0.9.5
|
138
160
|
- !ruby/object:Gem::Dependency
|
139
161
|
name: yard
|
140
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,6 +202,7 @@ files:
|
|
180
202
|
- lib/faker/creature/dog.rb
|
181
203
|
- lib/faker/creature/horse.rb
|
182
204
|
- lib/faker/default/address.rb
|
205
|
+
- lib/faker/default/adjective.rb
|
183
206
|
- lib/faker/default/alphanumeric.rb
|
184
207
|
- lib/faker/default/ancient.rb
|
185
208
|
- lib/faker/default/app.rb
|
@@ -221,7 +244,6 @@ files:
|
|
221
244
|
- lib/faker/default/electrical_components.rb
|
222
245
|
- lib/faker/default/emotion.rb
|
223
246
|
- lib/faker/default/esport.rb
|
224
|
-
- lib/faker/default/faker_adjective.rb
|
225
247
|
- lib/faker/default/file.rb
|
226
248
|
- lib/faker/default/fillmurray.rb
|
227
249
|
- lib/faker/default/finance.rb
|
@@ -278,6 +300,7 @@ files:
|
|
278
300
|
- lib/faker/default/university.rb
|
279
301
|
- lib/faker/default/vehicle.rb
|
280
302
|
- lib/faker/default/verb.rb
|
303
|
+
- lib/faker/default/vulnerability_identifier.rb
|
281
304
|
- lib/faker/default/world_cup.rb
|
282
305
|
- lib/faker/fantasy/tolkien.rb
|
283
306
|
- lib/faker/games/clash_of_clans.rb
|
@@ -299,6 +322,7 @@ files:
|
|
299
322
|
- lib/faker/games/street_fighter.rb
|
300
323
|
- lib/faker/games/super_mario.rb
|
301
324
|
- lib/faker/games/super_smash_bros.rb
|
325
|
+
- lib/faker/games/tarkov.rb
|
302
326
|
- lib/faker/games/touhou.rb
|
303
327
|
- lib/faker/games/warhammer_fantasy.rb
|
304
328
|
- lib/faker/games/witcher.rb
|
@@ -317,6 +341,7 @@ files:
|
|
317
341
|
- lib/faker/movies/back_to_the_future.rb
|
318
342
|
- lib/faker/movies/departed.rb
|
319
343
|
- lib/faker/movies/ghostbusters.rb
|
344
|
+
- lib/faker/movies/hackers.rb
|
320
345
|
- lib/faker/movies/harry_potter.rb
|
321
346
|
- lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb
|
322
347
|
- lib/faker/movies/hobbit.rb
|
@@ -327,6 +352,7 @@ files:
|
|
327
352
|
- lib/faker/movies/princess_bride.rb
|
328
353
|
- lib/faker/movies/room.rb
|
329
354
|
- lib/faker/movies/star_wars.rb
|
355
|
+
- lib/faker/movies/tron.rb
|
330
356
|
- lib/faker/movies/v_for_vendetta.rb
|
331
357
|
- lib/faker/music/grateful_dead.rb
|
332
358
|
- lib/faker/music/hiphop.rb
|
@@ -346,6 +372,8 @@ files:
|
|
346
372
|
- lib/faker/religion/bible.rb
|
347
373
|
- lib/faker/sports/basketball.rb
|
348
374
|
- lib/faker/sports/football.rb
|
375
|
+
- lib/faker/sports/mountaineering.rb
|
376
|
+
- lib/faker/sports/sport.rb
|
349
377
|
- lib/faker/sports/volleyball.rb
|
350
378
|
- lib/faker/tv_shows/aqua_teen_hunger_force.rb
|
351
379
|
- lib/faker/tv_shows/big_bang_theory.rb
|
@@ -502,6 +530,7 @@ files:
|
|
502
530
|
- lib/locales/en/grateful_dead.yml
|
503
531
|
- lib/locales/en/greek_philosophers.yml
|
504
532
|
- lib/locales/en/hacker.yml
|
533
|
+
- lib/locales/en/hackers.yml
|
505
534
|
- lib/locales/en/half_life.yml
|
506
535
|
- lib/locales/en/harry_potter.yml
|
507
536
|
- lib/locales/en/heroes.yml
|
@@ -533,6 +562,7 @@ files:
|
|
533
562
|
- lib/locales/en/military.yml
|
534
563
|
- lib/locales/en/minecraft.yml
|
535
564
|
- lib/locales/en/mountain.yml
|
565
|
+
- lib/locales/en/mountaineering.yml
|
536
566
|
- lib/locales/en/movie.yml
|
537
567
|
- lib/locales/en/music.yml
|
538
568
|
- lib/locales/en/myst.yml
|
@@ -572,6 +602,7 @@ files:
|
|
572
602
|
- lib/locales/en/source.yml
|
573
603
|
- lib/locales/en/south_park.yml
|
574
604
|
- lib/locales/en/space.yml
|
605
|
+
- lib/locales/en/sport.yml
|
575
606
|
- lib/locales/en/star_trek.yml
|
576
607
|
- lib/locales/en/star_wars.yml
|
577
608
|
- lib/locales/en/stargate.yml
|
@@ -586,6 +617,7 @@ files:
|
|
586
617
|
- lib/locales/en/superhero.yml
|
587
618
|
- lib/locales/en/supernatural.yml
|
588
619
|
- lib/locales/en/sword_art_online.yml
|
620
|
+
- lib/locales/en/tarkov.yml
|
589
621
|
- lib/locales/en/tea.yml
|
590
622
|
- lib/locales/en/team.yml
|
591
623
|
- lib/locales/en/the_expanse.yml
|
@@ -595,6 +627,7 @@ files:
|
|
595
627
|
- lib/locales/en/the_thick_of_it.yml
|
596
628
|
- lib/locales/en/tolkien.yml
|
597
629
|
- lib/locales/en/touhou.yml
|
630
|
+
- lib/locales/en/tron.yml
|
598
631
|
- lib/locales/en/twin_peaks.yml
|
599
632
|
- lib/locales/en/umphreys_mcgee.yml
|
600
633
|
- lib/locales/en/university.yml
|
@@ -618,6 +651,8 @@ files:
|
|
618
651
|
- lib/locales/fr-CH.yml
|
619
652
|
- lib/locales/fr.yml
|
620
653
|
- lib/locales/fr/address.yml
|
654
|
+
- lib/locales/fr/adjective.yml
|
655
|
+
- lib/locales/fr/ancient.yml
|
621
656
|
- lib/locales/fr/animal.yml
|
622
657
|
- lib/locales/fr/appliance.yml
|
623
658
|
- lib/locales/fr/book.yml
|
@@ -638,6 +673,7 @@ files:
|
|
638
673
|
- lib/locales/it.yml
|
639
674
|
- lib/locales/ja/README.md
|
640
675
|
- lib/locales/ja/address.yml
|
676
|
+
- lib/locales/ja/adjective.yml
|
641
677
|
- lib/locales/ja/ancient.yml
|
642
678
|
- lib/locales/ja/animal.yml
|
643
679
|
- lib/locales/ja/bank.yml
|
@@ -648,13 +684,16 @@ files:
|
|
648
684
|
- lib/locales/ja/commerce.yml
|
649
685
|
- lib/locales/ja/company.yml
|
650
686
|
- lib/locales/ja/dog.yml
|
687
|
+
- lib/locales/ja/emotion.yml
|
651
688
|
- lib/locales/ja/food.yml
|
652
689
|
- lib/locales/ja/gender.yml
|
653
690
|
- lib/locales/ja/lorem.yml
|
654
691
|
- lib/locales/ja/name.yml
|
692
|
+
- lib/locales/ja/naruto.yml
|
655
693
|
- lib/locales/ja/overwatch.yml
|
656
694
|
- lib/locales/ja/phone_number.yml
|
657
695
|
- lib/locales/ja/pokemon.yml
|
696
|
+
- lib/locales/ja/relationship.yml
|
658
697
|
- lib/locales/ja/restaurant.yml
|
659
698
|
- lib/locales/ja/space.yml
|
660
699
|
- lib/locales/ja/studio_ghibli.yml
|
@@ -686,12 +725,13 @@ homepage: https://github.com/faker-ruby/faker
|
|
686
725
|
licenses:
|
687
726
|
- MIT
|
688
727
|
metadata:
|
689
|
-
changelog_uri: https://github.com/faker-ruby/faker/blob/
|
728
|
+
changelog_uri: https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md
|
690
729
|
source_code_uri: https://github.com/faker-ruby/faker
|
691
730
|
bug_tracker_uri: https://github.com/faker-ruby/faker/issues
|
692
|
-
documentation_uri: https://rubydoc.info/github/faker-ruby/faker
|
731
|
+
documentation_uri: https://rubydoc.info/github/faker-ruby/faker
|
693
732
|
yard.run: yri
|
694
|
-
|
733
|
+
rubygems_mfa_required: 'true'
|
734
|
+
post_install_message:
|
695
735
|
rdoc_options: []
|
696
736
|
require_paths:
|
697
737
|
- lib
|
@@ -699,15 +739,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
699
739
|
requirements:
|
700
740
|
- - ">="
|
701
741
|
- !ruby/object:Gem::Version
|
702
|
-
version: '2.
|
742
|
+
version: '2.7'
|
703
743
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
704
744
|
requirements:
|
705
745
|
- - ">="
|
706
746
|
- !ruby/object:Gem::Version
|
707
747
|
version: '0'
|
708
748
|
requirements: []
|
709
|
-
rubygems_version: 3.
|
710
|
-
signing_key:
|
749
|
+
rubygems_version: 3.3.18
|
750
|
+
signing_key:
|
711
751
|
specification_version: 4
|
712
752
|
summary: Easily generate fake data
|
713
753
|
test_files: []
|