mega-pro-pkg 0.0.1
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 +7 -0
- data/faker-3.8.0/CHANGELOG.md +3068 -0
- data/faker-3.8.0/License.txt +20 -0
- data/faker-3.8.0/README.md +197 -0
- data/faker-3.8.0/bin/faker +5 -0
- data/faker-3.8.0/lib/faker/blockchain/aeternity.rb +70 -0
- data/faker-3.8.0/lib/faker/blockchain/bitcoin.rb +59 -0
- data/faker-3.8.0/lib/faker/blockchain/ethereum.rb +26 -0
- data/faker-3.8.0/lib/faker/blockchain/tezos.rb +134 -0
- data/faker-3.8.0/lib/faker/blockchain.rb +9 -0
- data/faker-3.8.0/lib/faker/books/culture_series.rb +83 -0
- data/faker-3.8.0/lib/faker/books/dune.rb +124 -0
- data/faker-3.8.0/lib/faker/books/lovecraft.rb +248 -0
- data/faker-3.8.0/lib/faker/books/the_kingkiller_chronicle.rb +61 -0
- data/faker-3.8.0/lib/faker/books.rb +9 -0
- data/faker-3.8.0/lib/faker/creature/animal.rb +22 -0
- data/faker-3.8.0/lib/faker/creature/bird.rb +203 -0
- data/faker-3.8.0/lib/faker/creature/cat.rb +50 -0
- data/faker-3.8.0/lib/faker/creature/dog.rb +115 -0
- data/faker-3.8.0/lib/faker/creature/horse.rb +37 -0
- data/faker-3.8.0/lib/faker/creature.rb +9 -0
- data/faker-3.8.0/lib/faker/default/address.rb +348 -0
- data/faker-3.8.0/lib/faker/default/adjective.rb +35 -0
- data/faker-3.8.0/lib/faker/default/alphanumeric.rb +67 -0
- data/faker-3.8.0/lib/faker/default/ancient.rb +59 -0
- data/faker-3.8.0/lib/faker/default/app.rb +68 -0
- data/faker-3.8.0/lib/faker/default/appliance.rb +33 -0
- data/faker-3.8.0/lib/faker/default/artist.rb +20 -0
- data/faker-3.8.0/lib/faker/default/avatar.rb +49 -0
- data/faker-3.8.0/lib/faker/default/bank.rb +195 -0
- data/faker-3.8.0/lib/faker/default/barcode.rb +165 -0
- data/faker-3.8.0/lib/faker/default/beer.rb +113 -0
- data/faker-3.8.0/lib/faker/default/blood.rb +48 -0
- data/faker-3.8.0/lib/faker/default/book.rb +61 -0
- data/faker-3.8.0/lib/faker/default/boolean.rb +24 -0
- data/faker-3.8.0/lib/faker/default/business.rb +50 -0
- data/faker-3.8.0/lib/faker/default/camera.rb +46 -0
- data/faker-3.8.0/lib/faker/default/cannabis.rb +135 -0
- data/faker-3.8.0/lib/faker/default/chile_rut.rb +98 -0
- data/faker-3.8.0/lib/faker/default/chuck_norris.rb +25 -0
- data/faker-3.8.0/lib/faker/default/code.rb +315 -0
- data/faker-3.8.0/lib/faker/default/coffee.rb +82 -0
- data/faker-3.8.0/lib/faker/default/coin.rb +33 -0
- data/faker-3.8.0/lib/faker/default/color.rb +150 -0
- data/faker-3.8.0/lib/faker/default/commerce.rb +157 -0
- data/faker-3.8.0/lib/faker/default/company.rb +678 -0
- data/faker-3.8.0/lib/faker/default/compass.rb +202 -0
- data/faker-3.8.0/lib/faker/default/computer.rb +63 -0
- data/faker-3.8.0/lib/faker/default/construction.rb +83 -0
- data/faker-3.8.0/lib/faker/default/cosmere.rb +138 -0
- data/faker-3.8.0/lib/faker/default/crypto.rb +68 -0
- data/faker-3.8.0/lib/faker/default/crypto_coin.rb +82 -0
- data/faker-3.8.0/lib/faker/default/currency.rb +46 -0
- data/faker-3.8.0/lib/faker/default/date.rb +209 -0
- data/faker-3.8.0/lib/faker/default/dc_comics.rb +70 -0
- data/faker-3.8.0/lib/faker/default/demographic.rb +94 -0
- data/faker-3.8.0/lib/faker/default/dessert.rb +48 -0
- data/faker-3.8.0/lib/faker/default/device.rb +85 -0
- data/faker-3.8.0/lib/faker/default/driving_licence.rb +132 -0
- data/faker-3.8.0/lib/faker/default/drone.rb +332 -0
- data/faker-3.8.0/lib/faker/default/educator.rb +102 -0
- data/faker-3.8.0/lib/faker/default/electrical_components.rb +48 -0
- data/faker-3.8.0/lib/faker/default/emotion.rb +33 -0
- data/faker-3.8.0/lib/faker/default/esport.rb +72 -0
- data/faker-3.8.0/lib/faker/default/file.rb +81 -0
- data/faker-3.8.0/lib/faker/default/finance.rb +112 -0
- data/faker-3.8.0/lib/faker/default/food.rb +139 -0
- data/faker-3.8.0/lib/faker/default/funny_name.rb +90 -0
- data/faker-3.8.0/lib/faker/default/game.rb +48 -0
- data/faker-3.8.0/lib/faker/default/gender.rb +46 -0
- data/faker-3.8.0/lib/faker/default/greek_philosophers.rb +33 -0
- data/faker-3.8.0/lib/faker/default/hacker.rb +103 -0
- data/faker-3.8.0/lib/faker/default/hipster.rb +154 -0
- data/faker-3.8.0/lib/faker/default/hobby.rb +22 -0
- data/faker-3.8.0/lib/faker/default/house.rb +33 -0
- data/faker-3.8.0/lib/faker/default/html.rb +230 -0
- data/faker-3.8.0/lib/faker/default/id_number.rb +424 -0
- data/faker-3.8.0/lib/faker/default/industry_segments.rb +61 -0
- data/faker-3.8.0/lib/faker/default/invoice.rb +123 -0
- data/faker-3.8.0/lib/faker/default/job.rb +61 -0
- data/faker-3.8.0/lib/faker/default/json.rb +130 -0
- data/faker-3.8.0/lib/faker/default/kpop.rb +85 -0
- data/faker-3.8.0/lib/faker/default/lorem.rb +253 -0
- data/faker-3.8.0/lib/faker/default/lorem_flickr.rb +110 -0
- data/faker-3.8.0/lib/faker/default/markdown.rb +170 -0
- data/faker-3.8.0/lib/faker/default/marketing.rb +22 -0
- data/faker-3.8.0/lib/faker/default/measurement.rb +175 -0
- data/faker-3.8.0/lib/faker/default/military.rb +98 -0
- data/faker-3.8.0/lib/faker/default/mountain.rb +33 -0
- data/faker-3.8.0/lib/faker/default/movie.rb +33 -0
- data/faker-3.8.0/lib/faker/default/name.rb +152 -0
- data/faker-3.8.0/lib/faker/default/nation.rb +73 -0
- data/faker-3.8.0/lib/faker/default/national_health_service.rb +57 -0
- data/faker-3.8.0/lib/faker/default/nato_phonetic_alphabet.rb +20 -0
- data/faker-3.8.0/lib/faker/default/number.rb +244 -0
- data/faker-3.8.0/lib/faker/default/omniauth.rb +471 -0
- data/faker-3.8.0/lib/faker/default/phone_number.rb +152 -0
- data/faker-3.8.0/lib/faker/default/placeholdit.rb +52 -0
- data/faker-3.8.0/lib/faker/default/programming_language.rb +33 -0
- data/faker-3.8.0/lib/faker/default/quote.rb +124 -0
- data/faker-3.8.0/lib/faker/default/relationship.rb +87 -0
- data/faker-3.8.0/lib/faker/default/restaurant.rb +63 -0
- data/faker-3.8.0/lib/faker/default/science.rb +154 -0
- data/faker-3.8.0/lib/faker/default/slack_emoji.rb +124 -0
- data/faker-3.8.0/lib/faker/default/source.rb +63 -0
- data/faker-3.8.0/lib/faker/default/south_africa.rb +141 -0
- data/faker-3.8.0/lib/faker/default/space.rb +191 -0
- data/faker-3.8.0/lib/faker/default/sport.rb +116 -0
- data/faker-3.8.0/lib/faker/default/string.rb +59 -0
- data/faker-3.8.0/lib/faker/default/stripe.rb +126 -0
- data/faker-3.8.0/lib/faker/default/subscription.rb +70 -0
- data/faker-3.8.0/lib/faker/default/superhero.rb +72 -0
- data/faker-3.8.0/lib/faker/default/tea.rb +41 -0
- data/faker-3.8.0/lib/faker/default/team.rb +74 -0
- data/faker-3.8.0/lib/faker/default/theater.rb +49 -0
- data/faker-3.8.0/lib/faker/default/time.rb +149 -0
- data/faker-3.8.0/lib/faker/default/types.rb +159 -0
- data/faker-3.8.0/lib/faker/default/university.rb +75 -0
- data/faker-3.8.0/lib/faker/default/vehicle.rb +332 -0
- data/faker-3.8.0/lib/faker/default/verb.rb +72 -0
- data/faker-3.8.0/lib/faker/default/vulnerability_identifier.rb +23 -0
- data/faker-3.8.0/lib/faker/default/world_cup.rb +77 -0
- data/faker-3.8.0/lib/faker/default/x.rb +189 -0
- data/faker-3.8.0/lib/faker/default.rb +9 -0
- data/faker-3.8.0/lib/faker/fantasy/tolkien.rb +67 -0
- data/faker-3.8.0/lib/faker/fantasy.rb +9 -0
- data/faker-3.8.0/lib/faker/games/clash_of_clans.rb +48 -0
- data/faker-3.8.0/lib/faker/games/control.rb +113 -0
- data/faker-3.8.0/lib/faker/games/dnd.rb +178 -0
- data/faker-3.8.0/lib/faker/games/dota.rb +89 -0
- data/faker-3.8.0/lib/faker/games/elder_scrolls.rb +139 -0
- data/faker-3.8.0/lib/faker/games/fallout.rb +62 -0
- data/faker-3.8.0/lib/faker/games/final_fantasy_xiv.rb +73 -0
- data/faker-3.8.0/lib/faker/games/half_life.rb +48 -0
- data/faker-3.8.0/lib/faker/games/heroes.rb +61 -0
- data/faker-3.8.0/lib/faker/games/heroes_of_the_storm.rb +61 -0
- data/faker-3.8.0/lib/faker/games/league_of_legends.rb +87 -0
- data/faker-3.8.0/lib/faker/games/minecraft.rb +113 -0
- data/faker-3.8.0/lib/faker/games/myst.rb +74 -0
- data/faker-3.8.0/lib/faker/games/overwatch.rb +48 -0
- data/faker-3.8.0/lib/faker/games/pokemon.rb +48 -0
- data/faker-3.8.0/lib/faker/games/sonic_the_hedgehog.rb +48 -0
- data/faker-3.8.0/lib/faker/games/street_fighter.rb +61 -0
- data/faker-3.8.0/lib/faker/games/super_mario.rb +48 -0
- data/faker-3.8.0/lib/faker/games/super_smash_bros.rb +35 -0
- data/faker-3.8.0/lib/faker/games/tarkov.rb +205 -0
- data/faker-3.8.0/lib/faker/games/touhou.rb +75 -0
- data/faker-3.8.0/lib/faker/games/warhammer_fantasy.rb +74 -0
- data/faker-3.8.0/lib/faker/games/witcher.rb +126 -0
- data/faker-3.8.0/lib/faker/games/world_of_warcraft.rb +60 -0
- data/faker-3.8.0/lib/faker/games/zelda.rb +62 -0
- data/faker-3.8.0/lib/faker/games.rb +9 -0
- data/faker-3.8.0/lib/faker/internet/http.rb +48 -0
- data/faker-3.8.0/lib/faker/internet.rb +582 -0
- data/faker-3.8.0/lib/faker/japanese_media/conan.rb +48 -0
- data/faker-3.8.0/lib/faker/japanese_media/cowboy_bebop.rb +61 -0
- data/faker-3.8.0/lib/faker/japanese_media/doraemon.rb +48 -0
- data/faker-3.8.0/lib/faker/japanese_media/dragon_ball.rb +48 -0
- data/faker-3.8.0/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +48 -0
- data/faker-3.8.0/lib/faker/japanese_media/kamen_rider.rb +102 -0
- data/faker-3.8.0/lib/faker/japanese_media/naruto.rb +61 -0
- data/faker-3.8.0/lib/faker/japanese_media/one_piece.rb +87 -0
- data/faker-3.8.0/lib/faker/japanese_media/studio_ghibli.rb +48 -0
- data/faker-3.8.0/lib/faker/japanese_media/sword_art_online.rb +61 -0
- data/faker-3.8.0/lib/faker/japanese_media.rb +9 -0
- data/faker-3.8.0/lib/faker/locations/australia.rb +49 -0
- data/faker-3.8.0/lib/faker/locations.rb +9 -0
- data/faker-3.8.0/lib/faker/movies/avatar.rb +49 -0
- data/faker-3.8.0/lib/faker/movies/back_to_the_future.rb +49 -0
- data/faker-3.8.0/lib/faker/movies/departed.rb +49 -0
- data/faker-3.8.0/lib/faker/movies/ghostbusters.rb +49 -0
- data/faker-3.8.0/lib/faker/movies/hackers.rb +48 -0
- data/faker-3.8.0/lib/faker/movies/harry_potter.rb +87 -0
- data/faker-3.8.0/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +106 -0
- data/faker-3.8.0/lib/faker/movies/hobbit.rb +62 -0
- data/faker-3.8.0/lib/faker/movies/how_to_train_your_dragon.rb +48 -0
- data/faker-3.8.0/lib/faker/movies/lebowski.rb +48 -0
- data/faker-3.8.0/lib/faker/movies/lord_of_the_rings.rb +49 -0
- data/faker-3.8.0/lib/faker/movies/princess_bride.rb +36 -0
- data/faker-3.8.0/lib/faker/movies/star_wars.rb +269 -0
- data/faker-3.8.0/lib/faker/movies/the_room.rb +63 -0
- data/faker-3.8.0/lib/faker/movies/tron.rb +161 -0
- data/faker-3.8.0/lib/faker/movies/v_for_vendetta.rb +50 -0
- data/faker-3.8.0/lib/faker/movies.rb +9 -0
- data/faker-3.8.0/lib/faker/music/bossa_nova.rb +35 -0
- data/faker-3.8.0/lib/faker/music/grateful_dead.rb +35 -0
- data/faker-3.8.0/lib/faker/music/hiphop.rb +48 -0
- data/faker-3.8.0/lib/faker/music/opera.rb +298 -0
- data/faker-3.8.0/lib/faker/music/pearl_jam.rb +48 -0
- data/faker-3.8.0/lib/faker/music/phish.rb +48 -0
- data/faker-3.8.0/lib/faker/music/prince.rb +64 -0
- data/faker-3.8.0/lib/faker/music/rock_band.rb +34 -0
- data/faker-3.8.0/lib/faker/music/rush.rb +35 -0
- data/faker-3.8.0/lib/faker/music/smashing_pumpkins.rb +62 -0
- data/faker-3.8.0/lib/faker/music/umphreys_mcgee.rb +22 -0
- data/faker-3.8.0/lib/faker/music.rb +149 -0
- data/faker-3.8.0/lib/faker/quotes/chiquito.rb +80 -0
- data/faker-3.8.0/lib/faker/quotes/rajnikanth.rb +27 -0
- data/faker-3.8.0/lib/faker/quotes/shakespeare.rb +111 -0
- data/faker-3.8.0/lib/faker/quotes.rb +9 -0
- data/faker-3.8.0/lib/faker/religion/bible.rb +50 -0
- data/faker-3.8.0/lib/faker/religion.rb +9 -0
- data/faker-3.8.0/lib/faker/sports/basketball.rb +61 -0
- data/faker-3.8.0/lib/faker/sports/chess.rb +90 -0
- data/faker-3.8.0/lib/faker/sports/football.rb +74 -0
- data/faker-3.8.0/lib/faker/sports/mountaineering.rb +22 -0
- data/faker-3.8.0/lib/faker/sports/volleyball.rb +74 -0
- data/faker-3.8.0/lib/faker/sports.rb +9 -0
- data/faker-3.8.0/lib/faker/travel/airport.rb +43 -0
- data/faker-3.8.0/lib/faker/travel/train_station.rb +54 -0
- data/faker-3.8.0/lib/faker/travel.rb +9 -0
- data/faker-3.8.0/lib/faker/tv_shows/aqua_teen_hunger_force.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/archer.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/big_bang_theory.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/bojack_horseman.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/breaking_bad.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/brooklyn_nine_nine.rb +38 -0
- data/faker-3.8.0/lib/faker/tv_shows/buffy.rb +76 -0
- data/faker-3.8.0/lib/faker/tv_shows/community.rb +38 -0
- data/faker-3.8.0/lib/faker/tv_shows/dr_who.rb +102 -0
- data/faker-3.8.0/lib/faker/tv_shows/dumb_and_dumber.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/family_guy.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/final_space.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/friends.rb +50 -0
- data/faker-3.8.0/lib/faker/tv_shows/futurama.rb +65 -0
- data/faker-3.8.0/lib/faker/tv_shows/game_of_thrones.rb +77 -0
- data/faker-3.8.0/lib/faker/tv_shows/hey_arnold.rb +50 -0
- data/faker-3.8.0/lib/faker/tv_shows/how_i_met_your_mother.rb +64 -0
- data/faker-3.8.0/lib/faker/tv_shows/michael_scott.rb +23 -0
- data/faker-3.8.0/lib/faker/tv_shows/new_girl.rb +38 -0
- data/faker-3.8.0/lib/faker/tv_shows/parks_and_rec.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/rick_and_morty.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/ru_paul.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/seinfeld.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/silicon_valley.rb +118 -0
- data/faker-3.8.0/lib/faker/tv_shows/simpsons.rb +65 -0
- data/faker-3.8.0/lib/faker/tv_shows/south_park.rb +53 -0
- data/faker-3.8.0/lib/faker/tv_shows/spongebob.rb +50 -0
- data/faker-3.8.0/lib/faker/tv_shows/star_trek.rb +63 -0
- data/faker-3.8.0/lib/faker/tv_shows/stargate.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/stranger_things.rb +38 -0
- data/faker-3.8.0/lib/faker/tv_shows/suits.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/supernatural.rb +48 -0
- data/faker-3.8.0/lib/faker/tv_shows/the_expanse.rb +63 -0
- data/faker-3.8.0/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/the_it_crowd.rb +64 -0
- data/faker-3.8.0/lib/faker/tv_shows/the_office.rb +37 -0
- data/faker-3.8.0/lib/faker/tv_shows/the_thick_of_it.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/twin_peaks.rb +51 -0
- data/faker-3.8.0/lib/faker/tv_shows/venture_bros.rb +65 -0
- data/faker-3.8.0/lib/faker/tv_shows.rb +9 -0
- data/faker-3.8.0/lib/faker/version.rb +5 -0
- data/faker-3.8.0/lib/faker.rb +333 -0
- data/faker-3.8.0/lib/helpers/base58.rb +22 -0
- data/faker-3.8.0/lib/helpers/char.rb +61 -0
- data/faker-3.8.0/lib/helpers/deprecator.rb +118 -0
- data/faker-3.8.0/lib/helpers/positional_generator.rb +478 -0
- data/faker-3.8.0/lib/helpers/unique_generator.rb +60 -0
- data/faker-3.8.0/lib/locales/README.md +56 -0
- data/faker-3.8.0/lib/locales/ar.yml +1664 -0
- data/faker-3.8.0/lib/locales/bg.yml +960 -0
- data/faker-3.8.0/lib/locales/ca-CAT.yml +359 -0
- data/faker-3.8.0/lib/locales/ca.yml +596 -0
- data/faker-3.8.0/lib/locales/da-DK.yml +567 -0
- data/faker-3.8.0/lib/locales/de-AT.yml +3518 -0
- data/faker-3.8.0/lib/locales/de-CH.yml +6061 -0
- data/faker-3.8.0/lib/locales/de.yml +7262 -0
- data/faker-3.8.0/lib/locales/ee.yml +1219 -0
- data/faker-3.8.0/lib/locales/en/README.md +13 -0
- data/faker-3.8.0/lib/locales/en/address.yml +1851 -0
- data/faker-3.8.0/lib/locales/en/adjective.yml +179 -0
- data/faker-3.8.0/lib/locales/en/airport.yml +381 -0
- data/faker-3.8.0/lib/locales/en/ancient.yml +131 -0
- data/faker-3.8.0/lib/locales/en/animal.yml +145 -0
- data/faker-3.8.0/lib/locales/en/app.yml +95 -0
- data/faker-3.8.0/lib/locales/en/appliance.yml +84 -0
- data/faker-3.8.0/lib/locales/en/aqua_teen_hunger_force.yml +36 -0
- data/faker-3.8.0/lib/locales/en/archer.yml +75 -0
- data/faker-3.8.0/lib/locales/en/artist.yml +46 -0
- data/faker-3.8.0/lib/locales/en/australia.yml +108 -0
- data/faker-3.8.0/lib/locales/en/avatar.yml +57 -0
- data/faker-3.8.0/lib/locales/en/back_to_the_future.yml +148 -0
- data/faker-3.8.0/lib/locales/en/bank.yml +391 -0
- data/faker-3.8.0/lib/locales/en/barcode.yml +24 -0
- data/faker-3.8.0/lib/locales/en/basketball.yml +99 -0
- data/faker-3.8.0/lib/locales/en/beer.yml +235 -0
- data/faker-3.8.0/lib/locales/en/bible.yml +87 -0
- data/faker-3.8.0/lib/locales/en/big_bang_theory.yml +37 -0
- data/faker-3.8.0/lib/locales/en/bird.yml +1280 -0
- data/faker-3.8.0/lib/locales/en/blood.yml +13 -0
- data/faker-3.8.0/lib/locales/en/bojack_horseman.yml +66 -0
- data/faker-3.8.0/lib/locales/en/book.yml +490 -0
- data/faker-3.8.0/lib/locales/en/bossa_nova.yml +113 -0
- data/faker-3.8.0/lib/locales/en/breaking_bad.yml +113 -0
- data/faker-3.8.0/lib/locales/en/brooklyn_nine_nine.yml +34 -0
- data/faker-3.8.0/lib/locales/en/buffy.yml +242 -0
- data/faker-3.8.0/lib/locales/en/business.yml +21 -0
- data/faker-3.8.0/lib/locales/en/camera.yml +611 -0
- data/faker-3.8.0/lib/locales/en/cannabis.yml +347 -0
- data/faker-3.8.0/lib/locales/en/cat.yml +159 -0
- data/faker-3.8.0/lib/locales/en/chess.yml +102 -0
- data/faker-3.8.0/lib/locales/en/chiquito.yml +63 -0
- data/faker-3.8.0/lib/locales/en/chuck_norris.yml +81 -0
- data/faker-3.8.0/lib/locales/en/clash_of_clan.yml +99 -0
- data/faker-3.8.0/lib/locales/en/code.yml +504 -0
- data/faker-3.8.0/lib/locales/en/coffee.yml +456 -0
- data/faker-3.8.0/lib/locales/en/coin.yml +6 -0
- data/faker-3.8.0/lib/locales/en/color.yml +76 -0
- data/faker-3.8.0/lib/locales/en/commerce.yml +122 -0
- data/faker-3.8.0/lib/locales/en/community.yml +58 -0
- data/faker-3.8.0/lib/locales/en/company.yml +1765 -0
- data/faker-3.8.0/lib/locales/en/compass.yml +130 -0
- data/faker-3.8.0/lib/locales/en/computer.yml +55 -0
- data/faker-3.8.0/lib/locales/en/conan.yml +169 -0
- data/faker-3.8.0/lib/locales/en/construction.yml +419 -0
- data/faker-3.8.0/lib/locales/en/control.yml +247 -0
- data/faker-3.8.0/lib/locales/en/cosmere.yml +222 -0
- data/faker-3.8.0/lib/locales/en/cowboy_bebop.yml +160 -0
- data/faker-3.8.0/lib/locales/en/crypto_coin.yml +25 -0
- data/faker-3.8.0/lib/locales/en/culture_series.yml +307 -0
- data/faker-3.8.0/lib/locales/en/currency.yml +361 -0
- data/faker-3.8.0/lib/locales/en/dc_comics.yml +181 -0
- data/faker-3.8.0/lib/locales/en/demographic.yml +221 -0
- data/faker-3.8.0/lib/locales/en/departed.yml +46 -0
- data/faker-3.8.0/lib/locales/en/dessert.yml +81 -0
- data/faker-3.8.0/lib/locales/en/device.yml +115 -0
- data/faker-3.8.0/lib/locales/en/dnd.yml +636 -0
- data/faker-3.8.0/lib/locales/en/dog.yml +266 -0
- data/faker-3.8.0/lib/locales/en/doraemon.yml +284 -0
- data/faker-3.8.0/lib/locales/en/dota.yml +746 -0
- data/faker-3.8.0/lib/locales/en/dr_who.yml +471 -0
- data/faker-3.8.0/lib/locales/en/dragon_ball.yml +246 -0
- data/faker-3.8.0/lib/locales/en/driving_license.yml +181 -0
- data/faker-3.8.0/lib/locales/en/drone.yml +95 -0
- data/faker-3.8.0/lib/locales/en/dumb_and_dumber.yml +75 -0
- data/faker-3.8.0/lib/locales/en/dune.yml +298 -0
- data/faker-3.8.0/lib/locales/en/educator.yml +80 -0
- data/faker-3.8.0/lib/locales/en/elder_scrolls.yml +584 -0
- data/faker-3.8.0/lib/locales/en/electrical_components.yml +52 -0
- data/faker-3.8.0/lib/locales/en/emotion.yml +480 -0
- data/faker-3.8.0/lib/locales/en/esport.yml +61 -0
- data/faker-3.8.0/lib/locales/en/fallout.yml +315 -0
- data/faker-3.8.0/lib/locales/en/family_guy.yml +57 -0
- data/faker-3.8.0/lib/locales/en/file.yml +112 -0
- data/faker-3.8.0/lib/locales/en/final_fantasy_xiv.yml +754 -0
- data/faker-3.8.0/lib/locales/en/final_space.yml +35 -0
- data/faker-3.8.0/lib/locales/en/finance.yml +189 -0
- data/faker-3.8.0/lib/locales/en/food.yml +1070 -0
- data/faker-3.8.0/lib/locales/en/football.yml +124 -0
- data/faker-3.8.0/lib/locales/en/fresh_prince_of_bel_air.yml +122 -0
- data/faker-3.8.0/lib/locales/en/friends.yml +165 -0
- data/faker-3.8.0/lib/locales/en/fullmetal_alchemist_brotherhood.yml +78 -0
- data/faker-3.8.0/lib/locales/en/funny_name.yml +755 -0
- data/faker-3.8.0/lib/locales/en/futurama.yml +336 -0
- data/faker-3.8.0/lib/locales/en/game.yml +294 -0
- data/faker-3.8.0/lib/locales/en/game_of_thrones.yml +2490 -0
- data/faker-3.8.0/lib/locales/en/gender.yml +18 -0
- data/faker-3.8.0/lib/locales/en/ghostbusters.yml +104 -0
- data/faker-3.8.0/lib/locales/en/grateful_dead.yml +50 -0
- data/faker-3.8.0/lib/locales/en/greek_philosophers.yml +47 -0
- data/faker-3.8.0/lib/locales/en/hacker.yml +113 -0
- data/faker-3.8.0/lib/locales/en/hackers.yml +53 -0
- data/faker-3.8.0/lib/locales/en/half_life.yml +88 -0
- data/faker-3.8.0/lib/locales/en/harry_potter.yml +326 -0
- data/faker-3.8.0/lib/locales/en/heroes.yml +411 -0
- data/faker-3.8.0/lib/locales/en/heroes_of_the_storm.yml +134 -0
- data/faker-3.8.0/lib/locales/en/hey_arnold.yml +107 -0
- data/faker-3.8.0/lib/locales/en/hipster.yml +206 -0
- data/faker-3.8.0/lib/locales/en/hitchhikers_guide_to_the_galaxy.yml +246 -0
- data/faker-3.8.0/lib/locales/en/hobby.yml +170 -0
- data/faker-3.8.0/lib/locales/en/horse.yml +450 -0
- data/faker-3.8.0/lib/locales/en/house.yml +37 -0
- data/faker-3.8.0/lib/locales/en/how_i_met_your_mother.yml +100 -0
- data/faker-3.8.0/lib/locales/en/how_to_train_your_dragon.yml +173 -0
- data/faker-3.8.0/lib/locales/en/id_number.yml +10 -0
- data/faker-3.8.0/lib/locales/en/industry_segments.yml +191 -0
- data/faker-3.8.0/lib/locales/en/internet.yml +154 -0
- data/faker-3.8.0/lib/locales/en/invoice.yml +6 -0
- data/faker-3.8.0/lib/locales/en/jack_handey.yml +54 -0
- data/faker-3.8.0/lib/locales/en/job.yml +106 -0
- data/faker-3.8.0/lib/locales/en/kamen_rider.yml +718 -0
- data/faker-3.8.0/lib/locales/en/kpop.yml +957 -0
- data/faker-3.8.0/lib/locales/en/league_of_legends.yml +289 -0
- data/faker-3.8.0/lib/locales/en/lebowski.yml +61 -0
- data/faker-3.8.0/lib/locales/en/lorem.yml +1100 -0
- data/faker-3.8.0/lib/locales/en/lovecraft.yml +79 -0
- data/faker-3.8.0/lib/locales/en/markdown.yml +15 -0
- data/faker-3.8.0/lib/locales/en/marketing.yml +57 -0
- data/faker-3.8.0/lib/locales/en/measurement.yml +45 -0
- data/faker-3.8.0/lib/locales/en/michael_scott.yml +44 -0
- data/faker-3.8.0/lib/locales/en/military.yml +182 -0
- data/faker-3.8.0/lib/locales/en/minecraft.yml +663 -0
- data/faker-3.8.0/lib/locales/en/mitch_hedberg.yml +46 -0
- data/faker-3.8.0/lib/locales/en/mountain.yml +171 -0
- data/faker-3.8.0/lib/locales/en/mountaineering.yml +14 -0
- data/faker-3.8.0/lib/locales/en/movie.yml +209 -0
- data/faker-3.8.0/lib/locales/en/music.yml +464 -0
- data/faker-3.8.0/lib/locales/en/myst.yml +104 -0
- data/faker-3.8.0/lib/locales/en/name.yml +6088 -0
- data/faker-3.8.0/lib/locales/en/naruto.yml +230 -0
- data/faker-3.8.0/lib/locales/en/nation.yml +11 -0
- data/faker-3.8.0/lib/locales/en/nato_phonetic_alphabet.yml +30 -0
- data/faker-3.8.0/lib/locales/en/new_girl.yml +38 -0
- data/faker-3.8.0/lib/locales/en/one_piece.yml +362 -0
- data/faker-3.8.0/lib/locales/en/opera.yml +340 -0
- data/faker-3.8.0/lib/locales/en/overwatch.yml +2652 -0
- data/faker-3.8.0/lib/locales/en/parks_and_rec.yml +36 -0
- data/faker-3.8.0/lib/locales/en/pearl_jam.yml +213 -0
- data/faker-3.8.0/lib/locales/en/phish.yml +394 -0
- data/faker-3.8.0/lib/locales/en/phone_number.yml +82 -0
- data/faker-3.8.0/lib/locales/en/pokemon.yml +421 -0
- data/faker-3.8.0/lib/locales/en/prince.yml +227 -0
- data/faker-3.8.0/lib/locales/en/princess_bride.yml +51 -0
- data/faker-3.8.0/lib/locales/en/programming_language.yml +756 -0
- data/faker-3.8.0/lib/locales/en/quote.yml +609 -0
- data/faker-3.8.0/lib/locales/en/rajnikanth.yml +77 -0
- data/faker-3.8.0/lib/locales/en/relationship.yml +33 -0
- data/faker-3.8.0/lib/locales/en/restaurant.yml +129 -0
- data/faker-3.8.0/lib/locales/en/rick_and_morty.yml +119 -0
- data/faker-3.8.0/lib/locales/en/rock_band.yml +231 -0
- data/faker-3.8.0/lib/locales/en/rupaul.yml +123 -0
- data/faker-3.8.0/lib/locales/en/rush.yml +32 -0
- data/faker-3.8.0/lib/locales/en/science.yml +484 -0
- data/faker-3.8.0/lib/locales/en/seinfeld.yml +113 -0
- data/faker-3.8.0/lib/locales/en/shakespeare.yml +49 -0
- data/faker-3.8.0/lib/locales/en/silicon_valley.yml +125 -0
- data/faker-3.8.0/lib/locales/en/simpsons.yml +900 -0
- data/faker-3.8.0/lib/locales/en/slack_emoji.yml +886 -0
- data/faker-3.8.0/lib/locales/en/smashing_pumpkins.yml +382 -0
- data/faker-3.8.0/lib/locales/en/sonic_the_hedgehog.yml +410 -0
- data/faker-3.8.0/lib/locales/en/source.yml +51 -0
- data/faker-3.8.0/lib/locales/en/south_park.yml +363 -0
- data/faker-3.8.0/lib/locales/en/space.yml +376 -0
- data/faker-3.8.0/lib/locales/en/spongebob.yml +489 -0
- data/faker-3.8.0/lib/locales/en/sport.yml +130 -0
- data/faker-3.8.0/lib/locales/en/star_trek.yml +108 -0
- data/faker-3.8.0/lib/locales/en/star_wars.yml +603 -0
- data/faker-3.8.0/lib/locales/en/stargate.yml +68 -0
- data/faker-3.8.0/lib/locales/en/stranger_thing.yml +34 -0
- data/faker-3.8.0/lib/locales/en/street_fighter.yml +1524 -0
- data/faker-3.8.0/lib/locales/en/stripe.yml +42 -0
- data/faker-3.8.0/lib/locales/en/studio_ghibli.yml +107 -0
- data/faker-3.8.0/lib/locales/en/subscription.yml +50 -0
- data/faker-3.8.0/lib/locales/en/suits.yml +45 -0
- data/faker-3.8.0/lib/locales/en/super_mario.yml +58 -0
- data/faker-3.8.0/lib/locales/en/super_smash_bros.yml +223 -0
- data/faker-3.8.0/lib/locales/en/superhero.yml +582 -0
- data/faker-3.8.0/lib/locales/en/supernatural.yml +141 -0
- data/faker-3.8.0/lib/locales/en/sword_art_online.yml +330 -0
- data/faker-3.8.0/lib/locales/en/tarkov.yml +593 -0
- data/faker-3.8.0/lib/locales/en/tea.yml +172 -0
- data/faker-3.8.0/lib/locales/en/team.yml +130 -0
- data/faker-3.8.0/lib/locales/en/the_expanse.yml +95 -0
- data/faker-3.8.0/lib/locales/en/the_it_crowd.yml +151 -0
- data/faker-3.8.0/lib/locales/en/the_kingkiller_chronicle.yml +56 -0
- data/faker-3.8.0/lib/locales/en/the_office.yml +82 -0
- data/faker-3.8.0/lib/locales/en/the_room.yml +68 -0
- data/faker-3.8.0/lib/locales/en/the_thick_of_it.yml +86 -0
- data/faker-3.8.0/lib/locales/en/theater.yml +597 -0
- data/faker-3.8.0/lib/locales/en/tolkien.yml +2453 -0
- data/faker-3.8.0/lib/locales/en/touhou.yml +839 -0
- data/faker-3.8.0/lib/locales/en/train_station.yml +280 -0
- data/faker-3.8.0/lib/locales/en/tron.yml +227 -0
- data/faker-3.8.0/lib/locales/en/twin_peaks.yml +133 -0
- data/faker-3.8.0/lib/locales/en/umphreys_mcgee.yml +269 -0
- data/faker-3.8.0/lib/locales/en/university.yml +23 -0
- data/faker-3.8.0/lib/locales/en/v_for_vendetta.yml +160 -0
- data/faker-3.8.0/lib/locales/en/vehicle.yml +2814 -0
- data/faker-3.8.0/lib/locales/en/venture_bros.yml +228 -0
- data/faker-3.8.0/lib/locales/en/verbs.yml +3788 -0
- data/faker-3.8.0/lib/locales/en/volleyball.yml +501 -0
- data/faker-3.8.0/lib/locales/en/warhammer_fantasy.yml +549 -0
- data/faker-3.8.0/lib/locales/en/witcher.yml +430 -0
- data/faker-3.8.0/lib/locales/en/world_cup.yml +1168 -0
- data/faker-3.8.0/lib/locales/en/world_of_warcraft.yml +126 -0
- data/faker-3.8.0/lib/locales/en/yoda.yml +41 -0
- data/faker-3.8.0/lib/locales/en/zelda.yml +966 -0
- data/faker-3.8.0/lib/locales/en-AU.yml +739 -0
- data/faker-3.8.0/lib/locales/en-BORK.yml +107 -0
- data/faker-3.8.0/lib/locales/en-CA.yml +394 -0
- data/faker-3.8.0/lib/locales/en-GB.yml +124 -0
- data/faker-3.8.0/lib/locales/en-IND.yml +1268 -0
- data/faker-3.8.0/lib/locales/en-KE.yml +212 -0
- data/faker-3.8.0/lib/locales/en-MS.yml +395 -0
- data/faker-3.8.0/lib/locales/en-NEP.yml +226 -0
- data/faker-3.8.0/lib/locales/en-NG.yml +749 -0
- data/faker-3.8.0/lib/locales/en-NZ.yml +1195 -0
- data/faker-3.8.0/lib/locales/en-PAK.yml +401 -0
- data/faker-3.8.0/lib/locales/en-SG.yml +601 -0
- data/faker-3.8.0/lib/locales/en-TH.yml +360 -0
- data/faker-3.8.0/lib/locales/en-UG.yml +427 -0
- data/faker-3.8.0/lib/locales/en-US.yml +6969 -0
- data/faker-3.8.0/lib/locales/en-ZA.yml +1529 -0
- data/faker-3.8.0/lib/locales/en-au-ocker.yml +278 -0
- data/faker-3.8.0/lib/locales/en.yml +8 -0
- data/faker-3.8.0/lib/locales/es-AR.yml +4570 -0
- data/faker-3.8.0/lib/locales/es-MX.yml +1971 -0
- data/faker-3.8.0/lib/locales/es.yml +2214 -0
- data/faker-3.8.0/lib/locales/fa.yml +1631 -0
- data/faker-3.8.0/lib/locales/fi-FI.yml +335 -0
- data/faker-3.8.0/lib/locales/fr/address.yml +773 -0
- data/faker-3.8.0/lib/locales/fr/adjective.yml +266 -0
- data/faker-3.8.0/lib/locales/fr/ancient.yml +141 -0
- data/faker-3.8.0/lib/locales/fr/animal.yml +122 -0
- data/faker-3.8.0/lib/locales/fr/appliance.yml +69 -0
- data/faker-3.8.0/lib/locales/fr/book.yml +31 -0
- data/faker-3.8.0/lib/locales/fr/color.yml +34 -0
- data/faker-3.8.0/lib/locales/fr/company.yml +497 -0
- data/faker-3.8.0/lib/locales/fr/compass.yml +71 -0
- data/faker-3.8.0/lib/locales/fr/demographic.yml +6 -0
- data/faker-3.8.0/lib/locales/fr/gender.yml +21 -0
- data/faker-3.8.0/lib/locales/fr/internet.yml +15 -0
- data/faker-3.8.0/lib/locales/fr/lorem.yml +1094 -0
- data/faker-3.8.0/lib/locales/fr/measurement.yml +34 -0
- data/faker-3.8.0/lib/locales/fr/name.yml +1193 -0
- data/faker-3.8.0/lib/locales/fr/phone_number.yml +38 -0
- data/faker-3.8.0/lib/locales/fr/pokemon.yml +421 -0
- data/faker-3.8.0/lib/locales/fr-CA.yml +2802 -0
- data/faker-3.8.0/lib/locales/fr-CH.yml +2491 -0
- data/faker-3.8.0/lib/locales/fr.yml +5 -0
- data/faker-3.8.0/lib/locales/he.yml +273 -0
- data/faker-3.8.0/lib/locales/hy.yml +3922 -0
- data/faker-3.8.0/lib/locales/id.yml +853 -0
- data/faker-3.8.0/lib/locales/it.yml +1349 -0
- data/faker-3.8.0/lib/locales/ja/README.md +13 -0
- data/faker-3.8.0/lib/locales/ja/address.yml +363 -0
- data/faker-3.8.0/lib/locales/ja/adjective.yml +148 -0
- data/faker-3.8.0/lib/locales/ja/ancient.yml +18 -0
- data/faker-3.8.0/lib/locales/ja/animal.yml +87 -0
- data/faker-3.8.0/lib/locales/ja/artist.yml +46 -0
- data/faker-3.8.0/lib/locales/ja/bank.yml +139 -0
- data/faker-3.8.0/lib/locales/ja/book.yml +496 -0
- data/faker-3.8.0/lib/locales/ja/cat.yml +79 -0
- data/faker-3.8.0/lib/locales/ja/coffee.yml +22 -0
- data/faker-3.8.0/lib/locales/ja/color.yml +35 -0
- data/faker-3.8.0/lib/locales/ja/commerce.yml +103 -0
- data/faker-3.8.0/lib/locales/ja/company.yml +26 -0
- data/faker-3.8.0/lib/locales/ja/dog.yml +339 -0
- data/faker-3.8.0/lib/locales/ja/emotion.yml +49 -0
- data/faker-3.8.0/lib/locales/ja/food.yml +41 -0
- data/faker-3.8.0/lib/locales/ja/football.yml +115 -0
- data/faker-3.8.0/lib/locales/ja/gender.yml +6 -0
- data/faker-3.8.0/lib/locales/ja/lorem.yml +1020 -0
- data/faker-3.8.0/lib/locales/ja/name.yml +213 -0
- data/faker-3.8.0/lib/locales/ja/naruto.yml +230 -0
- data/faker-3.8.0/lib/locales/ja/overwatch.yml +37 -0
- data/faker-3.8.0/lib/locales/ja/phone_number.yml +13 -0
- data/faker-3.8.0/lib/locales/ja/pokemon.yml +441 -0
- data/faker-3.8.0/lib/locales/ja/relationship.yml +33 -0
- data/faker-3.8.0/lib/locales/ja/restaurant.yml +82 -0
- data/faker-3.8.0/lib/locales/ja/space.yml +23 -0
- data/faker-3.8.0/lib/locales/ja/sport.yml +130 -0
- data/faker-3.8.0/lib/locales/ja/studio_ghibli.yml +112 -0
- data/faker-3.8.0/lib/locales/ja/subscription.yml +50 -0
- data/faker-3.8.0/lib/locales/ja/super_mario.yml +73 -0
- data/faker-3.8.0/lib/locales/ja/super_smash_bros.yml +8 -0
- data/faker-3.8.0/lib/locales/ja/touhou.yml +466 -0
- data/faker-3.8.0/lib/locales/ja/university.yml +22 -0
- data/faker-3.8.0/lib/locales/ja/zelda.yml +19 -0
- data/faker-3.8.0/lib/locales/ko.yml +1473 -0
- data/faker-3.8.0/lib/locales/lt.yml +315 -0
- data/faker-3.8.0/lib/locales/lv.yml +1249 -0
- data/faker-3.8.0/lib/locales/mi-NZ.yml +283 -0
- data/faker-3.8.0/lib/locales/nb-NO.yml +553 -0
- data/faker-3.8.0/lib/locales/nl.yml +33551 -0
- data/faker-3.8.0/lib/locales/no.yml +7 -0
- data/faker-3.8.0/lib/locales/pl.yml +4047 -0
- data/faker-3.8.0/lib/locales/pt-BR.yml +8266 -0
- data/faker-3.8.0/lib/locales/pt.yml +867 -0
- data/faker-3.8.0/lib/locales/ru.yml +1401 -0
- data/faker-3.8.0/lib/locales/sk.yml +4453 -0
- data/faker-3.8.0/lib/locales/sv.yml +771 -0
- data/faker-3.8.0/lib/locales/th.yml +380 -0
- data/faker-3.8.0/lib/locales/tr.yml +98 -0
- data/faker-3.8.0/lib/locales/uk.yml +1852 -0
- data/faker-3.8.0/lib/locales/vi.yml +412 -0
- data/faker-3.8.0/lib/locales/zh-CN/bank.yml +17 -0
- data/faker-3.8.0/lib/locales/zh-CN.yml +578 -0
- data/faker-3.8.0/lib/locales/zh-TW.yml +1045 -0
- data/mega-pro-pkg.gemspec +12 -0
- metadata +620 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2007-2019 Benjamin Curtis
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
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.
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Faker [![Gem Version][version-badge]][rubygems] [![Build Status][github-actions-badge]][github-actions] [![Total Downloads][downloads-total]][rubygems] [![Downloads][downloads-badge]][rubygems]
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
<img src="https://user-images.githubusercontent.com/36028424/40263395-4318481e-5b44-11e8-92e5-3dcc1ce169b3.png" width="400"/>
|
|
5
|
+
<p>Generate (almost) realistic fake data for testing, demos, and populating your database during development.</p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
[version-badge]: https://img.shields.io/gem/v/faker.svg
|
|
9
|
+
[rubygems]: https://rubygems.org/gems/faker
|
|
10
|
+
[github-actions-badge]: https://img.shields.io/github/actions/workflow/status/faker-ruby/faker/.github/workflows/ruby.yml?branch=main
|
|
11
|
+
[github-actions]: https://github.com/faker-ruby/faker/actions
|
|
12
|
+
[downloads-total]: https://img.shields.io/gem/dt/faker.svg
|
|
13
|
+
[downloads-badge]: https://img.shields.io/gem/dtv/faker.svg
|
|
14
|
+
|
|
15
|
+
## Quick links
|
|
16
|
+
|
|
17
|
+
- 📖 **[Read the documentation for the latest version][rubydocs].**
|
|
18
|
+
- 📢 **[See what's changed in recent versions][changelog].**
|
|
19
|
+
|
|
20
|
+
[rubydocs]: https://www.rubydoc.info/gems/faker/
|
|
21
|
+
[changelog]: CHANGELOG.md
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
- Internet: Email addresses, Passwords, Domains, etc.
|
|
26
|
+
- Date and Time: Travel back in time or to the future.
|
|
27
|
+
- Person: Names, Genders, Bios, Job titles, and more.
|
|
28
|
+
- Number and String: Random numbers and strings.
|
|
29
|
+
- Location: Addresses, Zip Codes, Street Names, States, and Countries.
|
|
30
|
+
- Finance: Account Details, Transactions, and Crypto Addresses.
|
|
31
|
+
- Localization - Customize faker with over 40 locales to generate realistic-looking Names, Addresses, and Phone Numbers.
|
|
32
|
+
|
|
33
|
+
> **Note:** The generated names, addresses, emails, phone numbers, and/or other data might return valid information. Please be careful when using faker in your tests.
|
|
34
|
+
|
|
35
|
+
For a complete list of the generators, see [Generators](./GENERATORS.md).
|
|
36
|
+
|
|
37
|
+
## Getting Started
|
|
38
|
+
|
|
39
|
+
Start by including `faker` in your Gemfile:
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
gem 'faker'
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then run `bundle install`.
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
```ruby
|
|
50
|
+
require 'faker'
|
|
51
|
+
|
|
52
|
+
Faker::Name.name #=> "Christophe Bartell"
|
|
53
|
+
Faker::Internet.password #=> "Vg5mSvY1UeRg7"
|
|
54
|
+
Faker::Internet.email #=> "eliza@mann.test"
|
|
55
|
+
Faker::Address.full_address #=> "5479 William Way, East Sonnyhaven, LA 63637"
|
|
56
|
+
Faker::Markdown.emphasis #=> "Quo qui aperiam. Amet corrupti distinctio. Sit quia *dolor.*"
|
|
57
|
+
Faker::Lorem.paragraph #=> "Recusandae minima consequatur. Expedita sequi blanditiis. Ut fuga et."
|
|
58
|
+
Faker::Alphanumeric.alpha(number: 10) #=> "zlvubkrwga"
|
|
59
|
+
Faker::ProgrammingLanguage.name #=> "Ruby"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Table of Contents
|
|
63
|
+
|
|
64
|
+
- [Faker ](#faker----)
|
|
65
|
+
- [Quick links](#quick-links)
|
|
66
|
+
- [Features](#features)
|
|
67
|
+
- [Getting Started](#getting-started)
|
|
68
|
+
- [Usage](#usage)
|
|
69
|
+
- [Table of Contents](#table-of-contents)
|
|
70
|
+
- [Notes](#notes)
|
|
71
|
+
- [Ensuring unique values](#ensuring-unique-values)
|
|
72
|
+
- [Deterministic Random](#deterministic-random)
|
|
73
|
+
- [Localization](#localization)
|
|
74
|
+
- [Minitest and Faker \>= 2.22](#minitest-and-faker--222)
|
|
75
|
+
- [Generators](#generators)
|
|
76
|
+
- [Contributing](#contributing)
|
|
77
|
+
- [Versioning](#versioning)
|
|
78
|
+
- [Inspiration](#inspiration)
|
|
79
|
+
- [In the media](#in-the-media)
|
|
80
|
+
- [License](#license)
|
|
81
|
+
|
|
82
|
+
### Notes
|
|
83
|
+
|
|
84
|
+
* While Faker generates data at random, returned values are not guaranteed to be unique by default. To explicitly specify when you require unique values, see [Ensuring Unique Values](#ensuring-unique-values).
|
|
85
|
+
* Values also can be deterministic if you use the deterministic feature, see [Deterministic Random](#deterministic-random).
|
|
86
|
+
* This is the `main` branch of Faker and may contain changes that are not yet released. The list of all versions is [available here](https://github.com/stympy/faker/releases).
|
|
87
|
+
|
|
88
|
+
### Ensuring unique values
|
|
89
|
+
|
|
90
|
+
To ensure Faker generates unique values, prefix your method call with `unique`:
|
|
91
|
+
|
|
92
|
+
```ruby
|
|
93
|
+
Faker::Name.unique.name # This will return a unique name every time it is called
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
If too many unique values are requested from a generator that has a limited
|
|
97
|
+
number of potential values, a `Faker::UniqueGenerator::RetryLimitExceeded`
|
|
98
|
+
exception may be raised. It is possible to clear the record of unique values
|
|
99
|
+
that have been returned, for example between tests.
|
|
100
|
+
|
|
101
|
+
```ruby
|
|
102
|
+
Faker::Name.unique.clear # Clears used values for Faker::Name
|
|
103
|
+
Faker::UniqueGenerator.clear # Clears used values for all generators
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
You can also give some already-used values to the unique generator if you have
|
|
107
|
+
collisions with the generated data (i.e., using FactoryBot with random and
|
|
108
|
+
manually set values).
|
|
109
|
+
|
|
110
|
+
```ruby
|
|
111
|
+
# Faker::<generator>.unique.exclude(method, arguments, list)
|
|
112
|
+
|
|
113
|
+
# Add 'azerty' and 'wxcvbn' to the string generator with 6 char length
|
|
114
|
+
Faker::Lorem.unique.exclude :string, [number: 6], %w[azerty wxcvbn]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Deterministic Random
|
|
118
|
+
|
|
119
|
+
Faker supports seeding of its pseudo-random number generator (PRNG)
|
|
120
|
+
to provide deterministic output of repeated method calls.
|
|
121
|
+
|
|
122
|
+
```ruby
|
|
123
|
+
Faker::Config.random = Random.new(42)
|
|
124
|
+
Faker::Lorem.word #=> "velit"
|
|
125
|
+
Faker::Lorem.word #=> "quisquam"
|
|
126
|
+
|
|
127
|
+
Faker::Config.random = Random.new(42)
|
|
128
|
+
Faker::Lorem.word #=> "velit"
|
|
129
|
+
Faker::Lorem.word #=> "quisquam"
|
|
130
|
+
|
|
131
|
+
Faker::Config.random = nil # seeds the PRNG using default entropy sources
|
|
132
|
+
Faker::Config.random.seed #=> 185180369676275068918401850258677722187
|
|
133
|
+
Faker::Lorem.word #=> "ipsam"
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Localization
|
|
137
|
+
|
|
138
|
+
You may want Faker to print information depending on your location in the world.
|
|
139
|
+
To assist you in this, Faker uses the `I18n` gem to store strings and formats to
|
|
140
|
+
represent the names and postal codes of the area of your choosing.
|
|
141
|
+
|
|
142
|
+
Just set the locale you want as shown below, and Faker will take care of the rest.
|
|
143
|
+
|
|
144
|
+
```ruby
|
|
145
|
+
Faker::Config.locale = 'es'
|
|
146
|
+
# or
|
|
147
|
+
Faker::Config.locale = :es
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
To override Faker's locales, and set it on threaded server environments
|
|
151
|
+
check out the [locales README](lib/locales/README.md).
|
|
152
|
+
|
|
153
|
+
### Minitest and Faker >= 2.22
|
|
154
|
+
|
|
155
|
+
To prevent Faker (version >= 2.22) from [generating duplicate values](https://github.com/faker-ruby/faker/issues/2534) when using Minitest,
|
|
156
|
+
you might need to add the following to the `test_helper.rb` or `rails_helper.rb` file:
|
|
157
|
+
|
|
158
|
+
```ruby
|
|
159
|
+
Faker::Config.random = Random.new
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Generators
|
|
163
|
+
|
|
164
|
+
To see the full list, check out the [GENERATORS](./GENERATORS.md) document.
|
|
165
|
+
|
|
166
|
+
## Contributing
|
|
167
|
+
|
|
168
|
+
**Note**: We are not accepting proposals for new generators and locales. The [Contributing](https://github.com/faker-ruby/faker/blob/main/CONTRIBUTING.md) guide has a few notes about this decision.
|
|
169
|
+
|
|
170
|
+
Take a look at the [Contributing](https://github.com/faker-ruby/faker/blob/main/CONTRIBUTING.md) document for
|
|
171
|
+
instructions on setting up the repo on your machine, opening bug reports, understanding the codebase,
|
|
172
|
+
and creating a good pull request.
|
|
173
|
+
|
|
174
|
+
There is a [Discord channel](https://discord.gg/RMumTwB) to discuss anything
|
|
175
|
+
regarding improvements or feature requests. This is not actively monitored by the current maintainers.
|
|
176
|
+
|
|
177
|
+
Thank you, contributors!
|
|
178
|
+
|
|
179
|
+
## Versioning
|
|
180
|
+
|
|
181
|
+
Faker follows Semantic Versioning 2.0 as defined at https://semver.org.
|
|
182
|
+
|
|
183
|
+
## Inspiration
|
|
184
|
+
|
|
185
|
+
Faker was inspired by [Perl's Data::Faker library](https://metacpan.org/pod/Data::Faker).
|
|
186
|
+
|
|
187
|
+
## In the media
|
|
188
|
+
|
|
189
|
+
- 📰 [With Great Humor Comes Great Developer Engagement] - KTH Royal Institute of Technology research
|
|
190
|
+
- 🎧 [Computer und Kommunikation 4.5.2024, komplette Sendung] - Deutschland Funk Radio Interview
|
|
191
|
+
|
|
192
|
+
[With Great Humor Comes Great Developer Engagement]: https://arxiv.org/pdf/2312.01680
|
|
193
|
+
[Computer und Kommunikation 4.5.2024, komplette Sendung]: https://www.deutschlandfunk.de/computer-und-kommunikation-4-5-2024-komplette-sendung-dlf-16492b03-100.html
|
|
194
|
+
|
|
195
|
+
## License
|
|
196
|
+
|
|
197
|
+
This code is free to use under the terms of the MIT license.
|
|
@@ -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
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'securerandom'
|
|
4
|
+
|
|
5
|
+
module Faker
|
|
6
|
+
class Blockchain
|
|
7
|
+
class Bitcoin < Base
|
|
8
|
+
class << self
|
|
9
|
+
# @private
|
|
10
|
+
PROTOCOL_VERSIONS = {
|
|
11
|
+
main: 0,
|
|
12
|
+
testnet: 111
|
|
13
|
+
}.freeze
|
|
14
|
+
|
|
15
|
+
##
|
|
16
|
+
# Produces a Bitcoin wallet address
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
#
|
|
20
|
+
# @example
|
|
21
|
+
# Faker::Blockchain::Bitcoin.address
|
|
22
|
+
# #=> "147nDP22h3pHrLt2qykTH4txUwQh1ccaXp"
|
|
23
|
+
#
|
|
24
|
+
# @faker.version 1.9.2
|
|
25
|
+
def address
|
|
26
|
+
address_for(:main)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
##
|
|
30
|
+
# Produces a Bitcoin testnet address
|
|
31
|
+
#
|
|
32
|
+
# @return [String]
|
|
33
|
+
#
|
|
34
|
+
# @example
|
|
35
|
+
# Faker::Blockchain::Bitcoin.testnet_address
|
|
36
|
+
# #=> "n4YjRyYD6V6zREpk6opqESDqD3KYnMdVEB"
|
|
37
|
+
#
|
|
38
|
+
# @faker.version 1.9.2
|
|
39
|
+
def testnet_address
|
|
40
|
+
address_for(:testnet)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
protected
|
|
44
|
+
|
|
45
|
+
##
|
|
46
|
+
# Generates a random Bitcoin address for the given network
|
|
47
|
+
#
|
|
48
|
+
# @param network [Symbol] The name of network protocol to generate an address for
|
|
49
|
+
# @return [String] A Bitcoin address
|
|
50
|
+
def address_for(network)
|
|
51
|
+
version = PROTOCOL_VERSIONS.fetch(network)
|
|
52
|
+
packed = version.chr + Faker::Config.random.bytes(20)
|
|
53
|
+
checksum = OpenSSL::Digest::SHA256.digest(OpenSSL::Digest::SHA256.digest(packed))[0..3]
|
|
54
|
+
Faker::Base58.encode(packed + checksum)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Faker
|
|
4
|
+
class Blockchain
|
|
5
|
+
class Ethereum < Base
|
|
6
|
+
class << self
|
|
7
|
+
##
|
|
8
|
+
# Produces a random Ethereum wallet address
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
#
|
|
12
|
+
# @example
|
|
13
|
+
# Faker::Blockchain::Ethereum.address
|
|
14
|
+
# #=> "0xd392b0c0500700d02d27ab30805ec80ddd3320ff"
|
|
15
|
+
#
|
|
16
|
+
# @faker.version 1.9.1
|
|
17
|
+
def address
|
|
18
|
+
hex_alphabet = '0123456789abcdef'
|
|
19
|
+
var = +'0x'
|
|
20
|
+
40.times { var << sample(shuffle(hex_alphabet.chars)) }
|
|
21
|
+
var
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'securerandom'
|
|
4
|
+
|
|
5
|
+
module Faker
|
|
6
|
+
class Blockchain
|
|
7
|
+
class Tezos < Base
|
|
8
|
+
class << self
|
|
9
|
+
# @private
|
|
10
|
+
PREFIXES = {
|
|
11
|
+
tz1: [6, 161, 159],
|
|
12
|
+
KT1: [2, 90, 121],
|
|
13
|
+
edpk: [13, 15, 37, 217],
|
|
14
|
+
edsk: [13, 15, 58, 7],
|
|
15
|
+
edsig: [9, 245, 205, 134, 18],
|
|
16
|
+
B: [1, 52],
|
|
17
|
+
o: [5, 116]
|
|
18
|
+
}.freeze
|
|
19
|
+
|
|
20
|
+
##
|
|
21
|
+
# Produces a random Tezos account address
|
|
22
|
+
#
|
|
23
|
+
# @return [String]
|
|
24
|
+
#
|
|
25
|
+
# @example
|
|
26
|
+
# Faker::Blockchain::Tezos.account
|
|
27
|
+
# #=> "tz1eUsgK6aj752Fbxwk5sAoEFvSDnPjZ4qvk"
|
|
28
|
+
#
|
|
29
|
+
# @faker.version 1.9.2
|
|
30
|
+
def account
|
|
31
|
+
encode_tz(:tz1, 20)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
##
|
|
35
|
+
# Produces a random Tezos contract
|
|
36
|
+
#
|
|
37
|
+
# @return [String]
|
|
38
|
+
#
|
|
39
|
+
# @example
|
|
40
|
+
# Faker::Blockchain::Tezos.contract
|
|
41
|
+
# #=> "KT1MroqeP15nnitB4CnNfkqHYa2NErhPPLWF"
|
|
42
|
+
#
|
|
43
|
+
# @faker.version 1.9.2
|
|
44
|
+
def contract
|
|
45
|
+
encode_tz(:KT1, 20)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
##
|
|
49
|
+
# Produces a random Tezos operation
|
|
50
|
+
#
|
|
51
|
+
# @return [String]
|
|
52
|
+
#
|
|
53
|
+
# @example
|
|
54
|
+
# Faker::Blockchain::Tezos.operation
|
|
55
|
+
# #=> "onygWYXJX3xNstFLv9PcCrhQdCkENC795xwSinmTEc1jsDN4VDa"
|
|
56
|
+
#
|
|
57
|
+
# @faker.version 1.9.2
|
|
58
|
+
def operation
|
|
59
|
+
encode_tz(:o, 32)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
##
|
|
63
|
+
# Produces a random Tezos block
|
|
64
|
+
#
|
|
65
|
+
# @return [String]
|
|
66
|
+
#
|
|
67
|
+
# @example
|
|
68
|
+
# Faker::Blockchain::Tezos.block
|
|
69
|
+
# #=> "BMbhs2rkY1dvAkAyRytvPsjFQ2RiPrBhYkxvWpY65dzkdSuw58a"
|
|
70
|
+
#
|
|
71
|
+
# @faker.version 1.9.4
|
|
72
|
+
def block
|
|
73
|
+
encode_tz(:B, 32)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
##
|
|
77
|
+
# Produces a random Tezos signature
|
|
78
|
+
#
|
|
79
|
+
# @return [String]
|
|
80
|
+
#
|
|
81
|
+
# @example
|
|
82
|
+
# Faker::Blockchain::Tezos.signature
|
|
83
|
+
# #=> "edsigu165B7VFf3Dpw2QABVzEtCxJY2gsNBNcE3Ti7rRxtDUjqTFRpg67EdAQmY6YWPE5tKJDMnSTJDFu65gic8uLjbW2YwGvAZ"
|
|
84
|
+
#
|
|
85
|
+
# @faker.version 1.9.2
|
|
86
|
+
def signature
|
|
87
|
+
encode_tz(:edsig, 64)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
##
|
|
91
|
+
# Produces a random Tezos public key
|
|
92
|
+
#
|
|
93
|
+
# @return [String]
|
|
94
|
+
#
|
|
95
|
+
# @example
|
|
96
|
+
# Faker::Blockchain::Tezos.public_key
|
|
97
|
+
# #=> "edpkuib9x8QXRc5nWwHUg7U1dXsVmaUrUNU5sX9pVEEvwbMVdfMCeq"
|
|
98
|
+
#
|
|
99
|
+
# @faker.version 2.15.2
|
|
100
|
+
def public_key
|
|
101
|
+
encode_tz(:edpk, 32)
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
##
|
|
105
|
+
# Produces a random Tezos public key
|
|
106
|
+
#
|
|
107
|
+
# @return [String]
|
|
108
|
+
#
|
|
109
|
+
# @example
|
|
110
|
+
# Faker::Blockchain::Tezos.secret_key
|
|
111
|
+
# #=> "edsk3HZCAGEGpzQPnQUwQeFY4ESanFhQCgLpKriQw8GHyhKCrjHawv"
|
|
112
|
+
#
|
|
113
|
+
# @faker.version 2.15.2
|
|
114
|
+
def secret_key
|
|
115
|
+
encode_tz(:edsk, 32)
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
protected
|
|
119
|
+
|
|
120
|
+
##
|
|
121
|
+
# @param prefix [Symbol]
|
|
122
|
+
# @param payload_size [Integer] The size of the payload
|
|
123
|
+
#
|
|
124
|
+
# @return [String]
|
|
125
|
+
def encode_tz(prefix, payload_size)
|
|
126
|
+
prefix = PREFIXES.fetch(prefix)
|
|
127
|
+
packed = prefix.map(&:chr).join + Faker::Config.random.bytes(payload_size)
|
|
128
|
+
checksum = OpenSSL::Digest::SHA256.digest(OpenSSL::Digest::SHA256.digest(packed))[0..3]
|
|
129
|
+
Faker::Base58.encode(packed + checksum)
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Faker
|
|
4
|
+
class Books
|
|
5
|
+
class CultureSeries < Base
|
|
6
|
+
flexible :culture_series
|
|
7
|
+
|
|
8
|
+
class << self
|
|
9
|
+
##
|
|
10
|
+
# @return [String]
|
|
11
|
+
#
|
|
12
|
+
# @example
|
|
13
|
+
# Faker::Books::CultureSeries.book
|
|
14
|
+
# #=> "The Player of Games"
|
|
15
|
+
#
|
|
16
|
+
# @faker.version 1.9.3
|
|
17
|
+
def book
|
|
18
|
+
fetch('culture_series.books')
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
##
|
|
22
|
+
# @return [String]
|
|
23
|
+
#
|
|
24
|
+
# @example
|
|
25
|
+
# Faker::Books::CultureSeries.culture_ship
|
|
26
|
+
# #=> "Fate Amenable To Change"
|
|
27
|
+
#
|
|
28
|
+
# @faker.version 1.9.3
|
|
29
|
+
def culture_ship
|
|
30
|
+
fetch('culture_series.culture_ships')
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
##
|
|
34
|
+
# @return [String]
|
|
35
|
+
#
|
|
36
|
+
# @example
|
|
37
|
+
# Faker::Books::CultureSeries.culture_ship_class
|
|
38
|
+
# #=> "General Systems Vehicle"
|
|
39
|
+
#
|
|
40
|
+
# @faker.version 1.9.3
|
|
41
|
+
def culture_ship_class
|
|
42
|
+
fetch('culture_series.culture_ship_classes')
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
##
|
|
46
|
+
# @return [String]
|
|
47
|
+
#
|
|
48
|
+
# @example
|
|
49
|
+
# Faker::Books::CultureSeries.culture_ship_class_abv
|
|
50
|
+
# #=> "The Odd Sister"
|
|
51
|
+
#
|
|
52
|
+
# @faker.version 1.9.3
|
|
53
|
+
def culture_ship_class_abv
|
|
54
|
+
fetch('culture_series.culture_ship_class_abvs')
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
##
|
|
58
|
+
# @return [String]
|
|
59
|
+
#
|
|
60
|
+
# @example
|
|
61
|
+
# Faker::Books::CultureSeries.civ
|
|
62
|
+
# #=> "Culture"
|
|
63
|
+
#
|
|
64
|
+
# @faker.version 1.9.3
|
|
65
|
+
def civ
|
|
66
|
+
fetch('culture_series.civs')
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
##
|
|
70
|
+
# @return [String]
|
|
71
|
+
#
|
|
72
|
+
# @example
|
|
73
|
+
# Faker::Books::CultureSeries.planet
|
|
74
|
+
# #=> "Xinth"
|
|
75
|
+
#
|
|
76
|
+
# @faker.version 1.9.3
|
|
77
|
+
def planet
|
|
78
|
+
fetch('culture_series.planets')
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|