faker 1.9.3 → 1.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +94 -1
  3. data/README.md +21 -10
  4. data/bin/faker +5 -0
  5. data/lib/faker/blockchain/tezos.rb +10 -5
  6. data/lib/faker/creature/horse.rb +19 -0
  7. data/lib/faker/default/coffee.rb +2 -0
  8. data/lib/faker/default/company.rb +4 -0
  9. data/lib/faker/default/file.rb +10 -1
  10. data/lib/faker/default/internet.rb +14 -2
  11. data/lib/faker/default/json.rb +4 -4
  12. data/lib/faker/default/number.rb +5 -0
  13. data/lib/faker/deprecate/unreleased/football.rb +35 -0
  14. data/lib/faker/deprecate/unreleased/movies/grateful_dead.rb +22 -0
  15. data/lib/faker/games/game.rb +21 -0
  16. data/lib/faker/{movies → music}/grateful_dead.rb +3 -1
  17. data/lib/faker/music/opera.rb +26 -0
  18. data/lib/faker/sports/basketball.rb +25 -0
  19. data/lib/faker/sports/football.rb +29 -0
  20. data/lib/faker/version.rb +1 -1
  21. data/lib/locales/en-AU.yml +1 -1
  22. data/lib/locales/en/animal.yml +2 -2
  23. data/lib/locales/en/basketball.yml +99 -0
  24. data/lib/locales/en/company.yml +1 -0
  25. data/lib/locales/en/crypto_coin.yml +22 -6
  26. data/lib/locales/en/dc_comics.yml +5 -5
  27. data/lib/locales/en/dota.yml +3 -1
  28. data/lib/locales/en/food.yml +1 -1
  29. data/lib/locales/en/game.yml +283 -0
  30. data/lib/locales/en/grateful_dead.yml +2 -1
  31. data/lib/locales/en/heroes_of_the_storm.yml +2 -2
  32. data/lib/locales/en/horse.yml +6 -0
  33. data/lib/locales/en/kpop.yml +1 -1
  34. data/lib/locales/en/league_of_legends.yml +2 -2
  35. data/lib/locales/en/music.yml +1 -1
  36. data/lib/locales/en/nation.yml +1 -1
  37. data/lib/locales/en/opera.yml +172 -0
  38. data/lib/locales/en/phish.yml +1 -1
  39. data/lib/locales/en/rupaul.yml +51 -21
  40. data/lib/locales/en/space.yml +1 -1
  41. data/lib/locales/en/stargate.yml +1 -2
  42. data/lib/locales/en/subscription.yml +1 -1
  43. data/lib/locales/en/super_smash_bros.yml +4 -0
  44. data/lib/locales/en/verbs.yml +2 -2
  45. data/lib/locales/fr-CA.yml +0 -5
  46. data/lib/locales/fr-CH.yml +0 -1
  47. data/lib/locales/fr.yml +1 -1
  48. data/lib/locales/hy.yml +47 -2
  49. data/lib/locales/ja.yml +16 -0
  50. data/lib/locales/pt-BR.yml +4 -1
  51. data/lib/locales/zh-CN.yml +3 -6
  52. data/lib/locales/zh-TW.yml +2 -2
  53. metadata +58 -98
  54. data/lib/faker/default/football.rb +0 -27
  55. data/lib/faker/deprecate/aqua_teen_hunger_force.rb +0 -15
  56. data/lib/faker/deprecate/back_to_the_future.rb +0 -25
  57. data/lib/faker/deprecate/bitcoin.rb +0 -20
  58. data/lib/faker/deprecate/bojack_horseman.rb +0 -25
  59. data/lib/faker/deprecate/breaking_bad.rb +0 -20
  60. data/lib/faker/deprecate/buffy.rb +0 -35
  61. data/lib/faker/deprecate/cat.rb +0 -25
  62. data/lib/faker/deprecate/community.rb +0 -20
  63. data/lib/faker/deprecate/dog.rb +0 -50
  64. data/lib/faker/deprecate/dota.rb +0 -35
  65. data/lib/faker/deprecate/dr_who.rb +0 -45
  66. data/lib/faker/deprecate/dragon_ball.rb +0 -15
  67. data/lib/faker/deprecate/dumb_and_dumber.rb +0 -25
  68. data/lib/faker/deprecate/dune.rb +0 -35
  69. data/lib/faker/deprecate/elder_scrolls.rb +0 -50
  70. data/lib/faker/deprecate/ethereum.rb +0 -15
  71. data/lib/faker/deprecate/fallout.rb +0 -30
  72. data/lib/faker/deprecate/family_guy.rb +0 -25
  73. data/lib/faker/deprecate/famous_last_words.rb +0 -15
  74. data/lib/faker/deprecate/friends.rb +0 -25
  75. data/lib/faker/deprecate/game_of_thrones.rb +0 -35
  76. data/lib/faker/deprecate/harry_potter.rb +0 -40
  77. data/lib/faker/deprecate/heroes_of_the_storm.rb +0 -30
  78. data/lib/faker/deprecate/hey_arnold.rb +0 -25
  79. data/lib/faker/deprecate/hitchhikers_guide_to_the_galaxy.rb +0 -44
  80. data/lib/faker/deprecate/hobbit.rb +0 -30
  81. data/lib/faker/deprecate/how_i_met_your_mother.rb +0 -30
  82. data/lib/faker/deprecate/league_of_legends.rb +0 -40
  83. data/lib/faker/deprecate/lebowski.rb +0 -25
  84. data/lib/faker/deprecate/lord_of_the_rings.rb +0 -25
  85. data/lib/faker/deprecate/lovecraft.rb +0 -65
  86. data/lib/faker/deprecate/matz.rb +0 -15
  87. data/lib/faker/deprecate/michael_scott.rb +0 -15
  88. data/lib/faker/deprecate/most_interesting_man_in_the_world.rb +0 -15
  89. data/lib/faker/deprecate/myst.rb +0 -35
  90. data/lib/faker/deprecate/new_girl.rb +0 -20
  91. data/lib/faker/deprecate/one_piece.rb +0 -40
  92. data/lib/faker/deprecate/overwatch.rb +0 -25
  93. data/lib/faker/deprecate/parks_and_rec.rb +0 -20
  94. data/lib/faker/deprecate/pokemon.rb +0 -25
  95. data/lib/faker/deprecate/princess_bride.rb +0 -20
  96. data/lib/faker/deprecate/rick_and_morty.rb +0 -25
  97. data/lib/faker/deprecate/robin.rb +0 -15
  98. data/lib/faker/deprecate/rock_band.rb +0 -15
  99. data/lib/faker/deprecate/ru_paul.rb +0 -20
  100. data/lib/faker/deprecate/seinfeld.rb +0 -25
  101. data/lib/faker/deprecate/shakespeare.rb +0 -50
  102. data/lib/faker/deprecate/silicon_valley.rb +0 -50
  103. data/lib/faker/deprecate/simpsons.rb +0 -25
  104. data/lib/faker/deprecate/singular_siegler.rb +0 -15
  105. data/lib/faker/deprecate/south_park.rb +0 -20
  106. data/lib/faker/deprecate/star_trek.rb +0 -30
  107. data/lib/faker/deprecate/star_wars.rb +0 -95
  108. data/lib/faker/deprecate/stargate.rb +0 -25
  109. data/lib/faker/deprecate/stranger_things.rb +0 -20
  110. data/lib/faker/deprecate/sword_art_online.rb +0 -30
  111. data/lib/faker/deprecate/tezos.rb +0 -33
  112. data/lib/faker/deprecate/the_fresh_prince_of_bel_air.rb +0 -25
  113. data/lib/faker/deprecate/the_it_crowd.rb +0 -30
  114. data/lib/faker/deprecate/the_thick_of_it.rb +0 -25
  115. data/lib/faker/deprecate/twin_peaks.rb +0 -25
  116. data/lib/faker/deprecate/umphreys_mcgee.rb +0 -15
  117. data/lib/faker/deprecate/v_for_vendetta.rb +0 -25
  118. data/lib/faker/deprecate/venture_bros.rb +0 -30
  119. data/lib/faker/deprecate/witcher.rb +0 -40
  120. data/lib/faker/deprecate/world_of_warcraft.rb +0 -20
  121. data/lib/faker/deprecate/yoda.rb +0 -16
  122. data/lib/faker/deprecate/zelda.rb +0 -30
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Bitcoin
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def address
9
- Faker::Blockchain::Bitcoin.address
10
- end
11
-
12
- def testnet_address
13
- Faker::Blockchain::Bitcoin.testnet_address
14
- end
15
-
16
- deprecate :address, 'Faker::Blockchain::Bitcoin.address', 2019, 01
17
- deprecate :testnet_address, 'Faker::Blockchain::Bitcoin.testnet_address', 2019, 01
18
- end
19
- end
20
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class BojackHorseman
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::TvShows::BojackHorseman.character
10
- end
11
-
12
- def tongue_twister
13
- Faker::TvShows::BojackHorseman.tongue_twister
14
- end
15
-
16
- def quote
17
- Faker::TvShows::BojackHorseman.quote
18
- end
19
-
20
- deprecate :character, 'Faker::TvShows::BojackHorseman.character', 2019, 01
21
- deprecate :tongue_twister, 'Faker::TvShows::BojackHorseman.tongue_twister', 2019, 01
22
- deprecate :quote, 'Faker::TvShows::BojackHorseman.quote', 2019, 01
23
- end
24
- end
25
- end
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class BreakingBad
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::TvShows::BreakingBad.character
10
- end
11
-
12
- def episode
13
- Faker::TvShows::BreakingBad.episode
14
- end
15
-
16
- deprecate :character, 'Faker::TvShows::BreakingBad.character', 2019, 01
17
- deprecate :episode, 'Faker::TvShows::BreakingBad.episode', 2019, 01
18
- end
19
- end
20
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Buffy
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::TvShows::Buffy.character
10
- end
11
-
12
- def quote
13
- Faker::TvShows::Buffy.quote
14
- end
15
-
16
- def celebrity
17
- Faker::TvShows::Buffy.celebrity
18
- end
19
-
20
- def big_bad
21
- Faker::TvShows::Buffy.big_bad
22
- end
23
-
24
- def episode
25
- Faker::TvShows::Buffy.episode
26
- end
27
-
28
- deprecate :character, 'Faker::TvShows::Buffy.character', 2019, 01
29
- deprecate :quote, 'Faker::TvShows::Buffy.quote', 2019, 01
30
- deprecate :celebrity, 'Faker::TvShows::Buffy.celebrity', 2019, 01
31
- deprecate :big_bad, 'Faker::TvShows::Buffy.big_bad', 2019, 01
32
- deprecate :episode, 'Faker::TvShows::Buffy.episode', 2019, 01
33
- end
34
- end
35
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Cat
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def name
9
- Faker::Creature::Cat.name
10
- end
11
-
12
- def breed
13
- Faker::Creature::Cat.breed
14
- end
15
-
16
- def registry
17
- Faker::Creature::Cat.registry
18
- end
19
-
20
- deprecate :name, 'Faker::Creature::Cat.name', 2019, 01
21
- deprecate :breed, 'Faker::Creature::Cat.breed', 2019, 01
22
- deprecate :registry, 'Faker::Creature::Cat.registry', 2019, 01
23
- end
24
- end
25
- end
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Community
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def characters
9
- Faker::TvShows::Community.characters
10
- end
11
-
12
- def quotes
13
- Faker::TvShows::Community.quotes
14
- end
15
-
16
- deprecate :characters, 'Faker::TvShows::Community.characters', 2019, 01
17
- deprecate :quotes, 'Faker::TvShows::Community.quotes', 2019, 01
18
- end
19
- end
20
- end
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Dog
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def name
9
- Faker::Creature::Dog.name
10
- end
11
-
12
- def breed
13
- Faker::Creature::Dog.breed
14
- end
15
-
16
- def sound
17
- Faker::Creature::Dog.sound
18
- end
19
-
20
- def meme_phrase
21
- Faker::Creature::Dog.meme_phrase
22
- end
23
-
24
- def age
25
- Faker::Creature::Dog.age
26
- end
27
-
28
- def gender
29
- Faker::Creature::Dog.gender
30
- end
31
-
32
- def coat_length
33
- Faker::Creature::Dog.coat_length
34
- end
35
-
36
- def size
37
- Faker::Creature::Dog.size
38
- end
39
-
40
- deprecate :name, 'Faker::Creature::Dog.name', 2019, 01
41
- deprecate :breed, 'Faker::Creature::Dog.breed', 2019, 01
42
- deprecate :sound, 'Faker::Creature::Dog.sound', 2019, 01
43
- deprecate :meme_phrase, 'Faker::Creature::Dog.meme_phrase', 2019, 01
44
- deprecate :age, 'Faker::Creature::Dog.age', 2019, 01
45
- deprecate :gender, 'Faker::Creature::Dog.gender', 2019, 01
46
- deprecate :coat_length, 'Faker::Creature::Dog.coat_length', 2019, 01
47
- deprecate :size, 'Faker::Creature::Dog.size', 2019, 01
48
- end
49
- end
50
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Dota
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def hero
9
- Faker::Games::Dota.hero
10
- end
11
-
12
- def item
13
- Faker::Games::Dota.item
14
- end
15
-
16
- def team
17
- Faker::Games::Dota.team
18
- end
19
-
20
- def player
21
- Faker::Games::Dota.player
22
- end
23
-
24
- def quote(hero = 'abaddon')
25
- Faker::Games::Dota.quote(hero: hero)
26
- end
27
-
28
- deprecate :hero, 'Faker::Games::Dota.hero', 2019, 01
29
- deprecate :item, 'Faker::Games::Dota.item', 2019, 01
30
- deprecate :team, 'Faker::Games::Dota.team', 2019, 01
31
- deprecate :player, 'Faker::Games::Dota.player', 2019, 01
32
- deprecate :quote, 'Faker::Games::Dota.quote', 2019, 01
33
- end
34
- end
35
- end
@@ -1,45 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class DrWho
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::TvShows::DrWho.character
10
- end
11
-
12
- def the_doctor
13
- Faker::TvShows::DrWho.the_doctor
14
- end
15
-
16
- def actor
17
- Faker::TvShows::DrWho.actor
18
- end
19
-
20
- def catch_phrase
21
- Faker::TvShows::DrWho.catch_phrase
22
- end
23
-
24
- def quote
25
- Faker::TvShows::DrWho.quote
26
- end
27
-
28
- def villian
29
- Faker::TvShows::DrWho.villian
30
- end
31
-
32
- def specie
33
- Faker::TvShows::DrWho.specie
34
- end
35
-
36
- deprecate :character, 'Faker::TvShows::DrWho.character', 2019, 01
37
- deprecate :the_doctor, 'Faker::TvShows::DrWho.the_doctor', 2019, 01
38
- deprecate :actor, 'Faker::TvShows::DrWho.actor', 2019, 01
39
- deprecate :catch_phrase, 'Faker::TvShows::DrWho.catch_phrase', 2019, 01
40
- deprecate :quote, 'Faker::TvShows::DrWho.quote', 2019, 01
41
- deprecate :villian, 'Faker::TvShows::DrWho.villian', 2019, 01
42
- deprecate :specie, 'Faker::TvShows::DrWho.specie', 2019, 01
43
- end
44
- end
45
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class DragonBall
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::JapaneseMedia::DragonBall.character
10
- end
11
-
12
- deprecate :character, 'Faker::JapaneseMedia::DragonBall.character', 2019, 01
13
- end
14
- end
15
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class DumbAndDumber
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def actor
9
- Faker::TvShows::DumbAndDumber.actor
10
- end
11
-
12
- def character
13
- Faker::TvShows::DumbAndDumber.character
14
- end
15
-
16
- def quote
17
- Faker::TvShows::DumbAndDumber.quote
18
- end
19
-
20
- deprecate :actor, 'Faker::TvShows::DumbAndDumber.actor', 2019, 01
21
- deprecate :character, 'Faker::TvShows::DumbAndDumber.character', 2019, 01
22
- deprecate :quote, 'Faker::TvShows::DumbAndDumber.quote', 2019, 01
23
- end
24
- end
25
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Dune
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::Books::Dune.character
10
- end
11
-
12
- def title
13
- Faker::Books::Dune.title
14
- end
15
-
16
- def planet
17
- Faker::Books::Dune.planet
18
- end
19
-
20
- def quote(character = nil)
21
- Faker::Books::Dune.quote(character)
22
- end
23
-
24
- def saying(source = nil)
25
- Faker::Books::Dune.saying(source)
26
- end
27
-
28
- deprecate :character, 'Faker::Books::Dune.character', 2019, 01
29
- deprecate :title, 'Faker::Books::Dune.title', 2019, 01
30
- deprecate :planet, 'Faker::Books::Dune.planet', 2019, 01
31
- deprecate :quote, 'Faker::Books::Dune.quote', 2019, 01
32
- deprecate :saying, 'Faker::Books::Dune.saying', 2019, 01
33
- end
34
- end
35
- end
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class ElderScrolls
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def race
9
- Faker::Games::ElderScrolls.race
10
- end
11
-
12
- def city
13
- Faker::Games::ElderScrolls.city
14
- end
15
-
16
- def creature
17
- Faker::Games::ElderScrolls.creature
18
- end
19
-
20
- def region
21
- Faker::Games::ElderScrolls.region
22
- end
23
-
24
- def dragon
25
- Faker::Games::ElderScrolls.dragon
26
- end
27
-
28
- def name
29
- Faker::Games::ElderScrolls.name
30
- end
31
-
32
- def first_name
33
- Faker::Games::ElderScrolls.first_name
34
- end
35
-
36
- def last_name
37
- Faker::Games::ElderScrolls.last_name
38
- end
39
-
40
- deprecate :race, 'Faker::Games::ElderScrolls.race', 2019, 01
41
- deprecate :city, 'Faker::Games::ElderScrolls.city', 2019, 01
42
- deprecate :creature, 'Faker::Games::ElderScrolls.creature', 2019, 01
43
- deprecate :region, 'Faker::Games::ElderScrolls.region', 2019, 01
44
- deprecate :dragon, 'Faker::Games::ElderScrolls.dragon', 2019, 01
45
- deprecate :name, 'Faker::Games::ElderScrolls.name', 2019, 01
46
- deprecate :first_name, 'Faker::Games::ElderScrolls.first_name', 2019, 01
47
- deprecate :last_name, 'Faker::Games::ElderScrolls.last_name', 2019, 01
48
- end
49
- end
50
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Ethereum
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def address
9
- Faker::Blockchain::Ethereum.address
10
- end
11
-
12
- deprecate :address, 'Faker::Blockchain::Ethereum.address', 2019, 01
13
- end
14
- end
15
- end
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Fallout
5
- class << self
6
- extend Gem::Deprecate
7
-
8
- def character
9
- Faker::Games::Fallout.character
10
- end
11
-
12
- def faction
13
- Faker::Games::Fallout.faction
14
- end
15
-
16
- def location
17
- Faker::Games::Fallout.location
18
- end
19
-
20
- def quote
21
- Faker::Games::Fallout.quote
22
- end
23
-
24
- deprecate :character, 'Faker::Games::Fallout.character', 2019, 01
25
- deprecate :faction, 'Faker::Games::Fallout.faction', 2019, 01
26
- deprecate :location, 'Faker::Games::Fallout.location', 2019, 01
27
- deprecate :quote, 'Faker::Games::Fallout.quote', 2019, 01
28
- end
29
- end
30
- end