faker 2.20.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +184 -7
- data/History.md +1 -1
- data/README.md +15 -11
- data/lib/faker/blockchain/aeternity.rb +1 -1
- data/lib/faker/blockchain/ethereum.rb +1 -1
- data/lib/faker/blockchain/tezos.rb +1 -1
- data/lib/faker/books/dune.rb +2 -10
- data/lib/faker/books/lovecraft.rb +7 -38
- data/lib/faker/default/address.rb +5 -25
- data/lib/faker/default/{faker_adjective.rb → adjective.rb} +0 -0
- data/lib/faker/default/alphanumeric.rb +2 -8
- data/lib/faker/default/app.rb +1 -10
- data/lib/faker/default/avatar.rb +1 -12
- data/lib/faker/default/bank.rb +9 -17
- data/lib/faker/default/boolean.rb +1 -4
- data/lib/faker/default/chile_rut.rb +8 -14
- data/lib/faker/default/code.rb +10 -23
- data/lib/faker/default/color.rb +77 -6
- data/lib/faker/default/commerce.rb +3 -17
- data/lib/faker/default/company.rb +6 -14
- data/lib/faker/default/crypto_coin.rb +3 -15
- data/lib/faker/default/date.rb +5 -38
- data/lib/faker/default/demographic.rb +1 -5
- data/lib/faker/default/driving_licence.rb +1 -11
- data/lib/faker/default/file.rb +5 -24
- data/lib/faker/default/fillmurray.rb +1 -10
- data/lib/faker/default/finance.rb +17 -7
- data/lib/faker/default/hipster.rb +6 -45
- data/lib/faker/default/id_number.rb +108 -11
- data/lib/faker/default/internet.rb +34 -71
- data/lib/faker/default/invoice.rb +3 -16
- data/lib/faker/default/json.rb +2 -20
- data/lib/faker/default/lorem.rb +9 -66
- data/lib/faker/default/lorem_flickr.rb +4 -32
- data/lib/faker/default/lorem_pixel.rb +4 -10
- data/lib/faker/default/markdown.rb +6 -11
- data/lib/faker/default/measurement.rb +8 -40
- data/lib/faker/default/name.rb +1 -5
- data/lib/faker/default/nhs.rb +2 -6
- data/lib/faker/default/number.rb +10 -55
- data/lib/faker/default/omniauth.rb +5 -39
- data/lib/faker/default/phone_number.rb +1 -5
- data/lib/faker/default/placeholdit.rb +1 -12
- data/lib/faker/default/relationship.rb +1 -5
- data/lib/faker/default/source.rb +3 -16
- data/lib/faker/default/string.rb +1 -5
- data/lib/faker/default/stripe.rb +4 -20
- data/lib/faker/default/time.rb +4 -32
- data/lib/faker/default/twitter.rb +3 -17
- data/lib/faker/default/types.rb +5 -27
- data/lib/faker/default/vehicle.rb +21 -21
- data/lib/faker/default/vulnerability_identifier.rb +23 -0
- data/lib/faker/default/world_cup.rb +2 -11
- data/lib/faker/games/dota.rb +1 -5
- data/lib/faker/games/tarkov.rb +205 -0
- data/lib/faker/japanese_media/kamen_rider.rb +2 -2
- data/lib/faker/japanese_media/one_piece.rb +1 -1
- data/lib/faker/movies/hackers.rb +48 -0
- data/lib/faker/movies/star_wars.rb +1 -5
- data/lib/faker/movies/tron.rb +161 -0
- data/lib/faker/sports/mountaineering.rb +22 -0
- data/lib/faker/sports/sport.rb +110 -0
- data/lib/faker/version.rb +1 -1
- data/lib/faker.rb +15 -63
- data/lib/helpers/base58.rb +1 -1
- data/lib/helpers/unique_generator.rb +13 -11
- data/lib/locales/en/australia.yml +3 -4
- data/lib/locales/en/computer.yml +23 -4
- data/lib/locales/en/dota.yml +113 -0
- data/lib/locales/en/file.yml +9 -1
- data/lib/locales/en/finance.yml +3 -1
- data/lib/locales/en/game.yml +0 -1
- data/lib/locales/en/hackers.yml +53 -0
- data/lib/locales/en/heroes.yml +2 -2
- data/lib/locales/en/internet.yml +29 -0
- data/lib/locales/en/mountaineering.yml +14 -0
- data/lib/locales/en/movie.yml +2 -1
- data/lib/locales/en/naruto.yml +2 -3
- data/lib/locales/en/one_piece.yml +1 -1
- data/lib/locales/en/opera.yml +1 -1
- data/lib/locales/en/overwatch.yml +5 -7
- data/lib/locales/en/source.yml +5 -0
- data/lib/locales/en/sport.yml +130 -0
- data/lib/locales/en/tarkov.yml +593 -0
- data/lib/locales/en/tron.yml +227 -0
- data/lib/locales/en/vehicle.yml +2809 -75
- data/lib/locales/en-AU.yml +1 -1
- data/lib/locales/en-CA.yml +1 -0
- data/lib/locales/es-AR.yml +2 -2
- data/lib/locales/fi-FI.yml +2 -1
- data/lib/locales/fr/adjective.yml +266 -0
- data/lib/locales/fr/ancient.yml +141 -0
- data/lib/locales/hy.yml +1 -1
- data/lib/locales/ja/adjective.yml +148 -0
- data/lib/locales/ja/dog.yml +1 -0
- data/lib/locales/ja/emotion.yml +51 -0
- data/lib/locales/ja/naruto.yml +230 -0
- data/lib/locales/ja/relationship.yml +10 -0
- data/lib/locales/pl.yml +1 -1
- data/lib/locales/th.yml +76 -76
- metadata +65 -25
data/lib/faker.rb
CHANGED
@@ -4,7 +4,6 @@ mydir = __dir__
|
|
4
4
|
|
5
5
|
require 'psych'
|
6
6
|
require 'i18n'
|
7
|
-
require 'set' # Fixes a bug in i18n 0.6.11
|
8
7
|
|
9
8
|
Dir.glob(File.join(mydir, 'helpers', '*.rb')).sort.each { |file| require file }
|
10
9
|
|
@@ -13,23 +12,26 @@ I18n.reload! if I18n.backend.initialized?
|
|
13
12
|
|
14
13
|
module Faker
|
15
14
|
module Config
|
16
|
-
@locale = nil
|
17
|
-
@random = nil
|
18
|
-
|
19
15
|
class << self
|
20
|
-
|
16
|
+
def locale=(new_locale)
|
17
|
+
Thread.current[:faker_config_locale] = new_locale
|
18
|
+
end
|
21
19
|
|
22
20
|
def locale
|
23
21
|
# Because I18n.locale defaults to :en, if we don't have :en in our available_locales, errors will happen
|
24
|
-
|
22
|
+
Thread.current[:faker_config_locale] || (I18n.available_locales.include?(I18n.locale) ? I18n.locale : I18n.available_locales.first)
|
25
23
|
end
|
26
24
|
|
27
25
|
def own_locale
|
28
|
-
|
26
|
+
Thread.current[:faker_config_locale]
|
27
|
+
end
|
28
|
+
|
29
|
+
def random=(new_random)
|
30
|
+
Thread.current[:faker_config_random] = new_random
|
29
31
|
end
|
30
32
|
|
31
33
|
def random
|
32
|
-
|
34
|
+
Thread.current[:faker_config_random] || Random
|
33
35
|
end
|
34
36
|
end
|
35
37
|
end
|
@@ -41,6 +43,8 @@ module Faker
|
|
41
43
|
Letters = ULetters + LLetters
|
42
44
|
|
43
45
|
class << self
|
46
|
+
attr_reader :flexible_key
|
47
|
+
|
44
48
|
NOT_GIVEN = Object.new
|
45
49
|
|
46
50
|
## by default numerify results do not start with a zero
|
@@ -87,7 +91,7 @@ module Faker
|
|
87
91
|
.gsub(/(\\?.)\{(\d+),(\d+)\}/) { |_match| Regexp.last_match(1) * sample(Array(Range.new(Regexp.last_match(2).to_i, Regexp.last_match(3).to_i))) } # A{1,2} becomes A or AA or \d{3} becomes \d\d\d
|
88
92
|
.gsub(/\((.*?)\)/) { |match| sample(match.gsub(/[()]/, '').split('|')) } # (this|that) becomes 'this' or 'that'
|
89
93
|
.gsub(/\[([^\]]+)\]/) { |match| match.gsub(/(\w-\w)/) { |range| sample(Array(Range.new(*range.split('-')))) } } # All A-Z inside of [] become C (or X, or whatever)
|
90
|
-
.gsub(/\[([^\]]+)\]/) { |_match| sample(Regexp.last_match(1).
|
94
|
+
.gsub(/\[([^\]]+)\]/) { |_match| sample(Regexp.last_match(1).chars) } # All [ABC] become B (or A or C)
|
91
95
|
.gsub('\d') { |_match| sample(Numbers) }
|
92
96
|
.gsub('\w') { |_match| sample(Letters) }
|
93
97
|
end
|
@@ -185,9 +189,9 @@ module Faker
|
|
185
189
|
# girls_name: ["Alice", "Cheryl", "Tatiana"]
|
186
190
|
# Then you can call Faker::Name.girls_name and it will act like #first_name
|
187
191
|
def method_missing(mth, *args, &block)
|
188
|
-
super unless
|
192
|
+
super unless flexible_key
|
189
193
|
|
190
|
-
if (translation = translate("faker.#{
|
194
|
+
if (translation = translate("faker.#{flexible_key}.#{mth}"))
|
191
195
|
sample(translation)
|
192
196
|
else
|
193
197
|
super
|
@@ -255,58 +259,6 @@ module Faker
|
|
255
259
|
ensure
|
256
260
|
I18n.enforce_available_locales = old_enforce_available_locales
|
257
261
|
end
|
258
|
-
|
259
|
-
private
|
260
|
-
|
261
|
-
def warn_for_deprecated_arguments
|
262
|
-
keywords = []
|
263
|
-
yield(keywords)
|
264
|
-
|
265
|
-
return if keywords.empty?
|
266
|
-
|
267
|
-
method_name = caller.first.match(/`(?<method_name>.*)'/)[:method_name]
|
268
|
-
|
269
|
-
keywords.each.with_index(1) do |keyword, index|
|
270
|
-
i = case index
|
271
|
-
when 1 then '1st'
|
272
|
-
when 2 then '2nd'
|
273
|
-
when 3 then '3rd'
|
274
|
-
else "#{index}th"
|
275
|
-
end
|
276
|
-
|
277
|
-
warn_with_uplevel(<<~MSG, uplevel: 5)
|
278
|
-
Passing `#{keyword}` with the #{i} argument of `#{method_name}` is deprecated. Use keyword argument like `#{method_name}(#{keyword}: ...)` instead.
|
279
|
-
MSG
|
280
|
-
end
|
281
|
-
|
282
|
-
warn(<<~MSG)
|
283
|
-
|
284
|
-
To automatically update from positional arguments to keyword arguments,
|
285
|
-
install rubocop-faker and run:
|
286
|
-
|
287
|
-
rubocop \\
|
288
|
-
--require rubocop-faker \\
|
289
|
-
--only Faker/DeprecatedArguments \\
|
290
|
-
--auto-correct
|
291
|
-
|
292
|
-
MSG
|
293
|
-
end
|
294
|
-
|
295
|
-
# Workaround for emulating `warn '...', uplevel: 1` in Ruby 2.4 or lower.
|
296
|
-
def warn_with_uplevel(message, uplevel: 1)
|
297
|
-
at = parse_caller(caller[uplevel]).join(':')
|
298
|
-
warn "#{at}: #{message}"
|
299
|
-
end
|
300
|
-
|
301
|
-
def parse_caller(at)
|
302
|
-
# rubocop:disable Style/GuardClause
|
303
|
-
if /^(.+?):(\d+)(?::in `.*')?/ =~ at
|
304
|
-
file = Regexp.last_match(1)
|
305
|
-
line = Regexp.last_match(2).to_i
|
306
|
-
[file, line]
|
307
|
-
end
|
308
|
-
# rubocop:enable Style/GuardClause
|
309
|
-
end
|
310
262
|
end
|
311
263
|
end
|
312
264
|
end
|
data/lib/helpers/base58.rb
CHANGED
@@ -2,16 +2,9 @@
|
|
2
2
|
|
3
3
|
module Faker
|
4
4
|
class UniqueGenerator
|
5
|
-
@marked_unique = Set.new # Holds names of generators with unique values
|
6
|
-
|
7
|
-
class << self
|
8
|
-
attr_reader :marked_unique
|
9
|
-
end
|
10
|
-
|
11
5
|
def initialize(generator, max_retries)
|
12
6
|
@generator = generator
|
13
7
|
@max_retries = max_retries
|
14
|
-
@previous_results = Hash.new { |hash, key| hash[key] = Set.new }
|
15
8
|
end
|
16
9
|
|
17
10
|
def method_missing(name, *arguments)
|
@@ -20,9 +13,9 @@ module Faker
|
|
20
13
|
@max_retries.times do
|
21
14
|
result = @generator.public_send(name, *arguments)
|
22
15
|
|
23
|
-
next if
|
16
|
+
next if previous_results[[name, arguments]].include?(result)
|
24
17
|
|
25
|
-
|
18
|
+
previous_results[[name, arguments]] << result
|
26
19
|
return result
|
27
20
|
end
|
28
21
|
|
@@ -39,8 +32,17 @@ module Faker
|
|
39
32
|
|
40
33
|
RetryLimitExceeded = Class.new(StandardError)
|
41
34
|
|
35
|
+
def previous_results
|
36
|
+
Thread.current[:faker_unique_generator_previous_results] ||= {}
|
37
|
+
Thread.current[:faker_unique_generator_previous_results][@generator] ||= Hash.new { |hash, key| hash[key] = Set.new }
|
38
|
+
end
|
39
|
+
|
42
40
|
def clear
|
43
|
-
|
41
|
+
previous_results.clear
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.marked_unique
|
45
|
+
Thread.current[:faker_unique_generator_marked_unique] ||= Set.new
|
44
46
|
end
|
45
47
|
|
46
48
|
def self.clear
|
@@ -51,7 +53,7 @@ module Faker
|
|
51
53
|
def exclude(name, arguments, values)
|
52
54
|
values ||= []
|
53
55
|
values.each do |value|
|
54
|
-
|
56
|
+
previous_results[[name, arguments]] << value
|
55
57
|
end
|
56
58
|
end
|
57
59
|
end
|
@@ -5,7 +5,6 @@ en:
|
|
5
5
|
- Brisbane
|
6
6
|
- Sydney
|
7
7
|
- Melbourne
|
8
|
-
- Brisbane
|
9
8
|
- Perth
|
10
9
|
- Adelaide
|
11
10
|
- Gold Coast
|
@@ -85,7 +84,7 @@ en:
|
|
85
84
|
- Cane Toad
|
86
85
|
- Redback Spider
|
87
86
|
- Funnel Web Spider
|
88
|
-
- Blue Ringed
|
87
|
+
- Blue Ringed Octopus
|
89
88
|
- Fresh Water Crocodile
|
90
89
|
- Skink
|
91
90
|
- Thorny Devil
|
@@ -98,11 +97,11 @@ en:
|
|
98
97
|
- Saltwater Crocodile
|
99
98
|
- Eastern Brown Snake
|
100
99
|
states:
|
101
|
-
- New South
|
100
|
+
- New South Wales
|
102
101
|
- Queensland
|
103
102
|
- Western Australia
|
104
103
|
- Northern Territory
|
105
104
|
- South Australia
|
106
105
|
- Australian Capital Territory
|
107
|
-
-
|
106
|
+
- Victoria
|
108
107
|
- Tasmania
|
data/lib/locales/en/computer.yml
CHANGED
@@ -4,30 +4,49 @@ en:
|
|
4
4
|
type:
|
5
5
|
- server
|
6
6
|
- workstation
|
7
|
-
platform:
|
7
|
+
platform:
|
8
8
|
- Linux
|
9
9
|
- macOS
|
10
10
|
- Windows
|
11
|
+
- OpenBSD
|
12
|
+
- TempleOS
|
13
|
+
- Plan 9
|
11
14
|
os:
|
12
15
|
linux:
|
13
|
-
- RHEL
|
16
|
+
- RHEL 9.0
|
14
17
|
- RHEL 7.7
|
15
|
-
-
|
18
|
+
- RHEL 6.10
|
19
|
+
- CentOS 8.5
|
16
20
|
- CentOS 7
|
17
21
|
- CentOS 6
|
22
|
+
- Debian 11.4.0
|
18
23
|
- Debian 10.10.3
|
19
24
|
- Debian 9.9.10
|
20
|
-
- Ubuntu Server
|
25
|
+
- Ubuntu Server 22.04
|
26
|
+
- Ubuntu Server 20.04
|
21
27
|
- Ubuntu Server 19.10
|
28
|
+
- Ubuntu Server 18.04
|
29
|
+
- ArchLinux 2022.08.05
|
22
30
|
- ArchLinux 2020.02.01
|
31
|
+
- openSUSE Leap 15.4
|
23
32
|
- openSUSE Leap 15.1
|
33
|
+
- Ubuntu Desktop 22.04
|
34
|
+
- Ubuntu Desktop 20.04
|
24
35
|
- Ubuntu Desktop 18.04
|
25
36
|
- Ubuntu Desktop 19.10
|
37
|
+
openbsd:
|
38
|
+
- OpenBSD 7.1
|
39
|
+
- OpenBSD 6
|
40
|
+
templeos:
|
41
|
+
- TempleOS 5.03
|
42
|
+
plan 9:
|
43
|
+
- Plan 9 Fourth Edition
|
26
44
|
macos:
|
27
45
|
- Catalina (10.15)
|
28
46
|
- Mojave (10.14)
|
29
47
|
- High Sierra (10.13)
|
30
48
|
windows:
|
49
|
+
- Windows 11
|
31
50
|
- Windows 10
|
32
51
|
- Windows 8.1
|
33
52
|
- Windows 7
|
data/lib/locales/en/dota.yml
CHANGED
@@ -12,14 +12,127 @@ en:
|
|
12
12
|
hero:
|
13
13
|
- Abaddon
|
14
14
|
- Alchemist
|
15
|
+
- Ancient Apparition
|
16
|
+
- Anti-Mage
|
17
|
+
- Arc Warden
|
15
18
|
- Axe
|
19
|
+
- Bane
|
20
|
+
- Batrider
|
16
21
|
- Beastmaster
|
22
|
+
- Bloodseeker
|
23
|
+
- Bounty Hunter
|
17
24
|
- Brewmaster
|
18
25
|
- Bristleback
|
26
|
+
- Broodmother
|
19
27
|
- Centaur Warrunner
|
20
28
|
- Chaos Knight
|
29
|
+
- Chen
|
30
|
+
- Clinkz
|
21
31
|
- Clockwerk
|
32
|
+
- Crystal Maiden
|
33
|
+
- Dark Seer
|
34
|
+
- Dark Willow
|
35
|
+
- Dawnbreaker
|
36
|
+
- Dazzle
|
37
|
+
- Death Prophet
|
38
|
+
- Disruptor
|
39
|
+
- Doom
|
40
|
+
- Dragon Knight
|
41
|
+
- Drow Ranger
|
42
|
+
- Earth Spirit
|
43
|
+
- Earthshaker
|
44
|
+
- Elder Titan
|
45
|
+
- Ember Spirit
|
46
|
+
- Enchantress
|
47
|
+
- Enigma
|
48
|
+
- Faceless Void
|
49
|
+
- Grimstroke
|
50
|
+
- Gyrocopter
|
51
|
+
- Hoodwink
|
52
|
+
- Huskar
|
53
|
+
- Invoker
|
54
|
+
- Io
|
55
|
+
- Jakiro
|
56
|
+
- Juggernaut
|
57
|
+
- Keeper of the Light
|
58
|
+
- Kunkka
|
59
|
+
- Legion Commander
|
60
|
+
- Leshrac
|
61
|
+
- Lich
|
62
|
+
- Lifestealer
|
63
|
+
- Lina
|
64
|
+
- Lion
|
65
|
+
- Lone Druid
|
66
|
+
- Luna
|
67
|
+
- Lycan
|
68
|
+
- Magnus
|
69
|
+
- Marci
|
70
|
+
- Mars
|
71
|
+
- Medusa
|
22
72
|
- Meepo
|
73
|
+
- Mirana
|
74
|
+
- Monkey King
|
75
|
+
- Morphling
|
76
|
+
- Naga Siren
|
77
|
+
- Nature's Prophet
|
78
|
+
- Necrophos
|
79
|
+
- Night Stalker
|
80
|
+
- Nyx Assassin
|
81
|
+
- Ogre Magi
|
82
|
+
- Omniknight
|
83
|
+
- Oracle
|
84
|
+
- Outworld Destroyer
|
85
|
+
- Pangolier
|
86
|
+
- Phantom Assassin
|
87
|
+
- Phantom Lancer
|
88
|
+
- Phoenix
|
89
|
+
- Primal Beast
|
90
|
+
- Puck
|
91
|
+
- Pudge
|
92
|
+
- Pugna
|
93
|
+
- Queen of Pain
|
94
|
+
- Razor
|
95
|
+
- Riki
|
96
|
+
- Rubick
|
97
|
+
- Sand King
|
98
|
+
- Shadow Demon
|
99
|
+
- Shadow Fiend
|
100
|
+
- Shadow Shaman
|
101
|
+
- Silencer
|
102
|
+
- Skywrath Mage
|
103
|
+
- Slardar
|
104
|
+
- Slark
|
105
|
+
- Snapfire
|
106
|
+
- Sniper
|
107
|
+
- Spectre
|
108
|
+
- Spirit Breaker
|
109
|
+
- Storm Spirit
|
110
|
+
- Sven
|
111
|
+
- Techies
|
112
|
+
- Templar Assassin
|
113
|
+
- Terrorblade
|
114
|
+
- Tidehunter
|
115
|
+
- Timbersaw
|
116
|
+
- Tinker
|
117
|
+
- Tiny
|
118
|
+
- Treant Protector
|
119
|
+
- Troll Warlord
|
120
|
+
- Tusk
|
121
|
+
- Underlord
|
122
|
+
- Undying
|
123
|
+
- Ursa
|
124
|
+
- Vengeful Spirit
|
125
|
+
- Venomancer
|
126
|
+
- Viper
|
127
|
+
- Visage
|
128
|
+
- Void Spirit
|
129
|
+
- Warlock
|
130
|
+
- Weaver
|
131
|
+
- Windranger
|
132
|
+
- Winter Wyvern
|
133
|
+
- Witch Doctor
|
134
|
+
- Wraith King
|
135
|
+
- Zeus
|
23
136
|
abaddon:
|
24
137
|
quote:
|
25
138
|
- You have called death upon yourself.
|
data/lib/locales/en/file.yml
CHANGED
@@ -2,4 +2,12 @@ en:
|
|
2
2
|
faker:
|
3
3
|
file:
|
4
4
|
extension: ["flac", "mp3", "wav", "bmp", "gif", "jpeg", "jpg", "png", "tiff", "css", "csv", "html", "js", "json", "txt", "mp4", "avi", "mov", "webm", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "odt", "ods", "odp", "pages", "numbers", "key", "pdf"]
|
5
|
-
mime_type:
|
5
|
+
mime_type:
|
6
|
+
application: ["application/atom+xml", "application/ecmascript", "application/EDI-X12", "application/EDIFACT", "application/json", "application/javascript", "application/ogg", "application/pdf", "application/postscript", "application/rdf+xml", "application/rss+xml", "application/soap+xml", "application/font-woff", "application/xhtml+xml", "application/xml-dtd", "application/xop+xml", "application/zip", "application/gzip"]
|
7
|
+
audio: ["audio/basic", "audio/L24", "audio/mp4", "audio/mpeg", "audio/ogg", "audio/vorbis", "audio/vnd.rn-realaudio", "audio/vnd.wave", "audio/webm"]
|
8
|
+
image: ["image/gif", "image/jpeg", "image/pjpeg", "image/png", "image/svg+xml", "image/tiff", "image/vnd.microsoft.icon"]
|
9
|
+
message: ["message/http", "message/imdn+xml", "message/partial", "message/rfc822"]
|
10
|
+
model: ["model/example", "model/iges", "model/mesh", "model/vrml", "model/x3d+binary", "model/x3d+vrml", "model/x3d+xml"]
|
11
|
+
multipart: ["multipart/mixed", "multipart/alternative", "multipart/related", "multipart/form-data", "multipart/signed", "multipart/encrypted"]
|
12
|
+
text: ["text/cmd", "text/css", "text/csv", "text/html", "text/javascript", "text/plain", "text/vcard", "text/xml"]
|
13
|
+
video: ["video/mpeg", "video/mp4", "video/ogg", "video/quicktime", "video/webm", "video/x-matroska", "video/x-ms-wmv", "video/x-flv"]
|
data/lib/locales/en/finance.yml
CHANGED
@@ -48,6 +48,8 @@ en:
|
|
48
48
|
- /6706#########{5,6}L/
|
49
49
|
- /6771#########{5,6}L/
|
50
50
|
- /6709#########{5,6}L/
|
51
|
+
condominium_fiscal_code:
|
52
|
+
IT: "#########"
|
51
53
|
vat_number:
|
52
54
|
AT: "ATU########"
|
53
55
|
AR: "AR###########"
|
@@ -79,7 +81,7 @@ en:
|
|
79
81
|
HR: "HR### ### ### ##"
|
80
82
|
"NO": "NO#########"
|
81
83
|
HU: "HU########"
|
82
|
-
IT: "IT
|
84
|
+
IT: "IT###########"
|
83
85
|
LT:
|
84
86
|
- "LT#########"
|
85
87
|
- "LT############"
|
data/lib/locales/en/game.yml
CHANGED
@@ -0,0 +1,53 @@
|
|
1
|
+
en:
|
2
|
+
faker:
|
3
|
+
hackers:
|
4
|
+
characters:
|
5
|
+
- Dade Murphy
|
6
|
+
- Kate Libby
|
7
|
+
- Emmanuel Goldstein
|
8
|
+
- Ramόn Sánchez
|
9
|
+
- Paul Cook
|
10
|
+
- Joey Pardella
|
11
|
+
- Eugene Belford
|
12
|
+
- Margo Wallace
|
13
|
+
- Hal
|
14
|
+
- Lauren Murphy
|
15
|
+
- Special Agent Richard Gill
|
16
|
+
- Special Agent Ray
|
17
|
+
- Special Agent Bob
|
18
|
+
handles:
|
19
|
+
- Zero Cool
|
20
|
+
- Crash Override
|
21
|
+
- Acid Burn
|
22
|
+
- Cereal Killer
|
23
|
+
- The Phantom Phreak
|
24
|
+
- Lord Nikon
|
25
|
+
- The Plague
|
26
|
+
- Razor
|
27
|
+
- Blade
|
28
|
+
quotes:
|
29
|
+
- Hack the Planet!
|
30
|
+
- There is no right or wrong, only fun and boring
|
31
|
+
- Mess with the best, die like the rest
|
32
|
+
- This is the end, my friend. Thank you for calling
|
33
|
+
- Never send a boy to do a woman's job
|
34
|
+
- We have no names, man. No names. We are nameless!
|
35
|
+
- Kid, don't threaten me. There are worse things than death, and uh, I can do all of them
|
36
|
+
- I got a photographic memory. It's a curse!
|
37
|
+
- Remember, hacking is more than just a crime. It's a survival trait
|
38
|
+
- This is our world now. The world of the electron and the switch. The beauty of the baud. We exist without nationality, skin color, or religious bias. You wage wars, murder, cheat, lie to us and try to make us believe it's for our own good, yet we're the criminals. Yes, I am a criminal. My crime is that of curiosity. I am a hacker and this is my manifesto. You may stop me, but you can't stop us all
|
39
|
+
- God gave men brains larger than dogs so they wouldn't hump women's legs at cocktail parties
|
40
|
+
- There is no right and wrong. There's only fun and boring
|
41
|
+
- Never fear, I is here
|
42
|
+
- It's stupid, man. It's universally stupid
|
43
|
+
- Yo, I kinda feel like God
|
44
|
+
- That's it, you're looking at it. He just looks slick all day
|
45
|
+
- Well, it looks like I'm on top
|
46
|
+
- Congratulations. No one's ever beat her before. You just made an enemy for life
|
47
|
+
- Pool on the roof must have a leak
|
48
|
+
- Whoa, this isn't wood shop class?
|
49
|
+
- I hope you don't screw like you type
|
50
|
+
- I don't play well with others
|
51
|
+
- Anything else? You want me to mow the lawn? Oops forgot, New York, no grass
|
52
|
+
- It's in that place where I put that thing that time
|
53
|
+
- RISC is good
|
data/lib/locales/en/heroes.yml
CHANGED
@@ -83,7 +83,7 @@ en:
|
|
83
83
|
- Labetha
|
84
84
|
- Lacus
|
85
85
|
- Lord Haart
|
86
|
-
- Lord
|
86
|
+
- Lord Haart
|
87
87
|
- Lorelei
|
88
88
|
- Loynis
|
89
89
|
- Luna
|
@@ -261,7 +261,7 @@ en:
|
|
261
261
|
- Battle Mage
|
262
262
|
- Beastmaster
|
263
263
|
- Cleric
|
264
|
-
- Death
|
264
|
+
- Death Knight
|
265
265
|
- Demoniac
|
266
266
|
- Druid
|
267
267
|
- Elementalist
|
data/lib/locales/en/internet.yml
CHANGED
@@ -124,3 +124,32 @@ en:
|
|
124
124
|
- Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16
|
125
125
|
safari:
|
126
126
|
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A
|
127
|
+
bot_user_agent:
|
128
|
+
googlebot:
|
129
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/83.0.4103.122 Safari/537.36
|
130
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/99.0.4844.84 Safari/537.36
|
131
|
+
- Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
|
132
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/87.0.4280.90 Safari/537.36
|
133
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36 Googlebot-Image/1.0
|
134
|
+
bingbot:
|
135
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/86.0.4240.68 Safari/537.36 Edg/86.0.622.31
|
136
|
+
- Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534 +(KHTML, like Gecko) BingPreview/1.0b
|
137
|
+
- Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0; BingPreview/1.0b) like Gecko
|
138
|
+
- Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/98.0.4758.102 Safari/537.36
|
139
|
+
- Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
|
140
|
+
duckduckbot:
|
141
|
+
- DuckDuckBot-Https/1.1; (+https://duckduckgo.com/duckduckbot)
|
142
|
+
- Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)
|
143
|
+
- DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)
|
144
|
+
- DuckDuckBot-Https/1.1; (+https://duckduckgo.com/duckduckbot)
|
145
|
+
- Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)
|
146
|
+
baiduspider:
|
147
|
+
- Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; Baiduspider-render/2.0 ; +http://www.baidu.com/search/spider.html)
|
148
|
+
- Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; Baiduspider-render/2.0 ; Smartapp; +http://www.baidu.com/search/spider.html)
|
149
|
+
- Mozilla/5.0 (compatible; Baiduspider-render/2.0 ; +http://www.baidu.com/search/spider.html)
|
150
|
+
yandexbot:
|
151
|
+
- Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
|
152
|
+
- Mozilla/5.0 (compatible; YandexDirect/3.0; +http://yandex.com/bots)
|
153
|
+
- Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots yabs01)
|
154
|
+
- Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268
|
155
|
+
- Mozilla/5.0 (compatible; YandexImages/3.0; +http://yandex.com/bots)
|
data/lib/locales/en/movie.yml
CHANGED
@@ -186,6 +186,7 @@ en:
|
|
186
186
|
- 'Toy Story'
|
187
187
|
- 'Toy Story 2'
|
188
188
|
- 'Toy Story 3'
|
189
|
+
- 'TRON'
|
189
190
|
- 'Twelve Monkeys'
|
190
191
|
- 'Unforgiven'
|
191
192
|
- 'V for Vendetta'
|
@@ -193,4 +194,4 @@ en:
|
|
193
194
|
- 'WALL·E'
|
194
195
|
- 'Whiplash'
|
195
196
|
- 'Witness for the Prosecution'
|
196
|
-
quote: ["Frankly, my dear, I don’t give a damn.", "I'm going to make him an offer he can't refuse.", "Toto, I've got a feeling we're not in Kansas anymore.", "Here's looking at you, kid.", "Go ahead, make my day.", "All right, Mr. DeMille, I'm ready for my closeup.", "May the Force be with you.", "Fasten your seatbelts. It's going to be a bumpy night.", "You talking to me?", "What we've got here is failure to communicate.", "I love the smell of napalm in the morning."]
|
197
|
+
quote: ["Frankly, my dear, I don’t give a damn.", "I'm going to make him an offer he can't refuse.", "Toto, I've got a feeling we're not in Kansas anymore.", "Here's looking at you, kid.", "Go ahead, make my day.", "All right, Mr. DeMille, I'm ready for my closeup.", "May the Force be with you.", "Fasten your seatbelts. It's going to be a bumpy night.", "You talking to me?", "What we've got here is failure to communicate.", "I love the smell of napalm in the morning.", "Greetings, programs!"]
|
data/lib/locales/en/naruto.yml
CHANGED
@@ -22,7 +22,7 @@ en:
|
|
22
22
|
- "Akahoshi"
|
23
23
|
- "Akamaru"
|
24
24
|
- "Akane"
|
25
|
-
- "
|
25
|
+
- "Akane (Kunoichi)"
|
26
26
|
- "Akane's Father"
|
27
27
|
- "Akari Tatsushiro"
|
28
28
|
- "Akatsuchi"
|
@@ -49,7 +49,6 @@ en:
|
|
49
49
|
- "Anko Mitarashi"
|
50
50
|
- "Ao"
|
51
51
|
- "Aoba Yamashiro"
|
52
|
-
- "Aoba Yamashiro"
|
53
52
|
- "Aoda"
|
54
53
|
- "Aoi (game)"
|
55
54
|
- "Aoi Rokushō"
|
@@ -126,7 +125,7 @@ en:
|
|
126
125
|
- "Chōchō Akimichi"
|
127
126
|
- "Chōhan"
|
128
127
|
- "Chōji Akimichi"
|
129
|
-
- "Chōji's
|
128
|
+
- "Chōji's Mother"
|
130
129
|
- "Chōjūrō"
|
131
130
|
- "Chōmei"
|
132
131
|
- "Chōseki"
|
@@ -6,4 +6,4 @@ en:
|
|
6
6
|
islands: ["Dawn Island", "Goat Island", "Shells Town", "Organ Islands", "Island of Rare Animals", "Gecko Islands", "Conomi Islands", "Loguetown", "Kumate Island", "Mirrorball Island", "Tequila Wolf", "Cozia", "Ohara", "Ilusia", "Thriller Bark", "Toroa", "Las Camp", "Kano Country", "Germa Kingdom", "Lvneel Kingdom", "Micqueot", "Spider Miles", "Flevance", "Rubeck Island", "Swallow Island", "Minion Island", "Rakesh", "Notice", "Briss Kingdom", "Karate Island", "Centaurea", "Torino Kingdom", "Baterilla", "Black Drum Kingdom", "Fishman Island", "Amazon Lily", "Impel Down", "Rasukaina", "Cactus Island", "Little Garden", "Holliday Island", "Drum Island", "Alabasta", "Nanimonai Island", "Jaya", "Long Ring Long Land", "Water 7", "Enies Lobby", "San Faldo", "Pucci", "St. Poplar", "Florian Triangle", "Sabaody Archipelago", "Marineford", "Vira", "Banaro Island", "Yuki's Island", "Buggy's Treasure Island", "G-2", "Karakuri Island", "Mamoiro Island", "Boin Archipelago", "Namakura Island", "Kuraigana Island", "Merveille", "G-1", "Yukiryu Island", "Baltigo", "Wano Country", "Edd War", "Floodvalter", "G-5", "Laftel", "Whole Cake Island", "Cacao Island", "Jam Island", "Nuts Island", "Cheese Island", "Biscuits Island", "Candy Island", "Milk Island", "Punk Hazard", "Raijin Island", "Risky Red Island", "Mystoria Island", "Dressrosa", "Green Bit", "Zou", "Prodence Kingdom", "Applenine Island", "Karai Bari Island", "Broc Coli Island", "Elbaf", "Skypiea", "Weatheria"]
|
7
7
|
locations: ["Foosha Village", "Mt. Colubo", "Gray Terminal", "Midway Forest", "Goa Kingdom", "Orange Town", "Syrup Village", "Shimotsuki Village", "Baratie", "Gosa Village", "Cocoyashi Village", "Arlong Park", "Ryugu Kingdom", "Reverse Mountain", "Twin Cape", "Mariejois", "Whiskey Peak", "Bighorn", "Drum Rockies", "Cocoa Weed", "Gyasta", "Robelie", "Sandora Desert", "Sandora River", "Rainbase", "Yuba", "Erumalu", "Nanohana", "Katorea", "Spiders Cafe", "Alubarna", "Tamarisk", "Suiren", "Mock Town", "Sea Train Area", "Totto Land", "Acacia", "Sebio", "Moon", "Birka", "Angel Island", "Upper Yard", "Shandia Village", "Heaven's Gate", "Clouds End", "Rommel Kingdom", "Eight Nine Island", "High Mountain", "Nakrowa", "Land of Ice", "Great Kingdom"]
|
8
8
|
quotes: ["I love heroes, but I don't want to be one. Do you even know what a hero is!? For example, you have some meat. Pirates will feast on the meat, but the hero will distribute it among the people! I want to eat the meat!", "Don't ever think there's any perfect society made by humans!! If you think that way you'll overlook the enemy!! Don't be fooled by appearances!", "If I can't even protect my captain's dream, then whatever ambition I have is nothing but talk! Luffy must be the man who becomes the Pirate King!", "Old man, everyone!! And you.. Luffy. Even though I've been good for nothing my whole life, even though I have the blood of a demon within me... You guys still loved me! Thank you so much!!", "Compared to the \"righteous\" greed of the rulers, the criminals of the world seem much more honorable. When scum rules the world, only more scum is born.", "Pirates are evil? The Marines are righteous?... Justice will prevail, you say? But of course it will! Whoever wins this war becomes justice!", "When do you think people die? When they are shot through the heart by the bullet of a pistol? No. When they are ravaged by an incurable disease? No... It’s when they're forgotten!", "You can spill drinks on me, even spit on me. I'll just laugh about it. But If you dare to hurt my friends... I won't forgive you!", "The government says your existence is a crime, but no matter what kind of weapons you may hold, just being alive isn't a sin! There's no crime in living!", "ONE PIECE IS REAL!", "It's not some sort of special power. He has the ability to make allies of everyone he meets. And that is the most fearsome ability on the high seas.", "I want to live!", "Maybe nothing in this world happens by accident. As everything happens for a reason, our destiny slowly takes form.", "Food is a gift from god. Spices are a gift from the devil. It looks like it was a bit too spicy for you.", "I don't care now. I wanted to look like a human because I wanted friends. Now I want to be a monster who's helpful to Luffy!", "Miracles only happen to those who never give up.", "Stop counting only those things you have lost! What is gone, is gone! So ask yourself this. What is there... that still remains to you?!", "If you want to protect something, do it right! Don't let them get their way anymore!", "The royalty and nobles are behind the fire... Believe me... This town smells worse than Gray Terminal. It smells like rotten people! If I stay here... I'll never be free! I'm... ashamed to be born a noble!", "There comes a time when a man has to stand and fight! That time is when his friends' dreams are being laughed at! And I won't let you laugh at that!", "To true friendship, how long you've known each other means nothing.", "When the world shoves you around, you just gotta stand up and shove back. It's not like somebody's gonna save you if you start babbling excuses.", "People's dreams... Never end!", "If you kill yourself, I'll kill you!", "I don't wanna live a thousand years. If I just live through today, that'll be enough."]
|
9
|
-
|
9
|
+
akuma_no_mi: ["Gomu Gomu no Mi", "Hana Hana no Mi", "Doru Doru no Mi", "Baku Baku no Mi", "Mane Mane no Mi", "Supa Supa no Mi", "Ori Ori no Mi", "Bane Bane no Mi", "Noro Noro no Mi", "Doa Doa no Mi", "Awa Awa no Mi", "Beri Beri no Mi", "Sabi Sabi no Mi", "Shari Shari no Mi", "Yomi Yomi no Mi", "Kage Kage no Mi", "Horo Horo no Mi", "Suke Suke no Mi", "Nikyu Nikyu no Mi", "Mero Mero no Mi", "Doku Doku no Mi", "Horu Horu no Mi", "Choki Choki no Mi", "Gura Gura no Mi", "Fuwa Fuwa no Mi", "Woshu Woshu no Mi", "Mato Mato no Mi", "Ope Ope no Mi", "Buki Buki no Mi", "Bari Bari no Mi", "Nui Nui no Mi", "Giro Giro no Mi", "Ato Ato no Mi", "Jake Jake no Mi", "Pamu Pamu no Mi", "Sui Sui no Mi", "Hira Hira no Mi", "Ishi Ishi no Mi", "Nagi Nagi no Mi", "Ito Ito no Mi", "Shiro Shiro no Mi", "Chiyu Chiyu no Mi", "Ushi Ushi no Mi", "Hito Hito no Mi", "Tori Tori no Mi", "Inu Inu no Mi", "Neko Neko no Mi", "Zou Zou no Mi", "Hebi Hebi no Mi", "Sara Sara no Mi", "Mushi Mushi no Mi", "Batto Batto no Mi", "Mogu Mogu no Mi", "Uma Uma no Mi", "Kame Kame no Mi", "Moku Moku no Mi", "Mera Mera no Mi", "Suna Suna no Mi", "Goro Goro no Mi", "Hie Hie no Mi", "Pika Pika no Mi", "Magu Magu no Mi", "Numa Numa no Mi", "Gasu Gasu no Mi", "Yuki Yuki no Mi"]
|
data/lib/locales/en/opera.yml
CHANGED