faker 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +181 -0
- data/License.txt +2 -2
- data/README.md +252 -162
- data/lib/faker.rb +36 -17
- data/lib/faker/blockchain/bitcoin.rb +34 -0
- data/lib/faker/blockchain/ethereum.rb +16 -0
- data/lib/faker/blockchain/tezos.rb +46 -0
- data/lib/faker/{book.rb → books/book.rb} +2 -0
- data/lib/faker/books/culture_series.rb +34 -0
- data/lib/faker/books/dune.rb +58 -0
- data/lib/faker/books/lovecraft.rb +73 -0
- data/lib/faker/creature/animal.rb +13 -0
- data/lib/faker/creature/cat.rb +23 -0
- data/lib/faker/creature/dog.rb +43 -0
- data/lib/faker/{address.rb → default/address.rb} +10 -0
- data/lib/faker/default/alphanumeric.rb +24 -0
- data/lib/faker/{ancient.rb → default/ancient.rb} +2 -0
- data/lib/faker/{app.rb → default/app.rb} +2 -0
- data/lib/faker/{appliance.rb → default/appliance.rb} +2 -0
- data/lib/faker/{artist.rb → default/artist.rb} +2 -0
- data/lib/faker/{avatar.rb → default/avatar.rb} +3 -0
- data/lib/faker/{bank.rb → default/bank.rb} +8 -2
- data/lib/faker/{beer.rb → default/beer.rb} +2 -0
- data/lib/faker/{boolean.rb → default/boolean.rb} +2 -0
- data/lib/faker/{bossa_nova.rb → default/bossa_nova.rb} +2 -0
- data/lib/faker/{business.rb → default/business.rb} +2 -0
- data/lib/faker/{cannabis.rb → default/cannabis.rb} +0 -1
- data/lib/faker/default/chile_rut.rb +44 -0
- data/lib/faker/{chuck_norris.rb → default/chuck_norris.rb} +2 -0
- data/lib/faker/{code.rb → default/code.rb} +3 -1
- data/lib/faker/{coffee.rb → default/coffee.rb} +2 -0
- data/lib/faker/default/coin.rb +15 -0
- data/lib/faker/{color.rb → default/color.rb} +2 -0
- data/lib/faker/{commerce.rb → default/commerce.rb} +3 -0
- data/lib/faker/{company.rb → default/company.rb} +35 -1
- data/lib/faker/{compass.rb → default/compass.rb} +2 -0
- data/lib/faker/default/construction.rb +29 -0
- data/lib/faker/default/cosmere.rb +48 -0
- data/lib/faker/default/creature.rb +6 -0
- data/lib/faker/{crypto.rb → default/crypto.rb} +2 -0
- data/lib/faker/default/crypto_coin.rb +32 -0
- data/lib/faker/{currency.rb → default/currency.rb} +2 -0
- data/lib/faker/{date.rb → default/date.rb} +3 -0
- data/lib/faker/default/dc_comics.rb +25 -0
- data/lib/faker/{demographic.rb → default/demographic.rb} +2 -0
- data/lib/faker/{dessert.rb → default/dessert.rb} +2 -0
- data/lib/faker/{device.rb → default/device.rb} +2 -0
- data/lib/faker/default/driving_licence.rb +59 -0
- data/lib/faker/default/educator.rb +38 -0
- data/lib/faker/{electrical_components.rb → default/electrical_components.rb} +2 -0
- data/lib/faker/{esport.rb → default/esport.rb} +2 -0
- data/lib/faker/{file.rb → default/file.rb} +2 -0
- data/lib/faker/{fillmurray.rb → default/fillmurray.rb} +2 -0
- data/lib/faker/{finance.rb → default/finance.rb} +13 -0
- data/lib/faker/{food.rb → default/food.rb} +4 -0
- data/lib/faker/{football.rb → default/football.rb} +6 -0
- data/lib/faker/{funny_name.rb → default/funny_name.rb} +3 -1
- data/lib/faker/default/games.rb +6 -0
- data/lib/faker/{gender.rb → default/gender.rb} +2 -0
- data/lib/faker/{greek_philosophers.rb → default/greek_philosophers.rb} +2 -0
- data/lib/faker/{hacker.rb → default/hacker.rb} +2 -0
- data/lib/faker/{hipster.rb → default/hipster.rb} +3 -12
- data/lib/faker/default/house.rb +15 -0
- data/lib/faker/default/id_number.rb +119 -0
- data/lib/faker/default/industry_segments.rb +25 -0
- data/lib/faker/{internet.rb → default/internet.rb} +10 -6
- data/lib/faker/{invoice.rb → default/invoice.rb} +3 -1
- data/lib/faker/default/japanese_media.rb +6 -0
- data/lib/faker/{job.rb → default/job.rb} +2 -0
- data/lib/faker/default/json.rb +70 -0
- data/lib/faker/{kpop.rb → default/kpop.rb} +2 -0
- data/lib/faker/{lorem.rb → default/lorem.rb} +5 -17
- data/lib/faker/{lorem_flickr.rb → default/lorem_flickr.rb} +2 -0
- data/lib/faker/{lorem_pixel.rb → default/lorem_pixel.rb} +2 -0
- data/lib/faker/{markdown.rb → default/markdown.rb} +6 -2
- data/lib/faker/default/marketing.rb +13 -0
- data/lib/faker/{measurement.rb → default/measurement.rb} +4 -2
- data/lib/faker/{military.rb → default/military.rb} +2 -0
- data/lib/faker/default/movies.rb +6 -0
- data/lib/faker/{name.rb → default/name.rb} +7 -11
- data/lib/faker/{nation.rb → default/nation.rb} +9 -0
- data/lib/faker/{nato_phonetic_alphabet.rb → default/nato_phonetic_alphabet.rb} +2 -0
- data/lib/faker/default/nhs.rb +34 -0
- data/lib/faker/{number.rb → default/number.rb} +13 -2
- data/lib/faker/{omniauth.rb → default/omniauth.rb} +2 -0
- data/lib/faker/{phone_number.rb → default/phone_number.rb} +14 -0
- data/lib/faker/{placeholdit.rb → default/placeholdit.rb} +4 -2
- data/lib/faker/{programming_language.rb → default/programming_language.rb} +2 -0
- data/lib/faker/default/relationship.rb +42 -0
- data/lib/faker/default/restaurant.rb +11 -0
- data/lib/faker/{science.rb → default/science.rb} +2 -0
- data/lib/faker/{slack_emoji.rb → default/slack_emoji.rb} +2 -0
- data/lib/faker/{source.rb → default/source.rb} +2 -0
- data/lib/faker/default/south_africa.rb +51 -0
- data/lib/faker/{space.rb → default/space.rb} +2 -0
- data/lib/faker/{string.rb → default/string.rb} +0 -0
- data/lib/faker/{stripe.rb → default/stripe.rb} +2 -0
- data/lib/faker/default/subscription.rb +25 -0
- data/lib/faker/{superhero.rb → default/superhero.rb} +2 -0
- data/lib/faker/{team.rb → default/team.rb} +2 -0
- data/lib/faker/{time.rb → default/time.rb} +3 -0
- data/lib/faker/default/tv_shows.rb +6 -0
- data/lib/faker/{twitter.rb → default/twitter.rb} +2 -0
- data/lib/faker/{types.rb → default/types.rb} +5 -15
- data/lib/faker/{university.rb → default/university.rb} +2 -0
- data/lib/faker/default/vehicle.rb +149 -0
- data/lib/faker/{verb.rb → default/verb.rb} +2 -0
- data/lib/faker/{world_cup.rb → default/world_cup.rb} +2 -0
- data/lib/faker/deprecate/aqua_teen_hunger_force.rb +15 -0
- data/lib/faker/deprecate/back_to_the_future.rb +25 -0
- data/lib/faker/deprecate/bitcoin.rb +20 -0
- data/lib/faker/deprecate/bojack_horseman.rb +25 -0
- data/lib/faker/deprecate/breaking_bad.rb +20 -0
- data/lib/faker/deprecate/buffy.rb +35 -0
- data/lib/faker/deprecate/cat.rb +25 -0
- data/lib/faker/deprecate/community.rb +20 -0
- data/lib/faker/deprecate/dog.rb +50 -0
- data/lib/faker/deprecate/dota.rb +35 -0
- data/lib/faker/deprecate/dr_who.rb +45 -0
- data/lib/faker/deprecate/dragon_ball.rb +15 -0
- data/lib/faker/deprecate/dumb_and_dumber.rb +25 -0
- data/lib/faker/deprecate/dune.rb +35 -0
- data/lib/faker/deprecate/elder_scrolls.rb +50 -0
- data/lib/faker/deprecate/ethereum.rb +15 -0
- data/lib/faker/deprecate/fallout.rb +30 -0
- data/lib/faker/deprecate/family_guy.rb +25 -0
- data/lib/faker/deprecate/famous_last_words.rb +15 -0
- data/lib/faker/deprecate/friends.rb +25 -0
- data/lib/faker/deprecate/game_of_thrones.rb +35 -0
- data/lib/faker/deprecate/harry_potter.rb +40 -0
- data/lib/faker/deprecate/heroes_of_the_storm.rb +30 -0
- data/lib/faker/deprecate/hey_arnold.rb +25 -0
- data/lib/faker/deprecate/hitchhikers_guide_to_the_galaxy.rb +44 -0
- data/lib/faker/deprecate/hobbit.rb +30 -0
- data/lib/faker/deprecate/how_i_met_your_mother.rb +30 -0
- data/lib/faker/deprecate/league_of_legends.rb +40 -0
- data/lib/faker/deprecate/lebowski.rb +25 -0
- data/lib/faker/deprecate/lord_of_the_rings.rb +25 -0
- data/lib/faker/deprecate/lovecraft.rb +65 -0
- data/lib/faker/deprecate/matz.rb +15 -0
- data/lib/faker/deprecate/michael_scott.rb +15 -0
- data/lib/faker/deprecate/most_interesting_man_in_the_world.rb +15 -0
- data/lib/faker/deprecate/myst.rb +35 -0
- data/lib/faker/deprecate/new_girl.rb +20 -0
- data/lib/faker/deprecate/one_piece.rb +40 -0
- data/lib/faker/deprecate/overwatch.rb +25 -0
- data/lib/faker/deprecate/parks_and_rec.rb +20 -0
- data/lib/faker/deprecate/pokemon.rb +25 -0
- data/lib/faker/deprecate/princess_bride.rb +20 -0
- data/lib/faker/deprecate/rick_and_morty.rb +25 -0
- data/lib/faker/deprecate/robin.rb +15 -0
- data/lib/faker/deprecate/rock_band.rb +15 -0
- data/lib/faker/deprecate/ru_paul.rb +20 -0
- data/lib/faker/deprecate/seinfeld.rb +25 -0
- data/lib/faker/deprecate/shakespeare.rb +50 -0
- data/lib/faker/deprecate/silicon_valley.rb +50 -0
- data/lib/faker/deprecate/simpsons.rb +25 -0
- data/lib/faker/deprecate/singular_siegler.rb +15 -0
- data/lib/faker/deprecate/south_park.rb +20 -0
- data/lib/faker/deprecate/star_trek.rb +30 -0
- data/lib/faker/deprecate/star_wars.rb +95 -0
- data/lib/faker/deprecate/stargate.rb +25 -0
- data/lib/faker/deprecate/stranger_things.rb +20 -0
- data/lib/faker/deprecate/sword_art_online.rb +30 -0
- data/lib/faker/deprecate/tezos.rb +33 -0
- data/lib/faker/deprecate/the_fresh_prince_of_bel_air.rb +25 -0
- data/lib/faker/deprecate/the_it_crowd.rb +30 -0
- data/lib/faker/deprecate/the_thick_of_it.rb +25 -0
- data/lib/faker/deprecate/twin_peaks.rb +25 -0
- data/lib/faker/deprecate/umphreys_mcgee.rb +15 -0
- data/lib/faker/deprecate/v_for_vendetta.rb +25 -0
- data/lib/faker/deprecate/venture_bros.rb +30 -0
- data/lib/faker/deprecate/witcher.rb +40 -0
- data/lib/faker/deprecate/world_of_warcraft.rb +20 -0
- data/lib/faker/deprecate/yoda.rb +16 -0
- data/lib/faker/deprecate/zelda.rb +30 -0
- data/lib/faker/games/dota.rb +29 -0
- data/lib/faker/games/elder_scrolls.rb +41 -0
- data/lib/faker/games/fallout.rb +25 -0
- data/lib/faker/games/half_life.rb +21 -0
- data/lib/faker/games/heroes.rb +21 -0
- data/lib/faker/games/heroes_of_the_storm.rb +25 -0
- data/lib/faker/games/league_of_legends.rb +33 -0
- data/lib/faker/games/myst.rb +29 -0
- data/lib/faker/games/overwatch.rb +21 -0
- data/lib/faker/games/pokemon.rb +21 -0
- data/lib/faker/games/sonic_the_hedgehog.rb +21 -0
- data/lib/faker/games/super_smash_bros.rb +17 -0
- data/lib/faker/games/witcher.rb +33 -0
- data/lib/faker/games/world_of_warcraft.rb +17 -0
- data/lib/faker/games/zelda.rb +26 -0
- data/lib/faker/japanese_media/dragon_ball.rb +13 -0
- data/lib/faker/japanese_media/one_piece.rb +33 -0
- data/lib/faker/japanese_media/sword_art_online.rb +25 -0
- data/lib/faker/movies/back_to_the_future.rb +21 -0
- data/lib/faker/movies/ghostbusters.rb +21 -0
- data/lib/faker/movies/grateful_dead.rb +17 -0
- data/lib/faker/movies/harry_potter.rb +33 -0
- data/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +37 -0
- data/lib/faker/movies/hobbit.rb +25 -0
- data/lib/faker/movies/lebowski.rb +21 -0
- data/lib/faker/movies/lord_of_the_rings.rb +21 -0
- data/lib/faker/{movie.rb → movies/movie.rb} +2 -0
- data/lib/faker/movies/princess_bride.rb +17 -0
- data/lib/faker/movies/star_wars.rb +105 -0
- data/lib/faker/movies/v_for_vendetta.rb +21 -0
- data/lib/faker/{music.rb → music/music.rb} +2 -0
- data/lib/faker/music/phish.rb +13 -0
- data/lib/faker/music/rock_band.rb +13 -0
- data/lib/faker/music/umphreys_mcgee.rb +13 -0
- data/lib/faker/quotes/quote.rb +32 -0
- data/lib/faker/quotes/shakespeare.rb +41 -0
- data/lib/faker/tv_shows/aqua_teen_hunger_force.rb +15 -0
- data/lib/faker/tv_shows/bojack_horseman.rb +23 -0
- data/lib/faker/tv_shows/breaking_bad.rb +19 -0
- data/lib/faker/tv_shows/buffy.rb +31 -0
- data/lib/faker/tv_shows/community.rb +19 -0
- data/lib/faker/tv_shows/dr_who.rb +39 -0
- data/lib/faker/tv_shows/dumb_and_dumber.rb +23 -0
- data/lib/faker/tv_shows/family_guy.rb +23 -0
- data/lib/faker/tv_shows/friends.rb +23 -0
- data/lib/faker/tv_shows/game_of_thrones.rb +31 -0
- data/lib/faker/tv_shows/hey_arnold.rb +23 -0
- data/lib/faker/tv_shows/how_i_met_your_mother.rb +27 -0
- data/lib/faker/tv_shows/michael_scott.rb +13 -0
- data/lib/faker/tv_shows/new_girl.rb +19 -0
- data/lib/faker/tv_shows/parks_and_rec.rb +19 -0
- data/lib/faker/tv_shows/rick_and_morty.rb +23 -0
- data/lib/faker/tv_shows/ru_paul.rb +19 -0
- data/lib/faker/tv_shows/seinfeld.rb +23 -0
- data/lib/faker/tv_shows/silicon_valley.rb +43 -0
- data/lib/faker/tv_shows/simpsons.rb +23 -0
- data/lib/faker/tv_shows/south_park.rb +19 -0
- data/lib/faker/tv_shows/star_trek.rb +27 -0
- data/lib/faker/tv_shows/stargate.rb +23 -0
- data/lib/faker/tv_shows/stranger_things.rb +19 -0
- data/lib/faker/tv_shows/the_expanse.rb +27 -0
- data/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +23 -0
- data/lib/faker/tv_shows/the_it_crowd.rb +27 -0
- data/lib/faker/tv_shows/the_thick_of_it.rb +23 -0
- data/lib/faker/tv_shows/twin_peaks.rb +23 -0
- data/lib/faker/tv_shows/venture_bros.rb +27 -0
- data/lib/faker/version.rb +3 -1
- data/lib/helpers/base58.rb +22 -0
- data/lib/helpers/char.rb +2 -0
- data/lib/helpers/i18n_backend.rb +10 -0
- data/lib/helpers/unique_generator.rb +19 -1
- data/lib/locales/README.md +8 -9
- data/lib/locales/ar.yml +102 -0
- data/lib/locales/arm.yml +371 -0
- data/lib/locales/bg.yml +3 -0
- data/lib/locales/ca.yml +6 -0
- data/lib/locales/da-DK.yml +6 -3
- data/lib/locales/de-AT.yml +6 -0
- data/lib/locales/de.yml +10 -3
- data/lib/locales/ee.yml +3 -1
- data/lib/locales/en-AU.yml +2 -0
- data/lib/locales/en-IND.yml +2 -0
- data/lib/locales/en-MS.yml +6 -0
- data/lib/locales/en-NEP.yml +2 -2
- data/lib/locales/en-NG.yml +2 -0
- data/lib/locales/en-NZ.yml +2 -6
- data/lib/locales/en-PAK.yml +2 -1
- data/lib/locales/en-SG.yml +4 -0
- data/lib/locales/en-ZA.yml +114 -17
- data/lib/locales/en.yml +0 -1
- data/lib/locales/en/address.yml +496 -1
- data/lib/locales/en/animal.yml +6 -0
- data/lib/locales/en/beer.yml +2 -1
- data/lib/locales/en/bojack_horseman.yml +2 -2
- data/lib/locales/en/buffy.yml +260 -0
- data/lib/locales/en/cat.yml +5 -4
- data/lib/locales/en/coin.yml +6 -0
- data/lib/locales/en/company.yml +1 -1
- data/lib/locales/en/construction.yml +425 -0
- data/lib/locales/en/cosmere.yml +57 -0
- data/lib/locales/en/crypto_coin.yml +9 -0
- data/lib/locales/en/culture_series.yml +307 -0
- data/lib/locales/en/currency.yml +1 -1
- data/lib/locales/en/dc_comics.yml +52 -0
- data/lib/locales/en/device.yml +3 -3
- data/lib/locales/en/dog.yml +9 -9
- data/lib/locales/en/dota.yml +101 -100
- data/lib/locales/en/dragon_ball.yml +1 -1
- data/lib/locales/en/educator.yml +2 -1
- data/lib/locales/en/elder_scrolls.yml +9 -8
- data/lib/locales/en/esport.yml +5 -5
- data/lib/locales/en/fallout.yml +135 -134
- data/lib/locales/en/finance.yml +63 -0
- data/lib/locales/en/food.yml +3 -2
- data/lib/locales/en/football.yml +1 -0
- data/lib/locales/en/friends.yml +3 -3
- data/lib/locales/en/ghostbusters.yml +91 -0
- data/lib/locales/en/grateful_dead.yml +47 -0
- data/lib/locales/en/half_life.yml +7 -0
- data/lib/locales/en/heroes.yml +6 -0
- data/lib/locales/en/heroes_of_the_storm.yml +7 -0
- data/lib/locales/en/house.yml +5 -0
- data/lib/locales/en/industry_segments.yml +7 -0
- data/lib/locales/en/kpop.yml +2 -2
- data/lib/locales/en/league_of_legends.yml +8 -7
- data/lib/locales/en/lorem.yml +2 -0
- data/lib/locales/en/marketing.yml +4 -0
- data/lib/locales/en/music.yml +3 -3
- data/lib/locales/en/myst.yml +41 -40
- data/lib/locales/en/name.yml +6 -7
- data/lib/locales/en/nation.yml +3 -0
- data/lib/locales/en/overwatch.yml +39 -34
- data/lib/locales/en/phish.yml +4 -0
- data/lib/locales/en/phone_number.yml +1 -0
- data/lib/locales/en/pokemon.yml +5 -4
- data/lib/locales/en/quote.yml +166 -0
- data/lib/locales/en/relationship.yml +10 -0
- data/lib/locales/en/restaurant.yml +129 -0
- data/lib/locales/en/seinfeld.yml +2 -1
- data/lib/locales/en/sonic_the_hedgehog.yml +410 -0
- data/lib/locales/en/south_park.yml +5 -0
- data/lib/locales/en/star_wars.yml +3 -3
- data/lib/locales/en/subscription.yml +8 -0
- data/lib/locales/en/super_smash_bros.yml +197 -0
- data/lib/locales/en/the_expanse.yml +7 -0
- data/lib/locales/en/vehicle.yml +62 -58
- data/lib/locales/en/witcher.yml +8 -7
- data/lib/locales/en/world_of_warcraft.yml +5 -4
- data/lib/locales/en/zelda.yml +6 -5
- data/lib/locales/es-MX.yml +14 -1
- data/lib/locales/es.yml +13 -0
- data/lib/locales/fa.yml +4 -0
- data/lib/locales/fi-FI.yml +4 -3
- data/lib/locales/fr-CA.yml +18 -13
- data/lib/locales/fr-CH.yml +16 -10
- data/lib/locales/fr.yml +45 -1
- data/lib/locales/he.yml +2 -0
- data/lib/locales/id.yml +2 -0
- data/lib/locales/it.yml +12 -1
- data/lib/locales/ja.yml +45 -21
- data/lib/locales/ko.yml +2 -0
- data/lib/locales/lv.yml +2 -0
- data/lib/locales/nb-NO.yml +11 -4
- data/lib/locales/nl.yml +13 -4
- data/lib/locales/pl.yml +11 -1
- data/lib/locales/pt-BR.yml +578 -4
- data/lib/locales/pt.yml +10 -3
- data/lib/locales/ru.yml +3 -1
- data/lib/locales/sk.yml +19 -13
- data/lib/locales/sv.yml +11 -3
- data/lib/locales/tr.yml +6 -0
- data/lib/locales/uk.yml +2 -0
- data/lib/locales/vi.yml +6 -1
- data/lib/locales/zh-CN.yml +3 -0
- data/lib/locales/zh-TW.yml +3 -1
- metadata +271 -164
- data/lib/extensions/array.rb +0 -22
- data/lib/extensions/symbol.rb +0 -8
- data/lib/faker/aqua_teen_hunger_force.rb +0 -9
- data/lib/faker/back_to_the_future.rb +0 -17
- data/lib/faker/bitcoin.rb +0 -47
- data/lib/faker/bojack_horseman.rb +0 -17
- data/lib/faker/breaking_bad.rb +0 -13
- data/lib/faker/cat.rb +0 -19
- data/lib/faker/community.rb +0 -13
- data/lib/faker/dog.rb +0 -39
- data/lib/faker/dota.rb +0 -25
- data/lib/faker/dr_who.rb +0 -33
- data/lib/faker/dragon_ball.rb +0 -9
- data/lib/faker/dumb_and_dumber.rb +0 -17
- data/lib/faker/dune.rb +0 -54
- data/lib/faker/educator.rb +0 -23
- data/lib/faker/elder_scrolls.rb +0 -37
- data/lib/faker/ethereum.rb +0 -12
- data/lib/faker/fallout.rb +0 -21
- data/lib/faker/family_guy.rb +0 -17
- data/lib/faker/famous_last_words.rb +0 -11
- data/lib/faker/friends.rb +0 -17
- data/lib/faker/game_of_thrones.rb +0 -25
- data/lib/faker/harry_potter.rb +0 -29
- data/lib/faker/hey_arnold.rb +0 -17
- data/lib/faker/hitchhikers_guide_to_the_galaxy.rb +0 -33
- data/lib/faker/hobbit.rb +0 -21
- data/lib/faker/how_i_met_your_mother.rb +0 -21
- data/lib/faker/id_number.rb +0 -51
- data/lib/faker/league_of_legends.rb +0 -29
- data/lib/faker/lebowski.rb +0 -17
- data/lib/faker/lord_of_the_rings.rb +0 -17
- data/lib/faker/lovecraft.rb +0 -80
- data/lib/faker/matz.rb +0 -9
- data/lib/faker/michael_scott.rb +0 -9
- data/lib/faker/most_interesting_man_in_the_world.rb +0 -9
- data/lib/faker/myst.rb +0 -25
- data/lib/faker/new_girl.rb +0 -13
- data/lib/faker/one_piece.rb +0 -29
- data/lib/faker/overwatch.rb +0 -17
- data/lib/faker/parks_and_rec.rb +0 -13
- data/lib/faker/pokemon.rb +0 -17
- data/lib/faker/princess_bride.rb +0 -13
- data/lib/faker/rick_and_morty.rb +0 -17
- data/lib/faker/robin.rb +0 -9
- data/lib/faker/rock_band.rb +0 -9
- data/lib/faker/rupaul.rb +0 -15
- data/lib/faker/seinfeld.rb +0 -13
- data/lib/faker/shakespeare.rb +0 -37
- data/lib/faker/silicon_valley.rb +0 -37
- data/lib/faker/simpsons.rb +0 -17
- data/lib/faker/singular_siegler.rb +0 -9
- data/lib/faker/star_trek.rb +0 -21
- data/lib/faker/star_wars.rb +0 -101
- data/lib/faker/stargate.rb +0 -17
- data/lib/faker/stranger_thing.rb +0 -13
- data/lib/faker/sword_art_online.rb +0 -21
- data/lib/faker/the_fresh_prince_of_bel_air.rb +0 -17
- data/lib/faker/the_it_crowd.rb +0 -21
- data/lib/faker/the_thick_of_it.rb +0 -17
- data/lib/faker/twin_peaks.rb +0 -17
- data/lib/faker/umphreys_mcgee.rb +0 -9
- data/lib/faker/v_for_vendetta.rb +0 -17
- data/lib/faker/vehicle.rb +0 -101
- data/lib/faker/venture_bros.rb +0 -21
- data/lib/faker/witcher.rb +0 -29
- data/lib/faker/world_of_warcraft.rb +0 -13
- data/lib/faker/yoda.rb +0 -10
- data/lib/faker/zelda.rb +0 -22
- data/lib/locales/en/famous_last_words.yml +0 -4
- data/lib/locales/en/matz.yml +0 -28
- data/lib/locales/en/most_interesting_man_in_the_world.yml +0 -106
- data/lib/locales/en/robin.yml +0 -4
- data/lib/locales/en/singular_siegler.yml +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c7c39a933d227016ac2f1c682e2ef6292b165ff785bff5772abe2a1a71ef5981
|
|
4
|
+
data.tar.gz: f79c520a5d1248189cd1b364c8c8a2dc63b0098dd88891d4bc369ff20f796cae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e14d98a9bb1498992283e6b38c3b4117f9e015736f2ecc8af54e93e37c02d9bdb771d1afbc2c500355394923df0f74b7fb2b83f383cb28fec697f28c13649c7e
|
|
7
|
+
data.tar.gz: 50b2e7d6e3c5ec6ba3acac2aced7a8118f355c2e8c939a795081fb1b3618f36ae342945a7c7722e3a4976b6f202b9c273c4dde7226bb03006c9e8b8c8a95e991
|
data/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,189 @@
|
|
|
2
2
|
|
|
3
3
|
## HEAD Unreleased
|
|
4
4
|
|
|
5
|
+
## [v1.9.2](https://github.com/stympy/faker/tree/v1.9.2) (2019-02-11)
|
|
6
|
+
[Full Changelog](https://github.com/stympy/faker/compare/v1.9.1...v1.9.2)
|
|
7
|
+
|
|
8
|
+
### Bug/Fixes
|
|
9
|
+
- [PR #1512](https://github.com/stympy/faker/pull/1512) Fix numerical part of Dutch postcode [@tilsammans](https://github.com/tilsammans)
|
|
10
|
+
- [PR #1477](https://github.com/stympy/faker/pull/1477) Fixed bank account length [@jguthrie100](https://github.com/jguthrie100)
|
|
11
|
+
- [PR #1494](https://github.com/stympy/faker/pull/1494) Fix Faker::Internet.ip_v4_address to include all IP ranges [@lucasqueiroz](https://github.com/lucasqueiroz)
|
|
12
|
+
- [PR #1456](https://github.com/stympy/faker/pull/1456) fix: omit . from slug [@ivanoblomov](https://github.com/ivanoblomov)
|
|
13
|
+
- [PR #1436](https://github.com/stympy/faker/pull/1436) Fix regex and add magic string to pass rubocop check [@jakrzus](https://github.com/jakrzus)
|
|
14
|
+
- [PR #1425](https://github.com/stympy/faker/pull/1425) NHS: fix occasional bad numbers [@ChaoticBoredom](https://github.com/ChaoticBoredom)
|
|
15
|
+
- [PR #1421](https://github.com/stympy/faker/pull/1421) Faker::Internet.user_name can't handle UTF-8 arguments [@ivanoblomov](https://github.com/ivanoblomov)
|
|
16
|
+
- [PR #1423](https://github.com/stympy/faker/pull/1423) Add missing locale tests - Part II [@vbrazo](https://github.com/vbrazo)
|
|
17
|
+
- [PR #1389](https://github.com/stympy/faker/pull/1389) Load faker I18n using custom backend chaining [@pjohnmeyer](https://github.com/pjohnmeyer)
|
|
18
|
+
- [PR #1384](https://github.com/stympy/faker/pull/1384) Quick number method bugfix [@vbrazo](https://github.com/vbrazo)
|
|
19
|
+
- [PR #1377](https://github.com/stympy/faker/pull/1377) Fallback translation without available locales enforcement [@deivid-rodriguez](https://github.com/deivid-rodriguez)
|
|
20
|
+
- [PR #1368](https://github.com/stympy/faker/pull/1368) Don't force enforce_available_locales [@deivid-rodriguez](https://github.com/deivid-rodriguez)
|
|
21
|
+
- [PR #1355](https://github.com/stympy/faker/pull/1355) Fix global clear of unique values for Faker::UniqueGenerator [@kolasss](https://github.com/kolasss)
|
|
22
|
+
- [PR #1335](https://github.com/stympy/faker/pull/1335) Fix Company.luhn_algorithm and add missing tests [@01max](https://github.com/01max)
|
|
23
|
+
- [PR #1334](https://github.com/stympy/faker/pull/1334) Faker::Number.leading_zero_number should always start with 0 [@vbrazo](https://github.com/vbrazo)
|
|
24
|
+
- [PR #1317](https://github.com/stympy/faker/pull/1317) Change Faker::Lorem.multibyte logic [@ShabelnikM](https://github.com/ShabelnikM)
|
|
25
|
+
- [PR #527](https://github.com/stympy/faker/pull/527) Fix time period test that could result in a flake test within 15 days [@melonhead901](https://github.com/melonhead901)
|
|
26
|
+
- [PR #1310](https://github.com/stympy/faker/pull/1310) Add alias for middle_name and remove locale [@vbrazo](https://github.com/vbrazo)
|
|
27
|
+
|
|
28
|
+
### Chores
|
|
29
|
+
- [PR #1496](https://github.com/stympy/faker/pull/1496) Update yaml format in docs [@SpyMaster356](https://github.com/SpyMaster356)
|
|
30
|
+
- [PR #1508](https://github.com/stympy/faker/pull/1508) Changes before release [@vbrazo](https://github.com/vbrazo)
|
|
31
|
+
- [PR #1490](https://github.com/stympy/faker/pull/1490) Add missing Faker::HeroesOfTheStorm tests [@vbrazo](https://github.com/vbrazo)
|
|
32
|
+
- [PR #1457](https://github.com/stympy/faker/pull/1457) Add tests for new Faker::Internet.slug glue [@vbrazo](https://github.com/vbrazo)
|
|
33
|
+
- [PR #1434](https://github.com/stympy/faker/pull/1434) Add keyword argument to Faker::Games::Dota.quote [@vbrazo](https://github.com/vbrazo)
|
|
34
|
+
- [PR #1420](https://github.com/stympy/faker/pull/1420) Add Faker::JapaneseMedia namespace [@boardfish](https://github.com/boardfish)
|
|
35
|
+
- [PR #1411](https://github.com/stympy/faker/pull/1411) Add several missing locales [@vbrazo](https://github.com/vbrazo)
|
|
36
|
+
- [PR #1403](https://github.com/stympy/faker/pull/1403) Faker::SouthPark => Faker::Movies::SouthPark [@vbrazo](https://github.com/vbrazo)
|
|
37
|
+
- [PR #1401](https://github.com/stympy/faker/pull/1401) Faker::GratefulDead => Faker::Movies::GratefulDead [@vbrazo](https://github.com/vbrazo)
|
|
38
|
+
- [PR #1362](https://github.com/stympy/faker/pull/1362) Faker::Types minor cleanup [@stephengroat](https://github.com/stephengroat)
|
|
39
|
+
- [PR #1347](https://github.com/stympy/faker/pull/1347) Remove launchy dependency [@vbrazo](https://github.com/vbrazo)
|
|
40
|
+
- [PR #1311](https://github.com/stympy/faker/pull/1311) Target Ruby 2.3 [@tagliala](https://github.com/tagliala)
|
|
41
|
+
- [PR #372](https://github.com/stympy/faker/pull/372) Add test_password_could_achieve_max_length [@oleksii-ti](https://github.com/oleksii-ti)
|
|
42
|
+
|
|
43
|
+
### Deprecation
|
|
44
|
+
- [PR #1504](https://github.com/stympy/faker/pull/1504) Add Quotes namespace [@vbrazo](https://github.com/vbrazo)
|
|
45
|
+
- Deprecates `::FamousLastWords`, `::Matz`, `::MostInterestingManInTheWorld`, `::Robin`, `::Shakespeare`, `::SingularSiegler`, `::Yoda`
|
|
46
|
+
- [PR #1503](https://github.com/stympy/faker/pull/1503) Add Books namespace [@vbrazo](https://github.com/vbrazo)
|
|
47
|
+
- Deprecates `::Dune`, `Lovecraft`
|
|
48
|
+
- [PR #1480](https://github.com/stympy/faker/pull/1480) Add Music, Movies and TvShows namespaces [@vbrazo](https://github.com/vbrazo)
|
|
49
|
+
- Deprecates `::Hobbit`, `HitchhikersGuideToTheGalaxy`, `::HarryPotter`, `::RockBand`, `::MichaelScott`, `::RuPaul`
|
|
50
|
+
- [PR #1481](https://github.com/stympy/faker/pull/1481) Add Blockchain namespace [@vbrazo](https://github.com/vbrazo)
|
|
51
|
+
- Deprecates `::Bitcoin`, `::Ethereum`, `::Tezos`
|
|
52
|
+
- [PR #1471](https://github.com/stympy/faker/pull/1471) Add music and movies namespace [@vbrazo](https://github.com/vbrazo)
|
|
53
|
+
- Deprecates `::BackToTheFuture`, `::Lebowski`, `::LordOfTheRings`, `::PrincessBride`, `::StarWars`, `::UmphreysMcgee`, `::VForVendetta`
|
|
54
|
+
- [PR #1469](https://github.com/stympy/faker/pull/1469) Deprecate Faker::Hobbit and reorganize unreleased docs and tests [@vbrazo](https://github.com/vbrazo)
|
|
55
|
+
- Deprecates `::Hobbit`
|
|
56
|
+
- [PR #1431](https://github.com/stympy/faker/pull/1431) Add Faker::TvShows namespace [@SpyMaster356](https://github.com/SpyMaster356)
|
|
57
|
+
- Deprecates `::AquaTeenHungerForce`, `::BojackHorseman`, `::BreakingBad`, `::Buffy`, `::Community`, `::DrWho`, `::DumbAndDumber`, `::FamilyGuy`, `::Friends`, `::GameOfThrones`, `::HeyArnold`, `::HowIMetYourMother`, `::NewGirl`, `::ParksAndRec`, `::RickAndMorty`, `::Seinfeld`, `::SiliconValley`, `::Simpsons`, `::SouthPark`, `::StarTrek`, `::Stargate`, `::StrangerThings`, `::TheFreshPrinceOfBelAir`, `::TheITCrowd`, `::TheThickOfIt`, `::TwinPeaks`, `::VentureBros`
|
|
58
|
+
- [PR #1412](https://github.com/stympy/faker/pull/1412) Add Faker::Games namespace [@ChaoticBoredom](https://github.com/ChaoticBoredom)
|
|
59
|
+
- Deprecates `::Dota`, `::ElderScrolls`, `::Fallout`, `::LeagueOfLegends`, `::Myst`, `::Overwatch`, `::Pokemon`, `::Witcher`, `::WorldOfWarcraft` and `::Zelda`
|
|
60
|
+
- [PR #1424](https://github.com/stympy/faker/pull/1424) Add Faker::Creature namespace [@ChaoticBoredom](https://github.com/ChaoticBoredom)
|
|
61
|
+
- Deprecates `::Cat` and `::Dog`
|
|
62
|
+
- [PR #1420](https://github.com/stympy/faker/pull/1420) Add Faker::JapaneseMedia namespace [@boardfish](https://github.com/boardfish)
|
|
63
|
+
- Deprecates `::DragonBall`, `::OnePiece` and `::SwordArtOnline`
|
|
64
|
+
- [PR #803](https://github.com/stympy/faker/pull/803) Modify Faker::Educator, Fix #576 [@ghbooth12](https://github.com/ghbooth12)
|
|
65
|
+
|
|
66
|
+
### Documentation
|
|
67
|
+
- [PR #1513](https://github.com/stympy/faker/pull/1513) Fix typo in Faker::Code documentation [@iox](https://github.com/iox)
|
|
68
|
+
- [PR #1497](https://github.com/stympy/faker/pull/1497) add TV Shows to table of contents [@SpyMaster356](https://github.com/SpyMaster356)
|
|
69
|
+
- [PR #1488](https://github.com/stympy/faker/pull/1488) Fix unreleased docs [@vbrazo](https://github.com/vbrazo)
|
|
70
|
+
- [PR #1462](https://github.com/stympy/faker/pull/1462) Fix documentation on Faker::Avatar [@mrstebo](https://github.com/mrstebo)
|
|
71
|
+
- [PR #1445](https://github.com/stympy/faker/pull/1445) Separate README.md: unreleased and latest version [@vbrazo](https://github.com/vbrazo)
|
|
72
|
+
- [PR #1243](https://github.com/stympy/faker/pull/1243) Add image file method to placeholdit [@nicolas-brousse](https://github.com/nicolas-brousse)
|
|
73
|
+
- [PR #1419](https://github.com/stympy/faker/pull/1419) Update CONTRIBUTING.md [@vbrazo](https://github.com/vbrazo)
|
|
74
|
+
- [PR #1414](https://github.com/stympy/faker/pull/1414) Fixing spelling mistake in Docs for Vehicle [@snoozins](https://github.com/snoozins)
|
|
75
|
+
- [PR #1408](https://github.com/stympy/faker/pull/1408) Add Verbs example to README [@matheusteixeira](https://github.com/matheusteixeira)
|
|
76
|
+
- [PR #1380](https://github.com/stympy/faker/pull/1380) Update year in License.txt [@dnamsons](https://github.com/dnamsons)
|
|
77
|
+
- [PR #1364](https://github.com/stympy/faker/pull/1364) Update readme for Faker::Code to fix typo [@matt297](https://github.com/matt297)
|
|
78
|
+
- [PR #1360](https://github.com/stympy/faker/pull/1360) added sushi and sorted by word [@yizknn](https://github.com/yizknn)
|
|
79
|
+
- [PR #1357](https://github.com/stympy/faker/pull/1357) Fix South Africa documentation [@bradleymarques](https://github.com/bradleymarques)
|
|
80
|
+
- [PR #1354](https://github.com/stympy/faker/pull/1354) Update docs for Lorem [@softwaregravy](https://github.com/softwaregravy)
|
|
81
|
+
- [PR #1353](https://github.com/stympy/faker/pull/1353) Update documentation for Faker::Number [@softwaregravy](https://github.com/softwaregravy)
|
|
82
|
+
- [PR #1329](https://github.com/stympy/faker/pull/1329) Update docs on behavior of price [@softwaregravy](https://github.com/softwaregravy)
|
|
83
|
+
|
|
84
|
+
### Feature Request
|
|
85
|
+
- [PR #1493](https://github.com/stympy/faker/pull/1493) Add Faker::Books::CultureSeries [@richardbulger](https://github.com/richardbulger)
|
|
86
|
+
- [PR #1489](https://github.com/stympy/faker/pull/1489) Format brazilian_company_number and brazilian_citizen_number [@jpkarvonen](https://github.com/jpkarvonen)
|
|
87
|
+
- [PR #1487](https://github.com/stympy/faker/pull/1487) Add Faker::TvShows::TheExpanse [@jpkarvonen](https://github.com/jpkarvonen)
|
|
88
|
+
- [PR #1475](https://github.com/stympy/faker/pull/1475) Adds Faker::Nation.flag [@JonathanWThom](https://github.com/JonathanWThom)
|
|
89
|
+
- [PR #1387](https://github.com/stympy/faker/pull/1387) Add Faker::Music::Phish [@nbolser](https://github.com/nbolser)
|
|
90
|
+
- [PR #1430](https://github.com/stympy/faker/pull/1430) Adding Faker::Company.brazilian_company_number [@gabteles](https://github.com/gabteles)
|
|
91
|
+
- [PR #1449](https://github.com/stympy/faker/pull/1449) Add Faker::Coin [@jerryskye](https://github.com/jerryskye)
|
|
92
|
+
- [PR #1466](https://github.com/stympy/faker/pull/1466) Add Faker::Address.country_name_to_code(name: 'united_states') [@vbrazo](https://github.com/vbrazo)
|
|
93
|
+
- [PR #1465](https://github.com/stympy/faker/pull/1465) Add Faker.country(country_code: nil) [@vbrazo](https://github.com/vbrazo)
|
|
94
|
+
- [PR #1460](https://github.com/stympy/faker/pull/1460) Add Faker::Marketing [@susiirwin](https://github.com/susiirwin)
|
|
95
|
+
- [PR #1451](https://github.com/stympy/faker/pull/1451) Add first name 'Simão' and title prefix to 'Eng.' [@jellyfunk](https://github.com/jellyfunk)
|
|
96
|
+
- [PR #1433](https://github.com/stympy/faker/pull/1433) Add Faker::DrivingLicence [@jellyfunk](https://github.com/jellyfunk)
|
|
97
|
+
- [PR #1440](https://github.com/stympy/faker/pull/1440) Add Faker::Subscription [@fabersky](https://github.com/fabersky)
|
|
98
|
+
- [PR #1438](https://github.com/stympy/faker/pull/1438) Add Faker::Football.position [@fblupi](https://github.com/fblupi)
|
|
99
|
+
- [PR #1426](https://github.com/stympy/faker/pull/1426) Add Faker::PhoneNumber.country_code [@AmrAdelKhalil](https://github.com/AmrAdelKhalil)
|
|
100
|
+
- [PR #1427](https://github.com/stympy/faker/pull/1427) Add Faker::Games::SuperSmashBros [@boardfish](https://github.com/boardfish)
|
|
101
|
+
- [PR #1410](https://github.com/stympy/faker/pull/1410) Add Faker::Vehicle.singapore_license_plate [@anonoz](https://github.com/anonoz)
|
|
102
|
+
- [PR #1422](https://github.com/stympy/faker/pull/1422) Add Faker::Games::SonicTheHedgehog [@boardfish](https://github.com/boardfish)
|
|
103
|
+
- [PR #1413](https://github.com/stympy/faker/pull/1413) Add Faker::Games::Heroes [@tangens](https://github.com/tangens)
|
|
104
|
+
- [PR #1409](https://github.com/stympy/faker/pull/1409) Add DC Comics titles [@matheusteixeira](https://github.com/matheusteixeira)
|
|
105
|
+
- [PR #1400](https://github.com/stympy/faker/pull/1400) Add Faker::Movies::Ghostbusters [@eddorre](https://github.com/eddorre)
|
|
106
|
+
- [PR #1399](https://github.com/stympy/faker/pull/1399) Add Faker::Games::HeroesOfTheStorm [@illsism](https://github.com/illsism)
|
|
107
|
+
- [PR #1396](https://github.com/stympy/faker/pull/1396) Add Faker::Creature::Animal [@molbrown](https://github.com/molbrown)
|
|
108
|
+
- [PR #1382](https://github.com/stympy/faker/pull/1382) Adding Faker::IDNumber.brazilian_citizen_number [@bschettino](https://github.com/bschettino)
|
|
109
|
+
- [PR #1062](https://github.com/stympy/faker/pull/1062) Markdown exclude method [@russellschmidt](https://github.com/russellschmidt)
|
|
110
|
+
- [PR #1381](https://github.com/stympy/faker/pull/1381) Add Faker::Games::HalfLife [@jthomp](https://github.com/jthomp)
|
|
111
|
+
- [PR #1374](https://github.com/stympy/faker/pull/1374) Add Faker::Beer.brand [@thalesap](https://github.com/thalesap)
|
|
112
|
+
- [PR #1302](https://github.com/stympy/faker/pull/1302) Add Faker::Alphanumeric [@mtancoigne](https://github.com/mtancoigne)
|
|
113
|
+
- [PR #1156](https://github.com/stympy/faker/pull/1156) Add Faker::Json [@the-wendell](https://github.com/the-wendell)
|
|
114
|
+
- [PR #1359](https://github.com/stympy/faker/pull/1359) Add Faker::Tezos [@Pierre-Michard](https://github.com/Pierre-Michard)
|
|
115
|
+
- [PR #1366](https://github.com/stympy/faker/pull/1366) Add Faker::Seinfeld.business [@dsgraham](https://github.com/dsgraham)
|
|
116
|
+
- [PR #1358](https://github.com/stympy/faker/pull/1358) Add cat breed for Japanese [@yizknn](https://github.com/yizknn)
|
|
117
|
+
- [PR #1365](https://github.com/stympy/faker/pull/1365) Add Faker::Number.within [@QuantumWaver](https://github.com/QuantumWaver)
|
|
118
|
+
- [PR #1336](https://github.com/stympy/faker/pull/1336) Implements and tests South African business registration numbers [@bradleymarques](https://github.com/bradleymarques)
|
|
119
|
+
- [PR #1346](https://github.com/stympy/faker/pull/1346) Add Faker::Relationship [@QuantumWaver](https://github.com/QuantumWaver)
|
|
120
|
+
- [PR #1348](https://github.com/stympy/faker/pull/1348) Add Faker::Finance.vat_number [@vbrazo](https://github.com/vbrazo)
|
|
121
|
+
- [PR #1342](https://github.com/stympy/faker/pull/1342) Added Faker::CryptoCoin scope [@jacksonpires](https://github.com/jacksonpires)
|
|
122
|
+
- [PR #1338](https://github.com/stympy/faker/pull/1338) Add new translations to the en-ZA locale [@bradleymarques](https://github.com/bradleymarques)
|
|
123
|
+
- [PR #1341](https://github.com/stympy/faker/pull/1341) Add Faker::Construction [@benwyrosdick](https://github.com/benwyrosdick)
|
|
124
|
+
- [PR #1130](https://github.com/stympy/faker/pull/1130) Faker::Vehicle API updates [@lucasqueiroz](https://github.com/lucasqueiroz)
|
|
125
|
+
- [PR #1324](https://github.com/stympy/faker/pull/1319) Add Faker::SouthAfrica [@bradleymarques](https://github.com/bradleymarques)
|
|
126
|
+
- [PR #1319](https://github.com/stympy/faker/pull/1319) Added Faker::DC Comics [@JoelLindow](https://github.com/JoelLindow)
|
|
127
|
+
- [PR #1320](https://github.com/stympy/faker/pull/1320) Add Faker::Buffy [@inveterateliterate](https://github.com/inveterateliterate)
|
|
128
|
+
- [PR #1148](https://github.com/stympy/faker/pull/1148) Adding Industry Segments Class [@cdesch](https://github.com/cdesch)
|
|
129
|
+
- [PR #893](https://github.com/stympy/faker/pull/893) Add Faker::ChileRut [@oxfist](https://github.com/oxfist)
|
|
130
|
+
- [PR #1315](https://github.com/stympy/faker/pull/1315) Add Faker::GratefulDead [@wileybaba](https://github.com/wileybaba)
|
|
131
|
+
- [PR #1314](https://github.com/stympy/faker/pull/1314) Add Faker::SouthPark [@saurabhudaniya200](https://github.com/saurabhudaniya200)
|
|
132
|
+
- [PR #1313](https://github.com/stympy/faker/pull/1313) Add Faker::Restaurant [@dwhitlow](https://github.com/dwhitlow)
|
|
133
|
+
- [PR #1307](https://github.com/stympy/faker/pull/1307) Add "exclude" method to UniqueGenerator [@mtancoigne](https://github.com/mtancoigne)
|
|
134
|
+
- [PR #1115](https://github.com/stympy/faker/pull/1115) Add Faker::Cosmere [@JauntyJames](https://github.com/JauntyJames)
|
|
135
|
+
- [PR #801](https://github.com/stympy/faker/pull/801) Add Faker::NHS - Support for the British National Health Service [@substrakt-health](https://github.com/substrakt-health)
|
|
136
|
+
|
|
137
|
+
### Suggestion
|
|
138
|
+
- [PR #1246](https://github.com/stympy/faker/pull/1246) Store list of generators with enabled uniqueness for faster clear [@MarcPer](https://github.com/MarcPer)
|
|
139
|
+
|
|
140
|
+
### Update/add locales
|
|
141
|
+
- [PR #1514](https://github.com/stympy/faker/pull/1514) Distinguish between 'brand' and 'name' [@iwaim](https://github.com/iwaim)
|
|
142
|
+
- [PR #1509](https://github.com/stympy/faker/pull/1509) Fix Faker::Address.country_by_code [@IlyasValiullov](https://github.com/IlyasValiullov)
|
|
143
|
+
- [PR #1492](https://github.com/stympy/faker/pull/1492) Fix abbreviation for Osten [@sonOfRa](https://github.com/sonOfRa)
|
|
144
|
+
- [PR #1499](https://github.com/stympy/faker/pull/1499) Adds some items on pt-BR locales seniority and education levels. And removes duplicated items from cities list. [@ramonlg](https://github.com/ramonlg)
|
|
145
|
+
- [PR #1501](https://github.com/stympy/faker/pull/1501) fix asajj_ventress alternate name [@ethan-dowler](https://github.com/ethan-dowler)
|
|
146
|
+
- [PR #1502](https://github.com/stympy/faker/pull/1502) Add support for Armenian language [@hovikman](https://github.com/hovikman)
|
|
147
|
+
- [PR #1486](https://github.com/stympy/faker/pull/1486) Added some professions in company.yml [@ReneIvanov](https://github.com/ReneIvanov)
|
|
148
|
+
- [PR #1474](https://github.com/stympy/faker/pull/1474) Fr format and translation [@maxime-lenne](https://github.com/maxime-lenne)
|
|
149
|
+
- [PR #1468](https://github.com/stympy/faker/pull/1468) Update "Black Pink" to "Blackpink" [@agungyuliaji](https://github.com/agungyuliaji)
|
|
150
|
+
- [PR #1464](https://github.com/stympy/faker/pull/1464) Add dog breed for Japanese [@yizknn](https://github.com/yizknn)
|
|
151
|
+
- [PR #1461](https://github.com/stympy/faker/pull/1461) Add Orphea to heroes of the storm locale file. [@eddorre](https://github.com/eddorre)
|
|
152
|
+
- [PR #1458](https://github.com/stympy/faker/pull/1458) Update Faker::DragonBall.characters locales [@JoaoHenriqueVale](https://github.com/JoaoHenriqueVale)
|
|
153
|
+
- [PR #1450](https://github.com/stympy/faker/pull/1450) Update device list and serial codes [@raresabr](https://github.com/raresabr)
|
|
154
|
+
- [PR #1443](https://github.com/stympy/faker/pull/1443) Add new array of cities from brazil [@WilliamCSA04](https://github.com/WilliamCSA04)
|
|
155
|
+
- [PR #1447](https://github.com/stympy/faker/pull/1447) Add Maroon 5 and Paramore to music [@Jcambass](https://github.com/Jcambass)
|
|
156
|
+
- [PR #1446](https://github.com/stympy/faker/pull/1446) fix: Remove deplicate 'color' from ja.yml [@yizknn](https://github.com/yizknn)
|
|
157
|
+
- [PR #1441](https://github.com/stympy/faker/pull/1441) Add Faker::Job pt-BR locales [@wellingtongvs](https://github.com/wellingtongvs)
|
|
158
|
+
- [PR #1428](https://github.com/stympy/faker/pull/1428) Add Faker::Games::SonicTheHedgehog.game [@boardfish](https://github.com/boardfish)
|
|
159
|
+
- [PR #1415](https://github.com/stympy/faker/pull/1415) Add new Overwatch items [@lucasqueiroz](https://github.com/lucasqueiroz)
|
|
160
|
+
- [PR #1407](https://github.com/stympy/faker/pull/1407) Add more data for Faker::Friends [@JIntrocaso](https://github.com/JIntrocaso)
|
|
161
|
+
- [PR #1402](https://github.com/stympy/faker/pull/1402) Update heroes_of_the_storm.yml [@eddorre](https://github.com/eddorre)
|
|
162
|
+
- [PR #1398](https://github.com/stympy/faker/pull/1398) Fix female_first_name and male_first_name [@vbrazo](https://github.com/vbrazo)
|
|
163
|
+
- [PR #1395](https://github.com/stympy/faker/pull/1395) Add middle_name to other locales [@vbrazo](https://github.com/vbrazo)
|
|
164
|
+
- [PR #1394](https://github.com/stympy/faker/pull/1394) Add name_with_middle - es locale and missing tests [@vbrazo](https://github.com/vbrazo)
|
|
165
|
+
- [PR #1393](https://github.com/stympy/faker/pull/1393) Add missing pt-BR methods and locale tests [@vbrazo](https://github.com/vbrazo)
|
|
166
|
+
- [PR #1392](https://github.com/stympy/faker/pull/1392) Add missing locales/methods for Faker::Name pt-BR [@heitorado](https://github.com/heitorado)
|
|
167
|
+
- [PR #1391](https://github.com/stympy/faker/pull/1391) Add state abbr for Sergipe and Tocatins [@VSPPedro](https://github.com/VSPPedro)
|
|
168
|
+
- [PR #1390](https://github.com/stympy/faker/pull/1390) Add more Dutch names [@EhsanZ](https://github.com/EhsanZ)
|
|
169
|
+
- [PR #1386](https://github.com/stympy/faker/pull/1386) Add locale file for Arabic language and test it [@EhsanZ](https://github.com/EhsanZ)
|
|
170
|
+
- [PR #1385](https://github.com/stympy/faker/pull/1385) Updated license plate by state for Brazil [@edgardmessias](https://github.com/edgardmessias)
|
|
171
|
+
- [PR #1373](https://github.com/stympy/faker/pull/1373) 📝 Correct some minor spelling errors [@mermop](https://github.com/mermop)
|
|
172
|
+
- [PR #1372](https://github.com/stympy/faker/pull/1372) Add space planet and galaxy for Japanese [@yizknn](https://github.com/yizknn)
|
|
173
|
+
- [PR #1370](https://github.com/stympy/faker/pull/1370) Add missed comma [@7up4](https://github.com/7up4)
|
|
174
|
+
- [PR #1352](https://github.com/stympy/faker/pull/1352) Add Japanese Food Sushi for Japanese and English [@yizknn](https://github.com/yizknn)
|
|
175
|
+
- [PR #1343](https://github.com/stympy/faker/pull/1343) Update cell phone format to be phonelib compatible for Vietnam locale [@Looooong](https://github.com/Looooong)
|
|
176
|
+
- [PR #1340](https://github.com/stympy/faker/pull/1340) Fix typos and additions for Faker::Esport [@Mayurifag](https://github.com/Mayurifag)
|
|
177
|
+
- [PR #1332](https://github.com/stympy/faker/pull/1332) Fix typo in buffy.big_bads [@tragiclifestories](https://github.com/tragiclifestories)
|
|
178
|
+
- [PR #1327](https://github.com/stympy/faker/pull/1327) fixed 2 quotes [@MinimumViablePerson](https://github.com/MinimumViablePerson)
|
|
179
|
+
- [PR #1316](https://github.com/stympy/faker/pull/1316) Add more dishes to the menu [@bjacquet](https://github.com/bjacquet)
|
|
180
|
+
|
|
181
|
+
------------------------------------------------------------------------------
|
|
5
182
|
## [v1.9.1](https://github.com/stympy/faker/tree/v1.9.1) (2018-07-11)
|
|
6
183
|
[Full Changelog](https://github.com/stympy/faker/compare/v1.8.7...v1.9.1)
|
|
7
184
|
|
|
8
185
|
### Feature Request
|
|
186
|
+
|
|
187
|
+
- [PR #1476](https://github.com/stympy/faker/pull/1476) Add Faker::House [@jguthrie100](https://github.com/jguthrie100)
|
|
9
188
|
- [PR #1308](https://github.com/stympy/faker/pull/1308) Add Faker::BojackHorseman [@saurabhudaniya200](https://github.com/saurabhudaniya200)
|
|
10
189
|
- [PR #1292](https://github.com/stympy/faker/pull/1292) Add Faker::Bank - account_number and routing_number [@vbrazo](https://github.com/vbrazo)
|
|
11
190
|
- [PR #1300](https://github.com/stympy/faker/pull/1300) Add Faker::GreekPhilosophers [@15ngburton](https://github.com/15ngburton)
|
|
@@ -122,6 +301,8 @@
|
|
|
122
301
|
- [PR #719](https://github.com/stympy/faker/pull/719) Random words to add should be 0 [@swapsCAPS](https://github.com/swapsCAPS)
|
|
123
302
|
|
|
124
303
|
### Documentation
|
|
304
|
+
- [PR #1478](https://github.com/stympy/faker/pull/1478) Fixed documentation for Faker::Internet.password [@mrstebo](https://github.com/mrstebo)
|
|
305
|
+
- [PR #1453](https://github.com/stympy/faker/pull/1453) Add description to Rubocop cops [@vbrazo](https://github.com/vbrazo)
|
|
125
306
|
- [PR #1121](https://github.com/stympy/faker/pull/1121) Better docs for Faker::Food.description [@jujulisan](https://github.com/jujulisan)
|
|
126
307
|
- [PR #1257](https://github.com/stympy/faker/pull/1257) Fix method name in Faker::SingularSiegler [@mrstebo](https://github.com/mrstebo)
|
|
127
308
|
- [PR #1256](https://github.com/stympy/faker/pull/1256) Fixing documentation - Faker::Name to Faker::Zelda [@mrstebo](https://github.com/mrstebo)
|
data/License.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2007-
|
|
1
|
+
Copyright (c) 2007-2018 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,8 +1,13 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# Faker
|
|
3
|
+
# Faker
|
|
4
|
+
[](https://travis-ci.org/stympy/faker)
|
|
5
|
+
[](https://badge.fury.io/rb/faker)
|
|
6
|
+
[](http://inch-ci.org/github/stympy/faker)
|
|
7
|
+
[](https://codeclimate.com/github/stympy/faker/test_coverage)
|
|
8
|
+
[](https://codeclimate.com/github/stympy/faker/maintainability)
|
|
4
9
|
|
|
5
|
-
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.
|
|
6
11
|
|
|
7
12
|
It comes in very handy for taking screenshots (taking screenshots for my
|
|
8
13
|
project, [Catch the Best](http://catchthebest.com/) was the original impetus
|
|
@@ -10,8 +15,27 @@ for the creation of this gem), having real-looking test data, and having your
|
|
|
10
15
|
database populated with more than one or two records while you're doing
|
|
11
16
|
development.
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
- [Installing](#installing)
|
|
19
|
+
- [Usage](#usage)
|
|
20
|
+
- [Ensuring unique values](#ensuring-unique-values)
|
|
21
|
+
- [Deterministic Random](#deterministic-random)
|
|
22
|
+
- [Generators](#generators)
|
|
23
|
+
- [Default](#default)
|
|
24
|
+
- [Blockchain](#blockchain)
|
|
25
|
+
- [Books](#books)
|
|
26
|
+
- [Creature](#creature)
|
|
27
|
+
- [Games](#games)
|
|
28
|
+
- [Japanese Media](#japanese-media)
|
|
29
|
+
- [Movies](#movies)
|
|
30
|
+
- [Music](#music)
|
|
31
|
+
- [Quotes](#quotes)
|
|
32
|
+
- [TV Shows](#tv-shows)
|
|
33
|
+
- [Customization](#customization)
|
|
34
|
+
- [Contributing](#contributing)
|
|
35
|
+
- [Contact](#contact)
|
|
36
|
+
- [License](#license)
|
|
14
37
|
|
|
38
|
+
### NOTE
|
|
15
39
|
* While Faker generates data at random, returned values are not guaranteed to be unique by default.
|
|
16
40
|
You must explicity specify when you require unique values, see [details](#ensuring-unique-values).
|
|
17
41
|
Values also can be deterministic if you use the deterministic feature, see [details](#deterministic-random)
|
|
@@ -19,153 +43,7 @@ development.
|
|
|
19
43
|
Please refer the README of your version for the available methods.
|
|
20
44
|
List of all versions is [available here](https://github.com/stympy/faker/releases).
|
|
21
45
|
|
|
22
|
-
Contents
|
|
23
|
-
--------
|
|
24
|
-
|
|
25
|
-
- [Installing](#installing)
|
|
26
|
-
- [Usage](#usage)
|
|
27
|
-
- [Faker::Address](doc/address.md)
|
|
28
|
-
- [Faker::Ancient](doc/ancient.md)
|
|
29
|
-
- [Faker::App](doc/app.md)
|
|
30
|
-
- [Faker::Appliance](doc/appliance.md)
|
|
31
|
-
- [Faker::Artist](doc/artist.md)
|
|
32
|
-
- [Faker::AquaTeenHungerForce](doc/aqua_teen_hunger_force.md)
|
|
33
|
-
- [Faker::Avatar](doc/avatar.md)
|
|
34
|
-
- [Faker::BackToTheFuture](doc/back_to_the_future.md)
|
|
35
|
-
- [Faker::Bank](doc/bank.md)
|
|
36
|
-
- [Faker::Beer](doc/beer.md)
|
|
37
|
-
- [Faker::Bitcoin](doc/bitcoin.md)
|
|
38
|
-
- [Faker::BojackHorseman](doc/bojack_horseman.md)
|
|
39
|
-
- [Faker::Book](doc/book.md)
|
|
40
|
-
- [Faker::Boolean](doc/boolean.md)
|
|
41
|
-
- [Faker::BossaNova](doc/bossa_nova.md)
|
|
42
|
-
- [Faker::BreakingBad](doc/breaking_bad.md)
|
|
43
|
-
- [Faker::Business](doc/business.md)
|
|
44
|
-
- [Faker::Cannabis](doc/cannabis.md)
|
|
45
|
-
- [Faker::Cat](doc/cat.md)
|
|
46
|
-
- [Faker::ChuckNorris](doc/chuck_norris.md)
|
|
47
|
-
- [Faker::Code](doc/code.md)
|
|
48
|
-
- [Faker::Coffee](doc/coffee.md)
|
|
49
|
-
- [Faker::Color](doc/color.md)
|
|
50
|
-
- [Faker::Commerce](doc/commerce.md)
|
|
51
|
-
- [Faker::Community](doc/community.md)
|
|
52
|
-
- [Faker::Company](doc/company.md)
|
|
53
|
-
- [Faker::Compass](doc/compass.md)
|
|
54
|
-
- [Faker::Crypto](doc/crypto.md)
|
|
55
|
-
- [Faker::Currency](doc/currency.md)
|
|
56
|
-
- [Faker::Date](doc/date.md)
|
|
57
|
-
- [Faker::Demographic](doc/demographic.md)
|
|
58
|
-
- [Faker::Dessert](doc/dessert.md)
|
|
59
|
-
- [Faker::Device](doc/device.md)
|
|
60
|
-
- [Faker::Dog](doc/dog.md)
|
|
61
|
-
- [Faker::Dota](doc/dota.md)
|
|
62
|
-
- [Faker::DrWho](doc/dr_who.md)
|
|
63
|
-
- [Faker::DragonBall](doc/dragon_ball.md)
|
|
64
|
-
- [Faker::DumbAndDumber](doc/dumb_and_dumber.md)
|
|
65
|
-
- [Faker::Dune](doc/dune.md)
|
|
66
|
-
- [Faker::Educator](doc/educator.md)
|
|
67
|
-
- [Faker::ElderScrolls](doc/elder_scrolls.md)
|
|
68
|
-
- [Faker::ElectricalComponents](doc/electrical_components.md)
|
|
69
|
-
- [Faker::Esport](doc/esport.md)
|
|
70
|
-
- [Faker::Ethereum](doc/ethereum.md)
|
|
71
|
-
- [Faker::Fallout](doc/fallout.md)
|
|
72
|
-
- [Faker::FamilyGuy](doc/family_guy.md)
|
|
73
|
-
- [Faker::FamousLastWords](doc/famous_last_words.md)
|
|
74
|
-
- [Faker::File](doc/file.md)
|
|
75
|
-
- [Faker::Fillmurray](doc/fillmurray.md)
|
|
76
|
-
- [Faker::Finance](doc/finance.md)
|
|
77
|
-
- [Faker::Food](doc/food.md)
|
|
78
|
-
- [Faker::Football](doc/football.md)
|
|
79
|
-
- [Faker::Friends](doc/friends.md)
|
|
80
|
-
- [Faker::FunnyName](doc/funny_name.md)
|
|
81
|
-
- [Faker::GameOfThrones](doc/game_of_thrones.md)
|
|
82
|
-
- [Faker::Gender](doc/gender.md)
|
|
83
|
-
- [Faker::GreekPhilosophers](doc/greek_philosophers.md)
|
|
84
|
-
- [Faker::Hacker](doc/hacker.md)
|
|
85
|
-
- [Faker::HarryPotter](doc/harry_potter.md)
|
|
86
|
-
- [Faker::HeyArnold](doc/hey_arnold.md)
|
|
87
|
-
- [Faker::Hipster](doc/hipster.md)
|
|
88
|
-
- [Faker::HitchhikersGuideToTheGalaxy](doc/hitchhikers_guide_to_the_galaxy.md)
|
|
89
|
-
- [Faker::Hobbit](doc/hobbit.md)
|
|
90
|
-
- [Faker::HowIMetYourMother](doc/how_i_met_your_mother.md)
|
|
91
|
-
- [Faker::IDNumber](doc/id_number.md)
|
|
92
|
-
- [Faker::Internet](doc/internet.md)
|
|
93
|
-
- [Faker::Invoice](doc/invoice.md)
|
|
94
|
-
- [Faker::Job](doc/job.md)
|
|
95
|
-
- [Faker::Kpop](doc/kpop.md)
|
|
96
|
-
- [Faker::LeagueOfLegends](doc/league_of_legends.md)
|
|
97
|
-
- [Faker::Lebowski](doc/lebowski.md)
|
|
98
|
-
- [Faker::LordOfTheRings](doc/lord_of_the_rings.md)
|
|
99
|
-
- [Faker::Lorem](doc/lorem.md)
|
|
100
|
-
- [Faker::LoremFlickr](doc/lorem_flickr.md)
|
|
101
|
-
- [Faker::LoremPixel](doc/lorem_pixel.md)
|
|
102
|
-
- [Faker::Lovecraft](doc/lovecraft.md)
|
|
103
|
-
- [Faker::Markdown](doc/markdown.md)
|
|
104
|
-
- [Faker::Matz](doc/matz.md)
|
|
105
|
-
- [Faker::Measurement](doc/measurement.md)
|
|
106
|
-
- [Faker::MichaelScott](doc/michael_scott.md)
|
|
107
|
-
- [Faker::Military](doc/military.md)
|
|
108
|
-
- [Faker::MostInterestingManInTheWorld](doc/most_interesting_man_in_the_world.md)
|
|
109
|
-
- [Faker::Movie](doc/movie.md)
|
|
110
|
-
- [Faker::Music](doc/music.md)
|
|
111
|
-
- [Faker::Myst](doc/myst.md)
|
|
112
|
-
- [Faker::Name](doc/name.md)
|
|
113
|
-
- [Faker::Nation](doc/nation.md)
|
|
114
|
-
- [Faker::NatoPhoneticAlphabet](doc/nato_phonetic_alphabet.md)
|
|
115
|
-
- [Faker::NewGirl](doc/new_girl.md)
|
|
116
|
-
- [Faker::Number](doc/number.md)
|
|
117
|
-
- [Faker::Omniauth](doc/omniauth.md)
|
|
118
|
-
- [Faker::OnePiece](doc/one_piece.md)
|
|
119
|
-
- [Faker::Overwatch](doc/overwatch.md)
|
|
120
|
-
- [Faker::ParksAndRec](doc/parks_and_rec.md)
|
|
121
|
-
- [Faker::PhoneNumber](doc/phone_number.md)
|
|
122
|
-
- [Faker::Placeholdit](doc/placeholdit.md)
|
|
123
|
-
- [Faker::Pokemon](doc/pokemon.md)
|
|
124
|
-
- [Faker::PrincessBride](doc/princess_bride.md)
|
|
125
|
-
- [Faker::ProgrammingLanguage](doc/programming_language.md)
|
|
126
|
-
- [Faker::RickAndMorty](doc/rick_and_morty.md)
|
|
127
|
-
- [Faker::Robin](doc/robin.md)
|
|
128
|
-
- [Faker::RockBand](doc/rock_band.md)
|
|
129
|
-
- [Faker::RuPaul](doc/rupaul.md)
|
|
130
|
-
- [Faker::Science](doc/science.md)
|
|
131
|
-
- [Faker::Seinfeld](doc/seinfeld.md)
|
|
132
|
-
- [Faker::SiliconValley](doc/silicon_valley.md)
|
|
133
|
-
- [Faker::Simpsons](doc/simpsons.md)
|
|
134
|
-
- [Faker::SingularSiegler](doc/singular_siegler.md)
|
|
135
|
-
- [Faker::SlackEmoji](doc/slack_emoji.md)
|
|
136
|
-
- [Faker::Source](doc/source.md)
|
|
137
|
-
- [Faker::Space](doc/space.md)
|
|
138
|
-
- [Faker::StarTrek](doc/star_trek.md)
|
|
139
|
-
- [Faker::StarWars](doc/star_wars.md)
|
|
140
|
-
- [Faker::StrangerThings](doc/stranger_things.md)
|
|
141
|
-
- [Faker::String](doc/string.md)
|
|
142
|
-
- [Faker::Stripe](doc/stripe.md)
|
|
143
|
-
- [Faker::Superhero](doc/superhero.md)
|
|
144
|
-
- [Faker::SwordArtOnline](doc/sword_art_online.md)
|
|
145
|
-
- [Faker::Team](doc/team.md)
|
|
146
|
-
- [Faker::TheFreshPrinceOfBelAir](doc/the_fresh_prince_of_bel_air.md)
|
|
147
|
-
- [Faker::TheITCrowd](doc/the_it_crowd.md)
|
|
148
|
-
- [Faker::TheThickOfIt](doc/the_thick_of_it.md)
|
|
149
|
-
- [Faker::Time](doc/time.md)
|
|
150
|
-
- [Faker::TwinPeaks](doc/twin_peaks.md)
|
|
151
|
-
- [Faker::Twitter](doc/twitter.md)
|
|
152
|
-
- [Faker::Types](doc/types.md)
|
|
153
|
-
- [Faker::UmphreysMcgee](doc/umphreys_mcgee.md)
|
|
154
|
-
- [Faker::University](doc/university.md)
|
|
155
|
-
- [Faker::Vehicle](doc/vehicle.md)
|
|
156
|
-
- [Faker::VentureBros](doc/venture_bros.md)
|
|
157
|
-
- [Faker::VForVendetta](doc/v_for_vendetta.md)
|
|
158
|
-
- [Faker::Witcher](doc/witcher.md)
|
|
159
|
-
- [Faker::WorldCup](doc/world_cup.md)
|
|
160
|
-
- [Faker::WorldOfWarcraft](doc/world_of_warcraft.md)
|
|
161
|
-
- [Faker::Zelda](doc/zelda.md)
|
|
162
|
-
- [Customization](#customization)
|
|
163
|
-
- [Contributing](#contributing)
|
|
164
|
-
- [Contact](#contact)
|
|
165
|
-
- [License](#license)
|
|
166
|
-
|
|
167
46
|
## Installing
|
|
168
|
-
|
|
169
47
|
```bash
|
|
170
48
|
gem install faker
|
|
171
49
|
```
|
|
@@ -176,7 +54,6 @@ gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'
|
|
|
176
54
|
```
|
|
177
55
|
|
|
178
56
|
## Usage
|
|
179
|
-
|
|
180
57
|
```ruby
|
|
181
58
|
require 'faker'
|
|
182
59
|
|
|
@@ -186,7 +63,6 @@ Faker::Internet.email #=> "kirsten.greenholt@corkeryfisher.info"
|
|
|
186
63
|
```
|
|
187
64
|
|
|
188
65
|
### Ensuring unique values
|
|
189
|
-
|
|
190
66
|
Prefix your method call with `unique`. For example:
|
|
191
67
|
```ruby
|
|
192
68
|
Faker::Name.unique.name # This will return a unique name every time it is called
|
|
@@ -201,8 +77,19 @@ Faker::Name.unique.clear # Clears used values for Faker::Name
|
|
|
201
77
|
Faker::UniqueGenerator.clear # Clears used values for all generators
|
|
202
78
|
```
|
|
203
79
|
|
|
204
|
-
|
|
80
|
+
You also can give some already used values to the unique generator if you have
|
|
81
|
+
collisions with the generated data (i.e: using FactoryBot with random and
|
|
82
|
+
manually set values).
|
|
83
|
+
|
|
84
|
+
```ruby
|
|
85
|
+
# Usage:
|
|
86
|
+
# Faker::<generator>.unique.exclude(method, arguments, list)
|
|
87
|
+
|
|
88
|
+
# Add 'azerty' and 'wxcvbn' to the string generator with 6 char length
|
|
89
|
+
Faker::Lorem.unique.exclude :string, [6], %w[azerty wxcvbn]
|
|
90
|
+
```
|
|
205
91
|
|
|
92
|
+
### Deterministic Random
|
|
206
93
|
Faker supports seeding of its pseudo-random number generator (PRNG) to provide deterministic output of repeated method calls.
|
|
207
94
|
|
|
208
95
|
```ruby
|
|
@@ -218,8 +105,199 @@ Faker::Config.random.seed #=> 185180369676275068918401850258677722187
|
|
|
218
105
|
Faker::Company.bs #=> "cultivate viral synergies"
|
|
219
106
|
```
|
|
220
107
|
|
|
221
|
-
##
|
|
108
|
+
## Generators
|
|
109
|
+
**NOTE: Some of the generators below aren't released yet. If you want to use them, change the line in your gemfile to:**
|
|
110
|
+
|
|
111
|
+
```ruby
|
|
112
|
+
gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Default
|
|
116
|
+
- [Faker::Address](doc/default/address.md)
|
|
117
|
+
- [Faker::Alphanumeric](doc/default/alphanumeric.md)
|
|
118
|
+
- [Faker::Ancient](doc/default/ancient.md)
|
|
119
|
+
- [Faker::App](doc/default/app.md)
|
|
120
|
+
- [Faker::Appliance](doc/default/appliance.md)
|
|
121
|
+
- [Faker::Artist](doc/default/artist.md)
|
|
122
|
+
- [Faker::Avatar](doc/default/avatar.md)
|
|
123
|
+
- [Faker::Bank](doc/default/bank.md)
|
|
124
|
+
- [Faker::Beer](doc/default/beer.md)
|
|
125
|
+
- [Faker::Boolean](doc/default/boolean.md)
|
|
126
|
+
- [Faker::BossaNova](doc/default/bossa_nova.md)
|
|
127
|
+
- [Faker::Business](doc/default/business.md)
|
|
128
|
+
- [Faker::Cannabis](doc/default/cannabis.md)
|
|
129
|
+
- [Faker::ChileRut](doc/default/chile_rut.md)
|
|
130
|
+
- [Faker::ChuckNorris](doc/default/chuck_norris.md)
|
|
131
|
+
- [Faker::Code](doc/default/code.md)
|
|
132
|
+
- [Faker::Coffee](doc/default/coffee.md)
|
|
133
|
+
- [Faker::Coin](doc/default/coin.md)
|
|
134
|
+
- [Faker::Color](doc/default/color.md)
|
|
135
|
+
- [Faker::Commerce](doc/default/commerce.md)
|
|
136
|
+
- [Faker::Company](doc/default/company.md)
|
|
137
|
+
- [Faker::Compass](doc/default/compass.md)
|
|
138
|
+
- [Faker::Construction](doc/default/construction.md)
|
|
139
|
+
- [Faker::Cosmere](doc/default/cosmere.md)
|
|
140
|
+
- [Faker::Crypto](doc/default/crypto.md)
|
|
141
|
+
- [Faker::CryptoCoin](doc/default/crypto_coin.md)
|
|
142
|
+
- [Faker::Currency](doc/default/currency.md)
|
|
143
|
+
- [Faker::Date](doc/default/date.md)
|
|
144
|
+
- [Faker::DcComics](doc/default/dc_comics.md)
|
|
145
|
+
- [Faker::Demographic](doc/default/demographic.md)
|
|
146
|
+
- [Faker::Dessert](doc/default/dessert.md)
|
|
147
|
+
- [Faker::Device](doc/default/device.md)
|
|
148
|
+
- [Faker::DrivingLicence](doc/default/driving_licence.md)
|
|
149
|
+
- [Faker::Educator](doc/default/educator.md)
|
|
150
|
+
- [Faker::ElectricalComponents](doc/default/electrical_components.md)
|
|
151
|
+
- [Faker::Esport](doc/default/esport.md)
|
|
152
|
+
- [Faker::File](doc/default/file.md)
|
|
153
|
+
- [Faker::Fillmurray](doc/default/fillmurray.md)
|
|
154
|
+
- [Faker::Finance](doc/default/finance.md)
|
|
155
|
+
- [Faker::Food](doc/default/food.md)
|
|
156
|
+
- [Faker::Football](doc/default/football.md)
|
|
157
|
+
- [Faker::FunnyName](doc/default/funny_name.md)
|
|
158
|
+
- [Faker::Gender](doc/default/gender.md)
|
|
159
|
+
- [Faker::GreekPhilosophers](doc/default/greek_philosophers.md)
|
|
160
|
+
- [Faker::Hacker](doc/default/hacker.md)
|
|
161
|
+
- [Faker::Hipster](doc/default/hipster.md)
|
|
162
|
+
- [Faker::House](doc/default/house.md)
|
|
163
|
+
- [Faker::IDNumber](doc/default/id_number.md)
|
|
164
|
+
- [Faker::IndustrySegments](doc/default/industry_segments.md)
|
|
165
|
+
- [Faker::Internet](doc/default/internet.md)
|
|
166
|
+
- [Faker::Invoice](doc/default/invoice.md)
|
|
167
|
+
- [Faker::Job](doc/default/job.md)
|
|
168
|
+
- [Faker::Json](doc/default/json.md)
|
|
169
|
+
- [Faker::Kpop](doc/default/kpop.md)
|
|
170
|
+
- [Faker::Lorem](doc/default/lorem.md)
|
|
171
|
+
- [Faker::LoremFlickr](doc/default/lorem_flickr.md)
|
|
172
|
+
- [Faker::LoremPixel](doc/default/lorem_pixel.md)
|
|
173
|
+
- [Faker::Markdown](doc/default/markdown.md)
|
|
174
|
+
- [Faker::Marketing](doc/default/marketing.md)
|
|
175
|
+
- [Faker::Measurement](doc/default/measurement.md)
|
|
176
|
+
- [Faker::Military](doc/default/military.md)
|
|
177
|
+
- [Faker::Name](doc/default/name.md)
|
|
178
|
+
- [Faker::Nation](doc/default/nation.md)
|
|
179
|
+
- [Faker::NatoPhoneticAlphabet](doc/default/nato_phonetic_alphabet.md)
|
|
180
|
+
- [Faker::NationalHealthService](doc/default/national_health_service.md)
|
|
181
|
+
- [Faker::Number](doc/default/number.md)
|
|
182
|
+
- [Faker::Omniauth](doc/default/omniauth.md)
|
|
183
|
+
- [Faker::PhoneNumber](doc/default/phone_number.md)
|
|
184
|
+
- [Faker::Placeholdit](doc/default/placeholdit.md)
|
|
185
|
+
- [Faker::ProgrammingLanguage](doc/default/programming_language.md)
|
|
186
|
+
- [Faker::Relationship](doc/default/relationship.md)
|
|
187
|
+
- [Faker::Restaurant](doc/default/restaurant.md)
|
|
188
|
+
- [Faker::Science](doc/default/science.md)
|
|
189
|
+
- [Faker::SlackEmoji](doc/default/slack_emoji.md)
|
|
190
|
+
- [Faker::Source](doc/default/source.md)
|
|
191
|
+
- [Faker::SouthAfrica](doc/default/south_africa.md)
|
|
192
|
+
- [Faker::Space](doc/default/space.md)
|
|
193
|
+
- [Faker::String](doc/default/string.md)
|
|
194
|
+
- [Faker::Stripe](doc/default/stripe.md)
|
|
195
|
+
- [Faker::Subscription](doc/default/subscription.md)
|
|
196
|
+
- [Faker::Superhero](doc/default/superhero.md)
|
|
197
|
+
- [Faker::Team](doc/default/team.md)
|
|
198
|
+
- [Faker::Time](doc/default/time.md)
|
|
199
|
+
- [Faker::Twitter](doc/default/twitter.md)
|
|
200
|
+
- [Faker::Types](doc/default/types.md)
|
|
201
|
+
- [Faker::University](doc/default/university.md)
|
|
202
|
+
- [Faker::Vehicle](doc/default/vehicle.md)
|
|
203
|
+
- [Faker::Verbs](doc/default/verbs.md)
|
|
204
|
+
- [Faker::WorldCup](doc/default/world_cup.md)
|
|
205
|
+
|
|
206
|
+
### Blockchain
|
|
207
|
+
- [Faker::Blockchain::Bitcoin](doc/blockchain/bitcoin.md)
|
|
208
|
+
- [Faker::Blockchain::Ethereum](doc/blockchain/ethereum.md)
|
|
209
|
+
- [Faker::Blockchain::Tezos](doc/blockchain/tezos.md)
|
|
210
|
+
|
|
211
|
+
### Books
|
|
212
|
+
- [Faker::Book](doc/books/book.md)
|
|
213
|
+
- [Faker::Books::CultureSeries](doc/books/culture_series.md)
|
|
214
|
+
- [Faker::Books::Dune](doc/books/dune.md)
|
|
215
|
+
- [Faker::Books::Lovecraft](doc/books/lovecraft.md)
|
|
216
|
+
|
|
217
|
+
### Creature
|
|
218
|
+
- [Faker::Creature::Animal](doc/creature/animal.md)
|
|
219
|
+
- [Faker::Creature::Cat](doc/creature/cat.md)
|
|
220
|
+
- [Faker::Creature::Dog](doc/creature/dog.md)
|
|
221
|
+
|
|
222
|
+
### Games
|
|
223
|
+
- [Faker::Games::Dota](doc/games/dota.md)
|
|
224
|
+
- [Faker::Games::ElderScrolls](doc/games/elder_scrolls.md)
|
|
225
|
+
- [Faker::Games::Fallout](doc/games/fallout.md)
|
|
226
|
+
- [Faker::Games::HalfLife](doc/games/half_life.md)
|
|
227
|
+
- [Faker::Games::Heroes](doc/games/heroes.md)
|
|
228
|
+
- [Faker::Games::HeroesOfTheStorm](doc/games/heroes_of_the_storm.md)
|
|
229
|
+
- [Faker::Games::LeagueOfLegends](doc/games/league_of_legends.md)
|
|
230
|
+
- [Faker::Games::Myst](doc/games/myst.md)
|
|
231
|
+
- [Faker::Games::Overwatch](doc/games/overwatch.md)
|
|
232
|
+
- [Faker::Games::Pokemon](doc/games/pokemon.md)
|
|
233
|
+
- [Faker::Games::SonicTheHedgehog](doc/games/sonic_the_hedgehog.md)
|
|
234
|
+
- [Faker::Games::SuperSmashBros](doc/games/super_smash_bros.md)
|
|
235
|
+
- [Faker::Games::Witcher](doc/games/witcher.md)
|
|
236
|
+
- [Faker::Games::WorldOfWarcraft](doc/games/world_of_warcraft.md)
|
|
237
|
+
- [Faker::Games::Zelda](doc/games/zelda.md)
|
|
238
|
+
|
|
239
|
+
### Japanese Media
|
|
240
|
+
- [Faker::JapaneseMedia::DragonBall](doc/japanese_media/dragon_ball.md)
|
|
241
|
+
- [Faker::JapaneseMedia::OnePiece](doc/japanese_media/one_piece.md)
|
|
242
|
+
- [Faker::JapaneseMedia::SwordArtOnline](doc/japanese_media/sword_art_online.md)
|
|
243
|
+
|
|
244
|
+
### Movies
|
|
245
|
+
- [Faker::Movie](doc/movies/movie.md)
|
|
246
|
+
- [Faker::Movies::BackToTheFuture](doc/movies/back_to_the_future.md)
|
|
247
|
+
- [Faker::Movies::Ghostbusters](doc/movies/ghostbusters.md)
|
|
248
|
+
- [Faker::Movies::GratefulDead](doc/movies/grateful_dead.md)
|
|
249
|
+
- [Faker::Movies::HarryPotter](doc/movies/harry_potter.md)
|
|
250
|
+
- [Faker::Movies::HitchhikersGuideToTheGalaxy](doc/movies/hitchhikers_guide_to_the_galaxy.md)
|
|
251
|
+
- [Faker::Movies::Hobbit](doc/movies/hobbit.md)
|
|
252
|
+
- [Faker::Movies::Lebowski](doc/movies/lebowski.md)
|
|
253
|
+
- [Faker::Movies::LordOfTheRings](doc/movies/lord_of_the_rings.md)
|
|
254
|
+
- [Faker::Movies::PrincessBride](doc/movies/princess_bride.md)
|
|
255
|
+
- [Faker::Movies::StarWars](doc/movies/star_wars.md)
|
|
256
|
+
- [Faker::Movies::VForVendetta](doc/movies/v_for_vendetta.md)
|
|
257
|
+
|
|
258
|
+
### Music
|
|
259
|
+
- [Faker::Music](doc/music/music.md)
|
|
260
|
+
- [Faker::Music::Phish](doc/music/phish.md)
|
|
261
|
+
- [Faker::Music::RockBand](doc/music/rock_band.md)
|
|
262
|
+
- [Faker::Music::UmphreysMcgee](doc/music/umphreys_mcgee.md)
|
|
263
|
+
|
|
264
|
+
### Quotes
|
|
265
|
+
- [Faker::Quote](doc/quotes/quote.md)
|
|
266
|
+
- [Faker::Quotes::Shakespeare](doc/quotes/shakespeare.md)
|
|
267
|
+
|
|
268
|
+
### Tv Shows
|
|
269
|
+
- [Faker::TvShows::AquaTeenHungerForce](doc/tv_shows/aqua_teen_hunger_force.md)
|
|
270
|
+
- [Faker::TvShows::BojackHorseman](doc/tv_shows/bojack_horseman.md)
|
|
271
|
+
- [Faker::TvShows::BreakingBad](doc/tv_shows/breaking_bad.md)
|
|
272
|
+
- [Faker::TvShows::Buffy](doc/tv_shows/buffy.md)
|
|
273
|
+
- [Faker::TvShows::Community](doc/tv_shows/community.md)
|
|
274
|
+
- [Faker::TvShows::DrWho](doc/tv_shows/dr_who.md)
|
|
275
|
+
- [Faker::TvShows::DumbAndDumber](doc/tv_shows/dumb_and_dumber.md)
|
|
276
|
+
- [Faker::TvShows::FamilyGuy](doc/tv_shows/family_guy.md)
|
|
277
|
+
- [Faker::TvShows::Friends](doc/tv_shows/friends.md)
|
|
278
|
+
- [Faker::TvShows::GameOfThrones](doc/tv_shows/game_of_thrones.md)
|
|
279
|
+
- [Faker::TvShows::HeyArnold](doc/tv_shows/hey_arnold.md)
|
|
280
|
+
- [Faker::TvShows::HowIMetYourMother](doc/tv_shows/how_i_met_your_mother.md)
|
|
281
|
+
- [Faker::TvShows::MichaelScott](doc/tv_shows/michael_scott.md)
|
|
282
|
+
- [Faker::TvShows::NewGirl](doc/tv_shows/new_girl.md)
|
|
283
|
+
- [Faker::TvShows::ParksAndRec](doc/tv_shows/parks_and_rec.md)
|
|
284
|
+
- [Faker::TvShows::RickAndMorty](doc/tv_shows/rick_and_morty.md)
|
|
285
|
+
- [Faker::TvShows::RuPaul](doc/tv_shows/rupaul.md)
|
|
286
|
+
- [Faker::TvShows::Seinfeld](doc/tv_shows/seinfeld.md)
|
|
287
|
+
- [Faker::TvShows::SiliconValley](doc/tv_shows/silicon_valley.md)
|
|
288
|
+
- [Faker::TvShows::Simpsons](doc/tv_shows/simpsons.md)
|
|
289
|
+
- [Faker::TvShows::SouthPark](doc/tv_shows/south_park.md)
|
|
290
|
+
- [Faker::TvShows::StarTrek](doc/tv_shows/star_trek.md)
|
|
291
|
+
- [Faker::TvShows::Stargate](doc/tv_shows/stargate.md)
|
|
292
|
+
- [Faker::TvShows::StrangerThings](doc/tv_shows/stranger_things.md)
|
|
293
|
+
- [Faker::TvShows::TheExpanse](doc/tv_shows/the_expanse.md)
|
|
294
|
+
- [Faker::TvShows::TheFreshPrinceOfBelAir](doc/tv_shows/the_fresh_prince_of_bel_air.md)
|
|
295
|
+
- [Faker::TvShows::TheITCrowd](doc/tv_shows/the_it_crowd.md)
|
|
296
|
+
- [Faker::TvShows::TheThickOfIt](doc/tv_shows/the_thick_of_it.md)
|
|
297
|
+
- [Faker::TvShows::TwinPeaks](doc/tv_shows/twin_peaks.md)
|
|
298
|
+
- [Faker::TvShows::VentureBros](doc/tv_shows/venture_bros.md)
|
|
222
299
|
|
|
300
|
+
## Customization
|
|
223
301
|
Since you may want to make addresses and other types of data look different
|
|
224
302
|
depending on where in the world you are (US postal codes vs. UK postal codes,
|
|
225
303
|
for example), Faker uses the I18n gem to store strings (like state names) and
|
|
@@ -228,32 +306,44 @@ allowing you to get different formats by switching locales. Just set
|
|
|
228
306
|
Faker::Config.locale to the locale you want, and Faker will take care of the
|
|
229
307
|
rest.
|
|
230
308
|
|
|
231
|
-
If your locale doesn't already exist, create it in the
|
|
309
|
+
If your locale doesn't already exist, create it in the `lib/locales` directory
|
|
232
310
|
and you can then override or add elements to suit your needs. See more about how to
|
|
233
311
|
use locales [here](lib/locales/README.md)
|
|
234
312
|
|
|
235
313
|
```yaml
|
|
236
|
-
|
|
237
314
|
en-au-ocker:
|
|
238
315
|
faker:
|
|
239
316
|
name:
|
|
240
317
|
# Existing faker field, new data
|
|
241
|
-
first_name:
|
|
318
|
+
first_name:
|
|
319
|
+
- Charlotte
|
|
320
|
+
- Ava
|
|
321
|
+
- Chloe
|
|
322
|
+
- Emily
|
|
242
323
|
|
|
243
324
|
# New faker fields
|
|
244
|
-
ocker_first_name:
|
|
245
|
-
|
|
246
|
-
|
|
325
|
+
ocker_first_name:
|
|
326
|
+
- Bazza
|
|
327
|
+
- Bluey
|
|
328
|
+
- Davo
|
|
329
|
+
- Johno
|
|
330
|
+
- Shano
|
|
331
|
+
- Shazza
|
|
332
|
+
region:
|
|
333
|
+
- South East Queensland
|
|
334
|
+
- Wide Bay Burnett
|
|
335
|
+
- Margaret River
|
|
336
|
+
- Port Pirie
|
|
337
|
+
- Gippsland
|
|
338
|
+
- Elizabeth
|
|
339
|
+
- Barossa
|
|
247
340
|
```
|
|
248
341
|
|
|
249
342
|
## Contributing
|
|
250
|
-
|
|
251
343
|
See [CONTRIBUTING.md](https://github.com/stympy/faker/blob/master/CONTRIBUTING.md).
|
|
252
344
|
|
|
253
345
|
## Contact
|
|
254
|
-
|
|
255
346
|
Comments and feedback are welcome. Send an email to Benjamin Curtis via the [google group](http://groups.google.com/group/ruby-faker).
|
|
256
347
|
|
|
257
348
|
## License
|
|
258
|
-
|
|
259
349
|
This code is free to use under the terms of the MIT license.
|