resume_exporter 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -5,285 +5,218 @@ end
|
|
5
5
|
|
6
6
|
|
7
7
|
json.basics do
|
8
|
-
json.name @data.dig(
|
9
|
-
json.label @data.dig(
|
10
|
-
json.image @data.dig(
|
11
|
-
json.summary @data.dig(
|
8
|
+
json.name @data.dig("basics", "name")
|
9
|
+
json.label @data.dig("basics", "label")
|
10
|
+
json.image @data.dig("basics", "image")
|
11
|
+
json.summary @data.dig("basics", "summary")
|
12
|
+
json.disposition @data.dig("basics", "disposition")
|
12
13
|
json.contact do
|
13
|
-
json.email @data.dig(
|
14
|
-
json.phone @data.dig(
|
15
|
-
json.website @data.dig(
|
16
|
-
json.location @data.dig(
|
17
|
-
json.social @data.dig(
|
18
|
-
json.network social[
|
19
|
-
json.user social[
|
20
|
-
json.url social[
|
14
|
+
json.email @data.dig("basics", "contact", "email")
|
15
|
+
json.phone @data.dig("basics", "contact", "phone")
|
16
|
+
json.website @data.dig("basics", "contact", "website")
|
17
|
+
json.location @data.dig("basics", "contact", "location")
|
18
|
+
json.social @data.dig("basics", "contact", "social") do |social|
|
19
|
+
json.network social["network"]
|
20
|
+
json.user social["user"]
|
21
|
+
json.url social["url"]
|
21
22
|
end
|
22
23
|
end
|
23
24
|
end
|
24
25
|
|
25
|
-
json.employment do
|
26
|
-
|
27
|
-
|
28
|
-
json.
|
29
|
-
json.
|
30
|
-
json.
|
31
|
-
json.
|
32
|
-
json.
|
33
|
-
json.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
json.
|
41
|
-
|
42
|
-
|
43
|
-
json.
|
44
|
-
json.
|
45
|
-
json.
|
46
|
-
json.
|
47
|
-
json.
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
json.
|
53
|
-
json.
|
54
|
-
json.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
json.
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
json.description project[:description]
|
63
|
-
json.url project[:url]
|
64
|
-
json.repo project[:repo]
|
65
|
-
json.startDate project[:startDate]
|
66
|
-
json.endDate project[:endDate]
|
67
|
-
json.category project[:category]
|
68
|
-
json.images project[:images] do |image|
|
69
|
-
json.thumbnail image[:thumbnail]
|
70
|
-
json.big image[:big]
|
26
|
+
json.employment @data.dig("employment") do |job|
|
27
|
+
json.employer job["employer"]
|
28
|
+
json.position job["position"]
|
29
|
+
json.url job["url"]
|
30
|
+
json.startDate job["startDate"]
|
31
|
+
json.endDate job["endDate"]
|
32
|
+
json.summary job["summary"]
|
33
|
+
json.location job["location"]
|
34
|
+
json.keywords job["keywords"]
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
json.education @data.dig("education") do |entry|
|
39
|
+
json.institution entry["institution"]
|
40
|
+
json.fieldOfStudy entry["fieldOfStudy"]
|
41
|
+
json.degree entry["degree"]
|
42
|
+
json.startDate entry["startDate"]
|
43
|
+
json.endDate entry["endDate"]
|
44
|
+
json.grade entry["grade"]
|
45
|
+
json.url entry["url"]
|
46
|
+
json.summary entry["summary"]
|
47
|
+
json.location entry["location"]
|
48
|
+
json.keywords entry["keywords"]
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
json.projects @data.dig("projects") do |project|
|
53
|
+
json.title project["title"]
|
54
|
+
json.summary project["summary"]
|
55
|
+
json.url project["url"]
|
56
|
+
json.repo project["repo"]
|
57
|
+
json.startDate project["startDate"]
|
58
|
+
json.endDate project["endDate"]
|
59
|
+
json.category project["category"]
|
60
|
+
json.images project["images"] do |image|
|
61
|
+
json.thumbnail image["thumbnail"]
|
62
|
+
json.big image["big"]
|
71
63
|
end
|
72
|
-
json.
|
73
|
-
json.highlights project[:highlights]
|
74
|
-
json.keywords project[:keywords]
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
json.openSource do
|
79
|
-
json.summary @data.dig(:openSource, :summary)
|
80
|
-
json.history @data.dig(:openSource, :history) do |project|
|
81
|
-
json.title project[:title]
|
82
|
-
json.description project[:description]
|
83
|
-
json.role project[:role]
|
84
|
-
json.url project[:url]
|
85
|
-
json.repo project[:repo]
|
86
|
-
json.startDate project[:startDate]
|
87
|
-
json.endDate project[:endDate]
|
88
|
-
json.category project[:category]
|
89
|
-
json.roles project[:roles]
|
90
|
-
json.highlights project[:highlights]
|
91
|
-
json.keywords project[:keywords]
|
64
|
+
json.keywords project["keywords"]
|
92
65
|
end
|
93
66
|
end
|
94
67
|
|
95
|
-
json.
|
96
|
-
|
97
|
-
|
98
|
-
json.
|
99
|
-
json.
|
100
|
-
json.
|
68
|
+
json.openSource @data.dig("openSource") do |project|
|
69
|
+
json.title project["title"]
|
70
|
+
json.summary project["summary"]
|
71
|
+
json.role project["role"]
|
72
|
+
json.url project["url"]
|
73
|
+
json.repo project["repo"]
|
74
|
+
json.startDate project["startDate"]
|
75
|
+
json.endDate project["endDate"]
|
76
|
+
json.category project["category"]
|
77
|
+
json.keywords project["keywords"]
|
101
78
|
end
|
102
79
|
end
|
103
80
|
|
104
|
-
json.
|
105
|
-
|
106
|
-
|
107
|
-
json.
|
108
|
-
json.title qualification[:title]
|
109
|
-
json.startDate qualification[:startDate]
|
110
|
-
json.endDate qualification[:endDate]
|
111
|
-
json.from qualification[:from]
|
112
|
-
json.summary qualification[:summary]
|
113
|
-
json.url qualification[:url]
|
114
|
-
json.highlights qualification[:highlights]
|
115
|
-
json.keywords qualification[:keywords]
|
81
|
+
json.skills @data.dig("skills") do |skill|
|
82
|
+
json.name skill["name"]
|
83
|
+
json.summary skill["summary"]
|
84
|
+
json.keywords skill["keywords"]
|
116
85
|
end
|
117
86
|
end
|
118
87
|
|
119
|
-
json.
|
120
|
-
|
121
|
-
|
122
|
-
json.
|
123
|
-
json.
|
124
|
-
json.
|
125
|
-
json.
|
126
|
-
json.
|
127
|
-
json.
|
128
|
-
json.url entry[:url]
|
129
|
-
json.highlights entry[:highlights]
|
130
|
-
json.keywords entry[:keywords]
|
88
|
+
json.qualifications @data.dig("qualifications") do |qualification|
|
89
|
+
json.category qualification["category"]
|
90
|
+
json.title qualification["title"]
|
91
|
+
json.startDate qualification["startDate"]
|
92
|
+
json.endDate qualification["endDate"]
|
93
|
+
json.from qualification["from"]
|
94
|
+
json.summary qualification["summary"]
|
95
|
+
json.url qualification["url"]
|
96
|
+
json.keywords qualification["keywords"]
|
131
97
|
end
|
132
98
|
end
|
133
99
|
|
134
|
-
json.
|
135
|
-
|
136
|
-
|
137
|
-
json.
|
138
|
-
json.
|
139
|
-
json.
|
140
|
-
json.
|
141
|
-
json.url entry[
|
142
|
-
json.
|
143
|
-
json.highlights entry[:highlights]
|
144
|
-
json.keywords entry[:keywords]
|
100
|
+
json.recognition @data.dig("recognition") do |entry|
|
101
|
+
json.category entry["category"]
|
102
|
+
json.title entry["title"]
|
103
|
+
json.startDate entry["startDate"]
|
104
|
+
json.endDate entry["endDate"]
|
105
|
+
json.from entry["from"]
|
106
|
+
json.summary entry["summary"]
|
107
|
+
json.url entry["url"]
|
108
|
+
json.keywords entry["keywords"]
|
145
109
|
end
|
146
110
|
end
|
147
111
|
|
148
|
-
json.
|
149
|
-
|
150
|
-
|
151
|
-
json.
|
152
|
-
json.
|
153
|
-
json.url entry[
|
154
|
-
json.
|
155
|
-
json.
|
156
|
-
json.summary entry[:summary]
|
157
|
-
json.highlights entry[:highlights]
|
158
|
-
json.keywords entry[:keywords]
|
112
|
+
json.writing @data.dig("writing") do |entry|
|
113
|
+
json.title entry["title"]
|
114
|
+
json.category entry["category"]
|
115
|
+
json.publisher entry["publisher"]
|
116
|
+
json.date entry["date"]
|
117
|
+
json.url entry["url"]
|
118
|
+
json.summary entry["summary"]
|
119
|
+
json.keywords entry["keywords"]
|
159
120
|
end
|
160
121
|
end
|
161
122
|
|
162
|
-
json.
|
163
|
-
|
164
|
-
|
165
|
-
json.
|
166
|
-
json.
|
167
|
-
json.
|
168
|
-
json.
|
169
|
-
json.
|
170
|
-
json.summary entry[:summary]
|
171
|
-
json.highlights entry[:highlights]
|
172
|
-
json.keywords entry[:keywords]
|
123
|
+
json.reading @data.dig("reading") do |entry|
|
124
|
+
json.title entry["title"]
|
125
|
+
json.category entry["category"]
|
126
|
+
json.url entry["url"]
|
127
|
+
json.author entry["author"]
|
128
|
+
json.date entry["date"]
|
129
|
+
json.summary entry["summary"]
|
130
|
+
json.keywords entry["keywords"]
|
173
131
|
end
|
174
132
|
end
|
175
133
|
|
176
|
-
json.
|
177
|
-
|
178
|
-
|
179
|
-
json.
|
180
|
-
json.url
|
181
|
-
json.
|
182
|
-
json.
|
183
|
-
json.
|
184
|
-
json.date patent[:date]
|
185
|
-
json.highlights patent[:highlights]
|
186
|
-
json.keywords patent[:keywords]
|
134
|
+
json.speaking @data.dig("speaking") do |entry|
|
135
|
+
json.title entry["title"]
|
136
|
+
json.event entry["event"]
|
137
|
+
json.location entry["location"]
|
138
|
+
json.url entry["url"]
|
139
|
+
json.date entry["date"]
|
140
|
+
json.summary entry["summary"]
|
141
|
+
json.keywords entry["keywords"]
|
187
142
|
end
|
188
143
|
end
|
189
144
|
|
190
|
-
json.
|
191
|
-
|
192
|
-
|
193
|
-
json.
|
194
|
-
json.
|
195
|
-
json.
|
145
|
+
json.patents @data.dig("patents") do |patent|
|
146
|
+
json.title patent["title"]
|
147
|
+
json.url patent["url"]
|
148
|
+
json.number patent["number"]
|
149
|
+
json.status patent["status"]
|
150
|
+
json.summary patent["summary"]
|
151
|
+
json.date patent["date"]
|
152
|
+
json.keywords patent["keywords"]
|
196
153
|
end
|
197
154
|
end
|
198
155
|
|
199
|
-
json.
|
200
|
-
|
201
|
-
|
202
|
-
json.
|
203
|
-
json.description interest[:description]
|
156
|
+
json.languages @data.dig("languages") do |language|
|
157
|
+
json.language language["language"]
|
158
|
+
json.level language["level"]
|
159
|
+
json.years language["years"]
|
204
160
|
end
|
205
161
|
end
|
206
162
|
|
207
|
-
json.
|
208
|
-
|
209
|
-
|
210
|
-
json.title entry[:title]
|
211
|
-
json.summary entry[:summary]
|
212
|
-
json.category entry[:category]
|
213
|
-
json.url entry[:url]
|
214
|
-
json.location entry[:location]
|
215
|
-
json.startDate entry[:startDate]
|
216
|
-
json.endDate entry[:endDate]
|
217
|
-
json.highlights entry[:highlights]
|
218
|
-
json.keywords entry[:keywords]
|
163
|
+
json.interests @data.dig("interests") do |interest|
|
164
|
+
json.name interest["name"]
|
165
|
+
json.summary interest["summary"]
|
219
166
|
end
|
220
167
|
end
|
221
168
|
|
222
|
-
json.
|
223
|
-
|
224
|
-
|
225
|
-
json.category entry[
|
226
|
-
json.
|
227
|
-
json.
|
228
|
-
json.
|
229
|
-
json.
|
230
|
-
json.
|
231
|
-
json.summary entry[:summary]
|
232
|
-
json.location entry[:location]
|
233
|
-
json.highlights entry[:highlights]
|
234
|
-
json.keywords entry[:keywords]
|
169
|
+
json.extracurriculars @data.dig("extracurriculars") do |entry|
|
170
|
+
json.title entry["title"]
|
171
|
+
json.summary entry["summary"]
|
172
|
+
json.category entry["category"]
|
173
|
+
json.url entry["url"]
|
174
|
+
json.location entry["location"]
|
175
|
+
json.startDate entry["startDate"]
|
176
|
+
json.endDate entry["endDate"]
|
177
|
+
json.keywords entry["keywords"]
|
235
178
|
end
|
236
179
|
end
|
237
180
|
|
238
|
-
json.
|
239
|
-
|
240
|
-
|
241
|
-
json.
|
242
|
-
json.
|
243
|
-
json.
|
244
|
-
json.
|
245
|
-
json.
|
246
|
-
json.
|
247
|
-
json.endDate entry[:endDate]
|
248
|
-
json.keywords entry[:keywords]
|
249
|
-
json.highlights entry[:highlights]
|
181
|
+
json.affiliations @data.dig("affiliations") do |entry|
|
182
|
+
json.category entry["category"]
|
183
|
+
json.organization entry["organization"]
|
184
|
+
json.url entry["url"]
|
185
|
+
json.startDate entry["startDate"]
|
186
|
+
json.endDate entry["endDate"]
|
187
|
+
json.summary entry["summary"]
|
188
|
+
json.location entry["location"]
|
189
|
+
json.keywords entry["keywords"]
|
250
190
|
end
|
251
191
|
end
|
252
192
|
|
253
|
-
json.
|
254
|
-
|
255
|
-
|
256
|
-
json.
|
257
|
-
json.organization entry[
|
258
|
-
json.
|
259
|
-
json.
|
260
|
-
json.
|
261
|
-
json.endDate entry[:endDate]
|
262
|
-
json.summary entry[:summary]
|
263
|
-
json.location entry[:location]
|
264
|
-
json.highlights entry[:highlights]
|
265
|
-
json.keywords entry[:keywords]
|
193
|
+
json.governance @data.dig("governance") do |entry|
|
194
|
+
json.summary entry["summary"]
|
195
|
+
json.category entry["category"]
|
196
|
+
json.url entry["url"]
|
197
|
+
json.organization entry["organization"]
|
198
|
+
json.startDate entry["startDate"]
|
199
|
+
json.endDate entry["endDate"]
|
200
|
+
json.keywords entry["keywords"]
|
266
201
|
end
|
267
202
|
end
|
268
203
|
|
269
|
-
json.
|
270
|
-
|
271
|
-
|
272
|
-
json.
|
273
|
-
json.
|
274
|
-
json.
|
275
|
-
json.summary
|
204
|
+
json.service @data.dig("service") do |entry|
|
205
|
+
json.category entry["category"]
|
206
|
+
json.organization entry["organization"]
|
207
|
+
json.url entry["url"]
|
208
|
+
json.startDate entry["startDate"]
|
209
|
+
json.endDate entry["endDate"]
|
210
|
+
json.summary entry["summary"]
|
211
|
+
json.location entry["location"]
|
212
|
+
json.keywords entry["keywords"]
|
276
213
|
end
|
277
214
|
end
|
278
215
|
|
279
|
-
json.
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
json.remote @data.dig(:disposition, :remote)
|
285
|
-
json.relocation do
|
286
|
-
json.willing @data.dig(:disposition, :relocation, :willing)
|
287
|
-
json.destinations @data.dig(:disposition, :relocation, :destinations)
|
216
|
+
json.references @data.dig("references") do |reference|
|
217
|
+
json.name reference["name"]
|
218
|
+
json.role reference["role"]
|
219
|
+
json.company reference["company"]
|
220
|
+
json.summary reference["summary"]
|
288
221
|
end
|
289
222
|
end
|