faker 2.20.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +184 -7
  3. data/History.md +1 -1
  4. data/README.md +15 -11
  5. data/lib/faker/blockchain/aeternity.rb +1 -1
  6. data/lib/faker/blockchain/ethereum.rb +1 -1
  7. data/lib/faker/blockchain/tezos.rb +1 -1
  8. data/lib/faker/books/dune.rb +2 -10
  9. data/lib/faker/books/lovecraft.rb +7 -38
  10. data/lib/faker/default/address.rb +5 -25
  11. data/lib/faker/default/{faker_adjective.rb → adjective.rb} +0 -0
  12. data/lib/faker/default/alphanumeric.rb +2 -8
  13. data/lib/faker/default/app.rb +1 -10
  14. data/lib/faker/default/avatar.rb +1 -12
  15. data/lib/faker/default/bank.rb +9 -17
  16. data/lib/faker/default/boolean.rb +1 -4
  17. data/lib/faker/default/chile_rut.rb +8 -14
  18. data/lib/faker/default/code.rb +10 -23
  19. data/lib/faker/default/color.rb +77 -6
  20. data/lib/faker/default/commerce.rb +3 -17
  21. data/lib/faker/default/company.rb +6 -14
  22. data/lib/faker/default/crypto_coin.rb +3 -15
  23. data/lib/faker/default/date.rb +5 -38
  24. data/lib/faker/default/demographic.rb +1 -5
  25. data/lib/faker/default/driving_licence.rb +1 -11
  26. data/lib/faker/default/file.rb +5 -24
  27. data/lib/faker/default/fillmurray.rb +1 -10
  28. data/lib/faker/default/finance.rb +17 -7
  29. data/lib/faker/default/hipster.rb +6 -45
  30. data/lib/faker/default/id_number.rb +108 -11
  31. data/lib/faker/default/internet.rb +34 -71
  32. data/lib/faker/default/invoice.rb +3 -16
  33. data/lib/faker/default/json.rb +2 -20
  34. data/lib/faker/default/lorem.rb +9 -66
  35. data/lib/faker/default/lorem_flickr.rb +4 -32
  36. data/lib/faker/default/lorem_pixel.rb +4 -10
  37. data/lib/faker/default/markdown.rb +6 -11
  38. data/lib/faker/default/measurement.rb +8 -40
  39. data/lib/faker/default/name.rb +1 -5
  40. data/lib/faker/default/nhs.rb +2 -6
  41. data/lib/faker/default/number.rb +10 -55
  42. data/lib/faker/default/omniauth.rb +5 -39
  43. data/lib/faker/default/phone_number.rb +1 -5
  44. data/lib/faker/default/placeholdit.rb +1 -12
  45. data/lib/faker/default/relationship.rb +1 -5
  46. data/lib/faker/default/source.rb +3 -16
  47. data/lib/faker/default/string.rb +1 -5
  48. data/lib/faker/default/stripe.rb +4 -20
  49. data/lib/faker/default/time.rb +4 -32
  50. data/lib/faker/default/twitter.rb +3 -17
  51. data/lib/faker/default/types.rb +5 -27
  52. data/lib/faker/default/vehicle.rb +21 -21
  53. data/lib/faker/default/vulnerability_identifier.rb +23 -0
  54. data/lib/faker/default/world_cup.rb +2 -11
  55. data/lib/faker/games/dota.rb +1 -5
  56. data/lib/faker/games/tarkov.rb +205 -0
  57. data/lib/faker/japanese_media/kamen_rider.rb +2 -2
  58. data/lib/faker/japanese_media/one_piece.rb +1 -1
  59. data/lib/faker/movies/hackers.rb +48 -0
  60. data/lib/faker/movies/star_wars.rb +1 -5
  61. data/lib/faker/movies/tron.rb +161 -0
  62. data/lib/faker/sports/mountaineering.rb +22 -0
  63. data/lib/faker/sports/sport.rb +110 -0
  64. data/lib/faker/version.rb +1 -1
  65. data/lib/faker.rb +15 -63
  66. data/lib/helpers/base58.rb +1 -1
  67. data/lib/helpers/unique_generator.rb +13 -11
  68. data/lib/locales/en/australia.yml +3 -4
  69. data/lib/locales/en/computer.yml +23 -4
  70. data/lib/locales/en/dota.yml +113 -0
  71. data/lib/locales/en/file.yml +9 -1
  72. data/lib/locales/en/finance.yml +3 -1
  73. data/lib/locales/en/game.yml +0 -1
  74. data/lib/locales/en/hackers.yml +53 -0
  75. data/lib/locales/en/heroes.yml +2 -2
  76. data/lib/locales/en/internet.yml +29 -0
  77. data/lib/locales/en/mountaineering.yml +14 -0
  78. data/lib/locales/en/movie.yml +2 -1
  79. data/lib/locales/en/naruto.yml +2 -3
  80. data/lib/locales/en/one_piece.yml +1 -1
  81. data/lib/locales/en/opera.yml +1 -1
  82. data/lib/locales/en/overwatch.yml +5 -7
  83. data/lib/locales/en/source.yml +5 -0
  84. data/lib/locales/en/sport.yml +130 -0
  85. data/lib/locales/en/tarkov.yml +593 -0
  86. data/lib/locales/en/tron.yml +227 -0
  87. data/lib/locales/en/vehicle.yml +2809 -75
  88. data/lib/locales/en-AU.yml +1 -1
  89. data/lib/locales/en-CA.yml +1 -0
  90. data/lib/locales/es-AR.yml +2 -2
  91. data/lib/locales/fi-FI.yml +2 -1
  92. data/lib/locales/fr/adjective.yml +266 -0
  93. data/lib/locales/fr/ancient.yml +141 -0
  94. data/lib/locales/hy.yml +1 -1
  95. data/lib/locales/ja/adjective.yml +148 -0
  96. data/lib/locales/ja/dog.yml +1 -0
  97. data/lib/locales/ja/emotion.yml +51 -0
  98. data/lib/locales/ja/naruto.yml +230 -0
  99. data/lib/locales/ja/relationship.yml +10 -0
  100. data/lib/locales/pl.yml +1 -1
  101. data/lib/locales/th.yml +76 -76
  102. metadata +65 -25
@@ -8,13 +8,13 @@ en:
8
8
  - Baptiste
9
9
  - Bastion
10
10
  - Brigitte
11
+ - Cassidy
11
12
  - D.va
12
13
  - Doomfist
13
14
  - Genji
14
15
  - Hanzo
15
16
  - Junkrat
16
17
  - Lucio
17
- - McCree
18
18
  - Mei
19
19
  - Mercy
20
20
  - Moira
@@ -265,9 +265,8 @@ en:
265
265
  - No one likes a squealer
266
266
  - Ready for the fireworks
267
267
  - You that sound like a bad thing
268
- - Brave of you to show your face around here, Jesse
268
+ - Brave of you to show your face around here, Cole
269
269
  - On the dartboard
270
- - What did you do with it Jesse
271
270
  - Too competent
272
271
  - Ultimate - Light Em Up
273
272
  - Ultimate - Vide Bal Sou Yo
@@ -1048,7 +1047,7 @@ en:
1048
1047
  - Bastion, you would make the perfect research assistant
1049
1048
  - Youre just no good bully
1050
1049
  - Look somewhere else
1051
- - Hey, McCree, do you know what time it is
1050
+ - Hey, Cole, do you know what time it is
1052
1051
  - I love your glasses, so cute!
1053
1052
  - We should compare notes some time
1054
1053
  - Zarya How can you even pick up all that weight
@@ -1340,7 +1339,6 @@ en:
1340
1339
  - Target Eliminated
1341
1340
  - Final Blow - You Got Served
1342
1341
  - Sorry, Reinhardt
1343
- - "(vs McCree) Got you this time, Jesse"
1344
1342
  - You made a tactical error
1345
1343
  - I Always Get My Prey
1346
1344
  - Operating At Maximum Efficiency
@@ -1393,7 +1391,7 @@ en:
1393
1391
  - Try me
1394
1392
  - Then I have nothing to worry about
1395
1393
  - I always dreamed of the day we would fight together
1396
- - McCree, where did you learn to shoot like that
1394
+ - Cassidy, where did you learn to shoot like that?
1397
1395
  - See you in the air
1398
1396
  - I had a poster of you on my wall when I was younger
1399
1397
  - I lost many good soldiers here
@@ -1897,7 +1895,7 @@ en:
1897
1895
  - If you hold the information, you hold all the cards
1898
1896
  - You trying to be scary
1899
1897
  - I can be nice
1900
- - Pleasure working with you McCree. If that is your real name
1898
+ - Pleasure working with you, Cassidy... if that is your real name
1901
1899
  - So what are we doing here, boss
1902
1900
  - What can I say. A girl just has to have the latest tech
1903
1901
  - Your friend, Katya Volskaya. What will you say when you learn the truth
@@ -9,6 +9,7 @@ en:
9
9
  python: "print('Hello World!')"
10
10
  java: "System.out.println('Hello World!');"
11
11
  elixir: "IO.puts 'Hello World!'"
12
+ clojure: "(print 'Hello World!')"
12
13
  print:
13
14
  ruby: "puts 'faker_string_to_print'"
14
15
  javascript: "console.log('faker_string_to_print');"
@@ -17,6 +18,7 @@ en:
17
18
  python: "print('faker_string_to_print')"
18
19
  java: "System.out.println('faker_string_to_print');"
19
20
  elixir: "IO.puts 'faker_string_to_print'"
21
+ clojure: "(print 'faker_string_to_print')"
20
22
  print_1_to_10:
21
23
  ruby: "
22
24
  (1..10).each { |i| puts i }"
@@ -44,3 +46,6 @@ en:
44
46
  Enum.each(1..10, fn(x) ->
45
47
  IO.puts x
46
48
  end)"
49
+ clojure: "
50
+ (for [i (range 1 11)]
51
+ (println i))"
@@ -0,0 +1,130 @@
1
+ en:
2
+ faker:
3
+ sport:
4
+ summer_olympics: # Source https://olympics.com/en/sports/summer-olympics
5
+ - 3x3 basketball
6
+ - Archery
7
+ - Artistic gymnastics
8
+ - Artistic swimming
9
+ - Athletics
10
+ - Badminton
11
+ - Baseball # Technically part of "Baseball Softball" according to IOC website
12
+ - Basketball
13
+ - Beach volleyball
14
+ - BMX freestyle # Officially "Cycling BMX Freestyle"
15
+ - BMX racing # Officially "Cycling BMX Racing"
16
+ - Boxing
17
+ - Canoe/kayak flatwater
18
+ - Canoe/kayak slalom
19
+ - Diving
20
+ - Equestrian
21
+ - Fencing
22
+ - Football
23
+ - Golf
24
+ - Handball
25
+ - Hockey
26
+ - Judo
27
+ - Karate
28
+ - Marathon swimming
29
+ - Modern pentathlon
30
+ - Mountain bike # Officially "Cycling Mountain Bike"
31
+ - Rhythmic gymnastics
32
+ - Road cycling # Officially "Cycling Road"
33
+ - Rowing
34
+ - Rugby # Officially "Rugby Sevens"
35
+ - Sailing
36
+ - Shooting
37
+ - Skateboarding
38
+ - Softball # Technically part of "Baseball Softball" according to IOC website
39
+ - Sport climbing
40
+ - Surfing
41
+ - Swimming
42
+ - Table tennis
43
+ - Taekwondo
44
+ - Tennis
45
+ - Track cycling # Officially "Cycling Track"
46
+ - Trampoline
47
+ - Triathlon
48
+ - Volleyball
49
+ - Water polo
50
+ - Weight lifting
51
+ - Wrestling
52
+ winter_olympics: # Source https://olympics.com/en/sports/winter-olympics
53
+ - Alpine skiing
54
+ - Biathlon
55
+ - Bobsleigh
56
+ - Cross-country skiing
57
+ - Curling
58
+ - Figure skating
59
+ - Freestyle skiing
60
+ - Ice hockey
61
+ - Luge
62
+ - Nordic combined
63
+ - Short track speed skating
64
+ - Skeleton
65
+ - Ski jumping
66
+ - Ski mountaineering
67
+ - Snowboard
68
+ - Speed skating
69
+ summer_paralympics: # Source https://www.paralympic.org/sports
70
+ - Archery
71
+ - Athletics
72
+ - Badminton
73
+ - Blind football
74
+ - Boccia
75
+ - Canoe
76
+ - Cycling
77
+ - Equestrian
78
+ - Goalball
79
+ - Judo
80
+ - Powerlifting
81
+ - Rowing
82
+ - Shooting
83
+ - Sitting volleyball
84
+ - Swimming
85
+ - Table tennis
86
+ - Taekwondo
87
+ - Triathlon
88
+ - Wheelchair basketball
89
+ - Wheelchair fencing
90
+ - Wheelchair rugby
91
+ - Wheelchair tennis
92
+ winter_paralympics: # Source https://www.paralympic.org/sports
93
+ - Alpine skiing
94
+ - Biathlon
95
+ - Cross-country skiing
96
+ - Para ice hockey
97
+ - Snowboard
98
+ - Wheelchair curling
99
+ ancient_olympics: # Source https://olympics.com/ioc/ancient-olympic-games/the-sports-events
100
+ - Boxing
101
+ - Chariot racing
102
+ - Discus
103
+ - Horse racing
104
+ - Long jump
105
+ - Pankration
106
+ - Pentathlon
107
+ - Running
108
+ - Wrestling
109
+ unusual:
110
+ - Apple Racing
111
+ - Ban'ei
112
+ - Bathtubbing
113
+ - Bed racing
114
+ - Bossaball
115
+ - Botaoshi
116
+ - Beer Can Regatta
117
+ - Black pudding throwing
118
+ - Bog snorkelling
119
+ - Bottle kicking
120
+ - Camel jumping
121
+ - Camel wrestling
122
+ - Chess boxing
123
+ - Extreme ironing
124
+ - Flugtag/Birdman
125
+ - Gurning
126
+ - Kastenlauf (Beer crate running)
127
+ - Oil wrestling
128
+ - Poohsticks
129
+ - Wife carrying
130
+ - Zorbing