faker 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (427) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +181 -0
  3. data/License.txt +2 -2
  4. data/README.md +252 -162
  5. data/lib/faker.rb +36 -17
  6. data/lib/faker/blockchain/bitcoin.rb +34 -0
  7. data/lib/faker/blockchain/ethereum.rb +16 -0
  8. data/lib/faker/blockchain/tezos.rb +46 -0
  9. data/lib/faker/{book.rb → books/book.rb} +2 -0
  10. data/lib/faker/books/culture_series.rb +34 -0
  11. data/lib/faker/books/dune.rb +58 -0
  12. data/lib/faker/books/lovecraft.rb +73 -0
  13. data/lib/faker/creature/animal.rb +13 -0
  14. data/lib/faker/creature/cat.rb +23 -0
  15. data/lib/faker/creature/dog.rb +43 -0
  16. data/lib/faker/{address.rb → default/address.rb} +10 -0
  17. data/lib/faker/default/alphanumeric.rb +24 -0
  18. data/lib/faker/{ancient.rb → default/ancient.rb} +2 -0
  19. data/lib/faker/{app.rb → default/app.rb} +2 -0
  20. data/lib/faker/{appliance.rb → default/appliance.rb} +2 -0
  21. data/lib/faker/{artist.rb → default/artist.rb} +2 -0
  22. data/lib/faker/{avatar.rb → default/avatar.rb} +3 -0
  23. data/lib/faker/{bank.rb → default/bank.rb} +8 -2
  24. data/lib/faker/{beer.rb → default/beer.rb} +2 -0
  25. data/lib/faker/{boolean.rb → default/boolean.rb} +2 -0
  26. data/lib/faker/{bossa_nova.rb → default/bossa_nova.rb} +2 -0
  27. data/lib/faker/{business.rb → default/business.rb} +2 -0
  28. data/lib/faker/{cannabis.rb → default/cannabis.rb} +0 -1
  29. data/lib/faker/default/chile_rut.rb +44 -0
  30. data/lib/faker/{chuck_norris.rb → default/chuck_norris.rb} +2 -0
  31. data/lib/faker/{code.rb → default/code.rb} +3 -1
  32. data/lib/faker/{coffee.rb → default/coffee.rb} +2 -0
  33. data/lib/faker/default/coin.rb +15 -0
  34. data/lib/faker/{color.rb → default/color.rb} +2 -0
  35. data/lib/faker/{commerce.rb → default/commerce.rb} +3 -0
  36. data/lib/faker/{company.rb → default/company.rb} +35 -1
  37. data/lib/faker/{compass.rb → default/compass.rb} +2 -0
  38. data/lib/faker/default/construction.rb +29 -0
  39. data/lib/faker/default/cosmere.rb +48 -0
  40. data/lib/faker/default/creature.rb +6 -0
  41. data/lib/faker/{crypto.rb → default/crypto.rb} +2 -0
  42. data/lib/faker/default/crypto_coin.rb +32 -0
  43. data/lib/faker/{currency.rb → default/currency.rb} +2 -0
  44. data/lib/faker/{date.rb → default/date.rb} +3 -0
  45. data/lib/faker/default/dc_comics.rb +25 -0
  46. data/lib/faker/{demographic.rb → default/demographic.rb} +2 -0
  47. data/lib/faker/{dessert.rb → default/dessert.rb} +2 -0
  48. data/lib/faker/{device.rb → default/device.rb} +2 -0
  49. data/lib/faker/default/driving_licence.rb +59 -0
  50. data/lib/faker/default/educator.rb +38 -0
  51. data/lib/faker/{electrical_components.rb → default/electrical_components.rb} +2 -0
  52. data/lib/faker/{esport.rb → default/esport.rb} +2 -0
  53. data/lib/faker/{file.rb → default/file.rb} +2 -0
  54. data/lib/faker/{fillmurray.rb → default/fillmurray.rb} +2 -0
  55. data/lib/faker/{finance.rb → default/finance.rb} +13 -0
  56. data/lib/faker/{food.rb → default/food.rb} +4 -0
  57. data/lib/faker/{football.rb → default/football.rb} +6 -0
  58. data/lib/faker/{funny_name.rb → default/funny_name.rb} +3 -1
  59. data/lib/faker/default/games.rb +6 -0
  60. data/lib/faker/{gender.rb → default/gender.rb} +2 -0
  61. data/lib/faker/{greek_philosophers.rb → default/greek_philosophers.rb} +2 -0
  62. data/lib/faker/{hacker.rb → default/hacker.rb} +2 -0
  63. data/lib/faker/{hipster.rb → default/hipster.rb} +3 -12
  64. data/lib/faker/default/house.rb +15 -0
  65. data/lib/faker/default/id_number.rb +119 -0
  66. data/lib/faker/default/industry_segments.rb +25 -0
  67. data/lib/faker/{internet.rb → default/internet.rb} +10 -6
  68. data/lib/faker/{invoice.rb → default/invoice.rb} +3 -1
  69. data/lib/faker/default/japanese_media.rb +6 -0
  70. data/lib/faker/{job.rb → default/job.rb} +2 -0
  71. data/lib/faker/default/json.rb +70 -0
  72. data/lib/faker/{kpop.rb → default/kpop.rb} +2 -0
  73. data/lib/faker/{lorem.rb → default/lorem.rb} +5 -17
  74. data/lib/faker/{lorem_flickr.rb → default/lorem_flickr.rb} +2 -0
  75. data/lib/faker/{lorem_pixel.rb → default/lorem_pixel.rb} +2 -0
  76. data/lib/faker/{markdown.rb → default/markdown.rb} +6 -2
  77. data/lib/faker/default/marketing.rb +13 -0
  78. data/lib/faker/{measurement.rb → default/measurement.rb} +4 -2
  79. data/lib/faker/{military.rb → default/military.rb} +2 -0
  80. data/lib/faker/default/movies.rb +6 -0
  81. data/lib/faker/{name.rb → default/name.rb} +7 -11
  82. data/lib/faker/{nation.rb → default/nation.rb} +9 -0
  83. data/lib/faker/{nato_phonetic_alphabet.rb → default/nato_phonetic_alphabet.rb} +2 -0
  84. data/lib/faker/default/nhs.rb +34 -0
  85. data/lib/faker/{number.rb → default/number.rb} +13 -2
  86. data/lib/faker/{omniauth.rb → default/omniauth.rb} +2 -0
  87. data/lib/faker/{phone_number.rb → default/phone_number.rb} +14 -0
  88. data/lib/faker/{placeholdit.rb → default/placeholdit.rb} +4 -2
  89. data/lib/faker/{programming_language.rb → default/programming_language.rb} +2 -0
  90. data/lib/faker/default/relationship.rb +42 -0
  91. data/lib/faker/default/restaurant.rb +11 -0
  92. data/lib/faker/{science.rb → default/science.rb} +2 -0
  93. data/lib/faker/{slack_emoji.rb → default/slack_emoji.rb} +2 -0
  94. data/lib/faker/{source.rb → default/source.rb} +2 -0
  95. data/lib/faker/default/south_africa.rb +51 -0
  96. data/lib/faker/{space.rb → default/space.rb} +2 -0
  97. data/lib/faker/{string.rb → default/string.rb} +0 -0
  98. data/lib/faker/{stripe.rb → default/stripe.rb} +2 -0
  99. data/lib/faker/default/subscription.rb +25 -0
  100. data/lib/faker/{superhero.rb → default/superhero.rb} +2 -0
  101. data/lib/faker/{team.rb → default/team.rb} +2 -0
  102. data/lib/faker/{time.rb → default/time.rb} +3 -0
  103. data/lib/faker/default/tv_shows.rb +6 -0
  104. data/lib/faker/{twitter.rb → default/twitter.rb} +2 -0
  105. data/lib/faker/{types.rb → default/types.rb} +5 -15
  106. data/lib/faker/{university.rb → default/university.rb} +2 -0
  107. data/lib/faker/default/vehicle.rb +149 -0
  108. data/lib/faker/{verb.rb → default/verb.rb} +2 -0
  109. data/lib/faker/{world_cup.rb → default/world_cup.rb} +2 -0
  110. data/lib/faker/deprecate/aqua_teen_hunger_force.rb +15 -0
  111. data/lib/faker/deprecate/back_to_the_future.rb +25 -0
  112. data/lib/faker/deprecate/bitcoin.rb +20 -0
  113. data/lib/faker/deprecate/bojack_horseman.rb +25 -0
  114. data/lib/faker/deprecate/breaking_bad.rb +20 -0
  115. data/lib/faker/deprecate/buffy.rb +35 -0
  116. data/lib/faker/deprecate/cat.rb +25 -0
  117. data/lib/faker/deprecate/community.rb +20 -0
  118. data/lib/faker/deprecate/dog.rb +50 -0
  119. data/lib/faker/deprecate/dota.rb +35 -0
  120. data/lib/faker/deprecate/dr_who.rb +45 -0
  121. data/lib/faker/deprecate/dragon_ball.rb +15 -0
  122. data/lib/faker/deprecate/dumb_and_dumber.rb +25 -0
  123. data/lib/faker/deprecate/dune.rb +35 -0
  124. data/lib/faker/deprecate/elder_scrolls.rb +50 -0
  125. data/lib/faker/deprecate/ethereum.rb +15 -0
  126. data/lib/faker/deprecate/fallout.rb +30 -0
  127. data/lib/faker/deprecate/family_guy.rb +25 -0
  128. data/lib/faker/deprecate/famous_last_words.rb +15 -0
  129. data/lib/faker/deprecate/friends.rb +25 -0
  130. data/lib/faker/deprecate/game_of_thrones.rb +35 -0
  131. data/lib/faker/deprecate/harry_potter.rb +40 -0
  132. data/lib/faker/deprecate/heroes_of_the_storm.rb +30 -0
  133. data/lib/faker/deprecate/hey_arnold.rb +25 -0
  134. data/lib/faker/deprecate/hitchhikers_guide_to_the_galaxy.rb +44 -0
  135. data/lib/faker/deprecate/hobbit.rb +30 -0
  136. data/lib/faker/deprecate/how_i_met_your_mother.rb +30 -0
  137. data/lib/faker/deprecate/league_of_legends.rb +40 -0
  138. data/lib/faker/deprecate/lebowski.rb +25 -0
  139. data/lib/faker/deprecate/lord_of_the_rings.rb +25 -0
  140. data/lib/faker/deprecate/lovecraft.rb +65 -0
  141. data/lib/faker/deprecate/matz.rb +15 -0
  142. data/lib/faker/deprecate/michael_scott.rb +15 -0
  143. data/lib/faker/deprecate/most_interesting_man_in_the_world.rb +15 -0
  144. data/lib/faker/deprecate/myst.rb +35 -0
  145. data/lib/faker/deprecate/new_girl.rb +20 -0
  146. data/lib/faker/deprecate/one_piece.rb +40 -0
  147. data/lib/faker/deprecate/overwatch.rb +25 -0
  148. data/lib/faker/deprecate/parks_and_rec.rb +20 -0
  149. data/lib/faker/deprecate/pokemon.rb +25 -0
  150. data/lib/faker/deprecate/princess_bride.rb +20 -0
  151. data/lib/faker/deprecate/rick_and_morty.rb +25 -0
  152. data/lib/faker/deprecate/robin.rb +15 -0
  153. data/lib/faker/deprecate/rock_band.rb +15 -0
  154. data/lib/faker/deprecate/ru_paul.rb +20 -0
  155. data/lib/faker/deprecate/seinfeld.rb +25 -0
  156. data/lib/faker/deprecate/shakespeare.rb +50 -0
  157. data/lib/faker/deprecate/silicon_valley.rb +50 -0
  158. data/lib/faker/deprecate/simpsons.rb +25 -0
  159. data/lib/faker/deprecate/singular_siegler.rb +15 -0
  160. data/lib/faker/deprecate/south_park.rb +20 -0
  161. data/lib/faker/deprecate/star_trek.rb +30 -0
  162. data/lib/faker/deprecate/star_wars.rb +95 -0
  163. data/lib/faker/deprecate/stargate.rb +25 -0
  164. data/lib/faker/deprecate/stranger_things.rb +20 -0
  165. data/lib/faker/deprecate/sword_art_online.rb +30 -0
  166. data/lib/faker/deprecate/tezos.rb +33 -0
  167. data/lib/faker/deprecate/the_fresh_prince_of_bel_air.rb +25 -0
  168. data/lib/faker/deprecate/the_it_crowd.rb +30 -0
  169. data/lib/faker/deprecate/the_thick_of_it.rb +25 -0
  170. data/lib/faker/deprecate/twin_peaks.rb +25 -0
  171. data/lib/faker/deprecate/umphreys_mcgee.rb +15 -0
  172. data/lib/faker/deprecate/v_for_vendetta.rb +25 -0
  173. data/lib/faker/deprecate/venture_bros.rb +30 -0
  174. data/lib/faker/deprecate/witcher.rb +40 -0
  175. data/lib/faker/deprecate/world_of_warcraft.rb +20 -0
  176. data/lib/faker/deprecate/yoda.rb +16 -0
  177. data/lib/faker/deprecate/zelda.rb +30 -0
  178. data/lib/faker/games/dota.rb +29 -0
  179. data/lib/faker/games/elder_scrolls.rb +41 -0
  180. data/lib/faker/games/fallout.rb +25 -0
  181. data/lib/faker/games/half_life.rb +21 -0
  182. data/lib/faker/games/heroes.rb +21 -0
  183. data/lib/faker/games/heroes_of_the_storm.rb +25 -0
  184. data/lib/faker/games/league_of_legends.rb +33 -0
  185. data/lib/faker/games/myst.rb +29 -0
  186. data/lib/faker/games/overwatch.rb +21 -0
  187. data/lib/faker/games/pokemon.rb +21 -0
  188. data/lib/faker/games/sonic_the_hedgehog.rb +21 -0
  189. data/lib/faker/games/super_smash_bros.rb +17 -0
  190. data/lib/faker/games/witcher.rb +33 -0
  191. data/lib/faker/games/world_of_warcraft.rb +17 -0
  192. data/lib/faker/games/zelda.rb +26 -0
  193. data/lib/faker/japanese_media/dragon_ball.rb +13 -0
  194. data/lib/faker/japanese_media/one_piece.rb +33 -0
  195. data/lib/faker/japanese_media/sword_art_online.rb +25 -0
  196. data/lib/faker/movies/back_to_the_future.rb +21 -0
  197. data/lib/faker/movies/ghostbusters.rb +21 -0
  198. data/lib/faker/movies/grateful_dead.rb +17 -0
  199. data/lib/faker/movies/harry_potter.rb +33 -0
  200. data/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +37 -0
  201. data/lib/faker/movies/hobbit.rb +25 -0
  202. data/lib/faker/movies/lebowski.rb +21 -0
  203. data/lib/faker/movies/lord_of_the_rings.rb +21 -0
  204. data/lib/faker/{movie.rb → movies/movie.rb} +2 -0
  205. data/lib/faker/movies/princess_bride.rb +17 -0
  206. data/lib/faker/movies/star_wars.rb +105 -0
  207. data/lib/faker/movies/v_for_vendetta.rb +21 -0
  208. data/lib/faker/{music.rb → music/music.rb} +2 -0
  209. data/lib/faker/music/phish.rb +13 -0
  210. data/lib/faker/music/rock_band.rb +13 -0
  211. data/lib/faker/music/umphreys_mcgee.rb +13 -0
  212. data/lib/faker/quotes/quote.rb +32 -0
  213. data/lib/faker/quotes/shakespeare.rb +41 -0
  214. data/lib/faker/tv_shows/aqua_teen_hunger_force.rb +15 -0
  215. data/lib/faker/tv_shows/bojack_horseman.rb +23 -0
  216. data/lib/faker/tv_shows/breaking_bad.rb +19 -0
  217. data/lib/faker/tv_shows/buffy.rb +31 -0
  218. data/lib/faker/tv_shows/community.rb +19 -0
  219. data/lib/faker/tv_shows/dr_who.rb +39 -0
  220. data/lib/faker/tv_shows/dumb_and_dumber.rb +23 -0
  221. data/lib/faker/tv_shows/family_guy.rb +23 -0
  222. data/lib/faker/tv_shows/friends.rb +23 -0
  223. data/lib/faker/tv_shows/game_of_thrones.rb +31 -0
  224. data/lib/faker/tv_shows/hey_arnold.rb +23 -0
  225. data/lib/faker/tv_shows/how_i_met_your_mother.rb +27 -0
  226. data/lib/faker/tv_shows/michael_scott.rb +13 -0
  227. data/lib/faker/tv_shows/new_girl.rb +19 -0
  228. data/lib/faker/tv_shows/parks_and_rec.rb +19 -0
  229. data/lib/faker/tv_shows/rick_and_morty.rb +23 -0
  230. data/lib/faker/tv_shows/ru_paul.rb +19 -0
  231. data/lib/faker/tv_shows/seinfeld.rb +23 -0
  232. data/lib/faker/tv_shows/silicon_valley.rb +43 -0
  233. data/lib/faker/tv_shows/simpsons.rb +23 -0
  234. data/lib/faker/tv_shows/south_park.rb +19 -0
  235. data/lib/faker/tv_shows/star_trek.rb +27 -0
  236. data/lib/faker/tv_shows/stargate.rb +23 -0
  237. data/lib/faker/tv_shows/stranger_things.rb +19 -0
  238. data/lib/faker/tv_shows/the_expanse.rb +27 -0
  239. data/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +23 -0
  240. data/lib/faker/tv_shows/the_it_crowd.rb +27 -0
  241. data/lib/faker/tv_shows/the_thick_of_it.rb +23 -0
  242. data/lib/faker/tv_shows/twin_peaks.rb +23 -0
  243. data/lib/faker/tv_shows/venture_bros.rb +27 -0
  244. data/lib/faker/version.rb +3 -1
  245. data/lib/helpers/base58.rb +22 -0
  246. data/lib/helpers/char.rb +2 -0
  247. data/lib/helpers/i18n_backend.rb +10 -0
  248. data/lib/helpers/unique_generator.rb +19 -1
  249. data/lib/locales/README.md +8 -9
  250. data/lib/locales/ar.yml +102 -0
  251. data/lib/locales/arm.yml +371 -0
  252. data/lib/locales/bg.yml +3 -0
  253. data/lib/locales/ca.yml +6 -0
  254. data/lib/locales/da-DK.yml +6 -3
  255. data/lib/locales/de-AT.yml +6 -0
  256. data/lib/locales/de.yml +10 -3
  257. data/lib/locales/ee.yml +3 -1
  258. data/lib/locales/en-AU.yml +2 -0
  259. data/lib/locales/en-IND.yml +2 -0
  260. data/lib/locales/en-MS.yml +6 -0
  261. data/lib/locales/en-NEP.yml +2 -2
  262. data/lib/locales/en-NG.yml +2 -0
  263. data/lib/locales/en-NZ.yml +2 -6
  264. data/lib/locales/en-PAK.yml +2 -1
  265. data/lib/locales/en-SG.yml +4 -0
  266. data/lib/locales/en-ZA.yml +114 -17
  267. data/lib/locales/en.yml +0 -1
  268. data/lib/locales/en/address.yml +496 -1
  269. data/lib/locales/en/animal.yml +6 -0
  270. data/lib/locales/en/beer.yml +2 -1
  271. data/lib/locales/en/bojack_horseman.yml +2 -2
  272. data/lib/locales/en/buffy.yml +260 -0
  273. data/lib/locales/en/cat.yml +5 -4
  274. data/lib/locales/en/coin.yml +6 -0
  275. data/lib/locales/en/company.yml +1 -1
  276. data/lib/locales/en/construction.yml +425 -0
  277. data/lib/locales/en/cosmere.yml +57 -0
  278. data/lib/locales/en/crypto_coin.yml +9 -0
  279. data/lib/locales/en/culture_series.yml +307 -0
  280. data/lib/locales/en/currency.yml +1 -1
  281. data/lib/locales/en/dc_comics.yml +52 -0
  282. data/lib/locales/en/device.yml +3 -3
  283. data/lib/locales/en/dog.yml +9 -9
  284. data/lib/locales/en/dota.yml +101 -100
  285. data/lib/locales/en/dragon_ball.yml +1 -1
  286. data/lib/locales/en/educator.yml +2 -1
  287. data/lib/locales/en/elder_scrolls.yml +9 -8
  288. data/lib/locales/en/esport.yml +5 -5
  289. data/lib/locales/en/fallout.yml +135 -134
  290. data/lib/locales/en/finance.yml +63 -0
  291. data/lib/locales/en/food.yml +3 -2
  292. data/lib/locales/en/football.yml +1 -0
  293. data/lib/locales/en/friends.yml +3 -3
  294. data/lib/locales/en/ghostbusters.yml +91 -0
  295. data/lib/locales/en/grateful_dead.yml +47 -0
  296. data/lib/locales/en/half_life.yml +7 -0
  297. data/lib/locales/en/heroes.yml +6 -0
  298. data/lib/locales/en/heroes_of_the_storm.yml +7 -0
  299. data/lib/locales/en/house.yml +5 -0
  300. data/lib/locales/en/industry_segments.yml +7 -0
  301. data/lib/locales/en/kpop.yml +2 -2
  302. data/lib/locales/en/league_of_legends.yml +8 -7
  303. data/lib/locales/en/lorem.yml +2 -0
  304. data/lib/locales/en/marketing.yml +4 -0
  305. data/lib/locales/en/music.yml +3 -3
  306. data/lib/locales/en/myst.yml +41 -40
  307. data/lib/locales/en/name.yml +6 -7
  308. data/lib/locales/en/nation.yml +3 -0
  309. data/lib/locales/en/overwatch.yml +39 -34
  310. data/lib/locales/en/phish.yml +4 -0
  311. data/lib/locales/en/phone_number.yml +1 -0
  312. data/lib/locales/en/pokemon.yml +5 -4
  313. data/lib/locales/en/quote.yml +166 -0
  314. data/lib/locales/en/relationship.yml +10 -0
  315. data/lib/locales/en/restaurant.yml +129 -0
  316. data/lib/locales/en/seinfeld.yml +2 -1
  317. data/lib/locales/en/sonic_the_hedgehog.yml +410 -0
  318. data/lib/locales/en/south_park.yml +5 -0
  319. data/lib/locales/en/star_wars.yml +3 -3
  320. data/lib/locales/en/subscription.yml +8 -0
  321. data/lib/locales/en/super_smash_bros.yml +197 -0
  322. data/lib/locales/en/the_expanse.yml +7 -0
  323. data/lib/locales/en/vehicle.yml +62 -58
  324. data/lib/locales/en/witcher.yml +8 -7
  325. data/lib/locales/en/world_of_warcraft.yml +5 -4
  326. data/lib/locales/en/zelda.yml +6 -5
  327. data/lib/locales/es-MX.yml +14 -1
  328. data/lib/locales/es.yml +13 -0
  329. data/lib/locales/fa.yml +4 -0
  330. data/lib/locales/fi-FI.yml +4 -3
  331. data/lib/locales/fr-CA.yml +18 -13
  332. data/lib/locales/fr-CH.yml +16 -10
  333. data/lib/locales/fr.yml +45 -1
  334. data/lib/locales/he.yml +2 -0
  335. data/lib/locales/id.yml +2 -0
  336. data/lib/locales/it.yml +12 -1
  337. data/lib/locales/ja.yml +45 -21
  338. data/lib/locales/ko.yml +2 -0
  339. data/lib/locales/lv.yml +2 -0
  340. data/lib/locales/nb-NO.yml +11 -4
  341. data/lib/locales/nl.yml +13 -4
  342. data/lib/locales/pl.yml +11 -1
  343. data/lib/locales/pt-BR.yml +578 -4
  344. data/lib/locales/pt.yml +10 -3
  345. data/lib/locales/ru.yml +3 -1
  346. data/lib/locales/sk.yml +19 -13
  347. data/lib/locales/sv.yml +11 -3
  348. data/lib/locales/tr.yml +6 -0
  349. data/lib/locales/uk.yml +2 -0
  350. data/lib/locales/vi.yml +6 -1
  351. data/lib/locales/zh-CN.yml +3 -0
  352. data/lib/locales/zh-TW.yml +3 -1
  353. metadata +271 -164
  354. data/lib/extensions/array.rb +0 -22
  355. data/lib/extensions/symbol.rb +0 -8
  356. data/lib/faker/aqua_teen_hunger_force.rb +0 -9
  357. data/lib/faker/back_to_the_future.rb +0 -17
  358. data/lib/faker/bitcoin.rb +0 -47
  359. data/lib/faker/bojack_horseman.rb +0 -17
  360. data/lib/faker/breaking_bad.rb +0 -13
  361. data/lib/faker/cat.rb +0 -19
  362. data/lib/faker/community.rb +0 -13
  363. data/lib/faker/dog.rb +0 -39
  364. data/lib/faker/dota.rb +0 -25
  365. data/lib/faker/dr_who.rb +0 -33
  366. data/lib/faker/dragon_ball.rb +0 -9
  367. data/lib/faker/dumb_and_dumber.rb +0 -17
  368. data/lib/faker/dune.rb +0 -54
  369. data/lib/faker/educator.rb +0 -23
  370. data/lib/faker/elder_scrolls.rb +0 -37
  371. data/lib/faker/ethereum.rb +0 -12
  372. data/lib/faker/fallout.rb +0 -21
  373. data/lib/faker/family_guy.rb +0 -17
  374. data/lib/faker/famous_last_words.rb +0 -11
  375. data/lib/faker/friends.rb +0 -17
  376. data/lib/faker/game_of_thrones.rb +0 -25
  377. data/lib/faker/harry_potter.rb +0 -29
  378. data/lib/faker/hey_arnold.rb +0 -17
  379. data/lib/faker/hitchhikers_guide_to_the_galaxy.rb +0 -33
  380. data/lib/faker/hobbit.rb +0 -21
  381. data/lib/faker/how_i_met_your_mother.rb +0 -21
  382. data/lib/faker/id_number.rb +0 -51
  383. data/lib/faker/league_of_legends.rb +0 -29
  384. data/lib/faker/lebowski.rb +0 -17
  385. data/lib/faker/lord_of_the_rings.rb +0 -17
  386. data/lib/faker/lovecraft.rb +0 -80
  387. data/lib/faker/matz.rb +0 -9
  388. data/lib/faker/michael_scott.rb +0 -9
  389. data/lib/faker/most_interesting_man_in_the_world.rb +0 -9
  390. data/lib/faker/myst.rb +0 -25
  391. data/lib/faker/new_girl.rb +0 -13
  392. data/lib/faker/one_piece.rb +0 -29
  393. data/lib/faker/overwatch.rb +0 -17
  394. data/lib/faker/parks_and_rec.rb +0 -13
  395. data/lib/faker/pokemon.rb +0 -17
  396. data/lib/faker/princess_bride.rb +0 -13
  397. data/lib/faker/rick_and_morty.rb +0 -17
  398. data/lib/faker/robin.rb +0 -9
  399. data/lib/faker/rock_band.rb +0 -9
  400. data/lib/faker/rupaul.rb +0 -15
  401. data/lib/faker/seinfeld.rb +0 -13
  402. data/lib/faker/shakespeare.rb +0 -37
  403. data/lib/faker/silicon_valley.rb +0 -37
  404. data/lib/faker/simpsons.rb +0 -17
  405. data/lib/faker/singular_siegler.rb +0 -9
  406. data/lib/faker/star_trek.rb +0 -21
  407. data/lib/faker/star_wars.rb +0 -101
  408. data/lib/faker/stargate.rb +0 -17
  409. data/lib/faker/stranger_thing.rb +0 -13
  410. data/lib/faker/sword_art_online.rb +0 -21
  411. data/lib/faker/the_fresh_prince_of_bel_air.rb +0 -17
  412. data/lib/faker/the_it_crowd.rb +0 -21
  413. data/lib/faker/the_thick_of_it.rb +0 -17
  414. data/lib/faker/twin_peaks.rb +0 -17
  415. data/lib/faker/umphreys_mcgee.rb +0 -9
  416. data/lib/faker/v_for_vendetta.rb +0 -17
  417. data/lib/faker/vehicle.rb +0 -101
  418. data/lib/faker/venture_bros.rb +0 -21
  419. data/lib/faker/witcher.rb +0 -29
  420. data/lib/faker/world_of_warcraft.rb +0 -13
  421. data/lib/faker/yoda.rb +0 -10
  422. data/lib/faker/zelda.rb +0 -22
  423. data/lib/locales/en/famous_last_words.yml +0 -4
  424. data/lib/locales/en/matz.yml +0 -28
  425. data/lib/locales/en/most_interesting_man_in_the_world.yml +0 -106
  426. data/lib/locales/en/robin.yml +0 -4
  427. data/lib/locales/en/singular_siegler.yml +0 -37
@@ -1,21 +0,0 @@
1
- module Faker
2
- class SwordArtOnline < Base
3
- class << self
4
- def real_name
5
- fetch('sword_art_online.real_name')
6
- end
7
-
8
- def game_name
9
- fetch('sword_art_online.game_name')
10
- end
11
-
12
- def location
13
- fetch('sword_art_online.location')
14
- end
15
-
16
- def item
17
- fetch('sword_art_online.item')
18
- end
19
- end
20
- end
21
- end
@@ -1,17 +0,0 @@
1
- module Faker
2
- class TheFreshPrinceOfBelAir < Base
3
- class << self
4
- def character
5
- fetch('the_fresh_prince_of_bel_air.characters')
6
- end
7
-
8
- def celebrity
9
- fetch('the_fresh_prince_of_bel_air.celebrities')
10
- end
11
-
12
- def quote
13
- fetch('the_fresh_prince_of_bel_air.quotes')
14
- end
15
- end
16
- end
17
- end
@@ -1,21 +0,0 @@
1
- module Faker
2
- class TheITCrowd < Base
3
- class << self
4
- def actor
5
- fetch('the_it_crowd.actors')
6
- end
7
-
8
- def character
9
- fetch('the_it_crowd.characters')
10
- end
11
-
12
- def email
13
- fetch('the_it_crowd.emails')
14
- end
15
-
16
- def quote
17
- fetch('the_it_crowd.quotes')
18
- end
19
- end
20
- end
21
- end
@@ -1,17 +0,0 @@
1
- module Faker
2
- class TheThickOfIt < Base
3
- class << self
4
- def character
5
- fetch('the_thick_of_it.characters')
6
- end
7
-
8
- def department
9
- fetch('the_thick_of_it.departments')
10
- end
11
-
12
- def position
13
- fetch('the_thick_of_it.positions')
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Faker
2
- class TwinPeaks < Base
3
- class << self
4
- def character
5
- fetch('twin_peaks.characters')
6
- end
7
-
8
- def location
9
- fetch('twin_peaks.locations')
10
- end
11
-
12
- def quote
13
- fetch('twin_peaks.quotes')
14
- end
15
- end
16
- end
17
- end
@@ -1,9 +0,0 @@
1
- module Faker
2
- class UmphreysMcgee < Base
3
- class << self
4
- def song
5
- fetch('umphreys_mcgee.song')
6
- end
7
- end
8
- end
9
- end
@@ -1,17 +0,0 @@
1
- module Faker
2
- class VForVendetta < Base
3
- class << self
4
- def character
5
- fetch('v_for_vendetta.characters')
6
- end
7
-
8
- def speech
9
- fetch('v_for_vendetta.speeches')
10
- end
11
-
12
- def quote
13
- fetch('v_for_vendetta.quotes')
14
- end
15
- end
16
- end
17
- end
@@ -1,101 +0,0 @@
1
- module Faker
2
- class Vehicle < Base
3
- flexible :vehicle
4
-
5
- VIN_CHARS = '0123456789.ABCDEFGH..JKLMN.P.R..STUVWXYZ'.freeze
6
- VIN_MAP = '0123456789X'.freeze
7
- VIN_WEIGHTS = '8765432X098765432'.freeze
8
-
9
- class << self
10
- # ISO 3779
11
- def vin
12
- _, wmi, wmi_ext = sample(fetch_all('vehicle.manufacture'))
13
-
14
- c = VIN_CHARS.split('').reject { |n| n == '.' }
15
- vehicle_identification_number = wmi.split('').concat(Array.new(14) { sample(c) })
16
- (12..14).to_a.each_with_index { |n, i| vehicle_identification_number[n] = wmi_ext[i] } unless wmi_ext.nil?
17
- vehicle_identification_number[10] = fetch('vehicle.year')
18
- vehicle_identification_number[8] = vin_checksum(vehicle_identification_number)
19
-
20
- vehicle_identification_number.join.upcase
21
- end
22
-
23
- def manufacture
24
- sample(fetch_all('vehicle.manufacture')).first
25
- end
26
-
27
- def mileage
28
- rand_in_range(10_000, 90_000)
29
- end
30
-
31
- def year
32
- rand_in_range(2005, ::Time.now.year)
33
- end
34
-
35
- def make
36
- fetch('vehicle.makes')
37
- end
38
-
39
- def model(make_of_model = '')
40
- return fetch("vehicle.models_by_make.#{make}") if make_of_model.empty?
41
- fetch("vehicle.models_by_make.#{make_of_model}")
42
- end
43
-
44
- def make_and_model
45
- m = make
46
- "#{m} #{model(m)}"
47
- end
48
-
49
- def style
50
- fetch('vehicle.styles')
51
- end
52
-
53
- def color
54
- fetch('vehicle.colors')
55
- end
56
-
57
- def transmission
58
- fetch('vehicle.transmissions')
59
- end
60
-
61
- def drive_type
62
- fetch('vehicle.drive_types')
63
- end
64
-
65
- def fuel_type
66
- fetch('vehicle.fuel_types')
67
- end
68
-
69
- def door_count
70
- "#{fetch('vehicle.door_count')} #{fetch('vehicle.door')}"
71
- end
72
-
73
- def car_type
74
- fetch('vehicle.car_types')
75
- end
76
-
77
- def engine
78
- "#{fetch('vehicle.engine_size')} #{fetch('vehicle.cylinder_engine')}"
79
- end
80
- alias engine_size engine
81
-
82
- def car_options
83
- Array.new(rand(5...10)) { fetch('vehicle.car_options') }
84
- end
85
-
86
- def standard_specs
87
- Array.new(rand(5...10)) { fetch('vehicle.standard_specs') }
88
- end
89
-
90
- private
91
-
92
- def calculate_vin_weight(character, idx)
93
- (VIN_CHARS.index(character) % 10) * VIN_MAP.index(VIN_WEIGHTS[idx])
94
- end
95
-
96
- def vin_checksum(vehicle_identification_number)
97
- VIN_MAP[vehicle_identification_number.each_with_index.map(&method(:calculate_vin_weight)).inject(:+) % 11]
98
- end
99
- end
100
- end
101
- end
@@ -1,21 +0,0 @@
1
- module Faker
2
- class VentureBros < Base
3
- class << self
4
- def character
5
- fetch('venture_bros.character')
6
- end
7
-
8
- def organization
9
- fetch('venture_bros.organization')
10
- end
11
-
12
- def vehicle
13
- fetch('venture_bros.vehicle')
14
- end
15
-
16
- def quote
17
- fetch('venture_bros.quote')
18
- end
19
- end
20
- end
21
- end
@@ -1,29 +0,0 @@
1
- module Faker
2
- class Witcher < Base
3
- class << self
4
- def character
5
- fetch('witcher.characters')
6
- end
7
-
8
- def witcher
9
- fetch('witcher.witchers')
10
- end
11
-
12
- def school
13
- fetch('witcher.schools')
14
- end
15
-
16
- def location
17
- fetch('witcher.locations')
18
- end
19
-
20
- def quote
21
- fetch('witcher.quotes')
22
- end
23
-
24
- def monster
25
- fetch('witcher.monsters')
26
- end
27
- end
28
- end
29
- end
@@ -1,13 +0,0 @@
1
- module Faker
2
- class WorldOfWarcraft < Base
3
- class << self
4
- def hero
5
- fetch('world_of_warcraft.hero')
6
- end
7
-
8
- def quote
9
- fetch('world_of_warcraft.quotes')
10
- end
11
- end
12
- end
13
- end
@@ -1,10 +0,0 @@
1
- module Faker
2
- class Yoda < Base
3
- class << self
4
- # from: http://morecoolquotes.com/famous-yoda-quotes/
5
- def quote
6
- fetch('yoda.quotes')
7
- end
8
- end
9
- end
10
- end
@@ -1,22 +0,0 @@
1
- module Faker
2
- class Zelda < Base
3
- flexible :space
4
- class << self
5
- def game
6
- fetch('zelda.games')
7
- end
8
-
9
- def character
10
- fetch('zelda.characters')
11
- end
12
-
13
- def location
14
- fetch('zelda.locations')
15
- end
16
-
17
- def item
18
- fetch('zelda.items')
19
- end
20
- end
21
- end
22
- end
@@ -1,4 +0,0 @@
1
- en:
2
- faker:
3
- famous_last_words:
4
- last_words: ["I don't know.", "No comment.", "Van Halen!", "Is it not meningitis?", "I love you too, honey. Good luck with your show.", "Am I dying, or is this my birthday?", "I want your bunk!", "I went the distance.", "Goodnight, my darlings, I'll see you tomorrow.", "I am confound.", "That was the best ice-cream soda I ever tasted.", "All my possessions for a moment of time.", "Hurrah for anarchy! This is the happiest moment of my life.", "It's stopped.", "You can get anything you want at Alice's restaurant.", "Yes, it's tough, but not as tough as doing comedy.", "That's good. Go on, read some more.", "I love you.", "One! Two! Three!", "Do you want me to come with you?", "Does nobody understand?", "I wish I could go with you.", "I'll be in Hell before you start breakfast! Let her rip!", "Tape Seinfeld for me.", "Strike the tent.", "I don't think they even heard me.", "I regret that I should leave this world without again beholding him.", "Well, this is certainly a pleasant surprise.", "Okay, I won't.", "I want to go home.", "Happy.", "I forgot something.", "My vocabulary did this to me. Your love will let you go on…"]
@@ -1,28 +0,0 @@
1
- en:
2
- faker:
3
- matz:
4
- quotes: [
5
- "I believe consistency and orthogonality are tools of design, not the primary goal in design.",
6
- "From the viewpoint of what you can do, therefore, languages do differ - but the differences are limited. For example, Python and Ruby provide almost the same power to the programmer.",
7
- "The orthogonal features, when combined, can explode into complexity.",
8
- "I didn't work hard to make Ruby perfect for everyone, because you feel differently from me. No language can be perfect for everyone. I tried to make Ruby perfect for me, but maybe it's not perfect for you. The perfect language for Guido van Rossum is probably Python.",
9
- "Because of the Turing completeness theory, everything one Turing-complete language can do can theoretically be done by another Turing-complete language, but at a different cost. You can do everything in assembler, but no one wants to program in assembler anymore.",
10
- "Ruby inherited the Perl philosophy of having more than one way to do the same thing. I inherited that philosophy from Larry Wall, who is my hero actually. I want to make Ruby users free. I want to give them the freedom to choose.",
11
- "You want to enjoy life, don't you? If you get your job done quickly and your job is fun, that's good isn't it? That's the purpose of life, partly. Your life is better.",
12
- "People are different. People choose different criteria. But if there is a better way among many alternatives, I want to encourage that way by making it comfortable. So that's what I've tried to do.",
13
- "In our daily lives as programmers, we process text strings a lot. So I tried to work hard on text processing, namely the string class and regular expressions. Regular expressions are built into the language and are very tuned up for use.",
14
- "Most of the tasks we do are for humans. For example, a tax calculation is counting numbers so the government can pull money out from my wallet, but government consists of humans.",
15
- "Actually, I didn't make the claim that Ruby follows the principle of least surprise. Someone felt the design of Ruby follows that philosophy, so they started saying that. I didn't bring that up, actually.",
16
- "Smart people underestimate the ordinarity of ordinary people.",
17
- "Language designers want to design the perfect language. They want to be able to say, 'My language is perfect. It can do everything.' But it's just plain impossible to design a perfect language, because there are two ways to look at a language. One way is by looking at what can be done with that language. The other is by looking at how we feel using that language-how we feel while programming.",
18
- "I believe that the purpose of life is, at least in part, to be happy. Based on this belief, Ruby is designed to make programming not only easy but also fun. It allows you to concentrate on the creative side of programming, with less stress.",
19
- "Most programs are not write-once. They are reworked and rewritten again and again in their lived. Bugs must be debugged. Changing requirements and the need for increased functionality mean the program itself may be modified on an ongoing basis. During this process, human beings must be able to read and understand the original code. It is therefore more important by far for humans to be able to understand the program than it is for the computer.",
20
- "I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be happy. That is the primary purpose of Ruby language.",
21
- "Man is driven to create; I know I really love to create things. And while I'm not good at painting, drawing, or music, I can write software.",
22
- "It is not the responsibility of the language to force good looking code, but the language should make good looking code possible.",
23
- "Plant a memory, plant a tree, do it today for tomorrow.",
24
- "Imagine you are writing an email. You are in front of the computer. You are operating the computer, clicking a mouse and typing on a keyboard, but the message will be sent to a human over the internet. So you are working before the computer, but with a human behind the computer.",
25
- "Often people, especially computer engineers, focus on the machines. But in fact we need to focus on humans, on how humans care about doing programming or operating the application of the machines.",
26
- "Everyone has an individual background. Someone may come from Python, someone else may come from Perl, and they may be surprised by different aspects of the language. Then they come up to me and say, 'I was surprised by this feature of the language, so therefore Ruby violates the principle of least surprise.' Wait. Wait. The principle of least surprise is not for you only.",
27
- "Sometimes people jot down pseudo-code on paper. If that pseudo-code runs directly on their computers, its best, isn't it? Ruby tries to be like that, like pseudo-code that runs. Python people say that too."
28
- ]
@@ -1,106 +0,0 @@
1
- en:
2
- faker:
3
- most_interesting_man_in_the_world:
4
- quotes: [
5
- "His only regret is not knowing what regret feels like.",
6
- "When in Rome, they do as HE does",
7
- "He is considered a national treasure in countries he’s never visited.",
8
- "He has won the lifetime achievement award… twice",
9
- "He can kill two stones with one bird",
10
- "When a tree falls in a forest and no one is there, he hears it",
11
- "His lovemaking has been detected by a seismograph",
12
- "He once had an awkward moment, just to see how it feels",
13
- "He is fluent in all languages, including three that he only speaks",
14
- "If opportunity knocks, and he’s not at home, opportunity waits",
15
- "Mosquitoes refuse to bite him purely out of respect",
16
- "He has taught old dogs a variety of new tricks",
17
- "In museums, he is allowed to touch the art",
18
- "His business card simply says ‘I’ll Call You”",
19
- "If he was to pat you on the back, you would list it on your resume.",
20
- "Freemasons strive to learn HIS secret handshake.",
21
- "He played a game of Russian Roulette with a fully loaded magnum, and won",
22
- "He is the life of parties that he has never attended",
23
- "He once won the Tour-de-France, but was disqualified for riding a unicycle",
24
- "His organ donation card also lists his beard",
25
- "He is left-handed. And right-handed",
26
- "Sharks have a week dedicated to him",
27
- "Presidents take his birthday off",
28
- "Time waits on no one, but him",
29
- "He never wears a watch because time is always on his side",
30
- "He taught Chuck Norris martial arts",
31
- "When he holds a lady’s purse, he looks manly",
32
- "He once won a staring contest with his own reflection",
33
- "When he meets the Pope, the Pope kisses his ring",
34
- "His beard alone has experienced more than a lesser man’s entire body",
35
- "Superman has pijamas with his logo",
36
- "If he were to punch you in the face you would have to fight off a strong urge to thank him",
37
- "He once went to the psychic, to warn her",
38
- "His feet don’t get blisters, but his shoes do",
39
- "When he drives a car off the lot, its price increases in value",
40
- "On every continent in the world, there is a sandwich named after him.",
41
- "Once a rattlesnake bit him, after 5 days of excruciating pain, the snake finally died",
42
- "His passport requires no photograph",
43
- "He gave his father “the talk”",
44
- "He can speak Russian… in French",
45
- "His signature won a Pulitzer",
46
- "Once while sailing around the world, he discovered a short cut",
47
- "He once got pulled over for speeding, and the cop got the ticket",
48
- "The dark is afraid of him",
49
- "If he were to visit the dark side of the moon, it wouldn’t be dark",
50
- "He once brought a knife to a gunfight… just to even the odds",
51
- "He bowls overhand",
52
- "A bird in his hand is worth three in the bush",
53
- "He once started a fire using only dental floss and water",
54
- "Roses stop to smell him",
55
- "Bigfoot tries to get pictures of him",
56
- "He once turned a vampire into a vegetarian",
57
- "Batman watches Saturday morning cartoons about him",
58
- "When he was young he once sent his parents to his room",
59
- "His blood smells like cologne",
60
- "When he goes to Spain, he chases the bulls",
61
- "His shadow has been on the ‘best dressed’ list twice",
62
- "Two countries went to war to dispute HIS nationality",
63
- "His pillow is cool on BOTH sides",
64
- "The Nobel Academy was awarded a prize from HIM",
65
- "His mother has a tattoo that says “Son”",
66
- "His shirts never wrinkle",
67
- "His shirts never wrinkle",
68
- "Respected archaeologists fight over his discarded apple cores",
69
- "His garden maze is responsible for more missing persons than the bermuda triangle",
70
- "He doesn’t believe in using oven mitts, nor potholders",
71
- "His cereal never gets soggy. It sits there, staying crispy, just for him",
72
- "The police often question him, just because they find him interesting",
73
- "He has never walked into a spider web",
74
- "The star on his Christmas tree is tracked by NASA",
75
- "He’s never lost a game of chance",
76
- "He once caught the Loch Ness Monster….with a cane pole, but threw it back",
77
- "His wallet is woven out of chupacabra leather",
78
- "Cars look both ways for him, before driving down a street",
79
- "His 5 de Mayo party starts on the 8th of March",
80
- "His tears can cure cancer, too bad he never cries",
81
- "His friends call him by his name, his enemies don’t call him anything because they are all dead",
82
- "No less than 25 Mexican folk songs have been written about his beard",
83
- "He once taught a german shepherd how to bark in Spanish",
84
- "The Holy Grail is looking for him",
85
- "Werewolves are jealous of his beard",
86
- "Once he ran a marathon because it was “on the way”",
87
- "He was on a recent archaeological dig and came across prehistoric foot prints that lead out of Africa into all parts of the world. On close inspection, it turned out that the prints were his",
88
- "Whatever side of the tracks he’s currently on is the right side, even if he crosses the tracks he’ll still be on the right side",
89
- "The circus ran away to join him",
90
- "He once made a weeping willow laugh",
91
- "He is allowed to talk about the fight club",
92
- "His sweat is the cure for the common cold",
93
- "While swimming off the coast of Australia, he once scratched the underbelly of the Great White with his right hand",
94
- "If he were to say something costs an arm and a leg, it would",
95
- "He never says something tastes like chicken.. not even chicken",
96
- "Panhandlers give him money",
97
- "He once tried to acquire a cold just to see what it felt like, but it didn’t take",
98
- "His ten gallon hat holds twenty gallons",
99
- "He once won the world series of poker using UNO cards",
100
- "He has inside jokes with people he’s never met.",
101
- "Bear hugs are what he gives bears",
102
- "Even his tree houses have fully finished basements",
103
- "He has never waited 15 minutes after finishing a meal before returning to the pool",
104
- "He lives vicariously through himself"
105
- ]
106
-