epilotto_curriculum 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cv.yml +5 -4
- data/lib/epilotto_curriculum.rb +9 -0
- data/lib/epilotto_curriculum/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e282abd17d641fa701f3912198704275d4ac2a49
|
4
|
+
data.tar.gz: 6bf2fdb5d31d391ebe2c760da34896f4f34b1ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d39747c733863abc1006a5184cc34a133fd508392535c6d2e1ab2dbe0b5f013dfe0f1ff5d79106dbe9337e240fafa2640bb48ffd9c2ba40b99b8002997396e1
|
7
|
+
data.tar.gz: bba20e11ca329ab5e354a38598a197c66dec8f8a1f34dc56e9fd6fe3a0f9cdc983332b9d4c1ac3c32c2bb68e71c225fa3c6beb5231b9832caa46d4511abdc631
|
data/lib/cv.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
name: Enrico Pilotto
|
2
|
-
updated_at:
|
2
|
+
updated_at: 1 August 2017
|
3
|
+
about_me: http://www.rubyonrailspadova.com/
|
3
4
|
Personal Information:
|
4
5
|
Name: Enrico
|
5
6
|
Surname: Pilotto
|
@@ -8,8 +9,8 @@ Personal Information:
|
|
8
9
|
Date of birth: 21 October 1984
|
9
10
|
Sex: M
|
10
11
|
sep:
|
11
|
-
Email:
|
12
|
-
Website: http://www.
|
12
|
+
Email: enricopilotto@gmx.com (best way to contact me)
|
13
|
+
Website: http://www.rubyonrailspadova.com/
|
13
14
|
Twitter: https://twitter.com/pioz
|
14
15
|
Education:
|
15
16
|
2003: |
|
@@ -40,7 +41,7 @@ Work Experience:
|
|
40
41
|
|
41
42
|
Founder with Davide Barison, development Ruby on Rails based web solutions and graphic communication. Startup and ecommerce specialization. Developed more than 30 projects. For portfolio synthesis please visit http://www.megiston.it.
|
42
43
|
sep2:
|
43
|
-
March 2012 –
|
44
|
+
March 2012 – January 2017: |
|
44
45
|
<b>Software Engineer at Timerepublik</b>
|
45
46
|
Lugano, Switzerland and Padova, Italy
|
46
47
|
|
data/lib/epilotto_curriculum.rb
CHANGED
@@ -8,6 +8,7 @@ module EpilottoCurriculum
|
|
8
8
|
cv = YAML.load_file(yaml_file)
|
9
9
|
name = cv.delete('name')
|
10
10
|
updated_at = cv.delete('updated_at')
|
11
|
+
about_me = cv.delete('about_me')
|
11
12
|
left_column_max_width = (width * (left_column_max_width_percent/100.0)).round
|
12
13
|
max_paragraph_width = cv.values.map(&:keys).flatten.max{|x,y| x.size <=> y.size}.size
|
13
14
|
lc_w = (max_paragraph_width <= left_column_max_width ? max_paragraph_width : left_column_max_width) + 1
|
@@ -30,6 +31,7 @@ module EpilottoCurriculum
|
|
30
31
|
end
|
31
32
|
end
|
32
33
|
end
|
34
|
+
s << draw_about_me(name, about_me, width)
|
33
35
|
return s.join("\n")
|
34
36
|
end
|
35
37
|
|
@@ -88,4 +90,11 @@ module EpilottoCurriculum
|
|
88
90
|
return bold(yellow("#{'─'*2} #{s} #{'─'*lw}"))
|
89
91
|
end
|
90
92
|
|
93
|
+
def draw_about_me(name, link, width)
|
94
|
+
if link.present?
|
95
|
+
s = "ℹ️ Really more info about #{name} here: #{link}"
|
96
|
+
return "\n#{s}\n"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
91
100
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epilotto_curriculum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pioz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.6.
|
94
|
+
rubygems_version: 2.6.12
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Enrico Pilotto's curriculum vitae
|