faker 1.8.2 → 2.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (615) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +1756 -10
  3. data/History.md +4 -4
  4. data/License.txt +2 -2
  5. data/README.md +328 -111
  6. data/bin/faker +5 -0
  7. data/lib/faker/blockchain/aeternity.rb +70 -0
  8. data/lib/faker/blockchain/bitcoin.rb +60 -0
  9. data/lib/faker/blockchain/ethereum.rb +26 -0
  10. data/lib/faker/blockchain/tezos.rb +135 -0
  11. data/lib/faker/books/book.rb +61 -0
  12. data/lib/faker/books/culture_series.rb +83 -0
  13. data/lib/faker/books/dune.rb +132 -0
  14. data/lib/faker/books/lovecraft.rb +280 -0
  15. data/lib/faker/books/the_kingkiller_chronicle.rb +61 -0
  16. data/lib/faker/creature/animal.rb +22 -0
  17. data/lib/faker/creature/bird.rb +203 -0
  18. data/lib/faker/creature/cat.rb +50 -0
  19. data/lib/faker/creature/dog.rb +115 -0
  20. data/lib/faker/creature/horse.rb +37 -0
  21. data/lib/faker/default/address.rb +368 -0
  22. data/lib/faker/default/adjective.rb +35 -0
  23. data/lib/faker/default/alphanumeric.rb +73 -0
  24. data/lib/faker/default/ancient.rb +59 -0
  25. data/lib/faker/default/app.rb +77 -0
  26. data/lib/faker/default/appliance.rb +33 -0
  27. data/lib/faker/default/artist.rb +20 -0
  28. data/lib/faker/default/avatar.rb +60 -0
  29. data/lib/faker/default/bank.rb +207 -0
  30. data/lib/faker/default/barcode.rb +165 -0
  31. data/lib/faker/default/beer.rb +113 -0
  32. data/lib/faker/default/blood.rb +48 -0
  33. data/lib/faker/default/boolean.rb +26 -0
  34. data/lib/faker/default/bossa_nova.rb +33 -0
  35. data/lib/faker/default/business.rb +50 -0
  36. data/lib/faker/default/camera.rb +46 -0
  37. data/lib/faker/default/cannabis.rb +135 -0
  38. data/lib/faker/default/chile_rut.rb +102 -0
  39. data/lib/faker/default/chuck_norris.rb +25 -0
  40. data/lib/faker/default/code.rb +282 -0
  41. data/lib/faker/default/coffee.rb +82 -0
  42. data/lib/faker/default/coin.rb +33 -0
  43. data/lib/faker/default/color.rb +79 -0
  44. data/lib/faker/default/commerce.rb +171 -0
  45. data/lib/faker/default/company.rb +579 -0
  46. data/lib/faker/default/compass.rb +202 -0
  47. data/lib/faker/default/computer.rb +63 -0
  48. data/lib/faker/default/construction.rb +83 -0
  49. data/lib/faker/default/cosmere.rb +138 -0
  50. data/lib/faker/default/crypto.rb +61 -0
  51. data/lib/faker/default/crypto_coin.rb +94 -0
  52. data/lib/faker/default/currency.rb +46 -0
  53. data/lib/faker/default/date.rb +186 -0
  54. data/lib/faker/default/dc_comics.rb +70 -0
  55. data/lib/faker/default/demographic.rb +98 -0
  56. data/lib/faker/default/dessert.rb +48 -0
  57. data/lib/faker/default/device.rb +85 -0
  58. data/lib/faker/default/driving_licence.rb +131 -0
  59. data/lib/faker/default/drone.rb +332 -0
  60. data/lib/faker/default/educator.rb +102 -0
  61. data/lib/faker/default/electrical_components.rb +48 -0
  62. data/lib/faker/default/emotion.rb +33 -0
  63. data/lib/faker/default/esport.rb +72 -0
  64. data/lib/faker/default/file.rb +100 -0
  65. data/lib/faker/default/fillmurray.rb +45 -0
  66. data/lib/faker/default/finance.rb +116 -0
  67. data/lib/faker/default/food.rb +126 -0
  68. data/lib/faker/default/funny_name.rb +90 -0
  69. data/lib/faker/default/gender.rb +46 -0
  70. data/lib/faker/default/greek_philosophers.rb +33 -0
  71. data/lib/faker/default/hacker.rb +103 -0
  72. data/lib/faker/default/hipster.rb +194 -0
  73. data/lib/faker/default/hobby.rb +22 -0
  74. data/lib/faker/default/house.rb +33 -0
  75. data/lib/faker/default/id_number.rb +418 -0
  76. data/lib/faker/default/industry_segments.rb +61 -0
  77. data/lib/faker/default/internet.rb +629 -0
  78. data/lib/faker/default/internet_http.rb +48 -0
  79. data/lib/faker/default/invoice.rb +136 -0
  80. data/lib/faker/default/job.rb +61 -0
  81. data/lib/faker/default/json.rb +143 -0
  82. data/lib/faker/default/kpop.rb +85 -0
  83. data/lib/faker/default/lorem.rb +302 -0
  84. data/lib/faker/default/lorem_flickr.rb +138 -0
  85. data/lib/faker/default/lorem_pixel.rb +70 -0
  86. data/lib/faker/default/markdown.rb +175 -0
  87. data/lib/faker/default/marketing.rb +22 -0
  88. data/lib/faker/default/measurement.rb +207 -0
  89. data/lib/faker/default/military.rb +98 -0
  90. data/lib/faker/default/mountain.rb +33 -0
  91. data/lib/faker/default/name.rb +156 -0
  92. data/lib/faker/default/nation.rb +73 -0
  93. data/lib/faker/default/nato_phonetic_alphabet.rb +20 -0
  94. data/lib/faker/default/nhs.rb +57 -0
  95. data/lib/faker/default/number.rb +289 -0
  96. data/lib/faker/default/omniauth.rb +505 -0
  97. data/lib/faker/default/phone_number.rb +137 -0
  98. data/lib/faker/default/placeholdit.rb +63 -0
  99. data/lib/faker/default/programming_language.rb +33 -0
  100. data/lib/faker/default/relationship.rb +91 -0
  101. data/lib/faker/default/religion.rb +6 -0
  102. data/lib/faker/default/restaurant.rb +63 -0
  103. data/lib/faker/default/science.rb +154 -0
  104. data/lib/faker/default/slack_emoji.rb +124 -0
  105. data/lib/faker/default/source.rb +76 -0
  106. data/lib/faker/default/south_africa.rb +141 -0
  107. data/lib/faker/default/space.rb +191 -0
  108. data/lib/faker/default/string.rb +63 -0
  109. data/lib/faker/default/stripe.rb +142 -0
  110. data/lib/faker/default/subscription.rb +70 -0
  111. data/lib/faker/default/superhero.rb +72 -0
  112. data/lib/faker/default/tea.rb +41 -0
  113. data/lib/faker/default/team.rb +74 -0
  114. data/lib/faker/default/time.rb +177 -0
  115. data/lib/faker/default/twitter.rb +223 -0
  116. data/lib/faker/default/types.rb +182 -0
  117. data/lib/faker/default/university.rb +75 -0
  118. data/lib/faker/default/vehicle.rb +355 -0
  119. data/lib/faker/default/verb.rb +72 -0
  120. data/lib/faker/default/vulnerability_identifier.rb +23 -0
  121. data/lib/faker/default/world_cup.rb +86 -0
  122. data/lib/faker/fantasy/tolkien.rb +67 -0
  123. data/lib/faker/games/clash_of_clans.rb +48 -0
  124. data/lib/faker/games/control.rb +113 -0
  125. data/lib/faker/games/dnd.rb +136 -0
  126. data/lib/faker/games/dota.rb +93 -0
  127. data/lib/faker/games/elder_scrolls.rb +139 -0
  128. data/lib/faker/games/fallout.rb +62 -0
  129. data/lib/faker/games/game.rb +48 -0
  130. data/lib/faker/games/half_life.rb +48 -0
  131. data/lib/faker/games/heroes.rb +61 -0
  132. data/lib/faker/games/heroes_of_the_storm.rb +72 -0
  133. data/lib/faker/games/league_of_legends.rb +87 -0
  134. data/lib/faker/games/minecraft.rb +113 -0
  135. data/lib/faker/games/myst.rb +74 -0
  136. data/lib/faker/games/overwatch.rb +48 -0
  137. data/lib/faker/games/pokemon.rb +48 -0
  138. data/lib/faker/games/sonic_the_hedgehog.rb +48 -0
  139. data/lib/faker/games/street_fighter.rb +61 -0
  140. data/lib/faker/games/super_mario.rb +48 -0
  141. data/lib/faker/games/super_smash_bros.rb +35 -0
  142. data/lib/faker/games/touhou.rb +75 -0
  143. data/lib/faker/games/warhammer_fantasy.rb +74 -0
  144. data/lib/faker/games/witcher.rb +126 -0
  145. data/lib/faker/games/world_of_warcraft.rb +60 -0
  146. data/lib/faker/games/zelda.rb +62 -0
  147. data/lib/faker/japanese_media/conan.rb +48 -0
  148. data/lib/faker/japanese_media/doraemon.rb +48 -0
  149. data/lib/faker/japanese_media/dragon_ball.rb +48 -0
  150. data/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +48 -0
  151. data/lib/faker/japanese_media/kamen_rider.rb +102 -0
  152. data/lib/faker/japanese_media/naruto.rb +61 -0
  153. data/lib/faker/japanese_media/one_piece.rb +87 -0
  154. data/lib/faker/japanese_media/studio_ghibli.rb +48 -0
  155. data/lib/faker/japanese_media/sword_art_online.rb +61 -0
  156. data/lib/faker/locations/australia.rb +47 -0
  157. data/lib/faker/movies/back_to_the_future.rb +49 -0
  158. data/lib/faker/movies/departed.rb +49 -0
  159. data/lib/faker/movies/ghostbusters.rb +49 -0
  160. data/lib/faker/movies/harry_potter.rb +87 -0
  161. data/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +106 -0
  162. data/lib/faker/movies/hobbit.rb +62 -0
  163. data/lib/faker/movies/how_to_train_your_dragon.rb +48 -0
  164. data/lib/faker/movies/lebowski.rb +48 -0
  165. data/lib/faker/movies/lord_of_the_rings.rb +49 -0
  166. data/lib/faker/movies/movie.rb +33 -0
  167. data/lib/faker/movies/princess_bride.rb +36 -0
  168. data/lib/faker/movies/room.rb +63 -0
  169. data/lib/faker/movies/star_wars.rb +273 -0
  170. data/lib/faker/movies/tron.rb +161 -0
  171. data/lib/faker/movies/v_for_vendetta.rb +50 -0
  172. data/lib/faker/music/grateful_dead.rb +37 -0
  173. data/lib/faker/music/hiphop.rb +48 -0
  174. data/lib/faker/music/music.rb +145 -0
  175. data/lib/faker/music/opera.rb +298 -0
  176. data/lib/faker/music/pearl_jam.rb +50 -0
  177. data/lib/faker/music/phish.rb +48 -0
  178. data/lib/faker/music/prince.rb +64 -0
  179. data/lib/faker/music/rock_band.rb +34 -0
  180. data/lib/faker/music/rush.rb +37 -0
  181. data/lib/faker/music/show.rb +49 -0
  182. data/lib/faker/music/umphreys_mcgee.rb +22 -0
  183. data/lib/faker/quotes/chiquito.rb +80 -0
  184. data/lib/faker/quotes/quote.rb +111 -0
  185. data/lib/faker/quotes/rajnikanth.rb +27 -0
  186. data/lib/faker/quotes/shakespeare.rb +111 -0
  187. data/lib/faker/religion/bible.rb +50 -0
  188. data/lib/faker/sports/basketball.rb +61 -0
  189. data/lib/faker/sports/football.rb +74 -0
  190. data/lib/faker/sports/mountaineering.rb +22 -0
  191. data/lib/faker/sports/sport.rb +110 -0
  192. data/lib/faker/sports/volleyball.rb +74 -0
  193. data/lib/faker/tv_shows/aqua_teen_hunger_force.rb +37 -0
  194. data/lib/faker/tv_shows/big_bang_theory.rb +37 -0
  195. data/lib/faker/tv_shows/bojack_horseman.rb +51 -0
  196. data/lib/faker/tv_shows/breaking_bad.rb +37 -0
  197. data/lib/faker/tv_shows/brooklyn_nine_nine.rb +38 -0
  198. data/lib/faker/tv_shows/buffy.rb +89 -0
  199. data/lib/faker/tv_shows/community.rb +38 -0
  200. data/lib/faker/tv_shows/dr_who.rb +115 -0
  201. data/lib/faker/tv_shows/dumb_and_dumber.rb +51 -0
  202. data/lib/faker/tv_shows/family_guy.rb +51 -0
  203. data/lib/faker/tv_shows/final_space.rb +51 -0
  204. data/lib/faker/tv_shows/friends.rb +50 -0
  205. data/lib/faker/tv_shows/futurama.rb +65 -0
  206. data/lib/faker/tv_shows/game_of_thrones.rb +77 -0
  207. data/lib/faker/tv_shows/hey_arnold.rb +50 -0
  208. data/lib/faker/tv_shows/how_i_met_your_mother.rb +64 -0
  209. data/lib/faker/tv_shows/michael_scott.rb +23 -0
  210. data/lib/faker/tv_shows/new_girl.rb +38 -0
  211. data/lib/faker/tv_shows/parks_and_rec.rb +37 -0
  212. data/lib/faker/tv_shows/rick_and_morty.rb +51 -0
  213. data/lib/faker/tv_shows/ru_paul.rb +37 -0
  214. data/lib/faker/tv_shows/seinfeld.rb +51 -0
  215. data/lib/faker/tv_shows/silicon_valley.rb +118 -0
  216. data/lib/faker/tv_shows/simpsons.rb +65 -0
  217. data/lib/faker/tv_shows/south_park.rb +38 -0
  218. data/lib/faker/tv_shows/star_trek.rb +63 -0
  219. data/lib/faker/tv_shows/stargate.rb +51 -0
  220. data/lib/faker/tv_shows/stranger_things.rb +38 -0
  221. data/lib/faker/tv_shows/suits.rb +37 -0
  222. data/lib/faker/tv_shows/supernatural.rb +48 -0
  223. data/lib/faker/tv_shows/the_expanse.rb +63 -0
  224. data/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +64 -0
  225. data/lib/faker/tv_shows/the_it_crowd.rb +64 -0
  226. data/lib/faker/tv_shows/the_office.rb +37 -0
  227. data/lib/faker/tv_shows/the_thick_of_it.rb +51 -0
  228. data/lib/faker/tv_shows/twin_peaks.rb +51 -0
  229. data/lib/faker/tv_shows/venture_bros.rb +65 -0
  230. data/lib/faker/version.rb +4 -2
  231. data/lib/faker.rb +166 -66
  232. data/lib/helpers/base58.rb +22 -0
  233. data/lib/helpers/char.rb +37 -20
  234. data/lib/helpers/unique_generator.rb +34 -6
  235. data/lib/locales/README.md +40 -0
  236. data/lib/locales/ar.yml +106 -0
  237. data/lib/locales/bg.yml +5 -2
  238. data/lib/locales/ca-CAT.yml +1 -1
  239. data/lib/locales/ca.yml +2 -4
  240. data/lib/locales/da-DK.yml +10 -6
  241. data/lib/locales/de-AT.yml +14 -5
  242. data/lib/locales/de-CH.yml +1696 -1
  243. data/lib/locales/de.yml +27 -13
  244. data/lib/locales/ee.yml +61 -0
  245. data/lib/locales/en/address.yml +553 -4
  246. data/lib/locales/en/adjective.yml +179 -0
  247. data/lib/locales/en/ancient.yml +7 -0
  248. data/lib/locales/en/animal.yml +6 -0
  249. data/lib/locales/en/app.yml +8 -0
  250. data/lib/locales/en/appliance.yml +5 -0
  251. data/lib/locales/en/aqua_teen_hunger_force.yml +36 -0
  252. data/lib/locales/en/artist.yml +4 -0
  253. data/lib/locales/en/australia.yml +107 -0
  254. data/lib/locales/en/back_to_the_future.yml +120 -0
  255. data/lib/locales/en/bank.yml +302 -0
  256. data/lib/locales/en/barcode.yml +24 -0
  257. data/lib/locales/en/basketball.yml +99 -0
  258. data/lib/locales/en/beer.yml +9 -0
  259. data/lib/locales/en/bible.yml +90 -0
  260. data/lib/locales/en/big_bang_theory.yml +38 -0
  261. data/lib/locales/en/bird.yml +1281 -0
  262. data/lib/locales/en/blood.yml +13 -0
  263. data/lib/locales/en/bojack_horseman.yml +6 -0
  264. data/lib/locales/en/book.yml +491 -0
  265. data/lib/locales/en/bossa_nova.yml +6 -0
  266. data/lib/locales/en/breaking_bad.yml +28 -0
  267. data/lib/locales/en/brooklyn_nine_nine.yml +35 -0
  268. data/lib/locales/en/buffy.yml +260 -0
  269. data/lib/locales/en/business.yml +5 -0
  270. data/lib/locales/en/camera.yml +611 -0
  271. data/lib/locales/en/cannabis.yml +13 -0
  272. data/lib/locales/en/cat.yml +7 -0
  273. data/lib/locales/en/chiquito.yml +64 -0
  274. data/lib/locales/en/chuck_norris.yml +82 -0
  275. data/lib/locales/en/clash_of_clan.yml +101 -0
  276. data/lib/locales/en/code.yml +4 -0
  277. data/lib/locales/en/coffee.yml +31 -0
  278. data/lib/locales/en/coin.yml +6 -0
  279. data/lib/locales/en/color.yml +4 -0
  280. data/lib/locales/en/commerce.yml +28 -0
  281. data/lib/locales/en/community.yml +33 -0
  282. data/lib/locales/en/company.yml +22 -0
  283. data/lib/locales/en/compass.yml +34 -0
  284. data/lib/locales/en/computer.yml +55 -0
  285. data/lib/locales/en/conan.yml +171 -0
  286. data/lib/locales/en/construction.yml +425 -0
  287. data/lib/locales/en/control.yml +247 -0
  288. data/lib/locales/en/cosmere.yml +57 -0
  289. data/lib/locales/en/crypto_coin.yml +25 -0
  290. data/lib/locales/en/culture_series.yml +307 -0
  291. data/lib/locales/en/currency.yml +6 -0
  292. data/lib/locales/en/dc_comics.yml +52 -0
  293. data/lib/locales/en/demographic.yml +221 -0
  294. data/lib/locales/en/departed.yml +50 -0
  295. data/lib/locales/en/dessert.yml +6 -0
  296. data/lib/locales/en/device.yml +115 -0
  297. data/lib/locales/en/dnd.yml +451 -0
  298. data/lib/locales/en/dog.yml +11 -0
  299. data/lib/locales/en/doraemon.yml +286 -0
  300. data/lib/locales/en/dota.yml +693 -0
  301. data/lib/locales/en/dr_who.yml +31 -9
  302. data/lib/locales/en/dragon_ball.yml +246 -0
  303. data/lib/locales/en/driving_license.yml +181 -0
  304. data/lib/locales/en/drone.yml +95 -0
  305. data/lib/locales/en/dumb_and_dumber.yml +59 -0
  306. data/lib/locales/en/dune.yml +298 -0
  307. data/lib/locales/en/educator.yml +80 -0
  308. data/lib/locales/en/elder_scrolls.yml +585 -0
  309. data/lib/locales/en/electrical_components.yml +6 -0
  310. data/lib/locales/en/emotion.yml +480 -0
  311. data/lib/locales/en/esport.yml +8 -0
  312. data/lib/locales/en/fallout.yml +315 -0
  313. data/lib/locales/en/file.yml +13 -0
  314. data/lib/locales/en/final_space.yml +37 -0
  315. data/lib/locales/en/finance.yml +189 -0
  316. data/lib/locales/en/fma_brotherhood.yml +78 -0
  317. data/lib/locales/en/food.yml +1057 -0
  318. data/lib/locales/en/football.yml +8 -0
  319. data/lib/locales/en/fresh_prince_of_bel_air.yml +73 -0
  320. data/lib/locales/en/friends.yml +6 -0
  321. data/lib/locales/en/funny_name.yml +4 -0
  322. data/lib/locales/en/futurama.yml +344 -0
  323. data/lib/locales/en/game.yml +294 -0
  324. data/lib/locales/en/game_of_thrones.yml +8 -0
  325. data/lib/locales/en/gender.yml +6 -0
  326. data/lib/locales/en/ghostbusters.yml +91 -0
  327. data/lib/locales/en/grateful_dead.yml +48 -0
  328. data/lib/locales/en/greek_philosophers.yml +26 -0
  329. data/lib/locales/en/hacker.yml +8 -0
  330. data/lib/locales/en/half_life.yml +88 -0
  331. data/lib/locales/en/harry_potter.yml +9 -0
  332. data/lib/locales/en/heroes.yml +411 -0
  333. data/lib/locales/en/heroes_of_the_storm.yml +134 -0
  334. data/lib/locales/en/hey_arnold.yml +24 -0
  335. data/lib/locales/en/hipster.yml +4 -0
  336. data/lib/locales/en/hitchhikers_guide_to_the_galaxy.yml +45 -0
  337. data/lib/locales/en/hobby.yml +171 -0
  338. data/lib/locales/en/horse.yml +6 -0
  339. data/lib/locales/en/house.yml +5 -0
  340. data/lib/locales/en/how_i_met_your_mother.yml +28 -0
  341. data/lib/locales/en/how_to_train_your_dragon.yml +174 -0
  342. data/lib/locales/en/id_number.yml +5 -0
  343. data/lib/locales/en/industry_segments.yml +7 -0
  344. data/lib/locales/en/internet.yml +137 -3
  345. data/lib/locales/en/invoice.yml +6 -0
  346. data/lib/locales/en/jack_handey.yml +54 -0
  347. data/lib/locales/en/job.yml +15 -0
  348. data/lib/locales/en/kamen_rider.yml +452 -0
  349. data/lib/locales/en/kpop.yml +83 -0
  350. data/lib/locales/en/league_of_legends.yml +289 -0
  351. data/lib/locales/en/lebowski.yml +43 -0
  352. data/lib/locales/en/lorem.yml +11 -0
  353. data/lib/locales/en/lovecraft.yml +76 -6
  354. data/lib/locales/en/markdown.yml +5 -0
  355. data/lib/locales/en/marketing.yml +4 -0
  356. data/lib/locales/en/measurement.yml +11 -0
  357. data/lib/locales/en/michael_scott.yml +45 -0
  358. data/lib/locales/en/military.yml +182 -0
  359. data/lib/locales/en/minecraft.yml +663 -0
  360. data/lib/locales/en/mountain.yml +171 -0
  361. data/lib/locales/en/mountaineering.yml +14 -0
  362. data/lib/locales/en/movie.yml +194 -2
  363. data/lib/locales/en/music.yml +464 -0
  364. data/lib/locales/en/myst.yml +104 -0
  365. data/lib/locales/en/name.yml +26 -0
  366. data/lib/locales/en/naruto.yml +230 -0
  367. data/lib/locales/en/nation.yml +11 -0
  368. data/lib/locales/en/nato_phonetic_alphabet.yml +4 -0
  369. data/lib/locales/en/new_girl.yml +40 -0
  370. data/lib/locales/en/one_piece.yml +9 -0
  371. data/lib/locales/en/opera.yml +340 -0
  372. data/lib/locales/en/overwatch.yml +2654 -0
  373. data/lib/locales/en/parks_and_rec.yml +7 -0
  374. data/lib/locales/en/pearl_jam.yml +213 -0
  375. data/lib/locales/en/phish.yml +395 -0
  376. data/lib/locales/en/phone_number.yml +7 -0
  377. data/lib/locales/en/pokemon.yml +421 -0
  378. data/lib/locales/en/prince.yml +227 -0
  379. data/lib/locales/en/princess_bride.yml +5 -0
  380. data/lib/locales/en/programming_language.yml +6 -0
  381. data/lib/locales/en/quote.yml +695 -0
  382. data/lib/locales/en/rajnikanth.yml +77 -0
  383. data/lib/locales/en/relationship.yml +10 -0
  384. data/lib/locales/en/restaurant.yml +129 -0
  385. data/lib/locales/en/rock_band.yml +5 -0
  386. data/lib/locales/en/room.yml +68 -0
  387. data/lib/locales/en/rupaul.yml +125 -0
  388. data/lib/locales/en/rush.yml +32 -0
  389. data/lib/locales/en/science.yml +484 -0
  390. data/lib/locales/en/seinfeld.yml +6 -0
  391. data/lib/locales/en/shakespeare.yml +53 -0
  392. data/lib/locales/en/show.yml +597 -0
  393. data/lib/locales/en/silicon_valley.yml +53 -0
  394. data/lib/locales/en/simpsons.yml +694 -0
  395. data/lib/locales/en/slack_emoji.yml +20 -0
  396. data/lib/locales/en/sonic_the_hedgehog.yml +410 -0
  397. data/lib/locales/en/source.yml +46 -0
  398. data/lib/locales/en/south_park.yml +5 -0
  399. data/lib/locales/en/space.yml +17 -0
  400. data/lib/locales/en/sport.yml +121 -0
  401. data/lib/locales/en/star_trek.yml +7 -0
  402. data/lib/locales/en/star_wars.yml +606 -0
  403. data/lib/locales/en/stargate.yml +21 -0
  404. data/lib/locales/en/stranger_thing.yml +36 -0
  405. data/lib/locales/en/street_fighter.yml +1524 -0
  406. data/lib/locales/en/stripe.yml +42 -0
  407. data/lib/locales/en/studio_ghibli.yml +107 -0
  408. data/lib/locales/en/subscription.yml +8 -0
  409. data/lib/locales/en/suits.yml +45 -0
  410. data/lib/locales/en/super_mario.yml +58 -0
  411. data/lib/locales/en/super_smash_bros.yml +223 -0
  412. data/lib/locales/en/superhero.yml +12 -0
  413. data/lib/locales/en/supernatural.yml +141 -0
  414. data/lib/locales/en/sword_art_online.yml +334 -0
  415. data/lib/locales/en/tea.yml +172 -0
  416. data/lib/locales/en/team.yml +8 -0
  417. data/lib/locales/en/the_expanse.yml +7 -0
  418. data/lib/locales/en/the_it_crowd.yml +155 -0
  419. data/lib/locales/en/the_kingkiller_chronicle.yml +56 -0
  420. data/lib/locales/en/the_office.yml +86 -0
  421. data/lib/locales/en/the_thick_of_it.yml +6 -0
  422. data/lib/locales/en/tolkien.yml +2453 -0
  423. data/lib/locales/en/touhou.yml +839 -0
  424. data/lib/locales/en/tron.yml +227 -0
  425. data/lib/locales/en/twin_peaks.yml +6 -0
  426. data/lib/locales/en/umphreys_mcgee.yml +4 -0
  427. data/lib/locales/en/university.yml +10 -0
  428. data/lib/locales/en/v_for_vendetta.yml +163 -0
  429. data/lib/locales/en/vehicle.yml +2814 -0
  430. data/lib/locales/en/venture_bros.yml +7 -0
  431. data/lib/locales/en/verbs.yml +8 -0
  432. data/lib/locales/en/volleyball.yml +501 -0
  433. data/lib/locales/en/warhammer_fantasy.yml +582 -0
  434. data/lib/locales/en/witcher.yml +430 -0
  435. data/lib/locales/en/world_cup.yml +271 -0
  436. data/lib/locales/en/world_of_warcraft.yml +126 -0
  437. data/lib/locales/en/yoda.yml +4 -0
  438. data/lib/locales/en/zelda.yml +966 -0
  439. data/lib/locales/en-AU.yml +50 -8
  440. data/lib/locales/en-CA.yml +27 -2
  441. data/lib/locales/en-GB.yml +2 -1
  442. data/lib/locales/en-IND.yml +5 -2
  443. data/lib/locales/en-MS.yml +10 -1
  444. data/lib/locales/en-NEP.yml +6 -3
  445. data/lib/locales/en-NG.yml +2 -0
  446. data/lib/locales/en-NZ.yml +140 -17
  447. data/lib/locales/en-PAK.yml +4 -2
  448. data/lib/locales/en-SG.yml +6 -1
  449. data/lib/locales/en-TH.yml +360 -0
  450. data/lib/locales/en-US.yml +38 -10
  451. data/lib/locales/en-ZA.yml +114 -17
  452. data/lib/locales/en-au-ocker.yml +2 -1
  453. data/lib/locales/en.yml +0 -746
  454. data/lib/locales/es-AR.yml +4600 -0
  455. data/lib/locales/es-MX.yml +17 -1
  456. data/lib/locales/es.yml +75 -1
  457. data/lib/locales/fa.yml +6 -0
  458. data/lib/locales/fi-FI.yml +12 -6
  459. data/lib/locales/fr/address.yml +21 -0
  460. data/lib/locales/fr/adjective.yml +266 -0
  461. data/lib/locales/fr/animal.yml +5 -0
  462. data/lib/locales/fr/appliance.yml +4 -0
  463. data/lib/locales/fr/book.yml +7 -0
  464. data/lib/locales/fr/color.yml +4 -0
  465. data/lib/locales/fr/company.yml +17 -0
  466. data/lib/locales/fr/compass.yml +23 -0
  467. data/lib/locales/fr/demographic.yml +4 -0
  468. data/lib/locales/fr/gender.yml +6 -0
  469. data/lib/locales/fr/internet.yml +5 -0
  470. data/lib/locales/fr/lorem.yml +5 -0
  471. data/lib/locales/fr/measurement.yml +7 -0
  472. data/lib/locales/fr/name.yml +21 -0
  473. data/lib/locales/fr/phone_number.yml +7 -0
  474. data/lib/locales/fr/pokemon.yml +7 -0
  475. data/lib/locales/fr-CA.yml +107 -0
  476. data/lib/locales/fr-CH.yml +78 -0
  477. data/lib/locales/fr.yml +1 -65
  478. data/lib/locales/he.yml +2 -0
  479. data/lib/locales/hy.yml +411 -0
  480. data/lib/locales/id.yml +7 -2
  481. data/lib/locales/it.yml +15 -3
  482. data/lib/locales/ja/README.md +13 -0
  483. data/lib/locales/ja/address.yml +120539 -0
  484. data/lib/locales/ja/adjective.yml +148 -0
  485. data/lib/locales/ja/ancient.yml +4 -0
  486. data/lib/locales/ja/animal.yml +5 -0
  487. data/lib/locales/ja/bank.yml +4 -0
  488. data/lib/locales/ja/book.yml +7 -0
  489. data/lib/locales/ja/cat.yml +5 -0
  490. data/lib/locales/ja/coffee.yml +4 -0
  491. data/lib/locales/ja/color.yml +4 -0
  492. data/lib/locales/ja/commerce.yml +11 -0
  493. data/lib/locales/ja/company.yml +8 -0
  494. data/lib/locales/ja/dog.yml +6 -0
  495. data/lib/locales/ja/emotion.yml +51 -0
  496. data/lib/locales/ja/food.yml +4 -0
  497. data/lib/locales/ja/gender.yml +4 -0
  498. data/lib/locales/ja/lorem.yml +9 -0
  499. data/lib/locales/ja/name.yml +13 -0
  500. data/lib/locales/ja/naruto.yml +230 -0
  501. data/lib/locales/ja/overwatch.yml +5 -0
  502. data/lib/locales/ja/phone_number.yml +7 -0
  503. data/lib/locales/ja/pokemon.yml +7 -0
  504. data/lib/locales/ja/relationship.yml +10 -0
  505. data/lib/locales/ja/restaurant.yml +11 -0
  506. data/lib/locales/ja/space.yml +5 -0
  507. data/lib/locales/ja/studio_ghibli.yml +112 -0
  508. data/lib/locales/ja/subscription.yml +8 -0
  509. data/lib/locales/ja/super_mario.yml +9 -0
  510. data/lib/locales/ja/super_smash_bros.yml +8 -0
  511. data/lib/locales/ja/university.yml +9 -0
  512. data/lib/locales/ja/zelda.yml +5 -0
  513. data/lib/locales/ko.yml +98 -3
  514. data/lib/locales/lt.yml +35 -0
  515. data/lib/locales/lv.yml +55 -0
  516. data/lib/locales/mi-NZ.yml +281 -0
  517. data/lib/locales/nb-NO.yml +15 -6
  518. data/lib/locales/nl.yml +13 -4
  519. data/lib/locales/no.yml +7 -0
  520. data/lib/locales/pl.yml +13 -2
  521. data/lib/locales/pt-BR.yml +657 -17
  522. data/lib/locales/pt.yml +16 -6
  523. data/lib/locales/ru.yml +54 -5
  524. data/lib/locales/sk.yml +21 -13
  525. data/lib/locales/sv.yml +15 -7
  526. data/lib/locales/th.yml +380 -0
  527. data/lib/locales/tr.yml +14 -0
  528. data/lib/locales/uk.yml +17 -4
  529. data/lib/locales/vi.yml +7 -2
  530. data/lib/locales/zh-CN.yml +10 -4
  531. data/lib/locales/zh-TW.yml +3 -1
  532. metadata +620 -98
  533. data/lib/extensions/array.rb +0 -22
  534. data/lib/extensions/symbol.rb +0 -9
  535. data/lib/faker/address.rb +0 -67
  536. data/lib/faker/ancient.rb +0 -21
  537. data/lib/faker/app.rb +0 -18
  538. data/lib/faker/artist.rb +0 -9
  539. data/lib/faker/avatar.rb +0 -15
  540. data/lib/faker/bank.rb +0 -31
  541. data/lib/faker/beer.rb +0 -40
  542. data/lib/faker/bitcoin.rb +0 -48
  543. data/lib/faker/book.rb +0 -23
  544. data/lib/faker/boolean.rb +0 -9
  545. data/lib/faker/business.rb +0 -22
  546. data/lib/faker/cat.rb +0 -19
  547. data/lib/faker/chuck_norris.rb +0 -11
  548. data/lib/faker/code.rb +0 -147
  549. data/lib/faker/coffee.rb +0 -29
  550. data/lib/faker/color.rb +0 -30
  551. data/lib/faker/commerce.rb +0 -64
  552. data/lib/faker/company.rb +0 -141
  553. data/lib/faker/compass.rb +0 -65
  554. data/lib/faker/crypto.rb +0 -19
  555. data/lib/faker/date.rb +0 -78
  556. data/lib/faker/demographic.rb +0 -35
  557. data/lib/faker/dessert.rb +0 -19
  558. data/lib/faker/dr_who.rb +0 -34
  559. data/lib/faker/dragon_ball.rb +0 -9
  560. data/lib/faker/educator.rb +0 -23
  561. data/lib/faker/esport.rb +0 -25
  562. data/lib/faker/family_guy.rb +0 -17
  563. data/lib/faker/file.rb +0 -24
  564. data/lib/faker/fillmurray.rb +0 -14
  565. data/lib/faker/finance.rb +0 -28
  566. data/lib/faker/food.rb +0 -21
  567. data/lib/faker/friends.rb +0 -17
  568. data/lib/faker/funny_name.rb +0 -43
  569. data/lib/faker/game_of_thrones.rb +0 -25
  570. data/lib/faker/hacker.rb +0 -45
  571. data/lib/faker/harry_potter.rb +0 -21
  572. data/lib/faker/hey_arnold.rb +0 -17
  573. data/lib/faker/hipster.rb +0 -59
  574. data/lib/faker/hitchhikers_guide_to_the_galaxy.rb +0 -33
  575. data/lib/faker/hobbit.rb +0 -21
  576. data/lib/faker/how_i_met_your_mother.rb +0 -21
  577. data/lib/faker/id_number.rb +0 -36
  578. data/lib/faker/internet.rb +0 -178
  579. data/lib/faker/job.rb +0 -16
  580. data/lib/faker/league_of_legends.rb +0 -29
  581. data/lib/faker/lord_of_the_rings.rb +0 -13
  582. data/lib/faker/lorem.rb +0 -68
  583. data/lib/faker/lorem_pixel.rb +0 -21
  584. data/lib/faker/lovecraft.rb +0 -73
  585. data/lib/faker/markdown.rb +0 -66
  586. data/lib/faker/matz.rb +0 -9
  587. data/lib/faker/movie.rb +0 -9
  588. data/lib/faker/music.rb +0 -33
  589. data/lib/faker/name.rb +0 -42
  590. data/lib/faker/number.rb +0 -86
  591. data/lib/faker/omniauth.rb +0 -340
  592. data/lib/faker/overwatch.rb +0 -17
  593. data/lib/faker/phone_number.rb +0 -44
  594. data/lib/faker/placeholdit.rb +0 -20
  595. data/lib/faker/pokemon.rb +0 -17
  596. data/lib/faker/rick_and_morty.rb +0 -17
  597. data/lib/faker/robin.rb +0 -9
  598. data/lib/faker/rock_band.rb +0 -9
  599. data/lib/faker/rupaul.rb +0 -11
  600. data/lib/faker/shakespeare.rb +0 -83
  601. data/lib/faker/simpsons.rb +0 -22
  602. data/lib/faker/slack_emoji.rb +0 -43
  603. data/lib/faker/space.rb +0 -58
  604. data/lib/faker/star_trek.rb +0 -21
  605. data/lib/faker/star_wars.rb +0 -80
  606. data/lib/faker/superhero.rb +0 -25
  607. data/lib/faker/team.rb +0 -24
  608. data/lib/faker/time.rb +0 -51
  609. data/lib/faker/twin_peaks.rb +0 -17
  610. data/lib/faker/twitter.rb +0 -172
  611. data/lib/faker/university.rb +0 -20
  612. data/lib/faker/vehicle.rb +0 -37
  613. data/lib/faker/yoda.rb +0 -10
  614. data/lib/faker/zelda.rb +0 -18
  615. data/lib/locales/ja.yml +0 -46
data/History.md CHANGED
@@ -33,7 +33,7 @@
33
33
  ## v1.6.0 (2015-11-23)
34
34
  * Lots of bug fixes -- most notably, a fix for email addresses and domains in non-en locales
35
35
  * Updated locales: de, en-AU, en-NZ, en-SG, en-US, en-au-ocker, en, es, fr, he, it, ja, nb-NO, pl, pt-BR, sk, and zh-CN
36
- * Updated classes: Address, Avatar, Book, Code, Commerce, Company, Hipster, IDNumber, Internet, Number, Placeholdit, Shakespeare, and Time
36
+ * Updated classes: Address, Avatar, Book, Code, Commerce, Company, Hipster, IDNumber, Internet, Number, Placeholdit, Shakespeare, and Time
37
37
 
38
38
  ## v1.5.0 (2015-08-17)
39
39
  * Added logos
@@ -83,7 +83,7 @@
83
83
  * 1 major change:
84
84
  * Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county
85
85
  * Many minor changes (please see github pull requests for credits)
86
- * Added many localizations
86
+ * Added many localizations
87
87
  * Added range and array support for Lorem
88
88
 
89
89
  ## v1.0.1 (2011-09-27)
@@ -117,7 +117,7 @@
117
117
  * Added Canadian translation [igbanam]
118
118
  * Added Norwegian translation [kytrinyx]
119
119
  * Lots of translation-related cleanup [kytrinyx]
120
-
120
+
121
121
 
122
122
  ## v0.9.5 (2011-01-27)
123
123
  * 1 minor bug fix:
@@ -159,7 +159,7 @@
159
159
  * 3 major enhancements:
160
160
  * Added Lorem to generate fake Latin
161
161
  * Added secondary_address to Address, and made inclusion of
162
- secondary address in street_address optional (false by
162
+ secondary address in street_address optional (false by
163
163
  default).
164
164
  * Added UK address methods [Caius Durling]
165
165
 
data/License.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007-2010 Benjamin Curtis
1
+ Copyright (c) 2007-2019 Benjamin Curtis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
17
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,7 +1,13 @@
1
- # Faker [![Build Status](https://travis-ci.org/stympy/faker.svg?branch=master)](https://travis-ci.org/stympy/faker) [![Gem Version](https://badge.fury.io/rb/faker.svg)](https://badge.fury.io/rb/faker)
1
+ ![logotype a happy-07](https://user-images.githubusercontent.com/36028424/40263395-4318481e-5b44-11e8-92e5-3dcc1ce169b3.png)
2
2
 
3
+ # Faker
4
+ [![Tests](https://github.com/faker-ruby/faker/workflows/Tests/badge.svg)](https://github.com/faker-ruby/faker/actions?query=workflow%3ATests)
5
+ [![Gem Version](https://badge.fury.io/rb/faker.svg)](https://badge.fury.io/rb/faker)
6
+ [![Inline docs](https://inch-ci.org/github/faker-ruby/faker.svg?branch=master)](https://inch-ci.org/github/faker-ruby/faker)
7
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/test_coverage)](https://codeclimate.com/github/stympy/faker/test_coverage)
8
+ [![Maintainability](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/maintainability)](https://codeclimate.com/github/stympy/faker/maintainability)
3
9
 
4
- This gem is a port of Perl's Data::Faker library that generates fake data.
10
+ This gem is a port of [Perl's Data::Faker library](https://metacpan.org/pod/Data::Faker) that generates fake data.
5
11
 
6
12
  It comes in very handy for taking screenshots (taking screenshots for my
7
13
  project, [Catch the Best](http://catchthebest.com/) was the original impetus
@@ -9,114 +15,62 @@ for the creation of this gem), having real-looking test data, and having your
9
15
  database populated with more than one or two records while you're doing
10
16
  development.
11
17
 
12
- ### NOTE
18
+ - [Faker](#faker)
19
+ - [NOTE](#note)
20
+ - [Installing](#installing)
21
+ - [Usage](#usage)
22
+ - [CLI](#cli)
23
+ - [Ensuring unique values](#ensuring-unique-values)
24
+ - [Deterministic Random](#deterministic-random)
25
+ - [Generators](#generators)
26
+ - [Default](#default)
27
+ - [Blockchain](#blockchain)
28
+ - [Books](#books)
29
+ - [Fantasy](#fantasy)
30
+ - [Creature](#creature)
31
+ - [Games](#games)
32
+ - [Japanese Media](#japanese-media)
33
+ - [Movies](#movies)
34
+ - [Music](#music)
35
+ - [Quotes](#quotes)
36
+ - [Sports](#sports)
37
+ - [Tv Shows](#tv-shows)
38
+ - [Customization](#customization)
39
+ - [Contributing](#contributing)
40
+ - [Contact](#contact)
41
+ - [License](#license)
13
42
 
43
+ ### NOTE
14
44
  * While Faker generates data at random, returned values are not guaranteed to be unique by default.
15
- You must explicity specify when you require unique values, see [details](#ensuring-unique-values).
45
+ You must explicitly specify when you require unique values, see [details](#ensuring-unique-values).
16
46
  Values also can be deterministic if you use the deterministic feature, see [details](#deterministic-random)
17
47
  * This is the `master` branch of Faker and may contain changes that are not yet released.
18
48
  Please refer the README of your version for the available methods.
19
49
  List of all versions is [available here](https://github.com/stympy/faker/releases).
20
50
 
21
- Contents
22
- --------
23
-
24
- - [Installing](#installing)
25
- - [Usage](#usage)
26
- - [Faker::Address](doc/address.md)
27
- - [Faker::Ancient](doc/ancient.md)
28
- - [Faker::App](doc/app.md)
29
- - [Faker::Avatar](doc/avatar.md)
30
- - [Faker::Bank](doc/bank.md)
31
- - [Faker::Beer](doc/beer.md)
32
- - [Faker::Bitcoin](doc/bitcoin.md)
33
- - [Faker::Book](doc/book.md)
34
- - [Faker::Boolean](doc/boolean.md)
35
- - [Faker::Business](doc/business.md)
36
- - [Faker::Cat](doc/cat.md)
37
- - [Faker::ChuckNorris](doc/chuck_norris.md)
38
- - [Faker::Code](doc/code.md)
39
- - [Faker::Coffee](doc/coffee.md)
40
- - [Faker::Color](doc/color.md)
41
- - [Faker::Commerce](doc/commerce.md)
42
- - [Faker::Company](doc/company.md)
43
- - [Faker::Compass](doc/compass.md)
44
- - [Faker::Crypto](doc/crypto.md)
45
- - [Faker::Date](doc/date.md)
46
- - [Faker::Demographic](doc/demographic.md)
47
- - [Faker::Dessert](doc/dessert.md)
48
- - [Faker::DragonBall](doc/dragon_ball.md)
49
- - [Faker::DrWho](doc/dr_who.md)
50
- - [Faker::Educator](doc/educator.md)
51
- - [Faker::FamilyGuy](doc/family_guy.md)
52
- - [Faker::File](doc/file.md)
53
- - [Faker::Fillmurray](doc/fillmurray.md)
54
- - [Faker::Food](doc/food.md)
55
- - [Faker::Friends](doc/friends.md)
56
- - [Faker::GameOfThrones](doc/game_of_thrones.md)
57
- - [Faker::Hacker](doc/hacker.md)
58
- - [Faker::HarryPotter](doc/harry_potter.md)
59
- - [Faker::HeyArnold](doc/hey_arnold.md)
60
- - [Faker::Hipster](doc/hipster.md)
61
- - [Faker::Hobbit](doc/hobbit.md)
62
- - [Faker::HowIMetYourMother](doc/how_i_met_your_mother.md)
63
- - [Faker::HitchhikersGuideToTheGalaxy](doc/hitchhikers_guide_to_the_galaxy.md)
64
- - [Faker::Internet](doc/internet.md)
65
- - [Faker::Job](doc/job.md)
66
- - [Faker::LeagueOfLegends](doc/league_of_legends.md)
67
- - [Faker::LordOfTheRings](doc/lord_of_the_rings.md)
68
- - [Faker::LoremPixel](doc/lorem_pixel.md)
69
- - [Faker::Lorem](doc/lorem.md)
70
- - [Faker::Lovecraft](doc/lovecraft.md)
71
- - [Faker::Markdown](doc/markdown.md)
72
- - [Faker::Matz](doc/matz.md)
73
- - [Faker::Movie](doc/movie.md)
74
- - [Faker::Music](doc/music.md)
75
- - [Faker::Name](doc/name.md)
76
- - [Faker::Number](doc/number.md)
77
- - [Faker::Omniauth](doc/omniauth.md)
78
- - [Faker::Overwatch](doc/overwatch.md)
79
- - [Faker::PhoneNumber](doc/phone_number.md)
80
- - [Faker::Placeholdit](doc/placeholdit.md)
81
- - [Faker::Pokemon](doc/pokemon.md)
82
- - [Faker::RickAndMorty](doc/rick_and_morty.md)
83
- - [Faker::Robin](doc/robin.md)
84
- - [Faker::RockBand](doc/rock_band.md)
85
- - [Faker::RuPaul](doc/rupaul.md)
86
- - [Faker::Simpsons](doc/simpsons.md)
87
- - [Faker::SlackEmoji](doc/slack_emoji.md)
88
- - [Faker::Space](doc/space.md)
89
- - [Faker::StarTrek](doc/star_trek.md)
90
- - [Faker::StarWars](doc/star_wars.md)
91
- - [Faker::Superhero](doc/superhero.md)
92
- - [Faker::Team](doc/team.md)
93
- - [Faker::Time](doc/time.md)
94
- - [Faker::TwinPeaks](doc/twin_peaks.md)
95
- - [Faker::Twitter](doc/twitter.md)
96
- - [Faker::University](doc/university.md)
97
- - [Faker::Vehicle](doc/vehicle.md)
98
- - [Faker::Zelda](doc/zelda.md)
99
- - [Customization](#customization)
100
- - [Contributing](#contributing)
101
- - [Contact](#contact)
102
- - [License](#license)
103
-
104
51
  ## Installing
105
-
106
52
  ```bash
107
53
  gem install faker
108
54
  ```
55
+ Note: if you are getting a `uninitialized constant Faker::[some_class]` error, your version of the gem is behind the one documented here. To make sure that your gem is the one documented here, change the line in your Gemfile to:
109
56
 
110
- ## Usage
57
+ ```ruby
58
+ gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'master'
59
+ ```
111
60
 
61
+ ## Usage
112
62
  ```ruby
63
+ require 'faker'
64
+
113
65
  Faker::Name.name #=> "Christophe Bartell"
114
66
 
115
67
  Faker::Internet.email #=> "kirsten.greenholt@corkeryfisher.info"
116
68
  ```
117
69
 
118
- ### Ensuring unique values
70
+ ### CLI
71
+ Instructions are available in the [faker-bot README](https://github.com/faker-ruby/faker-bot).
119
72
 
73
+ ### Ensuring unique values
120
74
  Prefix your method call with `unique`. For example:
121
75
  ```ruby
122
76
  Faker::Name.unique.name # This will return a unique name every time it is called
@@ -130,15 +84,20 @@ that have been returned, for example between tests.
130
84
  Faker::Name.unique.clear # Clears used values for Faker::Name
131
85
  Faker::UniqueGenerator.clear # Clears used values for all generators
132
86
  ```
133
- It is also possible to add a random number to the end of faker data to increase the
134
- likelihood of unique data being generated. For example:
87
+
88
+ You also can give some already used values to the unique generator if you have
89
+ collisions with the generated data (i.e: using FactoryBot with random and
90
+ manually set values).
135
91
 
136
92
  ```ruby
137
- Faker::Name.unique + ((1..1000).to_a).sample
93
+ # Usage:
94
+ # Faker::<generator>.unique.exclude(method, arguments, list)
95
+
96
+ # Add 'azerty' and 'wxcvbn' to the string generator with 6 char length
97
+ Faker::Lorem.unique.exclude :string, [number: 6], %w[azerty wxcvbn]
138
98
  ```
139
99
 
140
100
  ### Deterministic Random
141
-
142
101
  Faker supports seeding of its pseudo-random number generator (PRNG) to provide deterministic output of repeated method calls.
143
102
 
144
103
  ```ruby
@@ -154,41 +113,299 @@ Faker::Config.random.seed #=> 185180369676275068918401850258677722187
154
113
  Faker::Company.bs #=> "cultivate viral synergies"
155
114
  ```
156
115
 
116
+ ## Generators
117
+ **NOTE: Some of the generators below aren't released yet. If you want to use them, change the line in your gemfile to:**
118
+
119
+ ```ruby
120
+ gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'master'
121
+ ```
122
+
123
+ ### Default
124
+ - [Faker::Address](doc/default/address.md)
125
+ - [Faker::Alphanumeric](doc/default/alphanumeric.md)
126
+ - [Faker::Ancient](doc/default/ancient.md)
127
+ - [Faker::App](doc/default/app.md)
128
+ - [Faker::Appliance](doc/default/appliance.md)
129
+ - [Faker::Artist](doc/default/artist.md)
130
+ - [Faker::Avatar](doc/default/avatar.md)
131
+ - [Faker::Bank](doc/default/bank.md)
132
+ - [Faker::Barcode](doc/default/barcode.md)
133
+ - [Faker::Beer](doc/default/beer.md)
134
+ - [Faker::Blood](doc/default/blood.md)
135
+ - [Faker::Boolean](doc/default/boolean.md)
136
+ - [Faker::BossaNova](doc/default/bossa_nova.md)
137
+ - [Faker::Business](doc/default/business.md)
138
+ - [Faker::Camera](doc/default/camera.md)
139
+ - [Faker::Cannabis](doc/default/cannabis.md)
140
+ - [Faker::ChileRut](doc/default/chile_rut.md)
141
+ - [Faker::ChuckNorris](doc/default/chuck_norris.md)
142
+ - [Faker::Code](doc/default/code.md)
143
+ - [Faker::Coffee](doc/default/coffee.md)
144
+ - [Faker::Coin](doc/default/coin.md)
145
+ - [Faker::Color](doc/default/color.md)
146
+ - [Faker::Commerce](doc/default/commerce.md)
147
+ - [Faker::Company](doc/default/company.md)
148
+ - [Faker::Compass](doc/default/compass.md)
149
+ - [Faker::Computer](doc/default/computer.md)
150
+ - [Faker::Construction](doc/default/construction.md)
151
+ - [Faker::Cosmere](doc/default/cosmere.md)
152
+ - [Faker::Crypto](doc/default/crypto.md)
153
+ - [Faker::CryptoCoin](doc/default/crypto_coin.md)
154
+ - [Faker::Currency](doc/default/currency.md)
155
+ - [Faker::Date](doc/default/date.md)
156
+ - [Faker::DcComics](doc/default/dc_comics.md)
157
+ - [Faker::Demographic](doc/default/demographic.md)
158
+ - [Faker::Dessert](doc/default/dessert.md)
159
+ - [Faker::Device](doc/default/device.md)
160
+ - [Faker::DrivingLicence](doc/default/driving_licence.md)
161
+ - [Faker::Drone](doc/drone/drone.md)
162
+ - [Faker::Educator](doc/default/educator.md)
163
+ - [Faker::ElectricalComponents](doc/default/electrical_components.md)
164
+ - [Faker::Emotion](doc/default/emotion.md)
165
+ - [Faker::Esport](doc/default/esport.md)
166
+ - [Faker::File](doc/default/file.md)
167
+ - [Faker::Fillmurray](doc/default/fillmurray.md)
168
+ - [Faker::Finance](doc/default/finance.md)
169
+ - [Faker::Food](doc/default/food.md)
170
+ - [Faker::FunnyName](doc/default/funny_name.md)
171
+ - [Faker::Gender](doc/default/gender.md)
172
+ - [Faker::GreekPhilosophers](doc/default/greek_philosophers.md)
173
+ - [Faker::Hacker](doc/default/hacker.md)
174
+ - [Faker::Hipster](doc/default/hipster.md)
175
+ - [Faker::Hobby](doc/default/hobby.md)
176
+ - [Faker::House](doc/default/house.md)
177
+ - [Faker::IDNumber](doc/default/id_number.md)
178
+ - [Faker::IndustrySegments](doc/default/industry_segments.md)
179
+ - [Faker::Internet](doc/default/internet.md)
180
+ - [Faker::Invoice](doc/default/invoice.md)
181
+ - [Faker::Job](doc/default/job.md)
182
+ - [Faker::Json](doc/default/json.md)
183
+ - [Faker::Kpop](doc/default/kpop.md)
184
+ - [Faker::Lorem](doc/default/lorem.md)
185
+ - [Faker::LoremFlickr](doc/default/lorem_flickr.md)
186
+ - [Faker::LoremPixel](doc/default/lorem_pixel.md)
187
+ - [Faker::Markdown](doc/default/markdown.md)
188
+ - [Faker::Marketing](doc/default/marketing.md)
189
+ - [Faker::Measurement](doc/default/measurement.md)
190
+ - [Faker::Military](doc/default/military.md)
191
+ - [Faker::Mountain](doc/default/mountain.md)
192
+ - [Faker::Name](doc/default/name.md)
193
+ - [Faker::Nation](doc/default/nation.md)
194
+ - [Faker::NatoPhoneticAlphabet](doc/default/nato_phonetic_alphabet.md)
195
+ - [Faker::NationalHealthService](doc/default/national_health_service.md)
196
+ - [Faker::Number](doc/default/number.md)
197
+ - [Faker::Omniauth](doc/default/omniauth.md)
198
+ - [Faker::PhoneNumber](doc/default/phone_number.md)
199
+ - [Faker::Placeholdit](doc/default/placeholdit.md)
200
+ - [Faker::ProgrammingLanguage](doc/default/programming_language.md)
201
+ - [Faker::Relationship](doc/default/relationship.md)
202
+ - [Faker::Restaurant](doc/default/restaurant.md)
203
+ - [Faker::Science](doc/default/science.md)
204
+ - [Faker::SlackEmoji](doc/default/slack_emoji.md)
205
+ - [Faker::Source](doc/default/source.md)
206
+ - [Faker::SouthAfrica](doc/default/south_africa.md)
207
+ - [Faker::Space](doc/default/space.md)
208
+ - [Faker::String](doc/default/string.md)
209
+ - [Faker::Stripe](doc/default/stripe.md)
210
+ - [Faker::Subscription](doc/default/subscription.md)
211
+ - [Faker::Superhero](doc/default/superhero.md)
212
+ - [Faker::Tea](doc/default/tea.md)
213
+ - [Faker::Team](doc/default/team.md)
214
+ - [Faker::Time](doc/default/time.md)
215
+ - [Faker::Twitter](doc/default/twitter.md)
216
+ - [Faker::Types](doc/default/types.md)
217
+ - [Faker::University](doc/default/university.md)
218
+ - [Faker::Vehicle](doc/default/vehicle.md)
219
+ - [Faker::Verbs](doc/default/verbs.md)
220
+ - [Faker::VulnerabilityIdentifier](doc/default/vulnerability_identifier.md)
221
+ - [Faker::WorldCup](doc/default/world_cup.md)
222
+
223
+ ### Blockchain
224
+ - [Faker::Blockchain::Aeternity](doc/blockchain/aeternity.md)
225
+ - [Faker::Blockchain::Bitcoin](doc/blockchain/bitcoin.md)
226
+ - [Faker::Blockchain::Ethereum](doc/blockchain/ethereum.md)
227
+ - [Faker::Blockchain::Tezos](doc/blockchain/tezos.md)
228
+
229
+ ### Books
230
+ - [Faker::Book](doc/books/book.md)
231
+ - [Faker::Books::CultureSeries](doc/books/culture_series.md)
232
+ - [Faker::Books::Dune](doc/books/dune.md)
233
+ - [Faker::Books::Lovecraft](doc/books/lovecraft.md)
234
+ - [Faker::Books::TheKingkillerChronicle](doc/books/the_kingkiller_chronicle.md)
235
+
236
+ ### Fantasy
237
+ - [Faker::Fantasy::Tolkien](doc/fantasy/tolkien.md)
238
+
239
+ ### Creature
240
+ - [Faker::Creature::Animal](doc/creature/animal.md)
241
+ - [Faker::Creature::Bird](doc/creature/bird.md)
242
+ - [Faker::Creature::Cat](doc/creature/cat.md)
243
+ - [Faker::Creature::Dog](doc/creature/dog.md)
244
+ - [Faker::Creature::Horse](doc/creature/horse.md)
245
+
246
+ ### Games
247
+ - [Faker::Game](doc/games/game.md)
248
+ - [Faker::Games::ClashOfClans](doc/games/clash_of_clans.md)
249
+ - [Faker::Games::DnD](doc/games/dnd.md)
250
+ - [Faker::Games::Dota](doc/games/dota.md)
251
+ - [Faker::Games::ElderScrolls](doc/games/elder_scrolls.md)
252
+ - [Faker::Games::Fallout](doc/games/fallout.md)
253
+ - [Faker::Games::HalfLife](doc/games/half_life.md)
254
+ - [Faker::Games::Heroes](doc/games/heroes.md)
255
+ - [Faker::Games::HeroesOfTheStorm](doc/games/heroes_of_the_storm.md)
256
+ - [Faker::Games::LeagueOfLegends](doc/games/league_of_legends.md)
257
+ - [Faker::Games::Minecraft](doc/games/minecraft.md)
258
+ - [Faker::Games::Myst](doc/games/myst.md)
259
+ - [Faker::Games::Overwatch](doc/games/overwatch.md)
260
+ - [Faker::Games::Pokemon](doc/games/pokemon.md)
261
+ - [Faker::Games::SonicTheHedgehog](doc/games/sonic_the_hedgehog.md)
262
+ - [Faker::Games::StreetFighter](doc/games/street_fighter.md)
263
+ - [Faker::Games::SuperMario](doc/games/super_mario.md)
264
+ - [Faker::Games::SuperSmashBros](doc/games/super_smash_bros.md)
265
+ - [Faker::Games::Touhou](doc/games/touhou.md)
266
+ - [Faker::Games::WarhammerFantasy](doc/games/warhammer_fantasy.md)
267
+ - [Faker::Games::Witcher](doc/games/witcher.md)
268
+ - [Faker::Games::WorldOfWarcraft](doc/games/world_of_warcraft.md)
269
+ - [Faker::Games::Zelda](doc/games/zelda.md)
270
+
271
+ ### Japanese Media
272
+ - [Faker::JapaneseMedia::DragonBall](doc/japanese_media/dragon_ball.md)
273
+ - [Faker::JapaneseMedia::OnePiece](doc/japanese_media/one_piece.md)
274
+ - [Faker::JapaneseMedia::StudioGhibli](doc/japanese_media/studio_ghibli.md)
275
+ - [Faker::JapaneseMedia::SwordArtOnline](doc/japanese_media/sword_art_online.md)
276
+ - [Faker::JapaneseMedia::Naruto](doc/japanese_media/naruto.md)
277
+ - [Faker::JapaneseMedia::Doraemon](doc/japanese_media/doraemon.md)
278
+ - [Faker::JapaneseMedia::Conan](doc/japanese_media/conan.md)
279
+ - [Faker::JapaneseMedia::FmaBrotherhood](doc/japanese_media/fullmetal_alchemist_brotherhood.md)
280
+
281
+ ### Movies
282
+ - [Faker::Movie](doc/movies/movie.md)
283
+ - [Faker::Movies::BackToTheFuture](doc/movies/back_to_the_future.md)
284
+ - [Faker::Movies::Departed](doc/movies/departed.md)
285
+ - [Faker::Movies::Ghostbusters](doc/movies/ghostbusters.md)
286
+ - [Faker::Movies::HarryPotter](doc/movies/harry_potter.md)
287
+ - [Faker::Movies::HitchhikersGuideToTheGalaxy](doc/movies/hitchhikers_guide_to_the_galaxy.md)
288
+ - [Faker::Movies::Hobbit](doc/movies/hobbit.md)
289
+ - [Faker::Movies::HowToTrainYourDragon](doc/movies/how_to_train_your_dragon.md)
290
+ - [Faker::Movies::Lebowski](doc/movies/lebowski.md)
291
+ - [Faker::Movies::LordOfTheRings](doc/movies/lord_of_the_rings.md)
292
+ - [Faker::Movies::PrincessBride](doc/movies/princess_bride.md)
293
+ - [Faker::Movies::StarWars](doc/movies/star_wars.md)
294
+ - [Faker::Movies::TRON](doc/movies/tron.md)
295
+ - [Faker::Movies::VForVendetta](doc/movies/v_for_vendetta.md)
296
+
297
+ ### Music
298
+ - [Faker::Music](doc/music/music.md)
299
+ - [Faker::Music::GratefulDead](doc/music/grateful_dead.md)
300
+ - [Faker::Music::Hiphop](doc/music/hiphop.md)
301
+ - [Faker::Music::Opera](doc/music/opera.md)
302
+ - [Faker::Music::PearlJam](doc/music/pearl_jam.md)
303
+ - [Faker::Music::Phish](doc/music/phish.md)
304
+ - [Faker::Music::Prince](doc/music/prince.md)
305
+ - [Faker::Music::RockBand](doc/music/rock_band.md)
306
+ - [Faker::Music::Rush](doc/music/rush.md)
307
+ - [Faker::Music::UmphreysMcgee](doc/music/umphreys_mcgee.md)
308
+
309
+ ### Quotes
310
+ - [Faker::Quote](doc/quotes/quote.md)
311
+ - [Faker::Quotes::Chiquito](doc/quotes/chiquito.md)
312
+ - [Faker::Quotes::Rajnikanth](doc/quotes/rajnikanth.md)
313
+ - [Faker::Quotes::Shakespeare](doc/quotes/shakespeare.md)
314
+
315
+
316
+ ### Sports
317
+ - [Faker::Sports::Basketball](doc/sports/basketball.md)
318
+ - [Faker::Sports::Football](doc/sports/football.md)
319
+
320
+ ### Tv Shows
321
+ - [Faker::TvShows::AquaTeenHungerForce](doc/tv_shows/aqua_teen_hunger_force.md)
322
+ - [Faker::TvShows::BigBangTheory](doc/tv_shows/big_bang_theory.md)
323
+ - [Faker::TvShows::BojackHorseman](doc/tv_shows/bojack_horseman.md)
324
+ - [Faker::TvShows::BreakingBad](doc/tv_shows/breaking_bad.md)
325
+ - [Faker::TvShows::BrooklynNineNine](doc/tv_shows/brooklyn_nine_nine.md)
326
+ - [Faker::TvShows::Buffy](doc/tv_shows/buffy.md)
327
+ - [Faker::TvShows::Community](doc/tv_shows/community.md)
328
+ - [Faker::TvShows::DrWho](doc/tv_shows/dr_who.md)
329
+ - [Faker::TvShows::DumbAndDumber](doc/tv_shows/dumb_and_dumber.md)
330
+ - [Faker::TvShows::FamilyGuy](doc/tv_shows/family_guy.md)
331
+ - [Faker::TvShows::FinalSpace](doc/tv_shows/final_space.md)
332
+ - [Faker::TvShows::Friends](doc/tv_shows/friends.md)
333
+ - [Faker::TvShows::GameOfThrones](doc/tv_shows/game_of_thrones.md)
334
+ - [Faker::TvShows::HeyArnold](doc/tv_shows/hey_arnold.md)
335
+ - [Faker::TvShows::HowIMetYourMother](doc/tv_shows/how_i_met_your_mother.md)
336
+ - [Faker::TvShows::MichaelScott](doc/tv_shows/michael_scott.md)
337
+ - [Faker::TvShows::NewGirl](doc/tv_shows/new_girl.md)
338
+ - [Faker::TvShows::ParksAndRec](doc/tv_shows/parks_and_rec.md)
339
+ - [Faker::TvShows::RickAndMorty](doc/tv_shows/rick_and_morty.md)
340
+ - [Faker::TvShows::RuPaul](doc/tv_shows/rupaul.md)
341
+ - [Faker::TvShows::Seinfeld](doc/tv_shows/seinfeld.md)
342
+ - [Faker::TvShows::SiliconValley](doc/tv_shows/silicon_valley.md)
343
+ - [Faker::TvShows::Simpsons](doc/tv_shows/simpsons.md)
344
+ - [Faker::TvShows::SouthPark](doc/tv_shows/south_park.md)
345
+ - [Faker::TvShows::StarTrek](doc/tv_shows/star_trek.md)
346
+ - [Faker::TvShows::Stargate](doc/tv_shows/stargate.md)
347
+ - [Faker::TvShows::StrangerThings](doc/tv_shows/stranger_things.md)
348
+ - [Faker::TvShows::Suits](doc/tv_shows/suits.md)
349
+ - [Faker::TvShows::Supernatural](doc/tv_shows/supernatural.md)
350
+ - [Faker::TvShows::TheExpanse](doc/tv_shows/the_expanse.md)
351
+ - [Faker::TvShows::TheFreshPrinceOfBelAir](doc/tv_shows/the_fresh_prince_of_bel_air.md)
352
+ - [Faker::TvShows::TheITCrowd](doc/tv_shows/the_it_crowd.md)
353
+ - [Faker::TvShows::TheThickOfIt](doc/tv_shows/the_thick_of_it.md)
354
+ - [Faker::TvShows::TwinPeaks](doc/tv_shows/twin_peaks.md)
355
+ - [Faker::TvShows::VentureBros](doc/tv_shows/venture_bros.md)
356
+
157
357
  ## Customization
358
+ You may want Faker to print information depending on your location in the world.
359
+ To assist you in this, Faker uses I18n gem to store strings and formats to
360
+ represent the names and postal codes of the area of your choosing.
361
+ Just set the locale you want as shown below, and Faker will take care of the rest.
158
362
 
159
- Since you may want to make addresses and other types of data look different
160
- depending on where in the world you are (US postal codes vs. UK postal codes,
161
- for example), Faker uses the I18n gem to store strings (like state names) and
162
- formats (US postal codes are NNNNN while UK postal codes are AAN NAA),
163
- allowing you to get different formats by switching locales. Just set
164
- Faker::Config.locale to the locale you want, and Faker will take care of the
165
- rest.
363
+ ```ruby
364
+ Faker::Config.locale = 'es'
365
+ # or
366
+ Faker::Config.locale = :es
367
+ ```
166
368
 
167
- If your locale doesn't already exist, create it in the \lib\locales\ directory
168
- and you can then override or add elements to suit
369
+ If your locale doesn't already exist, create it in the `lib/locales` directory
370
+ and you can then override or add elements to suit your needs. See more about how to
371
+ use locales [here](lib/locales/README.md)
169
372
 
170
373
  ```yaml
171
-
172
374
  en-au-ocker:
173
375
  faker:
174
376
  name:
175
377
  # Existing faker field, new data
176
- first_name: [Charlotte, Ava, Chloe, Emily]
378
+ first_name:
379
+ - Charlotte
380
+ - Ava
381
+ - Chloe
382
+ - Emily
177
383
 
178
384
  # New faker fields
179
- ocker_first_name: [Bazza, Bluey, Davo, Johno, Shano, Shazza]
180
- region: [South East Queensland, Wide Bay Burnett, Margaret River, Port Pirie, Gippsland, Elizabeth, Barossa]
181
-
385
+ ocker_first_name:
386
+ - Bazza
387
+ - Bluey
388
+ - Davo
389
+ - Johno
390
+ - Shano
391
+ - Shazza
392
+ region:
393
+ - South East Queensland
394
+ - Wide Bay Burnett
395
+ - Margaret River
396
+ - Port Pirie
397
+ - Gippsland
398
+ - Elizabeth
399
+ - Barossa
182
400
  ```
183
401
 
184
402
  ## Contributing
185
-
186
403
  See [CONTRIBUTING.md](https://github.com/stympy/faker/blob/master/CONTRIBUTING.md).
187
404
 
188
405
  ## Contact
189
-
190
406
  Comments and feedback are welcome. Send an email to Benjamin Curtis via the [google group](http://groups.google.com/group/ruby-faker).
191
407
 
192
- ## License
408
+ You can also join our [discord channel](https://discord.gg/RMumTwB) to discuss anything regarding improvements or feature requests.
193
409
 
410
+ ## License
194
411
  This code is free to use under the terms of the MIT license.
data/bin/faker ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ lib_path = File.expand_path('../lib', __dir__)
5
+ $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Faker
4
+ class Blockchain
5
+ class Aeternity < Base
6
+ class << self
7
+ ##
8
+ # Produces a random Aeternity wallet address
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Blockchain::Aeternity.address
14
+ # #=> "ak_zvU8YQLagjcfng7Tg8yCdiZ1rpiWNp1PBn3vtUs44utSvbJVR"
15
+ #
16
+ def address
17
+ "ak_#{rand_strings}"
18
+ end
19
+
20
+ ##
21
+ # Produces a random Aeternity transaction
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Blockchain::Aeternity.transaction
27
+ # #=> "th_147nDP22h3pHrLt2qykTH4txUwQh1ccaXp"
28
+ #
29
+ def transaction
30
+ "th_#{rand_strings(51)}"
31
+ end
32
+
33
+ ##
34
+ # Produces a random Aeternity contract
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::Blockchain::Aeternity.contract
40
+ # #=> "ct_Hk2JsNeWGEYQEHHQCfcBeGrwbhtYSwFTPdDhW2SvjFYVojyhW"
41
+ #
42
+ def contract
43
+ "ct_#{rand_strings}"
44
+ end
45
+
46
+ ##
47
+ # Produces a random Aeternity oracle
48
+ #
49
+ # @return [String]
50
+ #
51
+ # @example
52
+ # Faker::Blockchain::Aeternity.oracle
53
+ # #=> "ok_28QDg7fkF5qiKueSdUvUBtCYPJdmMEoS73CztzXCRAwMGKHKZh"
54
+ #
55
+ def oracle
56
+ "ok_#{rand_strings(51)}"
57
+ end
58
+
59
+ protected
60
+
61
+ def rand_strings(length = 50)
62
+ hex_alphabet = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
63
+ var = +''
64
+ length.times { var << sample(shuffle(hex_alphabet.chars)) }
65
+ var
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end