epilotto_curriculum 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '01863d7dd7e2aa80ac725d700421e270790ab1fc'
4
- data.tar.gz: 7234a98269dc504445a3ed3da0576e2d864660f4
3
+ metadata.gz: e282abd17d641fa701f3912198704275d4ac2a49
4
+ data.tar.gz: 6bf2fdb5d31d391ebe2c760da34896f4f34b1ce2
5
5
  SHA512:
6
- metadata.gz: 396c478762cb2ba288e4638e08a06cd04b6cb4c8795029865313512ceed6cc0b3a454742b46a658dd16c168ae62a2880710d02cf3b0c753231161216209baa3b
7
- data.tar.gz: a9524dc1ebce9dd6bee0572bee465b76fed743de77d58f23ca4da3e8ff69bb2b75a54c6aeb977a7c4d92fbbedf127a80734196f97725d34f6d7e8d6a89e847d3
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 March 2017
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: enrico@megiston.it (best way to contact me)
12
- Website: http://www.pioz.it/
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 – present: |
44
+ March 2012 – January 2017: |
44
45
  <b>Software Engineer at Timerepublik</b>
45
46
  Lugano, Switzerland and Padova, Italy
46
47
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module EpilottoCurriculum
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  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.1
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-03-02 00:00:00.000000000 Z
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.8
94
+ rubygems_version: 2.6.12
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Enrico Pilotto's curriculum vitae