resume_exporter 0.0.1

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