ffaker 1.22.1 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +13 -5
  2. data/Changelog.md +4 -0
  3. data/README.md +6 -23
  4. data/Rakefile +0 -1
  5. data/ffaker.gemspec +47 -21
  6. data/lib/ffaker.rb +1 -1
  7. data/lib/ffaker/address.rb +16 -2
  8. data/lib/ffaker/address_br.rb +41 -0
  9. data/lib/ffaker/address_da.rb +1 -1
  10. data/lib/ffaker/address_fr.rb +38 -0
  11. data/lib/ffaker/address_uk.rb +5 -5
  12. data/lib/ffaker/data/address/country +43 -36
  13. data/lib/ffaker/data/address/country_code +249 -0
  14. data/lib/ffaker/data/address_br/city +299 -0
  15. data/lib/ffaker/data/address_br/state +27 -0
  16. data/lib/ffaker/data/address_br/state_abbr +27 -0
  17. data/lib/ffaker/data/address_fr/city +261 -0
  18. data/lib/ffaker/data/address_uk/{uk_county → county} +0 -0
  19. data/lib/ffaker/data/bacon_ipsum/bacon_words +3 -1
  20. data/lib/ffaker/data/healthcare_ipsum/healthcare_words +28 -55
  21. data/lib/ffaker/data/lorem/characters +36 -0
  22. data/lib/ffaker/data/name_br/first_names +91 -0
  23. data/lib/ffaker/data/name_br/last_names +25 -0
  24. data/lib/ffaker/data/name_it/first_names +171 -0
  25. data/lib/ffaker/data/name_it/last_names +70 -0
  26. data/lib/ffaker/data/name_nb/first_names_female +50 -0
  27. data/lib/ffaker/data/name_nb/first_names_male +50 -0
  28. data/lib/ffaker/data/name_nb/last_names +100 -0
  29. data/lib/ffaker/lorem.rb +4 -0
  30. data/lib/ffaker/name_br.rb +31 -0
  31. data/lib/ffaker/name_it.rb +37 -0
  32. data/lib/ffaker/name_nb.rb +47 -0
  33. data/lib/ffaker/nato_alphabet.rb +40 -0
  34. data/lib/ffaker/phone_number_fr.rb +28 -0
  35. data/lib/ffaker/utils/module_utils.rb +2 -2
  36. data/test/test_address.rb +13 -0
  37. data/test/test_address_au.rb +1 -1
  38. data/test/test_address_br.rb +30 -0
  39. data/test/test_address_da.rb +41 -0
  40. data/test/test_address_se.rb +1 -4
  41. data/test/{test_faker_internet.rb → test_internet.rb} +0 -0
  42. data/test/{test_faker_internet_se.rb → test_internet_se.rb} +0 -0
  43. data/test/{test_faker_job.rb → test_job.rb} +0 -0
  44. data/test/{test_faker_job_fr.rb → test_job_fr.rb} +0 -0
  45. data/test/test_lorem.rb +7 -0
  46. data/test/{test_faker_name.rb → test_name.rb} +0 -0
  47. data/test/test_name_br.rb +30 -0
  48. data/test/{test_faker_name_cn.rb → test_name_cn.rb} +0 -0
  49. data/test/{test_faker_name_cs.rb → test_name_cs.rb} +0 -0
  50. data/test/{test_faker_name_de.rb → test_name_de.rb} +0 -0
  51. data/test/{test_faker_name_fr.rb → test_name_fr.rb} +0 -0
  52. data/test/{test_faker_name_ga.rb → test_name_ga.rb} +0 -0
  53. data/test/test_name_it.rb +48 -0
  54. data/test/{test_faker_name_ja.rb → test_name_ja.rb} +1 -1
  55. data/test/{test_faker_name_kr.rb → test_name_kr.rb} +0 -0
  56. data/test/{test_faker_name_mx.rb → test_name_mx.rb} +0 -0
  57. data/test/test_name_nb.rb +38 -0
  58. data/test/{test_faker_name_ph.rb → test_name_ph.rb} +0 -0
  59. data/test/{test_faker_name_ru.rb → test_name_ru.rb} +0 -0
  60. data/test/{test_faker_name_se.rb → test_name_se.rb} +0 -0
  61. data/test/{test_faker_name_sn.rb → test_name_sn.rb} +0 -0
  62. data/test/test_nato_alphabet.rb +31 -0
  63. metadata +76 -44
@@ -0,0 +1,27 @@
1
+ Acre
2
+ Alagoas
3
+ Amapá
4
+ Amazonas
5
+ Bahia
6
+ Ceará
7
+ Distrito Federal
8
+ Espírito Santo
9
+ Goiás
10
+ Maranhão
11
+ Mato Grosso
12
+ Mato Grosso do Sul
13
+ Minas Gerais
14
+ Paraná
15
+ Paraíba
16
+ Pará
17
+ Pernambuco
18
+ Piauí
19
+ Rio de Janeiro
20
+ Rio Grande do Norte
21
+ Rio Grande do Sul
22
+ Rondonia
23
+ Roraima
24
+ Santa Catarina
25
+ Sergipe
26
+ São Paulo
27
+ Tocantins
@@ -0,0 +1,27 @@
1
+ AC
2
+ AL
3
+ AP
4
+ AM
5
+ BA
6
+ CE
7
+ DF
8
+ ES
9
+ GO
10
+ MA
11
+ MT
12
+ MS
13
+ MG
14
+ PR
15
+ PB
16
+ PA
17
+ PE
18
+ PI
19
+ RJ
20
+ RN
21
+ RS
22
+ RO
23
+ RR
24
+ SC
25
+ SE
26
+ SP
27
+ TO
@@ -0,0 +1,261 @@
1
+ Paris
2
+ Marseille
3
+ Lyon
4
+ Toulouse
5
+ Nice
6
+ Nantes
7
+ Strasbourg
8
+ Montpellier
9
+ Bordeaux
10
+ Lille
11
+ Rennes
12
+ Reims
13
+ Le Havre
14
+ Saint-Étienne
15
+ Toulon
16
+ Grenoble
17
+ Dijon
18
+ Angers
19
+ Villeurbanne
20
+ Saint-Denis
21
+ Le Mans
22
+ Nîmes
23
+ Aix-en-Provence
24
+ Brest
25
+ Clermont-Ferrand
26
+ Limoges
27
+ Tours
28
+ Amiens
29
+ Metz
30
+ Perpignan
31
+ Besançon
32
+ Boulogne-Billancourt
33
+ Orléans
34
+ Rouen
35
+ Mulhouse
36
+ Caen
37
+ Saint-Denis
38
+ Nancy
39
+ Saint-Paul
40
+ Argenteuil
41
+ Montreuil
42
+ Roubaix
43
+ Dunkerque12
44
+ Tourcoing
45
+ Créteil
46
+ Avignon
47
+ Nanterre
48
+ Poitiers
49
+ Courbevoie
50
+ Fort-de-France
51
+ Versailles
52
+ Vitry-sur-Seine
53
+ Colombes
54
+ Asnières-sur-Seine
55
+ Aulnay-sous-Bois
56
+ Pau
57
+ Rueil-Malmaison
58
+ Saint-Pierre
59
+ Aubervilliers
60
+ Champigny-sur-Marne
61
+ La Rochelle
62
+ Saint-Maur-des-Fossés
63
+ Antibes
64
+ Calais
65
+ Le Tampon
66
+ Cannes
67
+ Béziers
68
+ Colmar
69
+ Saint-Nazaire
70
+ Drancy
71
+ Bourges
72
+ Mérignac
73
+ Ajaccio
74
+ Issy-les-Moulineaux
75
+ Levallois-Perret
76
+ Villeneuve-d'Ascq
77
+ Quimper
78
+ Valence
79
+ Noisy-le-Grand
80
+ La Seyne-sur-Mer
81
+ Antony
82
+ Neuilly-sur-Seine
83
+ Troyes
84
+ Vénissieux
85
+ Clichy
86
+ Sarcelles
87
+ Les Abymes
88
+ Pessac
89
+ Ivry-sur-Seine
90
+ Chambéry
91
+ Niort
92
+ Lorient
93
+ Cergy
94
+ Montauban
95
+ Saint-Quentin
96
+ Cayenne
97
+ Villejuif
98
+ Beauvais
99
+ Hyères
100
+ Épinay-sur-Seine
101
+ Pantin
102
+ Cholet
103
+ Saint-André
104
+ Bondy
105
+ Fontenay-sous-Bois
106
+ Maisons-Alfort
107
+ Chelles
108
+ La Roche-sur-Yon
109
+ Arles
110
+ Clamart
111
+ Vannes
112
+ Évry
113
+ Saint-Louis
114
+ Fréjus
115
+ Le Blanc-Mesnil
116
+ Sartrouville
117
+ Narbonne
118
+ Grasse
119
+ Laval
120
+ Meaux
121
+ Évreux
122
+ Annecy
123
+ Belfort
124
+ Sevran
125
+ Charleville-Mézières
126
+ Brive-la-Gaillarde
127
+ Albi
128
+ Montrouge
129
+ Vincennes
130
+ Martigues
131
+ Bobigny
132
+ Carcassonne
133
+ Saint-Ouen
134
+ Cagnes-sur-Mer
135
+ Suresnes
136
+ Blois
137
+ Aubagne
138
+ Saint-Malo
139
+ Saint-Brieuc
140
+ Châteauroux
141
+ Châlons-en-Champagne
142
+ Meudon
143
+ Chalon-sur-Saône
144
+ Bayonne
145
+ Puteaux
146
+ Alfortville
147
+ Valenciennes
148
+ Saint-Herblain
149
+ Salon-de-Provence
150
+ Corbeil-Essonnes
151
+ Boulogne-sur-Mer
152
+ Tarbes
153
+ Bastia
154
+ Mantes-la-Jolie
155
+ Sète
156
+ Istres
157
+ Le Cannet
158
+ Castres
159
+ Massy
160
+ Douai
161
+ Saint-Priest
162
+ Livry-Gargan
163
+ Angoulême
164
+ Arras
165
+ Wattrelos
166
+ Vaulx-en-Velin
167
+ Gennevilliers
168
+ Caluire-et-Cuire
169
+ Alès
170
+ Rosny-sous-Bois
171
+ Thionville
172
+ Choisy-le-Roi
173
+ Talence
174
+ Compiègne
175
+ Saint-Germain-en-Laye
176
+ Bourg-en-Bresse
177
+ Garges-lès-Gonesse
178
+ Gap
179
+ Noisy-le-Sec
180
+ Melun
181
+ Le Lamentin
182
+ Gagny
183
+ Marcq-en-Barœul
184
+ Chartres
185
+ Bron
186
+ Cherbourg-Octeville
187
+ Rezé
188
+ Le Port
189
+ Montluçon
190
+ Saint-Laurent-du-Maroni
191
+ Bagneux
192
+ Anglet
193
+ La Courneuve
194
+ Poissy
195
+ Saint-Martin
196
+ Savigny-sur-Orge
197
+ Roanne
198
+ Nevers
199
+ Draguignan
200
+ Auxerre
201
+ Saint-Martin-d'Hères
202
+ Joué-lès-Tours
203
+ Saint-Joseph
204
+ Saint-Chamond
205
+ Échirolles
206
+ Villepinte
207
+ Pontault-Combault
208
+ Conflans-Sainte-Honorine
209
+ Villefranche-sur-Saône
210
+ Montélimar
211
+ Colomiers
212
+ Saint-Benoît
213
+ Lens
214
+ Vitrolles
215
+ Six-Fours-les-Plages
216
+ Tremblay-en-France
217
+ Marignane
218
+ Haguenau
219
+ Sainte-Geneviève-des-Bois
220
+ Mâcon
221
+ Agen
222
+ Thonon-les-Bains
223
+ Bagnolet
224
+ La Ciotat
225
+ Stains
226
+ Saint-Raphaël
227
+ Creil
228
+ Romans-sur-Isère
229
+ Neuilly-sur-Marne
230
+ Montigny-le-Bretonneux
231
+ Franconville
232
+ Épinal
233
+ Châtillon
234
+ Cambrai
235
+ Le Perreux-sur-Marne
236
+ Châtellerault
237
+ Villeneuve-Saint-Georges
238
+ Annemasse
239
+ Châtenay-Malabry
240
+ Viry-Châtillon
241
+ Dieppe
242
+ Liévin
243
+ Nogent-sur-Marne
244
+ Houilles
245
+ Mont-de-Marsan
246
+ Maubeuge
247
+ Dreux
248
+ Goussainville
249
+ Malakoff
250
+ Vandœuvre-lès-Nancy
251
+ Saint-Leu
252
+ Plaisir
253
+ Schiltigheim
254
+ Les Mureaux
255
+ Athis-Mons
256
+ La Possession
257
+ Palaiseau
258
+ Meyzieu
259
+ Baie-Mahault
260
+ L'Haÿ-les-Roses
261
+ Chatou
File without changes
@@ -57,4 +57,6 @@ filet mignon
57
57
  leberkas
58
58
  turducken
59
59
  doner
60
- Kevin
60
+ Kevin
61
+ landjaeger
62
+ porchetta
@@ -1,17 +1,14 @@
1
1
  accreditation
2
2
  accredited
3
3
  accumulation period
4
- administrative
5
- services only
4
+ administrative services only
6
5
  admitting physician
7
6
  admitting privileges
8
- after
9
- care
7
+ after care
10
8
  agent of record
11
9
  ambulatory care
12
10
  ancillary services
13
- any
14
- willing provider laws
11
+ any willing provider laws
15
12
  appeal
16
13
  ASO
17
14
  assignment of benefits
@@ -28,29 +25,25 @@ case manager
28
25
  centers of excellence
29
26
  certificate of coverage
30
27
  claim
31
- clinical
32
- practice guidelines
28
+ clinical practice guidelines
33
29
  co-insurance
34
30
  co-pay
35
31
  co-payment
36
32
  COB
37
33
  COBRA
38
34
  concurrent review
39
- consolidated omnibus budget reconciliation
40
- act
35
+ consolidated omnibus budget reconciliation act
41
36
  contract year
42
37
  coordinated care
43
38
  coordination of benefits
44
39
  cost sharing
45
40
  covered benefit
46
41
  covered charges/expenses
47
- covered
48
- person
42
+ covered person
49
43
  CPT
50
44
  credentialing
51
45
  creditable coverage
52
- critical access
53
- hospital
46
+ critical access hospital
54
47
  current procedural terminology
55
48
  custodial care
56
49
  deductible
@@ -59,8 +52,7 @@ defensive medicine
59
52
  denial of claim
60
53
  dependent
61
54
  designated facility
62
- diagnostic
63
- related group
55
+ diagnostic related group
64
56
  discharge planning
65
57
  disenroll
66
58
  DRG
@@ -68,28 +60,24 @@ EAPs
68
60
  effective date
69
61
  eligible dependent
70
62
  eligible expenses
71
- employee
72
- assistance programs
63
+ employee assistance programs
73
64
  enrollee
74
65
  EOB
75
66
  episode of care
76
- evidence of
77
- insurability
67
+ evidence of insurability
78
68
  exclusion period
79
69
  exclusions and limitations
80
70
  explanation of benefits
81
71
  fee schedule
82
72
  fee-for-service
83
- first
84
- dollar coverage
73
+ first dollar coverage
85
74
  flexible benefit plan
86
75
  flexible spending account
87
76
  formulary
88
77
  free-look period
89
78
  FSA
90
79
  full-time student
91
- gag rule
92
- laws
80
+ gag rule laws
93
81
  gatekeeper
94
82
  general agent
95
83
  grievance
@@ -99,14 +87,11 @@ HCFA Common Procedure Coding System
99
87
  HCPCS
100
88
  HDHP
101
89
  health care provider
102
- health employer data and information
103
- set
90
+ health employer data and information set
104
91
  health insurance portability & accountability act
105
- health
106
- maintenance organization
92
+ health maintenance organization
107
93
  health reimbursement arrangement
108
- health
109
- savings account
94
+ health savings account
110
95
  HEDIS
111
96
  high deductible health plan
112
97
  HIPAA
@@ -114,19 +99,16 @@ HMO
114
99
  home health care
115
100
  hospice care
116
101
  hospital care
117
- hospital-surgical
118
- coverage
102
+ hospital-surgical coverage
119
103
  HRA
120
104
  HSA
121
105
  impaired risk
122
106
  incurral date
123
- indemnity
124
- health plan
107
+ indemnity health plan
125
108
  independent practice associations
126
109
  inpatient care
127
110
  insured
128
- international classification of diseases, 9th revision,
129
- clinical modification icd-9-cm
111
+ international classification of diseases, 9th revision, clinical modification icd-9-cm
130
112
  IPA
131
113
  lapse
132
114
  lifetime maximum
@@ -137,8 +119,7 @@ master policy
137
119
  medicaid
138
120
  medical necessity
139
121
  medical savings account
140
- medically
141
- necessary
122
+ medically necessary
142
123
  medicare
143
124
  medicare supplement
144
125
  medigap
@@ -146,8 +127,7 @@ misrepresentation
146
127
  morbidity
147
128
  MSA
148
129
  NAIC
149
- national association of
150
- insurance commissioners
130
+ national association of insurance commissioners
151
131
  national committee for quality assurance
152
132
  national drug code
153
133
  NCQA
@@ -160,8 +140,7 @@ open enrollment
160
140
  out-of-network
161
141
  out-of-plan
162
142
  out-of-pocket costs
163
- out-of-pocket
164
- maximum
143
+ out-of-pocket maximum
165
144
  participating provider
166
145
  PCP
167
146
  permanent insurance
@@ -175,13 +154,11 @@ pre-admission testing
175
154
  pre-authorization
176
155
  pre-certification
177
156
  pre-existing condition
178
- preferred provider
179
- organization
157
+ preferred provider organization
180
158
  pregnancy care
181
159
  premium
182
160
  preventive care
183
- primary
184
- care physician
161
+ primary care physician
185
162
  prior authorization
186
163
  provider
187
164
  qualifying event
@@ -196,25 +173,21 @@ second surgical opinion
196
173
  self administered
197
174
  self-insured
198
175
  service area
199
- short-term medical
200
- insurance
176
+ short-term medical insurance
201
177
  SIC
202
178
  skilled nursing facility
203
- special benefit
204
- networks
179
+ special benefit networks
205
180
  staff model
206
181
  standard industrial classification
207
- state
208
- insurance department
182
+ state insurance department
209
183
  state-mandated benefits
210
184
  stop-loss provisions
211
185
  third-party payer
212
186
  underwriting
213
187
  urgent care
214
- usual and customary
215
- charge
188
+ usual and customary charge
216
189
  utilization review
217
190
  waiting period
218
191
  well-baby care
219
192
  wellness office visit
220
- workers compensation
193
+ workers compensation