faker 3.3.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/README.md +11 -3
- data/lib/faker/books/lovecraft.rb +2 -3
- data/lib/faker/default/address.rb +2 -2
- data/lib/faker/default/crypto.rb +13 -4
- data/lib/faker/default/hipster.rb +2 -3
- data/lib/faker/default/internet.rb +5 -2
- data/lib/faker/default/lorem.rb +1 -1
- data/lib/faker/default/national_health_service.rb +7 -2
- data/lib/faker/default/number.rb +1 -1
- data/lib/faker/default/omniauth.rb +4 -4
- data/lib/faker/default/types.rb +2 -4
- data/lib/faker/default/vehicle.rb +4 -3
- data/lib/faker/locations/australia.rb +2 -2
- data/lib/faker/version.rb +1 -1
- data/lib/helpers/deprecator.rb +24 -1
- data/lib/locales/en/address.yml +1 -1
- data/lib/locales/en/dog.yml +262 -7
- data/lib/locales/en/dota.yml +120 -67
- data/lib/locales/en/food.yml +2 -1
- data/lib/locales/en/vehicle.yml +1 -1
- data/lib/locales/ja/football.yml +115 -0
- data/lib/locales/ko.yml +1361 -20
- data/lib/locales/sv.yml +99 -0
- metadata +4 -3
data/lib/locales/sv.yml
CHANGED
@@ -24,6 +24,8 @@ sv:
|
|
24
24
|
secondary_address: ['Lgh. ###', 'Hus ###']
|
25
25
|
street_address:
|
26
26
|
- "#{street_name} #{building_number}"
|
27
|
+
full_address:
|
28
|
+
- "#{street_address}, #{postcode} #{city}"
|
27
29
|
default_country: [Sverige]
|
28
30
|
default_country_code: ["SE"]
|
29
31
|
|
@@ -61,6 +63,8 @@ sv:
|
|
61
63
|
- "#{prefix} #{first_name} #{last_name}"
|
62
64
|
|
63
65
|
phone_number:
|
66
|
+
country_code:
|
67
|
+
- '46'
|
64
68
|
formats: ['####-#####', '####-######']
|
65
69
|
cell_phone:
|
66
70
|
formats:
|
@@ -80,3 +84,98 @@ sv:
|
|
80
84
|
suffix: [IF, FF, BK, HK, AIF, SK, FC, SK, BoIS, FK, BIS, FIF, IK]
|
81
85
|
name:
|
82
86
|
- "#{Address.city} #{suffix}"
|
87
|
+
|
88
|
+
bank:
|
89
|
+
name: ["Swedbank", "Handelsbanken", "SEB", "Nordea", "Danske Bank","Skandiabanken","Länsförsäkringar Bank", "Sparbanken Syd", "ICA Banken", "Forex Bank", "Resurs Bank", "Avanza Bank", "Nordnet Bank", "SBAB", "Landshypotek Bank"]
|
90
|
+
|
91
|
+
sport:
|
92
|
+
summer_olympics: # Source https://sok.se/idrotter.html?ityp=Alla&iseason=Sommar&numberOfHitsToShow=48
|
93
|
+
- Badminton
|
94
|
+
- Baseboll/Softboll
|
95
|
+
- Basketboll
|
96
|
+
- Bordtennis
|
97
|
+
- Boxning
|
98
|
+
- Brottning
|
99
|
+
- Bågskytte
|
100
|
+
- Cricket
|
101
|
+
- Cykel
|
102
|
+
- Danssport
|
103
|
+
- Dragkamp
|
104
|
+
- Flaggfotboll
|
105
|
+
- Fotboll
|
106
|
+
- Friidrott
|
107
|
+
- Fäktning
|
108
|
+
- Golf
|
109
|
+
- Gymnastik
|
110
|
+
- Handboll
|
111
|
+
- Judo
|
112
|
+
- Kanot
|
113
|
+
- Karate
|
114
|
+
- Kickboxning
|
115
|
+
- Lacrosse
|
116
|
+
- Landhockey
|
117
|
+
- Modern femkamp
|
118
|
+
- Muay Thai
|
119
|
+
- Padel
|
120
|
+
- Ridsport
|
121
|
+
- Rodd
|
122
|
+
- Rugby
|
123
|
+
- Segling
|
124
|
+
- Simidrott
|
125
|
+
- Skateboard
|
126
|
+
- Skyttesport
|
127
|
+
- Sportklättring
|
128
|
+
- Squash
|
129
|
+
- Surfing
|
130
|
+
- Taekwondo
|
131
|
+
- Tennis
|
132
|
+
- Teqball
|
133
|
+
- Triathlon
|
134
|
+
- Tyngdlyftning
|
135
|
+
- Vattenskidor
|
136
|
+
- Volleyboll
|
137
|
+
winter_olympics: # Source https://sok.se/idrotter.html?ityp=Alla&iseason=Vinter&numberOfHitsToShow=48
|
138
|
+
- Alpint
|
139
|
+
- Backhoppning
|
140
|
+
- Curling
|
141
|
+
- Freeskiing
|
142
|
+
- Freestyle
|
143
|
+
- Ishockey
|
144
|
+
- Konståkning
|
145
|
+
- Kälksport
|
146
|
+
- Längdskidåkning
|
147
|
+
- Nordisk kombination
|
148
|
+
- Skidskytte
|
149
|
+
- Skimo
|
150
|
+
- Skridsko
|
151
|
+
- Snowboard
|
152
|
+
summer_paralympics: # Source https://www.paralympics.se/paralympics/paralympics/idrotter/sommar
|
153
|
+
- Badminton
|
154
|
+
- Boccia
|
155
|
+
- Bordtennis
|
156
|
+
- Bågskytte
|
157
|
+
- Bänkpress
|
158
|
+
- Cykel
|
159
|
+
- Fotboll 5-a-side
|
160
|
+
- Friidrott
|
161
|
+
- Fäktning
|
162
|
+
- Goalball
|
163
|
+
- Judo
|
164
|
+
- Kanot
|
165
|
+
- Ridsport
|
166
|
+
- Rodd
|
167
|
+
- Rullstolsbasket
|
168
|
+
- Rullstolsrugby
|
169
|
+
- Rullstolstennis
|
170
|
+
- Simning
|
171
|
+
- Sittande volleyboll
|
172
|
+
- Sportskytte
|
173
|
+
- Taekwondo
|
174
|
+
- Triathlon
|
175
|
+
winter_paralympics: # Source https://www.paralympics.se/paralympics/paralympics/idrotter/vinter
|
176
|
+
- Alpin skidåkning
|
177
|
+
- Längdskidor
|
178
|
+
- Paraishockey
|
179
|
+
- Rullstolscurling
|
180
|
+
- Skidskytte
|
181
|
+
- Snowboard
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Curtis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -566,6 +566,7 @@ files:
|
|
566
566
|
- lib/locales/ja/dog.yml
|
567
567
|
- lib/locales/ja/emotion.yml
|
568
568
|
- lib/locales/ja/food.yml
|
569
|
+
- lib/locales/ja/football.yml
|
569
570
|
- lib/locales/ja/gender.yml
|
570
571
|
- lib/locales/ja/lorem.yml
|
571
572
|
- lib/locales/ja/name.yml
|
@@ -629,7 +630,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
629
630
|
- !ruby/object:Gem::Version
|
630
631
|
version: '0'
|
631
632
|
requirements: []
|
632
|
-
rubygems_version: 3.
|
633
|
+
rubygems_version: 3.3.7
|
633
634
|
signing_key:
|
634
635
|
specification_version: 4
|
635
636
|
summary: Easily generate fake data
|