resme 0.3.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.org +19 -0
- data/README.org +272 -0
- data/exe/resme +2 -2
- data/lib/resme/cli/command_semantics.rb +110 -103
- data/lib/resme/cli/command_syntax.rb +252 -204
- data/lib/resme/cli/resume_structure_validator.rb +293 -0
- data/lib/resme/renderer/renderer.rb +6 -50
- data/lib/resme/templates/resume.json.erb +148 -130
- data/lib/resme/templates/resume.md.erb +36 -36
- data/lib/resme/templates/resume.org.erb +54 -51
- data/lib/resme/templates/resume.xml.erb +496 -0
- data/lib/resme/version.rb +1 -1
- data/lib/resme.rb +1 -0
- data/resme.gemspec +6 -9
- metadata +16 -43
- data/README.md +0 -192
- data/lib/resme/templates/europass/eu.xml.erb +0 -491
- data/lib/resme/templates/schema.yml +0 -494
@@ -0,0 +1,496 @@
|
|
1
|
+
<%
|
2
|
+
# provide sensible defaults, so that hash and array indexing won't fail on nil
|
3
|
+
email = (data["contacts"] || []).select { |x| x["label"] == "email" }.first || {}
|
4
|
+
phones = (data["contacts"] || []).select { |x|
|
5
|
+
["phone", "mobile", "cell"].include?(x["label"])
|
6
|
+
}
|
7
|
+
messaging = (data["contacts"] || []).select { |x|
|
8
|
+
["skype", "gtalk", "telegram", "whatsup"].include?(x["label"])
|
9
|
+
}
|
10
|
+
address = (data["addresses"] || []).select { |x| x["label"] == "home" }.first || {}
|
11
|
+
|
12
|
+
# make a period (2015, 2015-10, 2015-01-01 into the xml attributes day, month, year for a date tag
|
13
|
+
def self.period_tod period
|
14
|
+
el = period.to_s.split("-")
|
15
|
+
fields = ["year=\"%d\"", "month=\"--%02d\"", "day=\"---%02d\""]
|
16
|
+
el.each_with_index.map { |x, i| fields[i] % x.to_i }.join(" ")
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
-%>
|
21
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
22
|
+
<SkillsPassport xmlns="http://europass.cedefop.europa.eu/Europass" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://europass.cedefop.europa.eu/Europass http://europass.cedefop.europa.eu/xml/v3.3.0/EuropassSchema.xsd" locale="en">
|
23
|
+
<DocumentInfo>
|
24
|
+
<DocumentType>ECV</DocumentType>
|
25
|
+
<Bundle></Bundle>
|
26
|
+
<CreationDate><%= DateTime.now.iso8601 %></CreationDate>
|
27
|
+
<LastUpdateDate><%= DateTime.now.iso8601 %></LastUpdateDate>
|
28
|
+
<XSDVersion>V3.3</XSDVersion>
|
29
|
+
<Generator>resume.rb</Generator>
|
30
|
+
<Comment></Comment>
|
31
|
+
<Copyright>© European Communities | http://europass.cedefop.europa.eu</Copyright>
|
32
|
+
<EuropassLogo>false</EuropassLogo>
|
33
|
+
</DocumentInfo>
|
34
|
+
<!-- <PrintingPreferences> </PrintingPreferences> -->
|
35
|
+
<LearnerInfo>
|
36
|
+
<Identification>
|
37
|
+
<PersonName>
|
38
|
+
<Title>
|
39
|
+
<Code>dr</Code>
|
40
|
+
<Label><%= data["basics"]["title"] %></Label>
|
41
|
+
</Title>
|
42
|
+
<FirstName><%= data["basics"]["first_name"] %></FirstName>
|
43
|
+
<Surname><%= data["basics"]["last_name"] %></Surname>
|
44
|
+
</PersonName>
|
45
|
+
<ContactInfo>
|
46
|
+
<Address>
|
47
|
+
<Contact>
|
48
|
+
<AddressLine><%= address["street"] %></AddressLine>
|
49
|
+
<PostalCode><%= address["zip_code"] %></PostalCode>
|
50
|
+
<Municipality><%= address["city"] %></Municipality>
|
51
|
+
<Country>
|
52
|
+
<Code><%= (address["country"] || "")[0..1]&.upcase %></Code>
|
53
|
+
<Label><%= address["country"] %></Label>
|
54
|
+
</Country>
|
55
|
+
</Contact>
|
56
|
+
</Address>
|
57
|
+
<Email>
|
58
|
+
<Contact><%= email["value"] %></Contact>
|
59
|
+
</Email>
|
60
|
+
<% if phones %>
|
61
|
+
<TelephoneList>
|
62
|
+
<% phones.each do |phone| %>
|
63
|
+
<Telephone>
|
64
|
+
<Contact><%= phone["value"] %></Contact>
|
65
|
+
<Use>
|
66
|
+
<Code><%= phone["label"] %></Code>
|
67
|
+
<Label><%= phone["value"] %></Label>
|
68
|
+
</Use>
|
69
|
+
</Telephone>
|
70
|
+
<% end %>
|
71
|
+
</TelephoneList>
|
72
|
+
<% end %>
|
73
|
+
<% if data["web_presence"] && !data["web_presence"].empty? %>
|
74
|
+
<WebsiteList>
|
75
|
+
<% data["web_presence"].each do |web| %>
|
76
|
+
<Website>
|
77
|
+
<Contact><%= web["value"] %></Contact>
|
78
|
+
<Use>
|
79
|
+
<!-- <Code><%= web["label"] %></Code> -->
|
80
|
+
<Label><%= web["label"].capitalize %></Label>
|
81
|
+
</Use>
|
82
|
+
</Website>
|
83
|
+
<% end %>
|
84
|
+
</WebsiteList>
|
85
|
+
<% end %>
|
86
|
+
<% if messaging && !messaging.empty? %>
|
87
|
+
<InstantMessagingList>
|
88
|
+
<% messaging.each do |im| %>
|
89
|
+
<InstantMessaging>
|
90
|
+
<Contact><%= im["value"] %></Contact>
|
91
|
+
<Use>
|
92
|
+
<!-- <Code><%= im["label"] %></Code> -->
|
93
|
+
<Label><%= im["label"].capitalize %></Label>
|
94
|
+
</Use>
|
95
|
+
</InstantMessaging>
|
96
|
+
<% end %>
|
97
|
+
</InstantMessagingList>
|
98
|
+
<% end %>
|
99
|
+
<ContactMethodList>
|
100
|
+
<!-- other contacts not defined above -->
|
101
|
+
</ContactMethodList>
|
102
|
+
</ContactInfo>
|
103
|
+
<Demographics>
|
104
|
+
<% if data["basics"]["birthdate"] %>
|
105
|
+
<Birthdate day="---<%= "%02d" % data["basics"]["birthdate"].day %>"
|
106
|
+
month="--<%= "%02d" % data["basics"]["birthdate"].month %>"
|
107
|
+
year="<%= data["basics"]["birthdate"].year %>" />
|
108
|
+
<% end %>
|
109
|
+
<%# ["gender"] in place of .gender, so that the code does not complain about gender not being defined (being nil) %>
|
110
|
+
<% if data["basics"]["gender"] == "M" or data["basics"]["gender"] == "F" %>
|
111
|
+
<Gender>
|
112
|
+
<Code><%= data["basics"]["gender"] %></Code>
|
113
|
+
<Label><%= data["basics"]["gender"] == "M" ? "Male" : "Female" %></Label>
|
114
|
+
</Gender>
|
115
|
+
<% end %>
|
116
|
+
<NationalityList>
|
117
|
+
<Nationality>
|
118
|
+
<Label><%= data["basics"]["nationality"] %></Label>
|
119
|
+
</Nationality>
|
120
|
+
</NationalityList>
|
121
|
+
<!--
|
122
|
+
<Photo>
|
123
|
+
<MimeType>image/jpeg</MimeType>
|
124
|
+
<Data></Data>
|
125
|
+
<MetadataList>
|
126
|
+
<Metadata key="photo-dimensions" value="100x110"/>
|
127
|
+
</MetadataList>
|
128
|
+
</Photo>
|
129
|
+
<Signature>
|
130
|
+
<MimeType>image/jpeg</MimeType>
|
131
|
+
<Data></Data>
|
132
|
+
<MetadataList>
|
133
|
+
<Metadata key="signature-dimensions" value="250x150" />
|
134
|
+
</MetadataList>
|
135
|
+
</Signature>
|
136
|
+
-->
|
137
|
+
</Demographics>
|
138
|
+
</Identification>
|
139
|
+
<Headline>
|
140
|
+
<Description><Label><%= data["summary"] %></Label></Description>
|
141
|
+
</Headline>
|
142
|
+
<WorkExperienceList>
|
143
|
+
<% (data["work"] || []).each do |pos| %>
|
144
|
+
<WorkExperience>
|
145
|
+
<Period>
|
146
|
+
<From <%= self.period_tod pos["from"] %>/>
|
147
|
+
<% if pos["till"] and pos["till"] != "" %>
|
148
|
+
<To <%= self.period_tod pos["till"] %>/>
|
149
|
+
<% else %>
|
150
|
+
<Current>true</Current>
|
151
|
+
<% end %>
|
152
|
+
</Period>
|
153
|
+
<!--
|
154
|
+
<Documentation>
|
155
|
+
<ReferenceTo idref="ATT_1"/>
|
156
|
+
</Documentation>
|
157
|
+
-->
|
158
|
+
<Position>
|
159
|
+
<Label><%= pos["role"] %></Label>
|
160
|
+
</Position>
|
161
|
+
<Activities>
|
162
|
+
<%= pos["summary"] %>
|
163
|
+
</Activities>
|
164
|
+
<Employer>
|
165
|
+
<Name><%= pos["who"] ? pos["who"] : "" %></Name>
|
166
|
+
<% if pos["address"] %>
|
167
|
+
<ContactInfo>
|
168
|
+
<Address>
|
169
|
+
<Contact>
|
170
|
+
<AddressLine><%= pos["address"] %></AddressLine>
|
171
|
+
<!-- <Country>
|
172
|
+
<Code></Code>
|
173
|
+
<Label></Label>
|
174
|
+
</Country> -->
|
175
|
+
</Contact>
|
176
|
+
</Address>
|
177
|
+
<Website>
|
178
|
+
<Contact><%= pos["website"] %></Contact>
|
179
|
+
</Website>
|
180
|
+
</ContactInfo>
|
181
|
+
<!--
|
182
|
+
<Sector>
|
183
|
+
<Code></Code>
|
184
|
+
<Label></Label>
|
185
|
+
</Sector>
|
186
|
+
-->
|
187
|
+
<% end %>
|
188
|
+
</Employer>
|
189
|
+
</WorkExperience>
|
190
|
+
<% end %>
|
191
|
+
<% if data["teaching"] && !data["teaching"].empty? %>
|
192
|
+
<% data["teaching"].each do |pos| %>
|
193
|
+
<WorkExperience>
|
194
|
+
<Period>
|
195
|
+
<% if pos["from"] && pos["from"] != "" %>
|
196
|
+
<From <%= self.period_tod pos["from"] %>/>
|
197
|
+
<% end %>
|
198
|
+
<% if pos["till"] and pos["till"] != "" %>
|
199
|
+
<To <%= self.period_tod pos["till"] %>/>
|
200
|
+
<% else %>
|
201
|
+
<Current>true</Current>
|
202
|
+
<% end %>
|
203
|
+
</Period>
|
204
|
+
<!--
|
205
|
+
<nation>
|
206
|
+
<ReferenceTo idref="ATT_1"/>
|
207
|
+
</Documentation>
|
208
|
+
-->
|
209
|
+
<Position>
|
210
|
+
<Label><%= pos["role"] %></Label>
|
211
|
+
</Position>
|
212
|
+
<Activities>
|
213
|
+
<%= pos["summary"] %>
|
214
|
+
</Activities>
|
215
|
+
<Employer>
|
216
|
+
<Name><%= "#{pos['who']} #{pos['school'] ? pos['school'] : ''}" %></Name>
|
217
|
+
<% if pos["address"] %>
|
218
|
+
<ContactInfo>
|
219
|
+
<Address>
|
220
|
+
<Contact>
|
221
|
+
<AddressLine><%= pos["address"] %></AddressLine>
|
222
|
+
<!-- <Country>
|
223
|
+
<Code></Code>
|
224
|
+
<Label></Label>
|
225
|
+
</Country> -->
|
226
|
+
</Contact>
|
227
|
+
</Address>
|
228
|
+
<Website>
|
229
|
+
<Contact><%= pos["website"] %></Contact>
|
230
|
+
</Website>
|
231
|
+
</ContactInfo>
|
232
|
+
<!--
|
233
|
+
<Sector>
|
234
|
+
<Code></Code>
|
235
|
+
<Label></Label>
|
236
|
+
</Sector>
|
237
|
+
-->
|
238
|
+
<% end %>
|
239
|
+
</Employer>
|
240
|
+
</WorkExperience>
|
241
|
+
<% end %>
|
242
|
+
<% end %>
|
243
|
+
<% if data["volunteer"] && !data["volunteer"].empty? %>
|
244
|
+
<% data["volunteer"].each do |pos| %>
|
245
|
+
<WorkExperience>
|
246
|
+
<% if pos["date"] %>
|
247
|
+
<Period>
|
248
|
+
<From <%= self.period_tod pos["date"].strftime("%Y-%m-%d") %>/>
|
249
|
+
<To <%= self.period_tod pos["date"].strftime("%Y-%m-%d") %>/>
|
250
|
+
</Period>
|
251
|
+
<% elsif pos["from"] or (pos["till"] and pos["till"] != "") %>
|
252
|
+
<Period>
|
253
|
+
<% if pos["from"] %>
|
254
|
+
<From <%= self.period_tod pos["from"] %>/>
|
255
|
+
<% end %>
|
256
|
+
<% if pos["till"] and pos["till"] != "" %>
|
257
|
+
<To <%= self.period_tod pos["till"] %>/>
|
258
|
+
<% else %>
|
259
|
+
<Current>true</Current>
|
260
|
+
<% end %>
|
261
|
+
</Period>
|
262
|
+
<% end %>
|
263
|
+
<!--
|
264
|
+
<ntation>
|
265
|
+
<ReferenceTo idref="ATT_1"/>
|
266
|
+
</Documentation>
|
267
|
+
-->
|
268
|
+
<Position>
|
269
|
+
<Label><%= pos["role"] %></Label>
|
270
|
+
</Position>
|
271
|
+
<Activities>
|
272
|
+
<%= pos["summary"] %>
|
273
|
+
</Activities>
|
274
|
+
<Employer>
|
275
|
+
<Name><%= pos["who"] %></Name>
|
276
|
+
<% if pos["address"] %>
|
277
|
+
<ContactInfo>
|
278
|
+
<Address>
|
279
|
+
<Contact>
|
280
|
+
<AddressLine><%= pos["address"] %></AddressLine>
|
281
|
+
<!-- <Country>
|
282
|
+
<Code></Code>
|
283
|
+
<Label></Label>
|
284
|
+
</Country> -->
|
285
|
+
</Contact>
|
286
|
+
</Address>
|
287
|
+
<Website>
|
288
|
+
<Contact><%= pos["website"] %></Contact>
|
289
|
+
</Website>
|
290
|
+
</ContactInfo>
|
291
|
+
<!--
|
292
|
+
<Sector>
|
293
|
+
<Code></Code>
|
294
|
+
<Label></Label>
|
295
|
+
</Sector>
|
296
|
+
-->
|
297
|
+
<% end %>
|
298
|
+
</Employer>
|
299
|
+
</WorkExperience>
|
300
|
+
<% end %>
|
301
|
+
<% end %>
|
302
|
+
</WorkExperienceList>
|
303
|
+
<% if data["education"] && !data["education"].empty? %>
|
304
|
+
<EducationList>
|
305
|
+
<% data["education"].select { |x| x["publish"] }.each do |edu| %>
|
306
|
+
<Education>
|
307
|
+
<Period>
|
308
|
+
<% if edu["from"] && !edu["from"] == "" %>
|
309
|
+
<From <%= self.period_tod edu["from"] %>/>
|
310
|
+
<% end %>
|
311
|
+
<% if edu["till"] && !edu["till"] == "" %>
|
312
|
+
<To <%= self.period_tod edu["till"] %>/>
|
313
|
+
<% end %>
|
314
|
+
</Period>
|
315
|
+
<!--
|
316
|
+
<Documentation>
|
317
|
+
<ReferenceTo idref="ATT_1"/>
|
318
|
+
<ReferenceTo idref="ATT_2"/>
|
319
|
+
</Documentation>
|
320
|
+
-->
|
321
|
+
<Title><%= edu["degree"] %></Title>
|
322
|
+
<Activities></Activities>
|
323
|
+
<Organisation>
|
324
|
+
<Name><%= edu["school"] %></Name>
|
325
|
+
<ContactInfo>
|
326
|
+
<Address>
|
327
|
+
<Contact>
|
328
|
+
<AddressLine><%= edu["address"] %></AddressLine>
|
329
|
+
<!-- <Country>
|
330
|
+
<Code>US</Code>
|
331
|
+
<Label>United States</Label>
|
332
|
+
</Country>
|
333
|
+
-->
|
334
|
+
</Contact>
|
335
|
+
</Address>
|
336
|
+
</ContactInfo>
|
337
|
+
</Organisation>
|
338
|
+
</Education>
|
339
|
+
<% end %>
|
340
|
+
</EducationList>
|
341
|
+
<% end %>
|
342
|
+
<Skills>
|
343
|
+
<% if data["languages"] %>
|
344
|
+
<Linguistic>
|
345
|
+
<% if data["languages"]["mother_tongues"] && !data["languages"]["mother_tongues"].empty? %>
|
346
|
+
<MotherTongueList>
|
347
|
+
<% data["languages"]["mother_tongues"].each do |mt| %>
|
348
|
+
<MotherTongue>
|
349
|
+
<Description>
|
350
|
+
<Code><%= mt["code"] %></Code>
|
351
|
+
<Label><% mt["language"] %></Label>
|
352
|
+
</Description>
|
353
|
+
</MotherTongue>
|
354
|
+
<% end %>
|
355
|
+
</MotherTongueList>
|
356
|
+
<% end %>
|
357
|
+
<% if data["languages"]["foreign"] && !data["languages"]["foreign"].empty? %>
|
358
|
+
<ForeignLanguageList>
|
359
|
+
<% data["languages"]["foreign"].each do |language| %>
|
360
|
+
<ForeignLanguage>
|
361
|
+
<Description>
|
362
|
+
<Code><%= language["code"] %></Code>
|
363
|
+
<Label><%= language["language"] %></Label>
|
364
|
+
</Description>
|
365
|
+
<ProficiencyLevel>
|
366
|
+
<Listening>
|
367
|
+
<%= language["listening"].upcase %>
|
368
|
+
</Listening>
|
369
|
+
<Reading>
|
370
|
+
<%= language["reading"].upcase %>
|
371
|
+
</Reading>
|
372
|
+
<SpokenInteraction>
|
373
|
+
<%= language["spoken_interaction"].upcase %>
|
374
|
+
</SpokenInteraction>
|
375
|
+
<SpokenProduction>
|
376
|
+
<%= language["spoken_production"].upcase %>
|
377
|
+
</SpokenProduction>
|
378
|
+
<Writing>
|
379
|
+
<%= language["writing"].upcase %>
|
380
|
+
</Writing>
|
381
|
+
</ProficiencyLevel>
|
382
|
+
</ForeignLanguage>
|
383
|
+
<% end %>
|
384
|
+
</ForeignLanguageList>
|
385
|
+
<% end %>
|
386
|
+
</Linguistic>
|
387
|
+
<% end %>
|
388
|
+
<!--
|
389
|
+
<Communication>
|
390
|
+
<Description></Description>
|
391
|
+
<Documentation></Documentation>
|
392
|
+
</Communication>
|
393
|
+
<Organisational>
|
394
|
+
<Description></Description>
|
395
|
+
<Documentation></Documentation>
|
396
|
+
</Organisational>
|
397
|
+
<JobRelated>
|
398
|
+
<Description></Description>
|
399
|
+
<Documentation></Documentation>
|
400
|
+
</JobRelated>
|
401
|
+
<Computer>
|
402
|
+
<Description></Description>
|
403
|
+
<ProficiencyLevel></ProficiencyLevel>
|
404
|
+
<VerifiedBy>
|
405
|
+
<Certificate><Title></Title></Certificate>
|
406
|
+
</VerifiedBy>
|
407
|
+
<Documentation></Documentation>
|
408
|
+
</Computer>
|
409
|
+
-->
|
410
|
+
<% if data["driving"] && !data["driving"].empty? %>
|
411
|
+
<Driving>
|
412
|
+
<Description>
|
413
|
+
<% data["driving"].each do |license| %>
|
414
|
+
<Licence><%= license["license"] %></Licence>
|
415
|
+
<% end %>
|
416
|
+
</Description>
|
417
|
+
</Driving>
|
418
|
+
<% end %>
|
419
|
+
<Other>
|
420
|
+
<Description>
|
421
|
+
<% if data["interests"] && !data["interests"].empty? %>
|
422
|
+
<ul>
|
423
|
+
<% data["interests"] do |x| %>
|
424
|
+
<li><%= "#{x['name'] || ""}: #{x['level'] || ""}, #{x['summary'] || ""}; " %></li>
|
425
|
+
<% end %>
|
426
|
+
</ul>
|
427
|
+
<% end %>
|
428
|
+
</Description>
|
429
|
+
</Other>
|
430
|
+
</Skills>
|
431
|
+
<AchievementList>
|
432
|
+
<% if data["awards"] && !data["awards"].empty? %>
|
433
|
+
<% data["awards"].each do |award| %>
|
434
|
+
<Achievement>
|
435
|
+
<Title>
|
436
|
+
<Label><%= award["title"] %></Label>
|
437
|
+
</Title>
|
438
|
+
<Description>
|
439
|
+
<%= award["summary"] %>
|
440
|
+
(<%= award["who"] %>, <%= award["where"] %>, <%= award["date"] %>)
|
441
|
+
</Description>
|
442
|
+
</Achievement>
|
443
|
+
<% end %>
|
444
|
+
<% end %>
|
445
|
+
<% if data["achievements"] && !data["achievements"].empty? %>
|
446
|
+
<% data["achievements"].each do |achievement| %>
|
447
|
+
<Achievement>
|
448
|
+
<Title>
|
449
|
+
<Label><%= achievement["title"] %></Label>
|
450
|
+
</Title>
|
451
|
+
<Description>
|
452
|
+
<%= achievement["summary"] %>
|
453
|
+
(<%= achievement["who"] %>, <%= achievement["where"] %>, <%= achievement["date"] %>)
|
454
|
+
</Description>
|
455
|
+
</Achievement>
|
456
|
+
<% end %>
|
457
|
+
<% end %>
|
458
|
+
<% if data["projects"] && !data["projects"].empty? %>
|
459
|
+
<Achievement>
|
460
|
+
<Title>
|
461
|
+
<Code>projects</Code>
|
462
|
+
<Label>Projects</Label>
|
463
|
+
</Title>
|
464
|
+
<Description>
|
465
|
+
<ul>
|
466
|
+
<% data["projects"].each do |x| %>
|
467
|
+
</li> <%= "#{x['name']} (#{x['who']}): #{x['role']} (#{x['from']}--#{x['till']})" %> </li>
|
468
|
+
<% end %>
|
469
|
+
</ul>
|
470
|
+
</Description>
|
471
|
+
</Achievement>
|
472
|
+
<% end %>
|
473
|
+
<% if data["publications"] && !data["publications"].empty? %>
|
474
|
+
<Achievement>
|
475
|
+
<Title>
|
476
|
+
<Code>publications</Code>
|
477
|
+
<Label>Publications</Label>
|
478
|
+
</Title>
|
479
|
+
<Description>
|
480
|
+
<ul>
|
481
|
+
<% data["publications"].each do |x| %>
|
482
|
+
<li> <%= "#{x['title']}, #{x['authors']}, #{x['publisher']}, #{x['date']}" %> </li>
|
483
|
+
<% end %>
|
484
|
+
</ul>
|
485
|
+
</Description>
|
486
|
+
</Achievement>
|
487
|
+
<% end %>
|
488
|
+
</AchievementList>
|
489
|
+
<Documentation>
|
490
|
+
</Documentation>
|
491
|
+
</LearnerInfo>
|
492
|
+
<!--
|
493
|
+
<AttachmentList>
|
494
|
+
</AttachmentList>
|
495
|
+
-->
|
496
|
+
</SkillsPassport>
|
data/lib/resme/version.rb
CHANGED
data/lib/resme.rb
CHANGED
data/resme.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
require_relative
|
1
|
+
require_relative "lib/resme/version"
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "resme"
|
5
5
|
spec.version = Resme::VERSION
|
6
6
|
spec.authors = ["Adolfo Villafiorita"]
|
7
|
-
spec.email = ["adolfo
|
7
|
+
spec.email = ["adolfo@shair.tech"]
|
8
8
|
|
9
9
|
spec.summary = %q{Write a resume in YML and export to various formats, including json and europass XML.}
|
10
|
-
spec.description = %q{This gem allows you to manage your resume in
|
10
|
+
spec.description = %q{This gem allows you to manage your resume in YAML, while providing different backends for publishings. Supported backends: Org Mode, Markdown, JSON resume, and Europass XML. Custom templates can be defined using ERB.}
|
11
11
|
spec.homepage = "http://github.io/avillafiorita/resme"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = "http://github.io/avillafiorita/resme"
|
19
|
-
spec.metadata["changelog_uri"] = "http://github.io/avillafiorita/resme"
|
19
|
+
spec.metadata["changelog_uri"] = "http://github.io/avillafiorita/resme/CHANGELOG.org"
|
20
20
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -27,9 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
|
-
spec.add_development_dependency "bundler", "~> 2.
|
31
|
-
spec.add_development_dependency "rake", "~> 13.0.
|
32
|
-
|
33
|
-
spec.add_dependency "slop", "~> 4.8.1"
|
34
|
-
spec.add_dependency "kwalify", "~> 0.7.2"
|
30
|
+
spec.add_development_dependency "bundler", "~> 2.3.20"
|
31
|
+
spec.add_development_dependency "rake", "~> 13.0.6"
|
35
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adolfo Villafiorita
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,70 +16,43 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.3.20
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.3.20
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 13.0.
|
33
|
+
version: 13.0.6
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 13.0.
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 4.8.1
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 4.8.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: kwalify
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.7.2
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.7.2
|
69
|
-
description: 'This gem allows you to manage your resume in yaml, while providing different
|
70
|
-
backends for publishings. Supported backends: markdown, json resume, and Europass
|
71
|
-
XML. Custom templates can be defined using ERB.'
|
40
|
+
version: 13.0.6
|
41
|
+
description: 'This gem allows you to manage your resume in YAML, while providing different
|
42
|
+
backends for publishings. Supported backends: Org Mode, Markdown, JSON resume,
|
43
|
+
and Europass XML. Custom templates can be defined using ERB.'
|
72
44
|
email:
|
73
|
-
- adolfo
|
45
|
+
- adolfo@shair.tech
|
74
46
|
executables:
|
75
47
|
- resme
|
76
48
|
extensions: []
|
77
49
|
extra_rdoc_files: []
|
78
50
|
files:
|
79
51
|
- ".gitignore"
|
52
|
+
- CHANGELOG.org
|
80
53
|
- Gemfile
|
81
54
|
- LICENSE.txt
|
82
|
-
- README.
|
55
|
+
- README.org
|
83
56
|
- Rakefile
|
84
57
|
- bin/console
|
85
58
|
- bin/setup
|
@@ -87,8 +60,8 @@ files:
|
|
87
60
|
- lib/resme.rb
|
88
61
|
- lib/resme/cli/command_semantics.rb
|
89
62
|
- lib/resme/cli/command_syntax.rb
|
63
|
+
- lib/resme/cli/resume_structure_validator.rb
|
90
64
|
- lib/resme/renderer/renderer.rb
|
91
|
-
- lib/resme/templates/europass/eu.xml.erb
|
92
65
|
- lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd
|
93
66
|
- lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd
|
94
67
|
- lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd
|
@@ -128,8 +101,8 @@ files:
|
|
128
101
|
- lib/resme/templates/resume.json.erb
|
129
102
|
- lib/resme/templates/resume.md.erb
|
130
103
|
- lib/resme/templates/resume.org.erb
|
104
|
+
- lib/resme/templates/resume.xml.erb
|
131
105
|
- lib/resme/templates/resume.yml
|
132
|
-
- lib/resme/templates/schema.yml
|
133
106
|
- lib/resme/version.rb
|
134
107
|
- resme.gemspec
|
135
108
|
homepage: http://github.io/avillafiorita/resme
|
@@ -139,7 +112,7 @@ metadata:
|
|
139
112
|
allowed_push_host: https://rubygems.org/
|
140
113
|
homepage_uri: http://github.io/avillafiorita/resme
|
141
114
|
source_code_uri: http://github.io/avillafiorita/resme
|
142
|
-
changelog_uri: http://github.io/avillafiorita/resme
|
115
|
+
changelog_uri: http://github.io/avillafiorita/resme/CHANGELOG.org
|
143
116
|
post_install_message:
|
144
117
|
rdoc_options: []
|
145
118
|
require_paths:
|
@@ -155,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
128
|
- !ruby/object:Gem::Version
|
156
129
|
version: '0'
|
157
130
|
requirements: []
|
158
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.3.7
|
159
132
|
signing_key:
|
160
133
|
specification_version: 4
|
161
134
|
summary: Write a resume in YML and export to various formats, including json and europass
|