resume_exporter 0.0.1 → 1.0.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.
- checksums.yaml +4 -4
- data/bin/resume_exporter +4 -2
- data/lib/exporters/html.rb +33 -0
- data/lib/exporters/pdf.rb +13 -0
- data/lib/extractors/html/linkedin.rb +145 -169
- data/lib/extractors/html/stackoverflow.rb +60 -72
- data/lib/extractors/html/xing.rb +46 -60
- data/lib/extractors/html.rb +1 -1
- data/lib/extractors/json/fresh.rb +196 -233
- data/lib/extractors/json/json_resume.rb +107 -127
- data/lib/extractors/json/prtflio.rb +20 -24
- data/lib/extractors/json.rb +7 -6
- data/lib/resume_exporter.rb +6 -0
- data/lib/templates/default.json.jbuilder +162 -229
- data/lib/templates/default.md.erb +99 -244
- data/lib/templates/default.txt.erb +99 -224
- data/lib/templates/default.xml.builder +162 -227
- data/lib/templates/fresh.json.jbuilder +149 -155
- data/lib/templates/html/_affiliation.liquid +53 -0
- data/lib/templates/html/_basics.liquid +19 -0
- data/lib/templates/html/_contact.liquid +27 -0
- data/lib/templates/html/_css.liquid +324 -0
- data/lib/templates/html/_disposition.liquid +13 -0
- data/lib/templates/html/_education.liquid +56 -0
- data/lib/templates/html/_employment.liquid +67 -0
- data/lib/templates/html/_extracurricular.liquid +53 -0
- data/lib/templates/html/_footer.liquid +1 -0
- data/lib/templates/html/_governance.liquid +52 -0
- data/lib/templates/html/_image.liquid +7 -0
- data/lib/templates/html/_interests.liquid +23 -0
- data/lib/templates/html/_languages.liquid +22 -0
- data/lib/templates/html/_open_source.liquid +53 -0
- data/lib/templates/html/_patents.liquid +50 -0
- data/lib/templates/html/_projects.liquid +53 -0
- data/lib/templates/html/_qualifications.liquid +53 -0
- data/lib/templates/html/_reading.liquid +52 -0
- data/lib/templates/html/_recognition.liquid +54 -0
- data/lib/templates/html/_references.liquid +28 -0
- data/lib/templates/html/_resume.liquid +49 -0
- data/lib/templates/html/_service.liquid +53 -0
- data/lib/templates/html/_skills.liquid +35 -0
- data/lib/templates/html/_social.liquid +25 -0
- data/lib/templates/html/_speaking.liquid +53 -0
- data/lib/templates/html/_writing.liquid +52 -0
- data/lib/templates/html/default.liquid +1 -0
- data/lib/templates/json_resume.json.jbuilder +72 -72
- metadata +119 -20
@@ -1,383 +1,258 @@
|
|
1
|
-
<%= @data.dig(
|
1
|
+
<%= @data.dig("basics", "name") %>
|
2
2
|
|
3
|
-
<%= @data.dig(
|
3
|
+
<%= @data.dig("basics", "label") %>
|
4
4
|
|
5
|
-
<%= @data.dig(
|
5
|
+
<%= @data.dig("basics", "summary") %>
|
6
6
|
|
7
7
|
|
8
8
|
CONTACT
|
9
|
-
Email: <%= @data.dig(
|
10
|
-
Phone: <%= @data.dig(
|
11
|
-
Website: <%= @data.dig(
|
12
|
-
Address: <%= @data.dig(
|
13
|
-
<% for social in @data.dig(
|
14
|
-
<%= social[
|
9
|
+
Email: <%= @data.dig("basics", "contact", "email") %>
|
10
|
+
Phone: <%= @data.dig("basics", "contact", "phone") %>
|
11
|
+
Website: <%= @data.dig("basics", "contact", "website") %>
|
12
|
+
Address: <%= @data.dig("basics", "contact", "location") %>
|
13
|
+
<% for social in @data.dig("basics", "contact", "social") %>
|
14
|
+
<%= social["network"] %>: <%= social["user"] %> (<%= social["url"] %>)
|
15
15
|
<% end %>
|
16
16
|
|
17
17
|
|
18
|
-
|
19
|
-
<%= @data.dig(:employment, :summary) %>
|
18
|
+
DISPOSITION
|
20
19
|
|
21
|
-
|
22
|
-
<%= job[:employer] %> (<%= job[:url] %>)
|
20
|
+
<%= @data.dig("employment", "disposition") %>
|
23
21
|
|
24
|
-
<%= job[:position] %> | <%= job[:startDate] %> - <%= job[:endDate] %>
|
25
|
-
<%= job[:location] %>
|
26
22
|
|
27
|
-
|
23
|
+
WORK EXPERIENCE
|
28
24
|
|
29
|
-
|
30
|
-
|
31
|
-
- <%= highlight %>
|
32
|
-
<% end %>
|
25
|
+
<% for job in @data.dig("employment") %>
|
26
|
+
<%= job["employer"] %> (<%= job["url"] %>)
|
33
27
|
|
34
|
-
<%= job[
|
28
|
+
<%= job["position"] %> | <%= job["startDate"] %> - <%= job["endDate"] %>
|
29
|
+
<%= job["location"] %>
|
35
30
|
|
36
|
-
|
31
|
+
<%= job["summary"] %>
|
37
32
|
|
38
|
-
|
39
|
-
<%= @data.dig(:education, :summary) %>
|
33
|
+
<%= job["keywords"].join(", ") %>
|
40
34
|
|
41
|
-
<%
|
42
|
-
<%= entry[:institution] %> (<%= entry[:url] %>)
|
35
|
+
<% end %>
|
43
36
|
|
44
|
-
|
45
|
-
<%= entry[:location] %>
|
37
|
+
EDUCATION
|
46
38
|
|
47
|
-
|
39
|
+
<% for entry in @data.dig("education") %>
|
40
|
+
<%= entry["institution"] %> (<%= entry["url"] %>)
|
48
41
|
|
49
|
-
|
50
|
-
|
51
|
-
- <%= course %>
|
52
|
-
<% end %>
|
42
|
+
<%= entry["fieldOfStudy"] %>, <%= entry["degree"] %>, <%= entry["grade"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
43
|
+
<%= entry["location"] %>
|
53
44
|
|
54
|
-
|
55
|
-
<% for highlight in entry[:highlights] %>
|
56
|
-
- <%= highlight %>
|
57
|
-
<% end %>
|
45
|
+
<%= entry["summary"] %>
|
58
46
|
|
59
|
-
<%= entry[
|
47
|
+
<%= entry["keywords"].join(", ") %>
|
60
48
|
|
61
49
|
<% end %>
|
62
50
|
|
63
51
|
|
64
52
|
PROJECTS
|
65
|
-
<%= @data.dig(:projects, :summary) %>
|
66
|
-
|
67
|
-
<% for project in @data.dig(:projects, :history) %>
|
68
|
-
<%= project[:title] %> (<%= project[:url] %>)
|
69
|
-
|
70
|
-
<%= project[:category] %>, <%= project[:repo] %>, <%= project[:repo] %> | <%= project[:startDate] %> - <%= project[:endDate] %>
|
71
53
|
|
72
|
-
|
73
|
-
|
74
|
-
Roles:
|
75
|
-
<% for role in project[:roles] %>
|
76
|
-
-<%= role %>
|
77
|
-
<% end %>
|
54
|
+
<% for project in @data.dig("projects") %>
|
55
|
+
<%= project["title"] %> (<%= project["url"] %>)
|
78
56
|
|
57
|
+
<%= project["category"] %>, <%= project["repo"] %>, <%= project["repo"] %> | <%= project["startDate"] %> - <%= project["endDate"] %>
|
79
58
|
|
80
|
-
|
81
|
-
<% for highlight in project[:highlights] %>
|
82
|
-
- <%= highlight %>
|
83
|
-
<% end %>
|
59
|
+
<%= project["summary"] %>
|
84
60
|
|
85
|
-
<%= project[
|
61
|
+
<%= project["keywords"].join(", ") %>
|
86
62
|
|
87
63
|
<% end %>
|
88
64
|
|
89
65
|
|
90
66
|
|
91
67
|
OPEN SOURCE
|
92
|
-
<%= @data.dig(:openSource, :summary) %>
|
93
|
-
|
94
|
-
<% for project in @data.dig(:openSource, :history) %>
|
95
|
-
<%= project[:title] %> (<%= project[:url] %>)
|
96
|
-
|
97
|
-
<%= project[:category] %>, <%= project[:repo] %>, <%= project[:repo] %> | <%= project[:startDate] %> - <%= project[:endDate] %>
|
98
|
-
|
99
|
-
<%= project[:description] %>
|
100
68
|
|
101
|
-
|
102
|
-
|
103
|
-
-<%= role %>
|
104
|
-
<% end %>
|
69
|
+
<% for project in @data.dig("openSource") %>
|
70
|
+
<%= project["title"] %> (<%= project["url"] %>)
|
105
71
|
|
72
|
+
<%= project["category"] %>, <%= project["repo"] %>, <%= project["repo"] %> | <%= project["startDate"] %> - <%= project["endDate"] %>
|
106
73
|
|
107
|
-
|
108
|
-
<% for highlight in project[:highlights] %>
|
109
|
-
- <%= highlight %>
|
110
|
-
<% end %>
|
74
|
+
<%= project["summary"] %>
|
111
75
|
|
112
|
-
<%= project[
|
76
|
+
<%= project["keywords"].join(", ") %>
|
113
77
|
|
114
78
|
<% end %>
|
115
79
|
|
116
80
|
|
117
81
|
SKILLS
|
118
|
-
<%= @data.dig(:skills, :summary) %>
|
119
82
|
|
120
|
-
<% for skill in @data.dig(
|
121
|
-
<%= skill[
|
122
|
-
<%= skill[
|
123
|
-
<%= skill[
|
83
|
+
<% for skill in @data.dig("skills") %>
|
84
|
+
<%= skill["name"] %>
|
85
|
+
<%= skill["summary"] %>
|
86
|
+
<%= skill["keywords"].join(", ") %>
|
124
87
|
|
125
88
|
<% end %>
|
126
89
|
|
127
90
|
|
128
91
|
|
129
92
|
QUALIFICATIONS
|
130
|
-
<%= @data.dig(:qualifications, :summary) %>
|
131
|
-
|
132
|
-
<% for qualification in @data.dig(:qualifications, :history) %>
|
133
|
-
<%= qualification[:title] %> (<%= qualification[:url] %>)
|
134
93
|
|
135
|
-
|
94
|
+
<% for qualification in @data.dig("qualifications") %>
|
95
|
+
<%= qualification["title"] %> (<%= qualification["url"] %>)
|
136
96
|
|
137
|
-
<%= qualification[
|
97
|
+
<%= qualification["category"] %>, <%= qualification["from"] %> | <%= qualification["startDate"] %> - <%= qualification["endDate"] %>
|
138
98
|
|
139
|
-
|
140
|
-
<% for highlight in qualification[:highlights] %>
|
141
|
-
- <%= highlight %>
|
142
|
-
<% end %>
|
99
|
+
<%= qualification["summary"] %>
|
143
100
|
|
144
|
-
<%= qualification[
|
101
|
+
<%= qualification["keywords"].join(", ") %>
|
145
102
|
|
146
103
|
<% end %>
|
147
104
|
|
148
105
|
|
149
106
|
RECOGNITION
|
150
|
-
<%= @data.dig(:recognition, :summary) %>
|
151
|
-
|
152
|
-
<% for entry in @data.dig(:recognition, :history) %>
|
153
|
-
<%= entry[:title] %> (<%= entry[:url] %>)
|
154
107
|
|
155
|
-
|
108
|
+
<% for entry in @data.dig("recognition") %>
|
109
|
+
<%= entry["title"] %> (<%= entry["url"] %>)
|
156
110
|
|
157
|
-
<%= entry[
|
111
|
+
<%= entry["category"] %>, <%= entry["from"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
158
112
|
|
159
|
-
|
160
|
-
<% for highlight in entry[:highlights] %>
|
161
|
-
- <%= highlight %>
|
162
|
-
<% end %>
|
113
|
+
<%= entry["summary"] %>
|
163
114
|
|
164
|
-
<%= entry[
|
115
|
+
<%= entry["keywords"].join(", ") %>
|
165
116
|
|
166
117
|
<% end %>
|
167
118
|
|
168
119
|
|
169
120
|
WRITING
|
170
|
-
<%= @data.dig(:writing, :summary) %>
|
171
121
|
|
172
|
-
<% for entry in @data.dig(
|
173
|
-
<%= entry[
|
122
|
+
<% for entry in @data.dig("writing") %>
|
123
|
+
<%= entry["title"] %> (<%= entry["url"] %>)
|
174
124
|
|
175
|
-
<%= entry[
|
125
|
+
<%= entry["category"] %>, <%= entry["publisher"] %> | <%= entry["date"] %>
|
176
126
|
|
177
|
-
<%= entry[
|
127
|
+
<%= entry["summary"] %>
|
178
128
|
|
179
|
-
|
180
|
-
<% for highlight in entry[:highlights] %>
|
181
|
-
- <%= highlight %>
|
182
|
-
<% end %>
|
183
|
-
|
184
|
-
<%= entry[:keywords].join(", ") %>
|
129
|
+
<%= entry["keywords"].join(", ") %>
|
185
130
|
|
186
131
|
<% end %>
|
187
132
|
|
188
133
|
|
189
134
|
READING
|
190
|
-
<%= @data.dig(:reading, :summary) %>
|
191
|
-
|
192
|
-
<% for entry in @data.dig(:reading, :history) %>
|
193
|
-
<%= entry[:title] %> (<%= entry[:url] %>)
|
194
135
|
|
195
|
-
|
136
|
+
<% for entry in @data.dig("reading") %>
|
137
|
+
<%= entry["title"] %> (<%= entry["url"] %>)
|
196
138
|
|
197
|
-
<%= entry[
|
139
|
+
<%= entry["category"] %>, <%= entry["author"] %> | <%= entry["date"] %>
|
198
140
|
|
199
|
-
|
200
|
-
<% for highlight in entry[:highlights] %>
|
201
|
-
- <%= highlight %>
|
202
|
-
<% end %>
|
141
|
+
<%= entry["summary"] %>
|
203
142
|
|
204
|
-
<%= entry[
|
143
|
+
<%= entry["keywords"].join(", ") %>
|
205
144
|
|
206
145
|
<% end %>
|
207
146
|
|
208
147
|
|
209
148
|
SPEAKING
|
210
|
-
<%= @data.dig(:speaking, :summary) %>
|
211
|
-
|
212
|
-
<% for entry in @data.dig(:speaking, :history) %>
|
213
|
-
<%= entry[:title] %> (<%= entry[:url] %>)
|
214
149
|
|
215
|
-
|
150
|
+
<% for entry in @data.dig("speaking") %>
|
151
|
+
<%= entry["title"] %> (<%= entry["url"] %>)
|
216
152
|
|
217
|
-
<%= entry[
|
153
|
+
<%= entry["event"] %>, <%= entry["location"] %> | <%= entry["date"] %>
|
218
154
|
|
219
|
-
|
220
|
-
<% for highlight in entry[:highlights] %>
|
221
|
-
- <%= highlight %>
|
222
|
-
<% end %>
|
155
|
+
<%= entry["summary"] %>
|
223
156
|
|
224
|
-
<%= entry[
|
157
|
+
<%= entry["keywords"].join(", ") %>
|
225
158
|
|
226
159
|
<% end %>
|
227
160
|
|
228
161
|
|
229
162
|
PATENTS
|
230
|
-
<%= @data.dig(:patents, :summary) %>
|
231
163
|
|
232
|
-
<% for patent in @data.dig(
|
233
|
-
<%= patent[
|
164
|
+
<% for patent in @data.dig("patents") %>
|
165
|
+
<%= patent["title"] %> (<%= patent["url"] %>)
|
234
166
|
|
235
|
-
<%= patent[
|
167
|
+
<%= patent["number"] %>, <%= patent["status"] %> | <%= patent["date"] %>
|
236
168
|
|
237
|
-
<%= patent[
|
169
|
+
<%= patent["summary"] %>
|
238
170
|
|
239
|
-
|
240
|
-
<% for highlight in patent[:highlights] %>
|
241
|
-
- <%= highlight %>
|
242
|
-
<% end %>
|
243
|
-
|
244
|
-
<%= patent[:keywords].join(", ") %>
|
171
|
+
<%= patent["keywords"].join(", ") %>
|
245
172
|
|
246
173
|
<% end %>
|
247
174
|
|
248
175
|
|
249
176
|
LANGUAGES
|
250
|
-
<%= @data.dig(:languages, :summary) %>
|
251
177
|
|
252
|
-
<% for language in @data.dig(
|
253
|
-
- <%= language[
|
178
|
+
<% for language in @data.dig("languages") %>
|
179
|
+
- <%= language["language"] %>, <%= language["level"] %> (<%= language["years"] %> years)
|
254
180
|
<% end %>
|
255
181
|
|
256
182
|
|
257
183
|
INTEREST
|
258
|
-
<%= @data.dig(:interests, :summary) %>
|
259
184
|
|
260
|
-
<% for interest in @data.dig(
|
261
|
-
<%= interest[
|
262
|
-
<%= interest[
|
185
|
+
<% for interest in @data.dig("interests") %>
|
186
|
+
<%= interest["name"] %>
|
187
|
+
<%= interest["summary"] %>
|
263
188
|
|
264
189
|
<% end %>
|
265
190
|
|
266
191
|
|
267
192
|
EXTRACURRICULAR
|
268
|
-
<%= @data.dig(:extracurriculars, :summary) %>
|
269
|
-
|
270
|
-
<% for entry in @data.dig(:extracurriculars, :history) %>
|
271
193
|
|
272
|
-
|
194
|
+
<% for entry in @data.dig("extracurriculars") %>
|
273
195
|
|
274
|
-
|
196
|
+
<%= entry["title"] %> (<%= entry["url"] %>)
|
275
197
|
|
276
|
-
<%= entry[
|
198
|
+
<%= entry["category"] %>, <%= entry["location"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
277
199
|
|
278
|
-
|
279
|
-
<% for highlight in entry[:highlights] %>
|
280
|
-
- <%= highlight %>
|
281
|
-
<% end %>
|
200
|
+
<%= entry["summary"] %>
|
282
201
|
|
283
|
-
<%= entry[
|
202
|
+
<%= entry["keywords"].join(", ") %>
|
284
203
|
<% end %>
|
285
204
|
|
286
205
|
|
287
206
|
AFFILIATION
|
288
|
-
<%= @data.dig(:affiliations, :summary) %>
|
289
|
-
|
290
|
-
<% for entry in @data.dig(:affiliations, :history) %>
|
291
|
-
|
292
|
-
<%= entry[:organization] %> (<%= entry[:url] %>)
|
293
207
|
|
294
|
-
|
208
|
+
<% for entry in @data.dig("affiliations") %>
|
295
209
|
|
296
|
-
|
210
|
+
<%= entry["organization"] %> (<%= entry["url"] %>)
|
297
211
|
|
298
|
-
|
299
|
-
<% for role in entry[:roles] %>
|
300
|
-
-<%= role %>
|
301
|
-
<% end %>
|
212
|
+
<%= entry["category"] %>, <%= entry["location"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
302
213
|
|
303
|
-
|
304
|
-
<% for highlight in entry[:highlights] %>
|
305
|
-
- <%= highlight %>
|
306
|
-
<% end %>
|
214
|
+
<%= entry["summary"] %>
|
307
215
|
|
308
|
-
<%= entry[
|
216
|
+
<%= entry["keywords"].join(", ") %>
|
309
217
|
<% end %>
|
310
218
|
|
311
219
|
|
312
220
|
GOVERNANCE
|
313
|
-
<%= @data.dig(:governance, :summary) %>
|
314
|
-
|
315
|
-
<% for entry in @data.dig(:governance, :history) %>
|
316
221
|
|
317
|
-
|
222
|
+
<% for entry in @data.dig("governance") %>
|
318
223
|
|
319
|
-
|
224
|
+
<%= entry["organization"] %> (<%= entry["url"] %>)
|
320
225
|
|
321
|
-
<%= entry[
|
226
|
+
<%= entry["summary"] %>
|
322
227
|
|
323
|
-
|
324
|
-
<% for role in entry[:roles] %>
|
325
|
-
-<%= role %>
|
326
|
-
<% end %>
|
327
|
-
|
328
|
-
Highlights:
|
329
|
-
<% for highlight in entry[:highlights] %>
|
330
|
-
- <%= highlight %>
|
331
|
-
<% end %>
|
228
|
+
<%= entry["category"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
332
229
|
|
333
|
-
<%= entry[
|
230
|
+
<%= entry["keywords"].join(", ") %>
|
334
231
|
<% end %>
|
335
232
|
|
336
233
|
|
337
234
|
SERVICE
|
338
|
-
<%= @data.dig(:service, :summary) %>
|
339
235
|
|
340
|
-
<% for entry in @data.dig(
|
236
|
+
<% for entry in @data.dig("service") %>
|
341
237
|
|
342
|
-
<%= entry[
|
238
|
+
<%= entry["organization"] %> (<%= entry["url"] %>)
|
343
239
|
|
344
|
-
<%= entry[
|
240
|
+
<%= entry["category"] %>, <%= entry["location"] %> | <%= entry["startDate"] %> - <%= entry["endDate"] %>
|
345
241
|
|
346
|
-
<%= entry[
|
242
|
+
<%= entry["summary"] %>
|
347
243
|
|
348
|
-
|
349
|
-
<% for role in entry[:roles] %>
|
350
|
-
-<%= role %>
|
351
|
-
<% end %>
|
352
|
-
|
353
|
-
Highlights:
|
354
|
-
<% for highlight in entry[:highlights] %>
|
355
|
-
- <%= highlight %>
|
356
|
-
<% end %>
|
357
|
-
|
358
|
-
<%= entry[:keywords].join(", ") %>
|
244
|
+
<%= entry["keywords"].join(", ") %>
|
359
245
|
<% end %>
|
360
246
|
|
361
247
|
|
362
248
|
REFERENCES
|
363
|
-
<%= @data.dig(:references, :summary) %>
|
364
249
|
|
365
|
-
<% for reference in @data.dig(
|
250
|
+
<% for reference in @data.dig("references") %>
|
366
251
|
|
367
|
-
<%= reference[
|
368
|
-
<%= reference[
|
252
|
+
<%= reference["name"] %>
|
253
|
+
<%= reference["role"] %>, <%= reference["company"] %>
|
369
254
|
|
370
|
-
<%= reference[
|
255
|
+
<%= reference["summary"] %>
|
371
256
|
|
372
257
|
<% end %>
|
373
258
|
|
374
|
-
|
375
|
-
DISPOSITION
|
376
|
-
<%= @data.dig(:disposition, :summary) %>
|
377
|
-
|
378
|
-
Percentage of time willing to travel: <%= @data.dig(:disposition, :travel) %>
|
379
|
-
Work authorization: <%= @data.dig(:disposition, :authorization) %>
|
380
|
-
Types of work commitment desired: <%= @data.dig(:disposition, :commitment).join(", ") %>
|
381
|
-
Open to remote employment opportunities: <%= @data.dig(:disposition, :remote) %>
|
382
|
-
Willing to relocate: <%= @data.dig(:disposition, :relocation, :willing) %>
|
383
|
-
Preferred destinations for relocation: <%= @data.dig(:disposition, :relocation, :destinations).join(", ") %>
|