faker 2.19.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +346 -7
  3. data/History.md +1 -1
  4. data/README.md +198 -104
  5. data/lib/faker/blockchain/aeternity.rb +1 -1
  6. data/lib/faker/blockchain/ethereum.rb +1 -1
  7. data/lib/faker/blockchain/tezos.rb +1 -1
  8. data/lib/faker/books/dune.rb +2 -10
  9. data/lib/faker/books/lovecraft.rb +7 -38
  10. data/lib/faker/books/the_kingkiller_chronicle.rb +61 -0
  11. data/lib/faker/default/address.rb +5 -25
  12. data/lib/faker/default/alphanumeric.rb +2 -8
  13. data/lib/faker/default/app.rb +1 -10
  14. data/lib/faker/default/avatar.rb +1 -12
  15. data/lib/faker/default/bank.rb +9 -17
  16. data/lib/faker/default/boolean.rb +1 -4
  17. data/lib/faker/default/chile_rut.rb +8 -14
  18. data/lib/faker/default/code.rb +11 -24
  19. data/lib/faker/default/color.rb +77 -6
  20. data/lib/faker/default/commerce.rb +3 -17
  21. data/lib/faker/default/company.rb +23 -20
  22. data/lib/faker/default/crypto_coin.rb +3 -15
  23. data/lib/faker/default/date.rb +5 -38
  24. data/lib/faker/default/demographic.rb +1 -5
  25. data/lib/faker/default/driving_licence.rb +1 -11
  26. data/lib/faker/default/drone.rb +1 -1
  27. data/lib/faker/default/file.rb +5 -24
  28. data/lib/faker/default/finance.rb +17 -7
  29. data/lib/faker/default/food.rb +14 -1
  30. data/lib/faker/default/hipster.rb +6 -45
  31. data/lib/faker/default/id_number.rb +108 -11
  32. data/lib/faker/default/internet.rb +168 -129
  33. data/lib/faker/default/invoice.rb +4 -17
  34. data/lib/faker/default/json.rb +2 -20
  35. data/lib/faker/default/lorem.rb +20 -76
  36. data/lib/faker/default/lorem_flickr.rb +4 -32
  37. data/lib/faker/default/markdown.rb +6 -11
  38. data/lib/faker/default/marketing.rb +1 -1
  39. data/lib/faker/default/measurement.rb +16 -48
  40. data/lib/faker/default/name.rb +1 -5
  41. data/lib/faker/default/nation.rb +0 -3
  42. data/lib/faker/default/nhs.rb +2 -6
  43. data/lib/faker/default/number.rb +10 -55
  44. data/lib/faker/default/omniauth.rb +51 -41
  45. data/lib/faker/default/phone_number.rb +2 -6
  46. data/lib/faker/default/placeholdit.rb +1 -12
  47. data/lib/faker/default/relationship.rb +1 -5
  48. data/lib/faker/default/religion.rb +6 -0
  49. data/lib/faker/default/source.rb +3 -16
  50. data/lib/faker/default/string.rb +1 -8
  51. data/lib/faker/default/stripe.rb +4 -20
  52. data/lib/faker/default/time.rb +4 -34
  53. data/lib/faker/default/twitter.rb +7 -23
  54. data/lib/faker/default/types.rb +5 -27
  55. data/lib/faker/default/vehicle.rb +29 -51
  56. data/lib/faker/default/vulnerability_identifier.rb +23 -0
  57. data/lib/faker/default/world_cup.rb +2 -11
  58. data/lib/faker/games/clash_of_clans.rb +1 -1
  59. data/lib/faker/games/dnd.rb +49 -7
  60. data/lib/faker/games/dota.rb +1 -5
  61. data/lib/faker/games/minecraft.rb +1 -1
  62. data/lib/faker/games/myst.rb +1 -1
  63. data/lib/faker/games/tarkov.rb +205 -0
  64. data/lib/faker/japanese_media/cowboy_bebop.rb +61 -0
  65. data/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +48 -0
  66. data/lib/faker/japanese_media/kamen_rider.rb +102 -0
  67. data/lib/faker/japanese_media/one_piece.rb +1 -1
  68. data/lib/faker/movies/avatar.rb +49 -0
  69. data/lib/faker/movies/hackers.rb +48 -0
  70. data/lib/faker/movies/star_wars.rb +1 -5
  71. data/lib/faker/movies/tron.rb +161 -0
  72. data/lib/faker/quotes/quote.rb +13 -0
  73. data/lib/faker/religion/bible.rb +50 -0
  74. data/lib/faker/sports/chess.rb +90 -0
  75. data/lib/faker/sports/mountaineering.rb +22 -0
  76. data/lib/faker/sports/sport.rb +116 -0
  77. data/lib/faker/travel/airport.rb +43 -0
  78. data/lib/faker/tv_shows/brooklyn_nine_nine.rb +38 -0
  79. data/lib/faker/tv_shows/michael_scott.rb +0 -3
  80. data/lib/faker/tv_shows/spongebob.rb +50 -0
  81. data/lib/faker/version.rb +1 -1
  82. data/lib/faker.rb +15 -64
  83. data/lib/helpers/base58.rb +1 -1
  84. data/lib/helpers/unique_generator.rb +13 -11
  85. data/lib/locales/ar.yml +6 -1
  86. data/lib/locales/bg.yml +1 -1
  87. data/lib/locales/da-DK.yml +1 -1
  88. data/lib/locales/de-AT.yml +3 -4
  89. data/lib/locales/de-CH.yml +1 -1
  90. data/lib/locales/de.yml +1 -1
  91. data/lib/locales/en/address.yml +2 -3
  92. data/lib/locales/en/airport.yml +381 -0
  93. data/lib/locales/en/australia.yml +3 -4
  94. data/lib/locales/en/avatar.yml +31 -0
  95. data/lib/locales/en/bible.yml +90 -0
  96. data/lib/locales/en/brooklyn_nine_nine.yml +35 -0
  97. data/lib/locales/en/cat.yml +1 -1
  98. data/lib/locales/en/chess.yml +103 -0
  99. data/lib/locales/en/coffee.yml +1 -1
  100. data/lib/locales/en/company.yml +1 -0
  101. data/lib/locales/en/computer.yml +23 -4
  102. data/lib/locales/en/cowboy_bebop.yml +163 -0
  103. data/lib/locales/en/dnd.yml +186 -1
  104. data/lib/locales/en/dota.yml +113 -0
  105. data/lib/locales/en/file.yml +9 -1
  106. data/lib/locales/en/finance.yml +3 -1
  107. data/lib/locales/en/fma_brotherhood.yml +78 -0
  108. data/lib/locales/en/food.yml +12 -0
  109. data/lib/locales/en/game.yml +11 -0
  110. data/lib/locales/en/hackers.yml +53 -0
  111. data/lib/locales/en/heroes.yml +2 -2
  112. data/lib/locales/en/internet.yml +140 -3
  113. data/lib/locales/en/kamen_rider.yml +452 -0
  114. data/lib/locales/en/mitch_hedberg.yml +46 -0
  115. data/lib/locales/en/mountain.yml +14 -1
  116. data/lib/locales/en/mountaineering.yml +14 -0
  117. data/lib/locales/en/movie.yml +2 -1
  118. data/lib/locales/en/naruto.yml +2 -3
  119. data/lib/locales/en/one_piece.yml +1 -1
  120. data/lib/locales/en/opera.yml +1 -1
  121. data/lib/locales/en/overwatch.yml +5 -7
  122. data/lib/locales/en/source.yml +5 -0
  123. data/lib/locales/en/spongebob.yml +489 -0
  124. data/lib/locales/en/sport.yml +130 -0
  125. data/lib/locales/en/star_wars.yml +1 -1
  126. data/lib/locales/en/stranger_thing.yml +1 -1
  127. data/lib/locales/en/super_smash_bros.yml +2 -0
  128. data/lib/locales/en/tarkov.yml +593 -0
  129. data/lib/locales/en/the_kingkiller_chronicle.yml +56 -0
  130. data/lib/locales/en/tron.yml +227 -0
  131. data/lib/locales/en/vehicle.yml +2809 -75
  132. data/lib/locales/en-AU.yml +2 -2
  133. data/lib/locales/en-CA.yml +2 -1
  134. data/lib/locales/en-GB.yml +2 -1
  135. data/lib/locales/en-MS.yml +1 -0
  136. data/lib/locales/en-NG.yml +1 -0
  137. data/lib/locales/en-NZ.yml +1 -0
  138. data/lib/locales/en-PAK.yml +1 -0
  139. data/lib/locales/en-SG.yml +1 -0
  140. data/lib/locales/en-UG.yml +1 -0
  141. data/lib/locales/en-US.yml +2 -2
  142. data/lib/locales/en-ZA.yml +1 -1
  143. data/lib/locales/en-au-ocker.yml +2 -0
  144. data/lib/locales/es-AR.yml +3 -2
  145. data/lib/locales/es-MX.yml +1 -1
  146. data/lib/locales/es.yml +2 -2
  147. data/lib/locales/fi-FI.yml +3 -1
  148. data/lib/locales/fr/address.yml +0 -1
  149. data/lib/locales/fr/adjective.yml +266 -0
  150. data/lib/locales/fr/ancient.yml +141 -0
  151. data/lib/locales/fr-CA.yml +1 -1
  152. data/lib/locales/fr-CH.yml +1 -1
  153. data/lib/locales/hy.yml +2 -1
  154. data/lib/locales/it.yml +1 -0
  155. data/lib/locales/ja/address.yml +258 -4169
  156. data/lib/locales/ja/adjective.yml +148 -0
  157. data/lib/locales/ja/dog.yml +1 -0
  158. data/lib/locales/ja/emotion.yml +51 -0
  159. data/lib/locales/ja/lorem.yml +2 -2
  160. data/lib/locales/ja/naruto.yml +230 -0
  161. data/lib/locales/ja/relationship.yml +10 -0
  162. data/lib/locales/ja/super_mario.yml +1 -1
  163. data/lib/locales/ja/super_smash_bros.yml +8 -0
  164. data/lib/locales/ko.yml +1 -0
  165. data/lib/locales/lt.yml +34 -0
  166. data/lib/locales/lv.yml +1 -1
  167. data/lib/locales/mi-NZ.yml +283 -0
  168. data/lib/locales/nb-NO.yml +1 -0
  169. data/lib/locales/nl.yml +1 -0
  170. data/lib/locales/pl.yml +2 -2
  171. data/lib/locales/pt-BR.yml +5 -0
  172. data/lib/locales/pt.yml +1 -1
  173. data/lib/locales/ru.yml +1 -0
  174. data/lib/locales/sk.yml +1 -0
  175. data/lib/locales/sv.yml +1 -0
  176. data/lib/locales/th.yml +76 -76
  177. data/lib/locales/tr.yml +1 -0
  178. data/lib/locales/uk.yml +1 -0
  179. data/lib/locales/vi.yml +1 -0
  180. data/lib/locales/zh-CN.yml +1 -0
  181. data/lib/locales/zh-TW.yml +1 -0
  182. metadata +96 -33
  183. data/lib/faker/default/fillmurray.rb +0 -45
  184. data/lib/faker/default/lorem_pixel.rb +0 -70
  185. /data/lib/faker/default/{faker_adjective.rb → adjective.rb} +0 -0
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.19.0
4
+ version: 3.2.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-08-23 00:00:00.000000000 Z
12
+ date: 2023-04-14 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,28 +37,28 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 5.14.4
40
+ version: 5.18.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.18.0
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.14.1
54
+ version: 0.14.2
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.14.1
61
+ version: 0.14.2
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rake
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -79,76 +79,98 @@ dependencies:
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.19.1
82
+ version: 1.50.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.19.1
89
+ version: 1.50.1
90
90
  - !ruby/object:Gem::Dependency
91
- name: simplecov
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.17.1
97
- - - "<"
96
+ version: 0.30.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.30.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: '0.18'
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.17.1
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.22.0
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.18'
131
+ version: 0.22.0
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.4.4
138
+ version: 3.5.7
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.4.4
145
+ version: 3.5.7
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.4
152
+ version: 0.9.6
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.4
159
+ version: 0.9.6
138
160
  - !ruby/object:Gem::Dependency
139
161
  name: yard
140
162
  requirement: !ruby/object:Gem::Requirement
141
163
  requirements:
142
164
  - - '='
143
165
  - !ruby/object:Gem::Version
144
- version: 0.9.26
166
+ version: 0.9.34
145
167
  type: :development
146
168
  prerelease: false
147
169
  version_requirements: !ruby/object:Gem::Requirement
148
170
  requirements:
149
171
  - - '='
150
172
  - !ruby/object:Gem::Version
151
- version: 0.9.26
173
+ version: 0.9.34
152
174
  description: 'Faker, a port of Data::Faker from Perl, is used to easily generate fake
153
175
  data: names, addresses, phone numbers, etc.'
154
176
  email:
@@ -173,12 +195,14 @@ files:
173
195
  - lib/faker/books/culture_series.rb
174
196
  - lib/faker/books/dune.rb
175
197
  - lib/faker/books/lovecraft.rb
198
+ - lib/faker/books/the_kingkiller_chronicle.rb
176
199
  - lib/faker/creature/animal.rb
177
200
  - lib/faker/creature/bird.rb
178
201
  - lib/faker/creature/cat.rb
179
202
  - lib/faker/creature/dog.rb
180
203
  - lib/faker/creature/horse.rb
181
204
  - lib/faker/default/address.rb
205
+ - lib/faker/default/adjective.rb
182
206
  - lib/faker/default/alphanumeric.rb
183
207
  - lib/faker/default/ancient.rb
184
208
  - lib/faker/default/app.rb
@@ -220,9 +244,7 @@ files:
220
244
  - lib/faker/default/electrical_components.rb
221
245
  - lib/faker/default/emotion.rb
222
246
  - lib/faker/default/esport.rb
223
- - lib/faker/default/faker_adjective.rb
224
247
  - lib/faker/default/file.rb
225
- - lib/faker/default/fillmurray.rb
226
248
  - lib/faker/default/finance.rb
227
249
  - lib/faker/default/food.rb
228
250
  - lib/faker/default/funny_name.rb
@@ -242,7 +264,6 @@ files:
242
264
  - lib/faker/default/kpop.rb
243
265
  - lib/faker/default/lorem.rb
244
266
  - lib/faker/default/lorem_flickr.rb
245
- - lib/faker/default/lorem_pixel.rb
246
267
  - lib/faker/default/markdown.rb
247
268
  - lib/faker/default/marketing.rb
248
269
  - lib/faker/default/measurement.rb
@@ -258,6 +279,7 @@ files:
258
279
  - lib/faker/default/placeholdit.rb
259
280
  - lib/faker/default/programming_language.rb
260
281
  - lib/faker/default/relationship.rb
282
+ - lib/faker/default/religion.rb
261
283
  - lib/faker/default/restaurant.rb
262
284
  - lib/faker/default/science.rb
263
285
  - lib/faker/default/slack_emoji.rb
@@ -276,6 +298,7 @@ files:
276
298
  - lib/faker/default/university.rb
277
299
  - lib/faker/default/vehicle.rb
278
300
  - lib/faker/default/verb.rb
301
+ - lib/faker/default/vulnerability_identifier.rb
279
302
  - lib/faker/default/world_cup.rb
280
303
  - lib/faker/fantasy/tolkien.rb
281
304
  - lib/faker/games/clash_of_clans.rb
@@ -297,22 +320,28 @@ files:
297
320
  - lib/faker/games/street_fighter.rb
298
321
  - lib/faker/games/super_mario.rb
299
322
  - lib/faker/games/super_smash_bros.rb
323
+ - lib/faker/games/tarkov.rb
300
324
  - lib/faker/games/touhou.rb
301
325
  - lib/faker/games/warhammer_fantasy.rb
302
326
  - lib/faker/games/witcher.rb
303
327
  - lib/faker/games/world_of_warcraft.rb
304
328
  - lib/faker/games/zelda.rb
305
329
  - lib/faker/japanese_media/conan.rb
330
+ - lib/faker/japanese_media/cowboy_bebop.rb
306
331
  - lib/faker/japanese_media/doraemon.rb
307
332
  - lib/faker/japanese_media/dragon_ball.rb
333
+ - lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb
334
+ - lib/faker/japanese_media/kamen_rider.rb
308
335
  - lib/faker/japanese_media/naruto.rb
309
336
  - lib/faker/japanese_media/one_piece.rb
310
337
  - lib/faker/japanese_media/studio_ghibli.rb
311
338
  - lib/faker/japanese_media/sword_art_online.rb
312
339
  - lib/faker/locations/australia.rb
340
+ - lib/faker/movies/avatar.rb
313
341
  - lib/faker/movies/back_to_the_future.rb
314
342
  - lib/faker/movies/departed.rb
315
343
  - lib/faker/movies/ghostbusters.rb
344
+ - lib/faker/movies/hackers.rb
316
345
  - lib/faker/movies/harry_potter.rb
317
346
  - lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb
318
347
  - lib/faker/movies/hobbit.rb
@@ -323,6 +352,7 @@ files:
323
352
  - lib/faker/movies/princess_bride.rb
324
353
  - lib/faker/movies/room.rb
325
354
  - lib/faker/movies/star_wars.rb
355
+ - lib/faker/movies/tron.rb
326
356
  - lib/faker/movies/v_for_vendetta.rb
327
357
  - lib/faker/music/grateful_dead.rb
328
358
  - lib/faker/music/hiphop.rb
@@ -339,13 +369,19 @@ files:
339
369
  - lib/faker/quotes/quote.rb
340
370
  - lib/faker/quotes/rajnikanth.rb
341
371
  - lib/faker/quotes/shakespeare.rb
372
+ - lib/faker/religion/bible.rb
342
373
  - lib/faker/sports/basketball.rb
374
+ - lib/faker/sports/chess.rb
343
375
  - lib/faker/sports/football.rb
376
+ - lib/faker/sports/mountaineering.rb
377
+ - lib/faker/sports/sport.rb
344
378
  - lib/faker/sports/volleyball.rb
379
+ - lib/faker/travel/airport.rb
345
380
  - lib/faker/tv_shows/aqua_teen_hunger_force.rb
346
381
  - lib/faker/tv_shows/big_bang_theory.rb
347
382
  - lib/faker/tv_shows/bojack_horseman.rb
348
383
  - lib/faker/tv_shows/breaking_bad.rb
384
+ - lib/faker/tv_shows/brooklyn_nine_nine.rb
349
385
  - lib/faker/tv_shows/buffy.rb
350
386
  - lib/faker/tv_shows/community.rb
351
387
  - lib/faker/tv_shows/dr_who.rb
@@ -366,6 +402,7 @@ files:
366
402
  - lib/faker/tv_shows/silicon_valley.rb
367
403
  - lib/faker/tv_shows/simpsons.rb
368
404
  - lib/faker/tv_shows/south_park.rb
405
+ - lib/faker/tv_shows/spongebob.rb
369
406
  - lib/faker/tv_shows/star_trek.rb
370
407
  - lib/faker/tv_shows/stargate.rb
371
408
  - lib/faker/tv_shows/stranger_things.rb
@@ -412,6 +449,7 @@ files:
412
449
  - lib/locales/en/README.md
413
450
  - lib/locales/en/address.yml
414
451
  - lib/locales/en/adjective.yml
452
+ - lib/locales/en/airport.yml
415
453
  - lib/locales/en/ancient.yml
416
454
  - lib/locales/en/animal.yml
417
455
  - lib/locales/en/app.yml
@@ -419,11 +457,13 @@ files:
419
457
  - lib/locales/en/aqua_teen_hunger_force.yml
420
458
  - lib/locales/en/artist.yml
421
459
  - lib/locales/en/australia.yml
460
+ - lib/locales/en/avatar.yml
422
461
  - lib/locales/en/back_to_the_future.yml
423
462
  - lib/locales/en/bank.yml
424
463
  - lib/locales/en/barcode.yml
425
464
  - lib/locales/en/basketball.yml
426
465
  - lib/locales/en/beer.yml
466
+ - lib/locales/en/bible.yml
427
467
  - lib/locales/en/big_bang_theory.yml
428
468
  - lib/locales/en/bird.yml
429
469
  - lib/locales/en/blood.yml
@@ -431,11 +471,13 @@ files:
431
471
  - lib/locales/en/book.yml
432
472
  - lib/locales/en/bossa_nova.yml
433
473
  - lib/locales/en/breaking_bad.yml
474
+ - lib/locales/en/brooklyn_nine_nine.yml
434
475
  - lib/locales/en/buffy.yml
435
476
  - lib/locales/en/business.yml
436
477
  - lib/locales/en/camera.yml
437
478
  - lib/locales/en/cannabis.yml
438
479
  - lib/locales/en/cat.yml
480
+ - lib/locales/en/chess.yml
439
481
  - lib/locales/en/chiquito.yml
440
482
  - lib/locales/en/chuck_norris.yml
441
483
  - lib/locales/en/clash_of_clan.yml
@@ -452,6 +494,7 @@ files:
452
494
  - lib/locales/en/construction.yml
453
495
  - lib/locales/en/control.yml
454
496
  - lib/locales/en/cosmere.yml
497
+ - lib/locales/en/cowboy_bebop.yml
455
498
  - lib/locales/en/crypto_coin.yml
456
499
  - lib/locales/en/culture_series.yml
457
500
  - lib/locales/en/currency.yml
@@ -480,6 +523,7 @@ files:
480
523
  - lib/locales/en/file.yml
481
524
  - lib/locales/en/final_space.yml
482
525
  - lib/locales/en/finance.yml
526
+ - lib/locales/en/fma_brotherhood.yml
483
527
  - lib/locales/en/food.yml
484
528
  - lib/locales/en/football.yml
485
529
  - lib/locales/en/fresh_prince_of_bel_air.yml
@@ -493,6 +537,7 @@ files:
493
537
  - lib/locales/en/grateful_dead.yml
494
538
  - lib/locales/en/greek_philosophers.yml
495
539
  - lib/locales/en/hacker.yml
540
+ - lib/locales/en/hackers.yml
496
541
  - lib/locales/en/half_life.yml
497
542
  - lib/locales/en/harry_potter.yml
498
543
  - lib/locales/en/heroes.yml
@@ -511,6 +556,7 @@ files:
511
556
  - lib/locales/en/invoice.yml
512
557
  - lib/locales/en/jack_handey.yml
513
558
  - lib/locales/en/job.yml
559
+ - lib/locales/en/kamen_rider.yml
514
560
  - lib/locales/en/kpop.yml
515
561
  - lib/locales/en/league_of_legends.yml
516
562
  - lib/locales/en/lebowski.yml
@@ -522,7 +568,9 @@ files:
522
568
  - lib/locales/en/michael_scott.yml
523
569
  - lib/locales/en/military.yml
524
570
  - lib/locales/en/minecraft.yml
571
+ - lib/locales/en/mitch_hedberg.yml
525
572
  - lib/locales/en/mountain.yml
573
+ - lib/locales/en/mountaineering.yml
526
574
  - lib/locales/en/movie.yml
527
575
  - lib/locales/en/music.yml
528
576
  - lib/locales/en/myst.yml
@@ -562,6 +610,8 @@ files:
562
610
  - lib/locales/en/source.yml
563
611
  - lib/locales/en/south_park.yml
564
612
  - lib/locales/en/space.yml
613
+ - lib/locales/en/spongebob.yml
614
+ - lib/locales/en/sport.yml
565
615
  - lib/locales/en/star_trek.yml
566
616
  - lib/locales/en/star_wars.yml
567
617
  - lib/locales/en/stargate.yml
@@ -576,14 +626,17 @@ files:
576
626
  - lib/locales/en/superhero.yml
577
627
  - lib/locales/en/supernatural.yml
578
628
  - lib/locales/en/sword_art_online.yml
629
+ - lib/locales/en/tarkov.yml
579
630
  - lib/locales/en/tea.yml
580
631
  - lib/locales/en/team.yml
581
632
  - lib/locales/en/the_expanse.yml
582
633
  - lib/locales/en/the_it_crowd.yml
634
+ - lib/locales/en/the_kingkiller_chronicle.yml
583
635
  - lib/locales/en/the_office.yml
584
636
  - lib/locales/en/the_thick_of_it.yml
585
637
  - lib/locales/en/tolkien.yml
586
638
  - lib/locales/en/touhou.yml
639
+ - lib/locales/en/tron.yml
587
640
  - lib/locales/en/twin_peaks.yml
588
641
  - lib/locales/en/umphreys_mcgee.yml
589
642
  - lib/locales/en/university.yml
@@ -607,6 +660,8 @@ files:
607
660
  - lib/locales/fr-CH.yml
608
661
  - lib/locales/fr.yml
609
662
  - lib/locales/fr/address.yml
663
+ - lib/locales/fr/adjective.yml
664
+ - lib/locales/fr/ancient.yml
610
665
  - lib/locales/fr/animal.yml
611
666
  - lib/locales/fr/appliance.yml
612
667
  - lib/locales/fr/book.yml
@@ -627,6 +682,7 @@ files:
627
682
  - lib/locales/it.yml
628
683
  - lib/locales/ja/README.md
629
684
  - lib/locales/ja/address.yml
685
+ - lib/locales/ja/adjective.yml
630
686
  - lib/locales/ja/ancient.yml
631
687
  - lib/locales/ja/animal.yml
632
688
  - lib/locales/ja/bank.yml
@@ -637,22 +693,28 @@ files:
637
693
  - lib/locales/ja/commerce.yml
638
694
  - lib/locales/ja/company.yml
639
695
  - lib/locales/ja/dog.yml
696
+ - lib/locales/ja/emotion.yml
640
697
  - lib/locales/ja/food.yml
641
698
  - lib/locales/ja/gender.yml
642
699
  - lib/locales/ja/lorem.yml
643
700
  - lib/locales/ja/name.yml
701
+ - lib/locales/ja/naruto.yml
644
702
  - lib/locales/ja/overwatch.yml
645
703
  - lib/locales/ja/phone_number.yml
646
704
  - lib/locales/ja/pokemon.yml
705
+ - lib/locales/ja/relationship.yml
647
706
  - lib/locales/ja/restaurant.yml
648
707
  - lib/locales/ja/space.yml
649
708
  - lib/locales/ja/studio_ghibli.yml
650
709
  - lib/locales/ja/subscription.yml
651
710
  - lib/locales/ja/super_mario.yml
711
+ - lib/locales/ja/super_smash_bros.yml
652
712
  - lib/locales/ja/university.yml
653
713
  - lib/locales/ja/zelda.yml
654
714
  - lib/locales/ko.yml
715
+ - lib/locales/lt.yml
655
716
  - lib/locales/lv.yml
717
+ - lib/locales/mi-NZ.yml
656
718
  - lib/locales/nb-NO.yml
657
719
  - lib/locales/nl.yml
658
720
  - lib/locales/no.yml
@@ -672,12 +734,13 @@ homepage: https://github.com/faker-ruby/faker
672
734
  licenses:
673
735
  - MIT
674
736
  metadata:
675
- changelog_uri: https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md
737
+ changelog_uri: https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md
676
738
  source_code_uri: https://github.com/faker-ruby/faker
677
739
  bug_tracker_uri: https://github.com/faker-ruby/faker/issues
678
- documentation_uri: https://rubydoc.info/github/faker-ruby/faker/master
740
+ documentation_uri: https://rubydoc.info/github/faker-ruby/faker
679
741
  yard.run: yri
680
- post_install_message:
742
+ rubygems_mfa_required: 'true'
743
+ post_install_message:
681
744
  rdoc_options: []
682
745
  require_paths:
683
746
  - lib
@@ -685,15 +748,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
685
748
  requirements:
686
749
  - - ">="
687
750
  - !ruby/object:Gem::Version
688
- version: '2.5'
751
+ version: '2.7'
689
752
  required_rubygems_version: !ruby/object:Gem::Requirement
690
753
  requirements:
691
754
  - - ">="
692
755
  - !ruby/object:Gem::Version
693
756
  version: '0'
694
757
  requirements: []
695
- rubygems_version: 3.1.4
696
- signing_key:
758
+ rubygems_version: 3.3.7
759
+ signing_key:
697
760
  specification_version: 4
698
761
  summary: Easily generate fake data
699
762
  test_files: []
@@ -1,45 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Fillmurray < Base
5
- class << self
6
- # rubocop:disable Metrics/ParameterLists
7
-
8
- ##
9
- # Produces the URL of an image from Fill Murray, a site which hosts
10
- # exclusively photographs of actor Bill Murray.
11
- #
12
- # @param grayscale [Boolean] Whether to return a grayscale image.
13
- # @param width [Integer] The iamage width.
14
- # @param height [Integer] The image height.
15
- # @return [String]
16
- #
17
- # @example
18
- # Faker::Fillmurray.image #=> "https://www.fillmurray.com/300/300"
19
- #
20
- # @example
21
- # Faker::Fillmurray.image(grayscale: true)
22
- # #=> "https://fillmurray.com/g/300/300"
23
- #
24
- # @example
25
- # Faker::Fillmurray.image(grayscale: false, width: 200, height: 400)
26
- # #=> "https://fillmurray.com/200/400"
27
- #
28
- # @faker.version 1.7.1
29
- def image(legacy_grayscale = NOT_GIVEN, legacy_width = NOT_GIVEN, legacy_height = NOT_GIVEN, grayscale: false, width: 200, height: 200)
30
- warn_for_deprecated_arguments do |keywords|
31
- keywords << :grayscale if legacy_grayscale != NOT_GIVEN
32
- keywords << :width if legacy_width != NOT_GIVEN
33
- keywords << :height if legacy_height != NOT_GIVEN
34
- end
35
-
36
- raise ArgumentError, 'Width should be a number' unless width.to_s =~ /^\d+$/
37
- raise ArgumentError, 'Height should be a number' unless height.to_s =~ /^\d+$/
38
- raise ArgumentError, 'Grayscale should be a boolean' unless [true, false].include?(grayscale)
39
-
40
- "https://www.fillmurray.com#{'/g' if grayscale == true}/#{width}/#{height}"
41
- end
42
- # rubocop:enable Metrics/ParameterLists
43
- end
44
- end
45
- end
@@ -1,70 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class LoremPixel < Base
5
- class << self
6
- SUPPORTED_CATEGORIES = %w[abstract
7
- animals
8
- business
9
- cats
10
- city
11
- food
12
- nightlife
13
- fashion
14
- people
15
- nature
16
- sports
17
- technics
18
- transport].freeze
19
-
20
- # rubocop:disable Metrics/ParameterLists
21
-
22
- ##
23
- # Produces a random image URL from lorempixel.com.
24
- #
25
- # @param size [String] Specifies the size of image to generate.
26
- # @param is_gray [Boolean] Determines if the image is gray.
27
- # @param category [Symbol] Adds the category of the generated image to the URL.
28
- # @param number [Integer] Adds a number as part of the URL.
29
- # @param text [Integer] Adds dummy text as part of the URL.
30
- # @param secure [Boolean] Changes the image URL between http and https.
31
- # @return [String]
32
- #
33
- # @example
34
- # Faker::LoremPixel.image #=> "https://lorempixel.com/300/300"
35
- # Faker::LoremPixel.image(size: "50x60") #=> "https://lorempixel.com/50/60"
36
- # Faker::LoremPixel.image(size: "50x60", is_gray: true) #=> "https://lorempixel.com/g/50/60"
37
- # Faker::LoremPixel.image(size: "50x60", is_gray: false, category: 'sports') #=> "https://lorempixel.com/50/60/sports"
38
- # Faker::LoremPixel.image(size: "50x60", is_gray: false, category: 'sports', number: 3) #=> "https://lorempixel.com/50/60/sports/3"
39
- # Faker::LoremPixel.image(size: "50x60", is_gray: false, category: 'sports', number: 3, text: 'Dummy-text') #=> "https://lorempixel.com/50/60/sports/3/Dummy-text"
40
- # Faker::LoremPixel.image(size: "50x60", is_gray: false, category: 'sports', number: nil, text: 'Dummy-text') #=> "https://lorempixel.com/50/60/sports/Dummy-text"
41
- # Faker::LoremPixel.image(secure: false) #=> "http://lorempixel.com/300/300"
42
- #
43
- # @faker.version 1.7.0
44
- def image(legacy_size = NOT_GIVEN, legacy_is_gray = NOT_GIVEN, legacy_category = NOT_GIVEN, legacy_number = NOT_GIVEN, legacy_text = NOT_GIVEN, legacy_secure = NOT_GIVEN, size: '300x300', is_gray: false, category: nil, number: nil, text: nil, secure: true)
45
- warn_for_deprecated_arguments do |keywords|
46
- keywords << :size if legacy_size != NOT_GIVEN
47
- keywords << :is_gray if legacy_is_gray != NOT_GIVEN
48
- keywords << :category if legacy_category != NOT_GIVEN
49
- keywords << :number if legacy_number != NOT_GIVEN
50
- keywords << :text if legacy_text != NOT_GIVEN
51
- keywords << :secure if legacy_secure != NOT_GIVEN
52
- end
53
-
54
- raise ArgumentError, 'Size should be specified in format 300x300' unless size =~ /^[0-9]+x[0-9]+$/
55
- raise ArgumentError, "Supported categories are #{SUPPORTED_CATEGORIES.join(', ')}" unless category.nil? || SUPPORTED_CATEGORIES.include?(category)
56
- raise ArgumentError, 'Category required when number is passed' if !number.nil? && category.nil?
57
- raise ArgumentError, 'Number must be between 1 and 10' unless number.nil? || (1..10).cover?(number)
58
- raise ArgumentError, 'Category and number must be passed when text is passed' if !text.nil? && number.nil? && category.nil?
59
-
60
- url_parts = secure ? ['https:/'] : ['http:/']
61
- url_parts << ['lorempixel.com']
62
- url_parts << 'g' if is_gray
63
- url_parts += size.split('x')
64
- url_parts += [category, number, text].compact
65
- url_parts.join('/')
66
- end
67
- # rubocop:enable Metrics/ParameterLists
68
- end
69
- end
70
- end