full_time 1.1.0 → 1.2.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/README.md +7 -16
- data/example/cv.html +18 -18
- data/example/cv.rb +24 -18
- data/example/template.html.erb +4 -4
- data/lib/full_time/certificate.rb +12 -0
- data/lib/full_time/certification.rb +10 -11
- data/lib/full_time/version.rb +1 -1
- data/lib/full_time.rb +1 -1
- metadata +2 -2
- data/lib/full_time/course.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0cdbc1dceb09ce60825f7df69fe776b8d242370505aeb0cddcabda0de8a50a
|
4
|
+
data.tar.gz: f21fda1bddeea76947e98b78f1451f7749069090cafb4ca79732f0ce669ec1de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f5cb81c1c07a0f16b94ef34f6d1bd7efee4d3b3f0e17ad1c889d5cfaa8525a828f0568d980eac8ad5f334072e2bf9d93397fafa9d095279fdad308150d1ad8
|
7
|
+
data.tar.gz: f720bf475195c2a9e32d1d439eb055257c09517d7539983d1f21913412bd82b7eee8d31cebbd34af47c05a579114207ba99c3f149ee7f493c13e7f717f3d1b2c
|
data/README.md
CHANGED
@@ -29,6 +29,8 @@ Depending on your export target you have to install the next gems:
|
|
29
29
|
Declare your CV within DSL:
|
30
30
|
|
31
31
|
```ruby
|
32
|
+
# cv.rb
|
33
|
+
|
32
34
|
FullTime.profile do
|
33
35
|
name 'Rebecca Lee'
|
34
36
|
email 'revy@blacklagoon.moe'
|
@@ -66,7 +68,7 @@ FullTime.profile do
|
|
66
68
|
end
|
67
69
|
|
68
70
|
certification do
|
69
|
-
|
71
|
+
certificate do
|
70
72
|
title 'Two Hand Shooting: Part 1'
|
71
73
|
company 'Bang! Bang! Bang!'
|
72
74
|
homepage 'https://bangbangbang.com'
|
@@ -81,9 +83,9 @@ FullTime.profile do
|
|
81
83
|
end
|
82
84
|
```
|
83
85
|
|
84
|
-
The next command converts your CV to HTML:
|
86
|
+
The next command converts your CV to HTML within custom ERB template:
|
85
87
|
|
86
|
-
$ full_time -t html
|
88
|
+
$ full_time -t html cv.rb ./example/template.html.erb > cv.html
|
87
89
|
|
88
90
|
For the more extensive example checkout `example/cv.rb`.
|
89
91
|
|
@@ -97,23 +99,12 @@ For the more extensive example checkout `example/cv.rb`.
|
|
97
99
|
* Education
|
98
100
|
* University
|
99
101
|
* Certification
|
100
|
-
*
|
102
|
+
* Certificate
|
101
103
|
```
|
102
104
|
|
103
105
|
## TODO
|
104
106
|
|
105
107
|
* Present any collection with a list in the template
|
106
|
-
* Extend "Certification" with `expire_date`, `license_number`, `url`, `authority` (like in LinkedIn) + Adjust README "High-Level Structure"
|
107
|
-
```ruby
|
108
|
-
certificate do
|
109
|
-
title 'AWS Certified Developer - Associate (DVA)'
|
110
|
-
authority 'Amazon Web Services'
|
111
|
-
expire_date 'March 2020'
|
112
|
-
license_number 'S4BBW3CKBBQQQM94'
|
113
|
-
homepage 'https://aws.amazon.com/certification/certified-developer-associate'
|
114
|
-
url 'https://www.certmetrics.com/amazon/public/badge.aspx?i=2&t=c&d=2018-03-01&ci=AWS00435488'
|
115
|
-
end
|
116
|
-
```
|
117
108
|
* Add "Intro"
|
118
109
|
```ruby
|
119
110
|
intro <<-INTRO
|
@@ -124,7 +115,7 @@ INTRO
|
|
124
115
|
```
|
125
116
|
* Add "Skills" –> "Services" (Mandrill, Pingdom, etc)
|
126
117
|
* Add the different template engines, e.g. render to `pdf`, `doc`, etc
|
127
|
-
* Add LinkedIn export
|
118
|
+
* Add LinkedIn export
|
128
119
|
* Add CI
|
129
120
|
* Add badges
|
130
121
|
|
data/example/cv.html
CHANGED
@@ -417,29 +417,29 @@
|
|
417
417
|
<div class="col-12">
|
418
418
|
<h2>Certification</h2>
|
419
419
|
|
420
|
-
<!--
|
421
|
-
<h3>AWS Certified Solutions Architect - Associate (SAA) (
|
422
|
-
<div><a href="https://www.certmetrics.com/amazon/public/badge.aspx?i=1&t=c&d=2018-04-02&ci=AWS00435488">
|
420
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
421
|
+
<h3>Amazon Web Services – AWS Certified Solutions Architect - Associate (SAA) (April 2018 – April 2020)</h3>
|
422
|
+
<div><a href="https://www.certmetrics.com/amazon/public/badge.aspx?i=1&t=c&d=2018-04-02&ci=AWS00435488">MGV91PF2BE1QQBGD</a></div>
|
423
423
|
|
424
|
-
<!--
|
425
|
-
<h3>AWS Certified Developer - Associate (DVA) (
|
426
|
-
<div><a href="https://www.certmetrics.com/amazon/public/badge.aspx?i=2&t=c&d=2018-03-01&ci=AWS00435488">
|
424
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
425
|
+
<h3>Amazon Web Services – AWS Certified Developer - Associate (DVA) (March 2018 – March 2020)</h3>
|
426
|
+
<div><a href="https://www.certmetrics.com/amazon/public/badge.aspx?i=2&t=c&d=2018-03-01&ci=AWS00435488">S4BBW3CKBBQQQM94</a></div>
|
427
427
|
|
428
|
-
<!--
|
429
|
-
<h3>Web Application Architectures
|
430
|
-
<div><a href="
|
428
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
429
|
+
<h3>Coursera – Web Application Architectures </h3>
|
430
|
+
<div><a href=""></a></div>
|
431
431
|
|
432
|
-
<!--
|
433
|
-
<h3>Algorithms: Design and Analysis, Part 1
|
434
|
-
<div><a href="
|
432
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
433
|
+
<h3>Coursera – Algorithms: Design and Analysis, Part 1 </h3>
|
434
|
+
<div><a href=""></a></div>
|
435
435
|
|
436
|
-
<!--
|
437
|
-
<h3>
|
438
|
-
<div><a href="
|
436
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
437
|
+
<h3>Coursera – Gamification </h3>
|
438
|
+
<div><a href=""></a></div>
|
439
439
|
|
440
|
-
<!--
|
441
|
-
<h3>Functional Programming Principles in Scala
|
442
|
-
<div><a href="
|
440
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
441
|
+
<h3>Coursera – Functional Programming Principles in Scala </h3>
|
442
|
+
<div><a href=""></a></div>
|
443
443
|
|
444
444
|
</div>
|
445
445
|
<div class="col-12">
|
data/example/cv.rb
CHANGED
@@ -227,40 +227,46 @@ FullTime.profile do
|
|
227
227
|
end
|
228
228
|
|
229
229
|
certification do
|
230
|
-
|
230
|
+
certificate do
|
231
231
|
title 'AWS Certified Solutions Architect - Associate (SAA)'
|
232
|
-
|
233
|
-
|
232
|
+
authority 'Amazon Web Services'
|
233
|
+
start_date 'April 2018'
|
234
|
+
end_date 'April 2020'
|
235
|
+
license_number 'MGV91PF2BE1QQBGD'
|
236
|
+
url 'https://www.certmetrics.com/amazon/public/badge.aspx?i=1&t=c&d=2018-04-02&ci=AWS00435488'
|
234
237
|
end
|
235
238
|
|
236
|
-
|
239
|
+
certificate do
|
237
240
|
title 'AWS Certified Developer - Associate (DVA)'
|
238
|
-
|
239
|
-
|
241
|
+
authority 'Amazon Web Services'
|
242
|
+
start_date 'March 2018'
|
243
|
+
end_date 'March 2020'
|
244
|
+
license_number 'S4BBW3CKBBQQQM94'
|
245
|
+
url 'https://www.certmetrics.com/amazon/public/badge.aspx?i=2&t=c&d=2018-03-01&ci=AWS00435488'
|
240
246
|
end
|
241
247
|
|
242
|
-
|
248
|
+
certificate do
|
243
249
|
title 'Web Application Architectures'
|
244
|
-
|
245
|
-
|
250
|
+
authority 'Coursera'
|
251
|
+
end_date 'May 2015'
|
246
252
|
end
|
247
253
|
|
248
|
-
|
254
|
+
certificate do
|
249
255
|
title 'Algorithms: Design and Analysis, Part 1'
|
250
|
-
|
251
|
-
|
256
|
+
authority 'Coursera'
|
257
|
+
end_date 'April 2015'
|
252
258
|
end
|
253
259
|
|
254
|
-
|
260
|
+
certificate do
|
255
261
|
title 'Gamification'
|
256
|
-
|
257
|
-
|
262
|
+
authority 'Coursera'
|
263
|
+
end_date 'April 2014'
|
258
264
|
end
|
259
265
|
|
260
|
-
|
266
|
+
certificate do
|
261
267
|
title 'Functional Programming Principles in Scala'
|
262
|
-
|
263
|
-
|
268
|
+
authority 'Coursera'
|
269
|
+
end_date 'December 2013'
|
264
270
|
end
|
265
271
|
end
|
266
272
|
|
data/example/template.html.erb
CHANGED
@@ -70,10 +70,10 @@
|
|
70
70
|
</div>
|
71
71
|
<div class="col-12">
|
72
72
|
<h2>Certification</h2>
|
73
|
-
<% certification.
|
74
|
-
<!--
|
75
|
-
<h3><%=
|
76
|
-
<div><a href="<%=
|
73
|
+
<% certification.certificates.each do |certificate| %>
|
74
|
+
<!-- certificates should be presented as a list (<ul>) -->
|
75
|
+
<h3><%= certificate.authority %> – <%= certificate.title %> <% if certificate.start_date && certificate.end_date %>(<%= certificate.start_date %> – <%= certificate.end_date %>)<% end %></h3>
|
76
|
+
<div><a href="<%= certificate.url %>"><%= certificate.license_number %></a></div>
|
77
77
|
<% end %>
|
78
78
|
</div>
|
79
79
|
<div class="col-12">
|
@@ -1,27 +1,26 @@
|
|
1
1
|
module FullTime
|
2
2
|
class Certification
|
3
|
-
attr_accessor :
|
3
|
+
attr_accessor :certificates
|
4
4
|
|
5
5
|
def initialize
|
6
|
-
@
|
6
|
+
@certificates = List.new
|
7
7
|
end
|
8
8
|
|
9
|
-
def
|
9
|
+
def certificates(&block)
|
10
10
|
if block_given?
|
11
|
-
@
|
11
|
+
@certificates.instance_eval(&block)
|
12
12
|
end
|
13
13
|
|
14
|
-
@
|
14
|
+
@certificates
|
15
15
|
end
|
16
16
|
|
17
|
-
def
|
17
|
+
def certificate(&block)
|
18
18
|
if block_given?
|
19
|
-
|
20
|
-
|
21
|
-
@
|
22
|
-
|
19
|
+
certificate = Certificate.new
|
20
|
+
certificate.instance_eval(&block)
|
21
|
+
@certificates << certificate
|
22
|
+
certificate
|
23
23
|
end
|
24
24
|
end
|
25
|
-
# alias :course, :certification
|
26
25
|
end
|
27
26
|
end
|
data/lib/full_time/version.rb
CHANGED
data/lib/full_time.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: full_time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Babichev
|
@@ -66,9 +66,9 @@ files:
|
|
66
66
|
- example/template.html.erb
|
67
67
|
- exe/full_time
|
68
68
|
- lib/full_time.rb
|
69
|
+
- lib/full_time/certificate.rb
|
69
70
|
- lib/full_time/certification.rb
|
70
71
|
- lib/full_time/company.rb
|
71
|
-
- lib/full_time/course.rb
|
72
72
|
- lib/full_time/dsl.rb
|
73
73
|
- lib/full_time/education.rb
|
74
74
|
- lib/full_time/employment.rb
|