faker 2.20.0 → 2.22.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 +96 -0
- data/README.md +4 -6
- data/lib/faker/default/{faker_adjective.rb → adjective.rb} +0 -0
- data/lib/faker/default/internet.rb +17 -0
- data/lib/faker/default/markdown.rb +2 -2
- data/lib/faker/default/vehicle.rb +1 -1
- data/lib/faker/movies/tron.rb +161 -0
- data/lib/faker/sports/mountaineering.rb +22 -0
- data/lib/faker/version.rb +1 -1
- data/lib/faker.rb +1 -1
- data/lib/locales/en/australia.yml +3 -4
- data/lib/locales/en/dota.yml +113 -0
- data/lib/locales/en/game.yml +0 -1
- 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/tron.yml +227 -0
- data/lib/locales/en-AU.yml +1 -1
- data/lib/locales/fr/adjective.yml +266 -0
- 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
- metadata +20 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf9982602494b75bec172760f6eb2e685b7370eed2ca8e726d1790fc4cbeec89
|
4
|
+
data.tar.gz: a9a282259c77b223ea0688cb02147de544fd199b50e72a0625a7245ed34c7c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4088353a5fce47a5d5585c8e6684c7361d0a44c850b4f937fc00c0d573110bedc4446b5594e590ec6b6d4107a8c0bd59c2c9a6bf304c049f88cc5c4436f812a
|
7
|
+
data.tar.gz: d8b21e7c1b550a3ae85aaac3afe6a259b92c651b88acf61bc4c163804416a47d03b4d159527c79e2cf4f40d62bb613eecf9afe1be7ad15ae044c984a60b3c8ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,101 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.22.0](https://github.com/faker-ruby/faker/tree/v2.22.0) (2022-07-28)
|
4
|
+
|
5
|
+
## Bug/Fixes
|
6
|
+
|
7
|
+
- [PR #2500](https://github.com/faker-ruby/faker/pull/2500) Fix: Duplicate array before concatenating [@mattr](https://github.com/mattr)
|
8
|
+
- [PR #2488](https://github.com/faker-ruby/faker/pull/2488) Fixed random selection issue [@sudeeptarlekar](https://github.com/sudeeptarlekar)
|
9
|
+
- [PR #2475](https://github.com/faker-ruby/faker/pull/2475) Update regex used for Faker::Vehicle#vin [@erayalkis](https://github.com/erayalkis)
|
10
|
+
|
11
|
+
## Chores
|
12
|
+
|
13
|
+
- [PR #2513](https://github.com/faker-ruby/faker/pull/2513) Remove broken docs [@vbrazo](https://github.com/vbrazo)
|
14
|
+
- [PR #2502](https://github.com/faker-ruby/faker/pull/2502) Update actions/checkout version in GitHub actions [@jdufresne](https://github.com/jdufresne)
|
15
|
+
- [PR #2501](https://github.com/faker-ruby/faker/pull/2501) Make ReadMe more consise [@jenniferdewan](https://github.com/jenniferdewan)
|
16
|
+
- [PR #2489](https://github.com/faker-ruby/faker/pull/2489) Change a filename to follow naming conventions [@yasuhiron777](https://github.com/yasuhiron777)
|
17
|
+
|
18
|
+
## Feature Request
|
19
|
+
|
20
|
+
- [PR #2477](https://github.com/faker-ruby/faker/pull/2477) feat: add bot_user_agent method for generate web crawle's user agents [@a-chacon](https://github.com/a-chacon)
|
21
|
+
- [PR #2465](https://github.com/faker-ruby/faker/pull/2465) Add a new sports section for mountaineers [@LeviLong01](https://github.com/LeviLong01)
|
22
|
+
|
23
|
+
## Update locales
|
24
|
+
|
25
|
+
- [PR #2509](https://github.com/faker-ruby/faker/pull/2509) Add all Dota 2 heroes [@JCFarrow](https://github.com/JCFarrow)
|
26
|
+
- [PR #2507](https://github.com/faker-ruby/faker/pull/2507) Update dog.yml [@Kedaruma-Bond](https://github.com/Kedaruma-Bond)
|
27
|
+
- [PR #2503](https://github.com/faker-ruby/faker/pull/2503) Update pl.yml [@marek-witkowski](https://github.com/marek-witkowski)
|
28
|
+
- [PR #2499](https://github.com/faker-ruby/faker/pull/2499) Fix: Use pattern to define Australian cell phone formats [@mattr](https://github.com/mattr)
|
29
|
+
- [PR #2497](https://github.com/faker-ruby/faker/pull/2497) Fix typos in Australia [@mattr](https://github.com/mattr)
|
30
|
+
- [PR #2490](https://github.com/faker-ruby/faker/pull/2490) Added Japanese adjective translations [@yasuhiron777](https://github.com/yasuhiron777)
|
31
|
+
|
32
|
+
------------------------------------------------------------------------------
|
33
|
+
|
34
|
+
## [v2.21.0](https://github.com/faker-ruby/faker/tree/v2.21.0) (2022-05-12)
|
35
|
+
|
36
|
+
## Bug/Fixes
|
37
|
+
|
38
|
+
- [PR #2443](https://github.com/faker-ruby/faker/pull/2443) Fixed error for random in markdown [@sudeeptarlekar](https://github.com/sudeeptarlekar)
|
39
|
+
|
40
|
+
## Feature Request
|
41
|
+
|
42
|
+
- [PR #2252](https://github.com/faker-ruby/faker/pull/2252) Add Faker::Movies::Tron [@craineum](https://github.com/craineum)
|
43
|
+
|
44
|
+
## Update locales
|
45
|
+
- [PR #2485](https://github.com/faker-ruby/faker/pull/2485) Add japanese translations for emotion [@kenboo0426](https://github.com/kenboo0426)
|
46
|
+
- [PR #2479](https://github.com/faker-ruby/faker/pull/2479) Add japanese translations for naruto [@johnmanjiro13](https://github.com/johnmanjiro13)
|
47
|
+
- [PR #2478](https://github.com/faker-ruby/faker/pull/2478) Add Japanese translation for relationships [@shouichi](https://github.com/shouichi)
|
48
|
+
- [PR #2469](https://github.com/faker-ruby/faker/pull/2467) Fix blank row in game.yml [@KingYoSun](https://github.com/KingYoSun)
|
49
|
+
- [PR #2467](https://github.com/faker-ruby/faker/pull/2467) French traduction of adjectives [@Beygs](https://github.com/Beygs)
|
50
|
+
|
51
|
+
## Update local dependencies
|
52
|
+
|
53
|
+
- Update rubocop to `1.26.0`
|
54
|
+
- Update timecop to `0.95.0`
|
55
|
+
|
56
|
+
------------------------------------------------------------------------------
|
57
|
+
|
58
|
+
## [v2.20.0](https://github.com/faker-ruby/faker/tree/v2.20.0) (2022-03-05)
|
59
|
+
|
60
|
+
## Documentation
|
61
|
+
|
62
|
+
- [PR #2421](https://github.com/faker-ruby/faker/pull/2421) Add general documentation for Faker::Camera [@aleksandrilyin](https://github.com/aleksandrilyin)
|
63
|
+
|
64
|
+
|
65
|
+
## Feature Request
|
66
|
+
|
67
|
+
- [PR #2457](https://github.com/faker-ruby/faker/pull/2457) add Command & Conquer games [@Awilum](https://github.com/Awilum)
|
68
|
+
- [PR #2456](https://github.com/faker-ruby/faker/pull/2456) fix heading for faker hobby doc [@Awilum](https://github.com/Awilum)
|
69
|
+
- [PR #2411](https://github.com/faker-ruby/faker/pull/2411) Add mock data for Auth0 OAuth [@Norio4](https://github.com/Norio4)
|
70
|
+
- [PR #2396](https://github.com/faker-ruby/faker/pull/2396) Add Brooklyn Nine Nine into tv shows category [@fralps](https://github.com/fralps)
|
71
|
+
- [PR #2395](https://github.com/faker-ruby/faker/pull/2395) Add The Kingkiller Chronicle [@fblupi](https://github.com/fblupi)
|
72
|
+
- [PR #2392](https://github.com/faker-ruby/faker/pull/2392) Update LV locale - cell phone numbers should be 8 symbols [@tmikoss](https://github.com/tmikoss)
|
73
|
+
- [PR #2383](https://github.com/faker-ruby/faker/pull/2383) Add Faker::JapaneseMedia::KamenRider#transformation_device [@boardfish](https://github.com/boardfish)
|
74
|
+
- [PR #2382](https://github.com/faker-ruby/faker/pull/2382) Add collectible devices [@boardfish](https://github.com/boardfish)
|
75
|
+
- [PR #2378](https://github.com/faker-ruby/faker/pull/2378) Re-add the Faker::Internet.base64 method [@ashishra0](https://github.com/ashishra0)
|
76
|
+
- [PR #2374](https://github.com/faker-ruby/faker/pull/2374) Add Faker::JapaneseMedia::KamenRider [@boardfish](https://github.com/boardfish)
|
77
|
+
- [PR #1656](https://github.com/faker-ruby/faker/pull/1656) Add bible entries [@enowbi](https://github.com/enowbi)
|
78
|
+
|
79
|
+
## Update locales
|
80
|
+
|
81
|
+
- [PR #2462](https://github.com/faker-ruby/faker/pull/2462) Add Sora and Hollow Bastion to SuperSmashBros yml files [@gazayas](https://github.com/gazayas)
|
82
|
+
- [PR #2458](https://github.com/faker-ruby/faker/pull/2458) Fix typo on Tom Jobim's name [@andrerferrer](https://github.com/andrerferrer)
|
83
|
+
- [PR #2452](https://github.com/faker-ruby/faker/pull/2452) updated Timor-Leste in en/addresses.yml [@masukomi](https://github.com/masukomi)
|
84
|
+
- [PR #2450](https://github.com/faker-ruby/faker/pull/2450) dividing male and female Arabic names [@Alfulayt](https://github.com/Alfulayt)
|
85
|
+
- [PR #2381](https://github.com/faker-ruby/faker/pull/2381) Remove duplicates and clean up Faker::JapaneseMedia::KamenRider [@boardfish](https://github.com/boardfish)
|
86
|
+
- [PR #2405](https://github.com/faker-ruby/faker/pull/2405) Add countries in Japanese [@lawriecate](https://github.com/lawriecate)
|
87
|
+
- [PR #2403](https://github.com/faker-ruby/faker/pull/2403) add Faker::Animal in pt-BR [@thiago-henrique-leite](https://github.com/thiago-henrique-leite)
|
88
|
+
- [PR #2377](https://github.com/faker-ruby/faker/pull/2377) Fix non striped coffe blender [@ngouy](https://github.com/ngouy)
|
89
|
+
|
90
|
+
## Update local dependencies
|
91
|
+
|
92
|
+
- Update rubocop to `1.25.0`
|
93
|
+
- Update rake to `13.0.6`
|
94
|
+
- Update test-unit to `3.5.3`
|
95
|
+
- Update yard to `0.9.27`
|
96
|
+
|
97
|
+
------------------------------------------------------------------------------
|
98
|
+
|
3
99
|
## [v2.19.0](https://github.com/faker-ruby/faker/tree/v2.19.0) (2021-08-22)
|
4
100
|
|
5
101
|
## Bug/Fixes
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
[![Inline docs](https://inch-ci.org/github/faker-ruby/faker.svg?branch=master)](https://inch-ci.org/github/faker-ruby/faker)
|
7
7
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/test_coverage)](https://codeclimate.com/github/stympy/faker/test_coverage)
|
8
8
|
[![Maintainability](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/maintainability)](https://codeclimate.com/github/stympy/faker/maintainability)
|
9
|
-
[![SemVer compatibility](https://api.dependabot.com/badges/compatibility_score?dependency-name=faker&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=faker&package-manager=bundler&version-scheme=semver)
|
10
9
|
|
11
10
|
This gem is a port of [Perl's Data::Faker library](https://metacpan.org/pod/Data::Faker) that generates fake data.
|
12
11
|
|
@@ -291,6 +290,7 @@ gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'mast
|
|
291
290
|
- [Faker::Movies::LordOfTheRings](doc/movies/lord_of_the_rings.md)
|
292
291
|
- [Faker::Movies::PrincessBride](doc/movies/princess_bride.md)
|
293
292
|
- [Faker::Movies::StarWars](doc/movies/star_wars.md)
|
293
|
+
- [Faker::Movies::TRON](doc/movies/tron.md)
|
294
294
|
- [Faker::Movies::VForVendetta](doc/movies/v_for_vendetta.md)
|
295
295
|
|
296
296
|
### Music
|
@@ -354,11 +354,9 @@ gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'mast
|
|
354
354
|
- [Faker::TvShows::VentureBros](doc/tv_shows/venture_bros.md)
|
355
355
|
|
356
356
|
## Customization
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
formats (US postal codes are NNNNN while UK postal codes are AAN NAA),
|
361
|
-
allowing you to get different formats by switching locales.
|
357
|
+
You may want Faker to print information depending on your location in the world.
|
358
|
+
To assist you in this, Faker uses I18n gem to store strings and formats to
|
359
|
+
represent the names and postal codes of the area of your choosing.
|
362
360
|
Just set the locale you want as shown below, and Faker will take care of the rest.
|
363
361
|
|
364
362
|
```ruby
|
File without changes
|
@@ -521,6 +521,23 @@ module Faker
|
|
521
521
|
sample(agents)
|
522
522
|
end
|
523
523
|
|
524
|
+
##
|
525
|
+
# Generate Web Crawler's user agents
|
526
|
+
#
|
527
|
+
# @return [String]
|
528
|
+
#
|
529
|
+
# @param vendor [String] Name of vendor, supported vendors are googlebot, bingbot, duckduckbot, baiduspider, yandexbot
|
530
|
+
#
|
531
|
+
# @example
|
532
|
+
# Faker::Internet.bot_user_agent #=> "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
|
533
|
+
# Faker::Internet.bot_user_agent(vendor: 'googlebot') #=> "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"
|
534
|
+
# Faker::Internet.bot_user_agent(vendor: 'bingbot') #=> "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"
|
535
|
+
def bot_user_agent(vendor: nil)
|
536
|
+
agent_hash = translate('faker.internet.bot_user_agent')
|
537
|
+
agents = vendor.respond_to?(:to_sym) && agent_hash[vendor.to_sym] || agent_hash[sample(agent_hash.keys)]
|
538
|
+
sample(agents)
|
539
|
+
end
|
540
|
+
|
524
541
|
##
|
525
542
|
# Generated universally unique identifier
|
526
543
|
#
|
@@ -133,7 +133,7 @@ module Faker
|
|
133
133
|
def random(*args)
|
134
134
|
method_list = available_methods
|
135
135
|
args&.each { |ex| method_list.delete_if { |meth| meth == ex.to_sym } }
|
136
|
-
send(method_list[rand(0..method_list.length - 1)])
|
136
|
+
send(method_list[Faker::Config.random.rand(0..method_list.length - 1)])
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -168,7 +168,7 @@ module Faker
|
|
168
168
|
private
|
169
169
|
|
170
170
|
def available_methods
|
171
|
-
Markdown.public_methods(false) - Base.methods
|
171
|
+
(Markdown.public_methods(false) - Base.methods).sort
|
172
172
|
end
|
173
173
|
end
|
174
174
|
end
|
@@ -9,7 +9,7 @@ module Faker
|
|
9
9
|
VIN_LETTERS = 'ABCDEFGHJKLMNPRSTUVWXYZ'
|
10
10
|
VIN_MAP = '0123456789X'
|
11
11
|
VIN_WEIGHTS = '8765432X098765432'
|
12
|
-
VIN_REGEX = /^[A-Z0-9]{3}[A-Z0-9]{5}[A-Z0-9]{1}[A-Z0-9]{1}[A-Z0-0]{1}[A-Z0-9]{1}\d{5}$/.freeze
|
12
|
+
VIN_REGEX = /^([A-HJ-NPR-Z0-9]){3}[A-HJ-NPR-Z0-9]{5}[A-HJ-NPR-Z0-9]{1}[A-HJ-NPR-Z0-9]{1}[A-HJ-NPR-Z0-0]{1}[A-HJ-NPR-Z0-9]{1}\d{5}$/.freeze
|
13
13
|
SG_CHECKSUM_WEIGHTS = [3, 14, 2, 12, 2, 11, 1].freeze
|
14
14
|
SG_CHECKSUM_CHARS = 'AYUSPLJGDBZXTRMKHEC'
|
15
15
|
|
@@ -0,0 +1,161 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Faker
|
4
|
+
class Movies
|
5
|
+
class Tron < Base
|
6
|
+
class << self
|
7
|
+
##
|
8
|
+
# Produces a character from Tron.
|
9
|
+
#
|
10
|
+
# @return [String]
|
11
|
+
#
|
12
|
+
# @example
|
13
|
+
# Faker::Movies::Tron.character #=> "Bit"
|
14
|
+
#
|
15
|
+
# @faker.version next
|
16
|
+
def character
|
17
|
+
sample(characters)
|
18
|
+
end
|
19
|
+
|
20
|
+
##
|
21
|
+
# Produces a game from Tron.
|
22
|
+
#
|
23
|
+
# @return [String]
|
24
|
+
#
|
25
|
+
# @example
|
26
|
+
# Faker::Movies::Tron.game #=> "Space Paranoids"
|
27
|
+
#
|
28
|
+
# @faker.version next
|
29
|
+
def game
|
30
|
+
sample(games)
|
31
|
+
end
|
32
|
+
|
33
|
+
##
|
34
|
+
# Produces a location from Tron.
|
35
|
+
#
|
36
|
+
# @return [String]
|
37
|
+
#
|
38
|
+
# @example
|
39
|
+
# Faker::Movies::Tron.location #=> "Flynn's Arcade"
|
40
|
+
#
|
41
|
+
# @faker.version next
|
42
|
+
def location
|
43
|
+
sample(locations)
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Produces a program from Tron.
|
48
|
+
#
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
# @example
|
52
|
+
# Faker::Movies::Tron.program #=> "Clu"
|
53
|
+
#
|
54
|
+
# @faker.version next
|
55
|
+
def program
|
56
|
+
sample(programs)
|
57
|
+
end
|
58
|
+
|
59
|
+
##
|
60
|
+
# Produces a quote from Tron.
|
61
|
+
#
|
62
|
+
# @param character [String] The name of a character to derive a quote from.
|
63
|
+
# @return [String]
|
64
|
+
#
|
65
|
+
# @example
|
66
|
+
# Faker::Movies::Tron.quote #=> "Greetings, Programs!"
|
67
|
+
#
|
68
|
+
# @example
|
69
|
+
# Faker::Movies::Tron.quote(character: "mcp")
|
70
|
+
# #=> "End of Line."
|
71
|
+
#
|
72
|
+
# @faker.version next
|
73
|
+
def quote(character: nil)
|
74
|
+
quoted_characters = translate('faker.tron.quotes')
|
75
|
+
|
76
|
+
if character.nil?
|
77
|
+
character = sample(quoted_characters.keys).to_s
|
78
|
+
else
|
79
|
+
character = character.to_s.downcase
|
80
|
+
|
81
|
+
# check alternate spellings, nicknames, titles of characters
|
82
|
+
translate('faker.tron.alternate_character_spellings').each do |k, v|
|
83
|
+
character = k.to_s if v.include?(character)
|
84
|
+
end
|
85
|
+
|
86
|
+
raise ArgumentError, "Character for quotes can be left blank or #{quoted_characters.keys.join(', ')}" unless quoted_characters.key?(character.to_sym)
|
87
|
+
end
|
88
|
+
|
89
|
+
fetch("tron.quotes.#{character}")
|
90
|
+
end
|
91
|
+
|
92
|
+
##
|
93
|
+
# Produces a tagline from Tron.
|
94
|
+
#
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @example
|
98
|
+
# Faker::Movies::Tron.tagline #=> "The Electronic Gladiator"
|
99
|
+
#
|
100
|
+
# @faker.version next
|
101
|
+
def tagline
|
102
|
+
sample(taglines)
|
103
|
+
end
|
104
|
+
|
105
|
+
##
|
106
|
+
# Produces a user from Tron.
|
107
|
+
#
|
108
|
+
# @return [String]
|
109
|
+
#
|
110
|
+
# @example
|
111
|
+
# Faker::Movies::Tron.user #=> "Light Cycle"
|
112
|
+
#
|
113
|
+
# @faker.version next
|
114
|
+
def user
|
115
|
+
sample(users)
|
116
|
+
end
|
117
|
+
|
118
|
+
##
|
119
|
+
# Produces a vehicle from Tron.
|
120
|
+
#
|
121
|
+
# @return [String]
|
122
|
+
#
|
123
|
+
# @example
|
124
|
+
# Faker::Movies::Tron.vehicle #=> "Light Cycle"
|
125
|
+
#
|
126
|
+
# @faker.version next
|
127
|
+
def vehicle
|
128
|
+
sample(vehicles)
|
129
|
+
end
|
130
|
+
|
131
|
+
def characters
|
132
|
+
translate('faker.tron.characters').values.flatten
|
133
|
+
end
|
134
|
+
|
135
|
+
def games
|
136
|
+
fetch_all('tron.games')
|
137
|
+
end
|
138
|
+
|
139
|
+
def locations
|
140
|
+
fetch_all('tron.locations')
|
141
|
+
end
|
142
|
+
|
143
|
+
def programs
|
144
|
+
fetch_all('tron.characters.programs')
|
145
|
+
end
|
146
|
+
|
147
|
+
def taglines
|
148
|
+
fetch_all('tron.taglines')
|
149
|
+
end
|
150
|
+
|
151
|
+
def users
|
152
|
+
fetch_all('tron.characters.users')
|
153
|
+
end
|
154
|
+
|
155
|
+
def vehicles
|
156
|
+
fetch_all('tron.vehicles')
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Faker
|
4
|
+
class Sports
|
5
|
+
class Mountaineering < Base
|
6
|
+
class << self
|
7
|
+
##
|
8
|
+
# Produces the name of a Mountaineer.
|
9
|
+
#
|
10
|
+
# @return [String]
|
11
|
+
#
|
12
|
+
# @example
|
13
|
+
# Faker::Sports::Mountaineering.mountaineer #=> "Junko Tabei"
|
14
|
+
#
|
15
|
+
# @faker.version next
|
16
|
+
def mountaineer
|
17
|
+
fetch('mountaineering.mountaineer')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/faker/version.rb
CHANGED
data/lib/faker.rb
CHANGED
@@ -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/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/game.yml
CHANGED
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"
|