forgery 0.3.2 → 0.3.3

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.
@@ -93,6 +93,7 @@ Thanks to the authors and contributors:
93
93
  * Jeremy Stephens (viking aka crookshanks)
94
94
  * Darcy Laycock (Sutto)
95
95
  * Lukas Westermann (lwe)
96
+ * Mike Dungan
96
97
 
97
98
  ## Notes
98
99
 
@@ -0,0 +1,251 @@
1
+ ac
2
+ ad
3
+ ae
4
+ af
5
+ ag
6
+ ai
7
+ al
8
+ am
9
+ an
10
+ ao
11
+ aq
12
+ ar
13
+ as
14
+ at
15
+ au
16
+ aw
17
+ ax
18
+ az
19
+ ba
20
+ bb
21
+ bd
22
+ be
23
+ bf
24
+ bg
25
+ bh
26
+ bi
27
+ bj
28
+ bl
29
+ bm
30
+ bn
31
+ bo
32
+ br
33
+ bs
34
+ bt
35
+ bv
36
+ bw
37
+ by
38
+ bz
39
+ ca
40
+ cc
41
+ cd
42
+ cf
43
+ cg
44
+ ch
45
+ ci
46
+ ck
47
+ cl
48
+ cm
49
+ cn
50
+ co
51
+ cr
52
+ cu
53
+ cv
54
+ cx
55
+ cy
56
+ cz
57
+ de
58
+ dj
59
+ dk
60
+ dm
61
+ do
62
+ dz
63
+ ec
64
+ ee
65
+ eg
66
+ eh
67
+ er
68
+ es
69
+ et
70
+ eu
71
+ fi
72
+ fj
73
+ fk
74
+ fm
75
+ fo
76
+ fr
77
+ ga
78
+ gb
79
+ gd
80
+ ge
81
+ gf
82
+ gg
83
+ gh
84
+ gi
85
+ gl
86
+ gm
87
+ gn
88
+ gp
89
+ gq
90
+ gr
91
+ gs
92
+ gt
93
+ gu
94
+ gw
95
+ gy
96
+ hk
97
+ hm
98
+ hn
99
+ hr
100
+ ht
101
+ hu
102
+ id
103
+ ie
104
+ il
105
+ im
106
+ in
107
+ io
108
+ iq
109
+ ir
110
+ is
111
+ it
112
+ je
113
+ jm
114
+ jo
115
+ jp
116
+ ke
117
+ kg
118
+ kh
119
+ ki
120
+ km
121
+ kn
122
+ kp
123
+ kr
124
+ kw
125
+ ky
126
+ kz
127
+ la
128
+ lb
129
+ lc
130
+ li
131
+ lk
132
+ lr
133
+ ls
134
+ lt
135
+ lu
136
+ lv
137
+ ly
138
+ ma
139
+ mc
140
+ md
141
+ me
142
+ mg
143
+ mh
144
+ mk
145
+ ml
146
+ mm
147
+ mn
148
+ mo
149
+ mp
150
+ mq
151
+ mr
152
+ ms
153
+ mt
154
+ mu
155
+ mv
156
+ mw
157
+ mx
158
+ my
159
+ mz
160
+ na
161
+ nc
162
+ ne
163
+ nf
164
+ ng
165
+ ni
166
+ nl
167
+ no
168
+ np
169
+ nr
170
+ nu
171
+ nz
172
+ om
173
+ pa
174
+ pe
175
+ pf
176
+ pg
177
+ ph
178
+ pk
179
+ pl
180
+ pm
181
+ pn
182
+ pr
183
+ ps
184
+ pt
185
+ pw
186
+ py
187
+ qa
188
+ re
189
+ ro
190
+ rs
191
+ ru
192
+ rw
193
+ sa
194
+ sb
195
+ sc
196
+ sd
197
+ se
198
+ sg
199
+ sh
200
+ si
201
+ sj
202
+ sk
203
+ sl
204
+ sm
205
+ sn
206
+ so
207
+ sr
208
+ st
209
+ su
210
+ sv
211
+ sy
212
+ sz
213
+ tc
214
+ td
215
+ tf
216
+ tg
217
+ th
218
+ tj
219
+ tk
220
+ tl
221
+ tm
222
+ tn
223
+ to
224
+ tp
225
+ tr
226
+ tt
227
+ tv
228
+ tw
229
+ tz
230
+ ua
231
+ ug
232
+ uk
233
+ um
234
+ us
235
+ uy
236
+ uz
237
+ va
238
+ vc
239
+ ve
240
+ vg
241
+ vi
242
+ vn
243
+ vu
244
+ wf
245
+ ws
246
+ ye
247
+ yt
248
+ yu
249
+ za
250
+ zm
251
+ zw
@@ -0,0 +1,4 @@
1
+ I
2
+ II
3
+ III
4
+ IV
@@ -0,0 +1,114 @@
1
+ Account Coordinator
2
+ Account Executive
3
+ Account Representative #{N}
4
+ Accountant #{N}
5
+ Accounting Assistant #{N}
6
+ Actuary
7
+ Administrative Assistant #{N}
8
+ Administrative Officer
9
+ Analog Circuit Design manager
10
+ Analyst Programmer
11
+ Assistant Manager
12
+ Assistant Media Planner
13
+ Assistant Professor
14
+ Associate Professor
15
+ Automation Specialist #{N}
16
+ Biostatistician #{N}
17
+ Budget/Accounting Analyst #{N}
18
+ Business Systems Development Analyst
19
+ Chemical Engineer
20
+ Chief Design Engineer
21
+ Civil Engineer
22
+ Clinical Specialist
23
+ Community Outreach Specialist
24
+ Compensation Analyst
25
+ Computer Systems Analyst #{N}
26
+ Cost Accountant
27
+ Data Coordiator
28
+ Database Administrator #{N}
29
+ Dental Hygienist
30
+ Design Engineer
31
+ Desktop Support Technician
32
+ Developer #{N}
33
+ Director of Sales
34
+ Editor
35
+ Electrical Engineer
36
+ Engineer #{N}
37
+ Environmental Specialist
38
+ Environmental Tech
39
+ Executive Secretary
40
+ Financial Advisor
41
+ Financial Analyst
42
+ Food Chemist
43
+ GIS Technical Architect
44
+ General Manager
45
+ Geological Engineer
46
+ Geologist #{N}
47
+ Graphic Designer
48
+ Health Coach #{N}
49
+ Help Desk Operator
50
+ Help Desk Technician
51
+ Human Resources Assistant #{N}
52
+ Human Resources Manager
53
+ Information Systems Manager
54
+ Internal Auditor
55
+ Junior Executive
56
+ Legal Assistant
57
+ Librarian
58
+ Marketing Assistant
59
+ Marketing Manager
60
+ Mechanical Systems Engineer
61
+ Media Manager #{N}
62
+ Nuclear Power Engineer
63
+ Nurse
64
+ Nurse Practicioner
65
+ Occupational Therapist
66
+ Office Assistant #{N}
67
+ Operator
68
+ Paralegal
69
+ Payment Adjustment Coordinator
70
+ Pharmacist
71
+ Physical Therapy Assistant
72
+ Product Engineer
73
+ Professor
74
+ Programmer #{N}
75
+ Programmer Analyst #{N}
76
+ Project Manager
77
+ Quality Control Specialist
78
+ Quality Engineer
79
+ Recruiter
80
+ Recruiting Manager
81
+ Registered Nurse
82
+ Research Assistant #{N}
83
+ Research Associate
84
+ Research Nurse
85
+ Safety Technician #{N}
86
+ Sales Associate
87
+ Sales Representative
88
+ Senior Cost Accountant
89
+ Senior Developer
90
+ Senior Editor
91
+ Senior Financial Analyst
92
+ Senior Quality Engineer
93
+ Senior Sales Associate
94
+ Social Worker
95
+ Software Consultant
96
+ Software Engineer #{N}
97
+ Software Test Engineer #{N}
98
+ Speech Pathologist
99
+ Staff Accountant #{N}
100
+ Staff Scientist
101
+ Statistician #{N}
102
+ Structural Analysis Engineer
103
+ Structural Engineer
104
+ Systems Administrator #{N}
105
+ Tax Accountant
106
+ Teacher
107
+ Technical Writer
108
+ VP Accounting
109
+ VP Marketing
110
+ VP Product Management
111
+ VP Quality Control
112
+ VP Sales
113
+ Web Designer #{N}
114
+ Web Developer #{N}
@@ -16,4 +16,7 @@ class Forgery::Internet < Forgery
16
16
  user_name + '@' + domain_name
17
17
  end
18
18
 
19
+ def self.cctld
20
+ dictionaries[:country_code_top_level_domains].random
21
+ end
19
22
  end
@@ -24,6 +24,14 @@ class Forgery::Name < Forgery
24
24
  dictionaries[:company_names].random
25
25
  end
26
26
 
27
+ def self.job_title
28
+ dictionaries[:job_titles].random.sub('#{N}', self.job_title_suffix)
29
+ end
30
+
31
+ def self.job_title_suffix
32
+ dictionaries[:job_title_suffixes].random
33
+ end
34
+
27
35
  def self.title
28
36
  dictionaries[:name_titles].random
29
37
  end
@@ -1,3 +1,3 @@
1
1
  class Forgery
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 2
9
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nathan Sutton
@@ -44,9 +44,12 @@ files:
44
44
  - lib/forgery/dictionaries/colors
45
45
  - lib/forgery/dictionaries/company_names
46
46
  - lib/forgery/dictionaries/countries
47
+ - lib/forgery/dictionaries/country_code_top_level_domains
47
48
  - lib/forgery/dictionaries/female_first_names
48
49
  - lib/forgery/dictionaries/frequencies
49
50
  - lib/forgery/dictionaries/genders
51
+ - lib/forgery/dictionaries/job_title_suffixes
52
+ - lib/forgery/dictionaries/job_titles
50
53
  - lib/forgery/dictionaries/languages
51
54
  - lib/forgery/dictionaries/last_names
52
55
  - lib/forgery/dictionaries/lorem_ipsum