resme 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,13 @@
1
1
  <%
2
- email = (data["contacts"] || []).select { |x| x.label == "email" }.first
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 || {}
3
4
  phones = (data["contacts"] || []).select { |x|
4
- ["phone", "mobile", "cell"].include?(x.label)
5
+ ["phone", "mobile", "cell"].include?(x["label"])
5
6
  }
6
7
  messaging = (data["contacts"] || []).select { |x|
7
- ["skype", "gtalk", "telegram", "whatsup"].include?(x.label)
8
+ ["skype", "gtalk", "telegram", "whatsup"].include?(x["label"])
8
9
  }
9
- address = (data["addresses"] || []).select { |x| x.label == "home" }.first || {}
10
+ address = (data["addresses"] || []).select { |x| x["label"] == "home" }.first || {}
10
11
 
11
12
  # make a period (2015, 2015-10, 2015-01-01 into the xml attributes day, month, year for a date tag
12
13
  def self.period_tod period
@@ -36,60 +37,60 @@ end
36
37
  <PersonName>
37
38
  <Title>
38
39
  <Code>dr</Code>
39
- <Label><%= data.basics&.title %></Label>
40
+ <Label><%= data["basics"]["title"] %></Label>
40
41
  </Title>
41
- <FirstName><%= data.basics.first_name %></FirstName>
42
- <Surname><%= data.basics.last_name %></Surname>
42
+ <FirstName><%= data["basics"]["first_name"] %></FirstName>
43
+ <Surname><%= data["basics"]["last_name"] %></Surname>
43
44
  </PersonName>
44
45
  <ContactInfo>
45
46
  <Address>
46
47
  <Contact>
47
- <AddressLine><%= address.street %></AddressLine>
48
- <PostalCode><%= address.zip_code %></PostalCode>
49
- <Municipality><%= address.city %></Municipality>
48
+ <AddressLine><%= address["street"] %></AddressLine>
49
+ <PostalCode><%= address["zip_code"] %></PostalCode>
50
+ <Municipality><%= address["city"] %></Municipality>
50
51
  <Country>
51
- <Code><%= address.country[0..1]&.upcase %></Code>
52
- <Label><%= address.country %></Label>
52
+ <Code><%= (address["country"] || "")[0..1]&.upcase %></Code>
53
+ <Label><%= address["country"] %></Label>
53
54
  </Country>
54
55
  </Contact>
55
56
  </Address>
56
57
  <Email>
57
- <Contact><%= email&.value %></Contact>
58
+ <Contact><%= email["value"] %></Contact>
58
59
  </Email>
59
60
  <% if phones %>
60
61
  <TelephoneList>
61
62
  <% phones.each do |phone| %>
62
63
  <Telephone>
63
- <Contact><%= phone.value %></Contact>
64
+ <Contact><%= phone["value"] %></Contact>
64
65
  <Use>
65
- <Code><%= phone.label %></Code>
66
- <Label><%= phone.value %></Label>
66
+ <Code><%= phone["label"] %></Code>
67
+ <Label><%= phone["value"] %></Label>
67
68
  </Use>
68
69
  </Telephone>
69
70
  <% end %>
70
71
  </TelephoneList>
71
72
  <% end %>
72
- <% if data.web_presence and not data.web_presence.empty? %>
73
+ <% if data["web_presence"] && !data["web_presence"].empty? %>
73
74
  <WebsiteList>
74
- <% data.web_presence.each do |web| %>
75
+ <% data["web_presence"].each do |web| %>
75
76
  <Website>
76
- <Contact><%= web.value %></Contact>
77
+ <Contact><%= web["value"] %></Contact>
77
78
  <Use>
78
- <!-- <Code><%= web.label %></Code> -->
79
- <Label><%= web.label.capitalize %></Label>
79
+ <!-- <Code><%= web["label"] %></Code> -->
80
+ <Label><%= web["label"].capitalize %></Label>
80
81
  </Use>
81
82
  </Website>
82
83
  <% end %>
83
84
  </WebsiteList>
84
85
  <% end %>
85
- <% if messaging and not messaging.empty? %>
86
+ <% if messaging && !messaging.empty? %>
86
87
  <InstantMessagingList>
87
88
  <% messaging.each do |im| %>
88
89
  <InstantMessaging>
89
- <Contact><%= im.value %></Contact>
90
+ <Contact><%= im["value"] %></Contact>
90
91
  <Use>
91
- <!-- <Code><%= im.label %></Code> -->
92
- <Label><%= im.label.capitalize %></Label>
92
+ <!-- <Code><%= im["label"] %></Code> -->
93
+ <Label><%= im["label"].capitalize %></Label>
93
94
  </Use>
94
95
  </InstantMessaging>
95
96
  <% end %>
@@ -100,21 +101,21 @@ end
100
101
  </ContactMethodList>
101
102
  </ContactInfo>
102
103
  <Demographics>
103
- <% if data.basics.birthdate %>
104
- <Birthdate day="---<%= "%02d" % data.basics.birthdate.day %>"
105
- month="--<%= "%02d" % data.basics.birthdate.month %>"
106
- year="<%= data.basics.birthdate.year %>" />
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 %>" />
107
108
  <% end %>
108
109
  <%# ["gender"] in place of .gender, so that the code does not complain about gender not being defined (being nil) %>
109
- <% if data.basics["gender"] == "M" or data.basics["gender"] == "F" %>
110
+ <% if data["basics"]["gender"] == "M" or data["basics"]["gender"] == "F" %>
110
111
  <Gender>
111
- <Code><%= data.basics.gender %></Code>
112
- <Label><%= data.basics.gender == "M" ? "Male" : "Female" %></Label>
112
+ <Code><%= data["basics"]["gender"] %></Code>
113
+ <Label><%= data["basics"]["gender"] == "M" ? "Male" : "Female" %></Label>
113
114
  </Gender>
114
115
  <% end %>
115
116
  <NationalityList>
116
117
  <Nationality>
117
- <Label><%= data.basics&.nationality %></Label>
118
+ <Label><%= data["basics"]["nationality"] %></Label>
118
119
  </Nationality>
119
120
  </NationalityList>
120
121
  <!--
@@ -142,9 +143,9 @@ end
142
143
  <% (data["work"] || []).each do |pos| %>
143
144
  <WorkExperience>
144
145
  <Period>
145
- <From <%= self.period_tod pos.from %>/>
146
- <% if pos.till and pos.till != "" %>
147
- <To <%= self.period_tod pos.till %>/>
146
+ <From <%= self.period_tod pos["from"] %>/>
147
+ <% if pos["till"] and pos["till"] != "" %>
148
+ <To <%= self.period_tod pos["till"] %>/>
148
149
  <% else %>
149
150
  <Current>true</Current>
150
151
  <% end %>
@@ -155,18 +156,18 @@ end
155
156
  </Documentation>
156
157
  -->
157
158
  <Position>
158
- <Label><%= pos.role %></Label>
159
+ <Label><%= pos["role"] %></Label>
159
160
  </Position>
160
161
  <Activities>
161
- <%= pos.summary %>
162
+ <%= pos["summary"] %>
162
163
  </Activities>
163
164
  <Employer>
164
- <Name><%= pos["who"] ? pos.who : "" %></Name>
165
+ <Name><%= pos["who"] ? pos["who"] : "" %></Name>
165
166
  <% if pos["address"] %>
166
167
  <ContactInfo>
167
168
  <Address>
168
169
  <Contact>
169
- <AddressLine><%= pos.address %></AddressLine>
170
+ <AddressLine><%= pos["address"] %></AddressLine>
170
171
  <!-- <Country>
171
172
  <Code></Code>
172
173
  <Label></Label>
@@ -174,7 +175,7 @@ end
174
175
  </Contact>
175
176
  </Address>
176
177
  <Website>
177
- <Contact><%= pos.website %></Contact>
178
+ <Contact><%= pos["website"] %></Contact>
178
179
  </Website>
179
180
  </ContactInfo>
180
181
  <!--
@@ -187,15 +188,15 @@ end
187
188
  </Employer>
188
189
  </WorkExperience>
189
190
  <% end %>
190
- <% if data["teaching"] and not data.teaching.empty? %>
191
- <% data.teaching.each do |pos| %>
191
+ <% if data["teaching"] && !data["teaching"].empty? %>
192
+ <% data["teaching"].each do |pos| %>
192
193
  <WorkExperience>
193
194
  <Period>
194
- <% if pos.from and pos.from != "" %>
195
- <From <%= self.period_tod pos.from %>/>
195
+ <% if pos["from"] && pos["from"] != "" %>
196
+ <From <%= self.period_tod pos["from"] %>/>
196
197
  <% end %>
197
- <% if pos.till and pos.till != "" %>
198
- <To <%= self.period_tod pos.till %>/>
198
+ <% if pos["till"] and pos["till"] != "" %>
199
+ <To <%= self.period_tod pos["till"] %>/>
199
200
  <% else %>
200
201
  <Current>true</Current>
201
202
  <% end %>
@@ -206,18 +207,18 @@ end
206
207
  </Documentation>
207
208
  -->
208
209
  <Position>
209
- <Label><%= pos.role %></Label>
210
+ <Label><%= pos["role"] %></Label>
210
211
  </Position>
211
212
  <Activities>
212
- <%= pos.summary %>
213
+ <%= pos["summary"] %>
213
214
  </Activities>
214
215
  <Employer>
215
- <Name><%= "#{pos.who} #{pos['school'] ? pos.school : ''}" %></Name>
216
+ <Name><%= "#{pos['who']} #{pos['school'] ? pos['school'] : ''}" %></Name>
216
217
  <% if pos["address"] %>
217
218
  <ContactInfo>
218
219
  <Address>
219
220
  <Contact>
220
- <AddressLine><%= pos.address %></AddressLine>
221
+ <AddressLine><%= pos["address"] %></AddressLine>
221
222
  <!-- <Country>
222
223
  <Code></Code>
223
224
  <Label></Label>
@@ -239,21 +240,21 @@ end
239
240
  </WorkExperience>
240
241
  <% end %>
241
242
  <% end %>
242
- <% if data["volunteer"] and not data.volunteer.empty? %>
243
- <% data.volunteer.each do |pos| %>
243
+ <% if data["volunteer"] && !data["volunteer"].empty? %>
244
+ <% data["volunteer"].each do |pos| %>
244
245
  <WorkExperience>
245
246
  <% if pos["date"] %>
246
247
  <Period>
247
- <From <%= self.period_tod pos.date.strftime("%Y-%m-%d") %>/>
248
- <To <%= self.period_tod pos.date.strftime("%Y-%m-%d") %>/>
248
+ <From <%= self.period_tod pos["date"].strftime("%Y-%m-%d") %>/>
249
+ <To <%= self.period_tod pos["date"].strftime("%Y-%m-%d") %>/>
249
250
  </Period>
250
- <% elsif pos.from or (pos.till and pos.till != "") %>
251
+ <% elsif pos["from"] or (pos["till"] and pos["till"] != "") %>
251
252
  <Period>
252
- <% if pos.from %>
253
- <From <%= self.period_tod pos.from %>/>
253
+ <% if pos["from"] %>
254
+ <From <%= self.period_tod pos["from"] %>/>
254
255
  <% end %>
255
- <% if pos.till and pos.till != "" %>
256
- <To <%= self.period_tod pos.till %>/>
256
+ <% if pos["till"] and pos["till"] != "" %>
257
+ <To <%= self.period_tod pos["till"] %>/>
257
258
  <% else %>
258
259
  <Current>true</Current>
259
260
  <% end %>
@@ -265,18 +266,18 @@ end
265
266
  </Documentation>
266
267
  -->
267
268
  <Position>
268
- <Label><%= pos.role %></Label>
269
+ <Label><%= pos["role"] %></Label>
269
270
  </Position>
270
271
  <Activities>
271
- <%= pos.summary %>
272
+ <%= pos["summary"] %>
272
273
  </Activities>
273
274
  <Employer>
274
- <Name><%= pos.who %></Name>
275
+ <Name><%= pos["who"] %></Name>
275
276
  <% if pos["address"] %>
276
277
  <ContactInfo>
277
278
  <Address>
278
279
  <Contact>
279
- <AddressLine><%= pos.address %></AddressLine>
280
+ <AddressLine><%= pos["address"] %></AddressLine>
280
281
  <!-- <Country>
281
282
  <Code></Code>
282
283
  <Label></Label>
@@ -299,16 +300,16 @@ end
299
300
  <% end %>
300
301
  <% end %>
301
302
  </WorkExperienceList>
302
- <% if data["education"] and not data.education.empty? %>
303
+ <% if data["education"] && !data["education"].empty? %>
303
304
  <EducationList>
304
- <% data.education.select { |x| x.publish }.each do |edu| %>
305
+ <% data["education"].select { |x| x["publish"] }.each do |edu| %>
305
306
  <Education>
306
307
  <Period>
307
- <% if edu.from and not edu.from == "" %>
308
- <From <%= self.period_tod edu.from %>/>
308
+ <% if edu["from"] && !edu["from"] == "" %>
309
+ <From <%= self.period_tod edu["from"] %>/>
309
310
  <% end %>
310
- <% if edu.till and not edu.till == "" %>
311
- <To <%= self.period_tod edu.till %>/>
311
+ <% if edu["till"] && !edu["till"] == "" %>
312
+ <To <%= self.period_tod edu["till"] %>/>
312
313
  <% end %>
313
314
  </Period>
314
315
  <!--
@@ -317,14 +318,14 @@ end
317
318
  <ReferenceTo idref="ATT_2"/>
318
319
  </Documentation>
319
320
  -->
320
- <Title><%= edu.degree %></Title>
321
+ <Title><%= edu["degree"] %></Title>
321
322
  <Activities></Activities>
322
323
  <Organisation>
323
324
  <Name><%= edu["school"] %></Name>
324
325
  <ContactInfo>
325
326
  <Address>
326
327
  <Contact>
327
- <AddressLine><%= edu.address %></AddressLine>
328
+ <AddressLine><%= edu["address"] %></AddressLine>
328
329
  <!-- <Country>
329
330
  <Code>US</Code>
330
331
  <Label>United States</Label>
@@ -341,41 +342,41 @@ end
341
342
  <Skills>
342
343
  <% if data["languages"] %>
343
344
  <Linguistic>
344
- <% if data.languages.mother_tongues and not data.languages.mother_tongues.empty? %>
345
+ <% if data["languages"]["mother_tongues"] && !data["languages"]["mother_tongues"].empty? %>
345
346
  <MotherTongueList>
346
- <% data.languages.mother_tongues.each do |mt| %>
347
+ <% data["languages"]["mother_tongues"].each do |mt| %>
347
348
  <MotherTongue>
348
349
  <Description>
349
- <Code><%= mt.code %></Code>
350
- <Label><% mt.language %></Label>
350
+ <Code><%= mt["code"] %></Code>
351
+ <Label><% mt["language"] %></Label>
351
352
  </Description>
352
353
  </MotherTongue>
353
354
  <% end %>
354
355
  </MotherTongueList>
355
356
  <% end %>
356
- <% if data.languages.foreign and not data.languages.foreign.empty? %>
357
+ <% if data["languages"]["foreign"] && !data["languages"]["foreign"].empty? %>
357
358
  <ForeignLanguageList>
358
- <% data.languages.foreign.each do |language| %>
359
+ <% data["languages"]["foreign"].each do |language| %>
359
360
  <ForeignLanguage>
360
361
  <Description>
361
- <Code><%= language.code %></Code>
362
- <Label><%= language.language %></Label>
362
+ <Code><%= language["code"] %></Code>
363
+ <Label><%= language["language"] %></Label>
363
364
  </Description>
364
365
  <ProficiencyLevel>
365
366
  <Listening>
366
- <%= language.listening.upcase %>
367
+ <%= language["listening"].upcase %>
367
368
  </Listening>
368
369
  <Reading>
369
- <%= language.reading.upcase %>
370
+ <%= language["reading"].upcase %>
370
371
  </Reading>
371
372
  <SpokenInteraction>
372
- <%= language.spoken_interaction.upcase %>
373
+ <%= language["spoken_interaction"].upcase %>
373
374
  </SpokenInteraction>
374
375
  <SpokenProduction>
375
- <%= language.spoken_production.upcase %>
376
+ <%= language["spoken_production"].upcase %>
376
377
  </SpokenProduction>
377
378
  <Writing>
378
- <%= language.writing.upcase %>
379
+ <%= language["writing"].upcase %>
379
380
  </Writing>
380
381
  </ProficiencyLevel>
381
382
  </ForeignLanguage>
@@ -406,21 +407,21 @@ end
406
407
  <Documentation></Documentation>
407
408
  </Computer>
408
409
  -->
409
- <% if data["driving"] and not data.driving.empty? %>
410
+ <% if data["driving"] && !data["driving"].empty? %>
410
411
  <Driving>
411
412
  <Description>
412
- <% data.driving.each do |license| %>
413
- <Licence><%= license.license %></Licence>
413
+ <% data["driving"].each do |license| %>
414
+ <Licence><%= license["license"] %></Licence>
414
415
  <% end %>
415
416
  </Description>
416
417
  </Driving>
417
418
  <% end %>
418
419
  <Other>
419
420
  <Description>
420
- <% if data["interests"] and not data.interests.empty? %>
421
+ <% if data["interests"] && !data["interests"].empty? %>
421
422
  &lt;ul&gt;
422
- <% data.interests do |x| %>
423
- &lt;li&gt;<%= "#{x.name || ""}: #{x.level || ""}, #{x.summary || ""}; " %>&lt;/li&gt;
423
+ <% data["interests"] do |x| %>
424
+ &lt;li&gt;<%= "#{x['name'] || ""}: #{x['level'] || ""}, #{x['summary'] || ""}; " %>&lt;/li&gt;
424
425
  <% end %>
425
426
  &lt;/ul&gt;
426
427
  <% end %>
@@ -428,33 +429,33 @@ end
428
429
  </Other>
429
430
  </Skills>
430
431
  <AchievementList>
431
- <% if data["awards"] and not data.awards.empty? %>
432
- <% data.awards.each do |award| %>
432
+ <% if data["awards"] && !data["awards"].empty? %>
433
+ <% data["awards"].each do |award| %>
433
434
  <Achievement>
434
435
  <Title>
435
- <Label><%= award.title %></Label>
436
+ <Label><%= award["title"] %></Label>
436
437
  </Title>
437
438
  <Description>
438
- <%= award.summary %>
439
- (<%= achievement.who %>, <%= achievement.where %>, <%= achievement.date %>)
439
+ <%= award["summary"] %>
440
+ (<%= award["who"] %>, <%= award["where"] %>, <%= award["date"] %>)
440
441
  </Description>
441
442
  </Achievement>
442
443
  <% end %>
443
444
  <% end %>
444
- <% if data["achievements"] and not data.achievements.empty? %>
445
- <% data.achievements.each do |achievement| %>
445
+ <% if data["achievements"] && !data["achievements"].empty? %>
446
+ <% data["achievements"].each do |achievement| %>
446
447
  <Achievement>
447
448
  <Title>
448
- <Label><%= achievement.title %></Label>
449
+ <Label><%= achievement["title"] %></Label>
449
450
  </Title>
450
451
  <Description>
451
- <%= achievement.summary %>
452
- (<%= achievement.who %>, <%= achievement.where %>, <%= achievement.date %>)
452
+ <%= achievement["summary"] %>
453
+ (<%= achievement["who"] %>, <%= achievement["where"] %>, <%= achievement["date"] %>)
453
454
  </Description>
454
455
  </Achievement>
455
456
  <% end %>
456
457
  <% end %>
457
- <% if data["projects"] and not data.projects.empty? %>
458
+ <% if data["projects"] && !data["projects"].empty? %>
458
459
  <Achievement>
459
460
  <Title>
460
461
  <Code>projects</Code>
@@ -462,14 +463,14 @@ end
462
463
  </Title>
463
464
  <Description>
464
465
  &lt;ul&gt;
465
- <% data.projects.each do |x| %>
466
- &lt;/li&gt; <%= "#{x.name} (#{x.who}): #{x.role} (#{x.from}--#{x.till})" %> &lt;/li&gt;
466
+ <% data["projects"].each do |x| %>
467
+ &lt;/li&gt; <%= "#{x['name']} (#{x['who']}): #{x['role']} (#{x['from']}--#{x['till']})" %> &lt;/li&gt;
467
468
  <% end %>
468
469
  &lt;/ul&gt;
469
470
  </Description>
470
471
  </Achievement>
471
472
  <% end %>
472
- <% if data["publications"] and not data.publications.empty? %>
473
+ <% if data["publications"] && !data["publications"].empty? %>
473
474
  <Achievement>
474
475
  <Title>
475
476
  <Code>publications</Code>
@@ -477,8 +478,8 @@ end
477
478
  </Title>
478
479
  <Description>
479
480
  &lt;ul&gt;
480
- <% data.publications.each do |x| %>
481
- &lt;li&gt; <%= "#{x.title}, #{x.authors}, #{x.publisher}, #{x.date}" %> &lt;/li&gt;
481
+ <% data["publications"].each do |x| %>
482
+ &lt;li&gt; <%= "#{x['title']}, #{x['authors']}, #{x['publisher']}, #{x['date']}" %> &lt;/li&gt;
482
483
  <% end %>
483
484
  &lt;/ul&gt;
484
485
  </Description>
data/lib/resme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Resme
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/resme.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "resme/version"
2
2
  require "resme/renderer/renderer"
3
+ require "resme/cli/resume_structure_validator"
3
4
  require "resme/cli/command_syntax"
4
5
  require "resme/cli/command_semantics"
data/resme.gemspec CHANGED
@@ -4,10 +4,10 @@ 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.villafiorita@ict4g.net"]
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 yaml, while providing different backends for publishings. Supported backends: Org Mode, Markdown, JSON resume, and Europass XML. Custom templates can be defined using ERB.}
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,8 +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.1.4"
31
- spec.add_development_dependency "rake", "~> 13.0.1"
32
-
33
- 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"
34
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.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: 2022-08-17 00:00:00.000000000 Z
11
+ date: 2022-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,53 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.4
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.1.4
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.1
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.1
41
- - !ruby/object:Gem::Dependency
42
- name: kwalify
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 0.7.2
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 0.7.2
55
- description: 'This gem allows you to manage your resume in yaml, while providing different
40
+ version: 13.0.6
41
+ description: 'This gem allows you to manage your resume in YAML, while providing different
56
42
  backends for publishings. Supported backends: Org Mode, Markdown, JSON resume,
57
43
  and Europass XML. Custom templates can be defined using ERB.'
58
44
  email:
59
- - adolfo.villafiorita@ict4g.net
45
+ - adolfo@shair.tech
60
46
  executables:
61
47
  - resme
62
48
  extensions: []
63
49
  extra_rdoc_files: []
64
50
  files:
65
51
  - ".gitignore"
52
+ - CHANGELOG.org
66
53
  - Gemfile
67
54
  - LICENSE.txt
68
55
  - README.org
@@ -73,6 +60,7 @@ files:
73
60
  - lib/resme.rb
74
61
  - lib/resme/cli/command_semantics.rb
75
62
  - lib/resme/cli/command_syntax.rb
63
+ - lib/resme/cli/resume_structure_validator.rb
76
64
  - lib/resme/renderer/renderer.rb
77
65
  - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd
78
66
  - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd
@@ -115,7 +103,6 @@ files:
115
103
  - lib/resme/templates/resume.org.erb
116
104
  - lib/resme/templates/resume.xml.erb
117
105
  - lib/resme/templates/resume.yml
118
- - lib/resme/templates/schema.yml
119
106
  - lib/resme/version.rb
120
107
  - resme.gemspec
121
108
  homepage: http://github.io/avillafiorita/resme
@@ -125,7 +112,7 @@ metadata:
125
112
  allowed_push_host: https://rubygems.org/
126
113
  homepage_uri: http://github.io/avillafiorita/resme
127
114
  source_code_uri: http://github.io/avillafiorita/resme
128
- changelog_uri: http://github.io/avillafiorita/resme
115
+ changelog_uri: http://github.io/avillafiorita/resme/CHANGELOG.org
129
116
  post_install_message:
130
117
  rdoc_options: []
131
118
  require_paths: