latex_curriculum_vitae 1.1.0 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c785bbed6b050c5497bdda979c2c3b8f218373c1
4
- data.tar.gz: d98f6ea8c5b070520a86aa1e52c62fe3e9dce23d
3
+ metadata.gz: 4cf61f61f30a932c1f25a1d3d86cbd8f1c5e216c
4
+ data.tar.gz: 0d3e1ddb7393ee08f6a87e999343c1641d39864b
5
5
  SHA512:
6
- metadata.gz: 7f5c82b664d380f524aa10a78255a84f64ccfb7336963c15a9b6c12965b344fa98f0d3f06946204d8edf1829f90a31c3f2600e7eba2fc6be82416d36b09b7f30
7
- data.tar.gz: e7f61702d7b1a44d4b586a8f23cb270a051031c69eaa037fbb9579a8dfb04432f6478d19ea4d5d7fe4da42416210e9a96523d1c5a5fca9f75c509cbcf0a48795
6
+ metadata.gz: c9feed83103431d9b3861f0c7a499b140e2886bbb9e1fcb5581bd494b9141cd2c10fc7c38b4d46ebf4132b9326d63975e7978fae30e6e737d4fe895d7e76ca53
7
+ data.tar.gz: eaec0458071d866b1097c31dd951700b9f3f8e9d997c905e9447f0ca198b45912ce5286476031bd2d92f9e1e35a4e9c628d321d472a3c4fe4bd3740d6b61e822
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ��;GK�2�� ~1�!�S�\�}5���M�}�%*��եS��.��V�k.���;j?�2�Z\�Ih(�K]E
1
+ j��nx�S�p�CkQjr�����w3zC�eS���d}���t�G�G�˓�������V�+Q����=�w4(��ω��K0H1kϭA\���z�U�ְ���ȕ�tS�9G
2
+ )��6*� j�@N�rn��+����N�g�m����T�����$a�_'�J��֫=ܑ�<A�Ͷ���$�">Z���/췅-�Ї���6U�H|�5x����bu��~�������f
data/.index CHANGED
@@ -72,9 +72,9 @@ customs: []
72
72
  paths:
73
73
  lib:
74
74
  - lib
75
- version: 1.1.0
75
+ version: 1.1.3
76
76
  name: latex_curriculum_vitae
77
77
  title: Latex_curriculum_vitae
78
78
  summary: A program for creating an application
79
79
  description: It supports creating a application by rendering with LaTEX.
80
- date: '2015-10-20'
80
+ date: '2016-02-08'
data/Gemfile CHANGED
@@ -19,22 +19,22 @@ gem "hoe-git", "~>1.6", :group => [:development, :test]
19
19
  gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
20
20
  gem "hoe-manns", "~>1.4.2", :group => [:development, :test]
21
21
  gem "hoe-reek", "~>1.0", :group => [:development, :test]
22
- gem "hoe-rubocop", "~>0.1", :group => [:development, :test]
22
+ gem "hoe-rubocop", "~>1.0", :group => [:development, :test]
23
23
  gem "hoe-travis", "~>1.2", :group => [:development, :test]
24
24
  gem "hoe-version", "~>1.2", :group => [:development, :test]
25
25
  gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
26
- gem "hoe-packaging", "~>1.1.0", :group => [:development, :test]
26
+ gem "hoe-packaging", "~>1.1", :group => [:development, :test]
27
27
  gem "hoe", "~>3.14", :group => [:development, :test]
28
28
  gem "ZenTest", "~>4.11", :group => [:development, :test]
29
- gem "rake", "~>10.0", :group => [:development, :test]
29
+ gem "rake", "~>10.5", :group => [:development, :test]
30
30
  gem "simplecov", "~>0.7", :group => [:development, :test]
31
31
  gem "gem-release", "~>0.7", :group => [:development, :test]
32
32
  gem "indexer", "~>0.3", :group => [:development, :test]
33
33
  gem "reek", "~>3.3", :group => [:development, :test]
34
34
  gem "rainbow", "~>2.0", :group => [:development, :test]
35
- gem "bundler", "~>1.10", :group => [:development, :test]
35
+ gem "bundler", "~>1.11", :group => [:development, :test]
36
36
  gem "parseconfig", "~>1.0", :group => [:development, :test]
37
- gem "minitest", "~>5.8.1", :group => [:development, :test]
37
+ gem "minitest", "~>5.8", :group => [:development, :test]
38
38
  gem "rspec", "~>3.3", :group => [:development, :test]
39
39
  gem "rubocop", "~>0.34", :group => [:development, :test]
40
40
  gem "bundler-audit", "~>0.4.0", :group => [:development, :test]
data/Gemfile.lock CHANGED
@@ -2,42 +2,42 @@ GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
4
  CFPropertyList (2.2.8)
5
- RubyInline (3.12.4)
6
- ZenTest (~> 4.3)
7
5
  ZenTest (4.11.0)
8
- abstract_type (0.0.7)
9
- adamantium (0.2.0)
10
- ice_nine (~> 0.11.0)
11
- memoizable (~> 0.4.0)
12
- addressable (2.3.8)
6
+ addressable (2.4.0)
13
7
  arr-pm (0.0.10)
14
8
  cabin (> 0)
15
- ast (2.1.0)
16
- astrolabe (1.3.1)
17
- parser (~> 2.2)
18
- backports (3.6.6)
9
+ ast (2.2.0)
10
+ axiom-types (0.1.1)
11
+ descendants_tracker (~> 0.0.4)
12
+ ice_nine (~> 0.11.0)
13
+ thread_safe (~> 0.3, >= 0.3.1)
14
+ backports (3.6.7)
19
15
  bundler-audit (0.4.0)
20
16
  bundler (~> 1.2)
21
17
  thor (~> 0.18)
22
- cabin (0.7.1)
23
- childprocess (0.5.6)
18
+ cabin (0.8.1)
19
+ childprocess (0.5.9)
24
20
  ffi (~> 1.0, >= 1.0.11)
25
21
  clamp (0.6.5)
26
- concord (0.1.5)
27
- adamantium (~> 0.2.0)
28
- equalizer (~> 0.0.9)
29
- coveralls (0.8.3)
22
+ codeclimate-engine-rb (0.3.1)
23
+ virtus (~> 1.0)
24
+ coercible (1.0.0)
25
+ descendants_tracker (~> 0.0.1)
26
+ coveralls (0.8.10)
30
27
  json (~> 1.8)
31
28
  rest-client (>= 1.6.8, < 2)
32
- simplecov (~> 0.10.0)
29
+ simplecov (~> 0.11.0)
33
30
  term-ansicolor (~> 1.3)
34
31
  thor (~> 0.19.1)
32
+ tins (~> 1.6.0)
33
+ descendants_tracker (0.0.4)
34
+ thread_safe (~> 0.3, >= 0.3.1)
35
35
  diff-lcs (1.2.5)
36
36
  docile (1.1.5)
37
- domain_name (0.5.25)
37
+ domain_name (0.5.20160128)
38
38
  unf (>= 0.0.5, < 1.0.0)
39
39
  equalizer (0.0.11)
40
- facter (2.4.4)
40
+ facter (2.4.6)
41
41
  CFPropertyList (~> 2.2.6)
42
42
  ffi (1.9.10)
43
43
  fpm (1.4.0)
@@ -48,7 +48,7 @@ GEM
48
48
  clamp (~> 0.6)
49
49
  ffi
50
50
  json (>= 1.7.7)
51
- fpm-cookery (0.30.1)
51
+ fpm-cookery (0.31.0)
52
52
  addressable
53
53
  facter
54
54
  fpm (~> 1.1)
@@ -77,23 +77,26 @@ GEM
77
77
  hoe-highline (0.2.1)
78
78
  highline (~> 1.6)
79
79
  hoe (~> 3.11)
80
- hoe-manns (1.4.2)
81
- bundler-audit (~> 0.4.0)
80
+ hoe-manns (1.4.7)
81
+ bundler-audit (~> 0.4)
82
+ hoe (~> 3.14)
82
83
  indexer (~> 0.3)
84
+ pandoc-ruby (~> 1.0)
83
85
  parseconfig (~> 1.0)
84
- rainbow (~> 2.0)
86
+ rainbow (~> 2.1)
85
87
  hoe-mercurial (1.4.1)
86
88
  hoe (~> 3.9)
87
- hoe-packaging (1.1.0)
89
+ hoe-packaging (1.1.2)
88
90
  bundler (~> 1.10)
89
91
  fpm (~> 1.4)
90
- fpm-cookery (~> 0.30)
91
- hoe-reek (1.1.1)
92
- bundler (~> 1.10)
93
- setup (~> 5.2)
94
- hoe-rubocop (0.1.1)
95
- RubyInline (~> 3.9)
92
+ fpm-cookery (~> 0.31)
93
+ hoe-reek (1.1.3)
94
+ bundler (~> 1.11)
96
95
  setup (~> 5.2)
96
+ hoe-rubocop (1.0.6)
97
+ bundler (~> 1.11)
98
+ hoe (~> 3.14)
99
+ rubocop (~> 0.37)
97
100
  hoe-rubygems (1.0.0)
98
101
  hoe-seattlerb (1.3.4)
99
102
  hoe-travis (1.2)
@@ -104,65 +107,64 @@ GEM
104
107
  yard (>= 0.2.3.1)
105
108
  http-cookie (1.0.2)
106
109
  domain_name (~> 0.5)
107
- ice_nine (0.11.1)
110
+ ice_nine (0.11.2)
108
111
  indexer (0.3.1)
109
112
  json (1.8.3)
110
113
  json_pure (1.8.3)
111
114
  mail (2.6.3)
112
115
  mime-types (>= 1.16, < 3)
113
- memoizable (0.4.2)
114
- thread_safe (~> 0.3, >= 0.3.1)
115
- mime-types (2.6.2)
116
- minitest (5.8.1)
117
- netrc (0.10.3)
116
+ mime-types (2.99)
117
+ minitest (5.8.4)
118
+ netrc (0.11.0)
118
119
  notifier (0.5.1)
119
- parseconfig (1.0.6)
120
- parser (2.2.2.6)
121
- ast (>= 1.1, < 3.0)
120
+ pandoc-ruby (1.0.0)
121
+ parseconfig (1.0.8)
122
+ parser (2.3.0.3)
123
+ ast (~> 2.2)
122
124
  pony (1.11)
123
125
  mail (>= 2.0)
124
126
  powerpack (0.1.1)
125
127
  private_attr (1.1.0)
126
- procto (0.0.2)
127
- puppet (3.8.3)
128
+ puppet (3.8.5)
128
129
  facter (> 1.6, < 3)
129
130
  hiera (~> 1.0)
130
131
  json_pure
131
- rainbow (2.0.0)
132
- rake (10.4.2)
133
- rdoc (4.2.0)
134
- reek (3.5.0)
135
- parser (~> 2.2.2.5)
132
+ rainbow (2.1.0)
133
+ rake (10.5.0)
134
+ rdoc (4.2.1)
135
+ json (~> 1.4)
136
+ reek (3.10.1)
137
+ codeclimate-engine-rb (~> 0.3.1)
138
+ parser (~> 2.3)
136
139
  private_attr (~> 1.1)
137
140
  rainbow (~> 2.0)
138
- unparser (~> 0.2.2)
139
141
  rest-client (1.8.0)
140
142
  http-cookie (>= 1.0.2, < 2.0)
141
143
  mime-types (>= 1.16, < 3.0)
142
144
  netrc (~> 0.7)
143
- rspec (3.3.0)
144
- rspec-core (~> 3.3.0)
145
- rspec-expectations (~> 3.3.0)
146
- rspec-mocks (~> 3.3.0)
147
- rspec-core (3.3.2)
148
- rspec-support (~> 3.3.0)
149
- rspec-expectations (3.3.1)
145
+ rspec (3.4.0)
146
+ rspec-core (~> 3.4.0)
147
+ rspec-expectations (~> 3.4.0)
148
+ rspec-mocks (~> 3.4.0)
149
+ rspec-core (3.4.2)
150
+ rspec-support (~> 3.4.0)
151
+ rspec-expectations (3.4.0)
150
152
  diff-lcs (>= 1.2.0, < 2.0)
151
- rspec-support (~> 3.3.0)
152
- rspec-mocks (3.3.2)
153
+ rspec-support (~> 3.4.0)
154
+ rspec-mocks (3.4.1)
153
155
  diff-lcs (>= 1.2.0, < 2.0)
154
- rspec-support (~> 3.3.0)
155
- rspec-support (3.3.0)
156
- rubocop (0.34.2)
157
- astrolabe (~> 1.3)
158
- parser (>= 2.2.2.5, < 3.0)
156
+ rspec-support (~> 3.4.0)
157
+ rspec-support (3.4.1)
158
+ rubocop (0.37.0)
159
+ parser (>= 2.3.0.2, < 3.0)
159
160
  powerpack (~> 0.1)
160
161
  rainbow (>= 1.99.1, < 3.0)
161
- ruby-progressbar (~> 1.4)
162
+ ruby-progressbar (~> 1.7)
163
+ unicode-display_width (~> 0.3)
162
164
  ruby-progressbar (1.7.5)
163
165
  safe_yaml (0.9.7)
164
166
  setup (5.2.0)
165
- simplecov (0.10.0)
167
+ simplecov (0.11.2)
166
168
  docile (~> 1.1.0)
167
169
  json (~> 1.8)
168
170
  simplecov-html (~> 0.10.0)
@@ -178,15 +180,13 @@ GEM
178
180
  safe_yaml (~> 0.9.0)
179
181
  unf (0.1.4)
180
182
  unf_ext
181
- unf_ext (0.0.7.1)
182
- unparser (0.2.4)
183
- abstract_type (~> 0.0.7)
184
- adamantium (~> 0.2.0)
185
- concord (~> 0.1.5)
186
- diff-lcs (~> 1.2.5)
187
- equalizer (~> 0.0.9)
188
- parser (~> 2.2.2)
189
- procto (~> 0.0.2)
183
+ unf_ext (0.0.7.2)
184
+ unicode-display_width (0.3.1)
185
+ virtus (1.0.5)
186
+ axiom-types (~> 0.1)
187
+ coercible (~> 1.0)
188
+ descendants_tracker (~> 0.0, >= 0.0.3)
189
+ equalizer (~> 0.0, >= 0.0.9)
190
190
  yard (0.8.7.6)
191
191
 
192
192
  PLATFORMS
@@ -194,7 +194,7 @@ PLATFORMS
194
194
 
195
195
  DEPENDENCIES
196
196
  ZenTest (~> 4.11)
197
- bundler (~> 1.10)
197
+ bundler (~> 1.11)
198
198
  bundler-audit (~> 0.4.0)
199
199
  coveralls (~> 0.8)
200
200
  gem-release (~> 0.7)
@@ -206,21 +206,21 @@ DEPENDENCIES
206
206
  hoe-git (~> 1.6)
207
207
  hoe-highline (~> 0.2)
208
208
  hoe-manns (~> 1.4.2)
209
- hoe-packaging (~> 1.1.0)
209
+ hoe-packaging (~> 1.1)
210
210
  hoe-reek (~> 1.0)
211
- hoe-rubocop (~> 0.1)
211
+ hoe-rubocop (~> 1.0)
212
212
  hoe-rubygems (~> 1.0)
213
213
  hoe-seattlerb (~> 1.3)
214
214
  hoe-travis (~> 1.2)
215
215
  hoe-version (~> 1.2)
216
216
  hoe-yard (>= 0.1.2)
217
217
  indexer (~> 0.3)
218
- minitest (~> 5.8.1)
218
+ minitest (~> 5.8)
219
219
  notifier (~> 0.5)
220
220
  parseconfig (~> 1.0)
221
221
  pony (~> 1.11)
222
222
  rainbow (~> 2.0)
223
- rake (~> 10.0)
223
+ rake (~> 10.5)
224
224
  reek (~> 3.3)
225
225
  rspec (~> 3.3)
226
226
  rubocop (~> 0.34)
@@ -228,4 +228,4 @@ DEPENDENCIES
228
228
  simplecov (~> 0.7)
229
229
 
230
230
  BUNDLED WITH
231
- 1.10.6
231
+ 1.11.2
data/History.rdoc CHANGED
@@ -1,4 +1,24 @@
1
- === 1.1.0 / UNRELEASED
1
+ === 1.1.3 / 2016-02-08
2
+
3
+ * 1 minor enhancement
4
+
5
+ * * updated dependencies from gemnasium
6
+
7
+ === 1.1.2 / 2016-02-03
8
+
9
+ * 3 minor enhancement
10
+
11
+ * added three targetblocks (support,doku,kaufm) for three kind of jobs.
12
+ * now pdf reader can configured in the config
13
+ * added signature to the outgoing mail
14
+
15
+ === 1.1.1 / 2015-10-21
16
+
17
+ * 1 minor enhancement
18
+
19
+ * cleanup code
20
+
21
+ === 1.1.0 / 2015-10-20
2
22
 
3
23
  * 3 minor enhancements
4
24
 
data/Manifest.txt CHANGED
@@ -66,3 +66,4 @@ lib/latex_curriculum_vitae/glade/latexcv.glade
66
66
  lib/latex_curriculum_vitae/letter.rb
67
67
  lib/latex_curriculum_vitae/notifier.rb
68
68
  lib/latex_curriculum_vitae/outfile.rb
69
+ recipes/recipe.rb
data/README.rdoc CHANGED
@@ -5,16 +5,18 @@ code :: https://gitlab.com/saigkill/latex_curriculum_vitae
5
5
  docs :: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
6
6
  bugs :: https://gitlab.com/saigkill/latex_curriculum_vitae/issues
7
7
  openhub statistics :: https://www.openhub.net/p/latex_curriculum_vitae
8
+ license :: {<img src="http://img.shields.io/:license-mit-blue.svg" />}[https://gitlab.com/saigkill/latex_curriculum_vitae/blob/master/LICENSE.rdoc]
8
9
  last public version :: {<img src="https://badge.fury.io/rb/latex_curriculum_vitae.png" alt="Build Status" />}[http://rubygems.org/gems/latex_curriculum_vitae]
10
+ last rpm :: {<img src="https://img.shields.io/bintray/v/saigkill/rpm/latex_curriculum_vitae.svg" />}[https://bintray.com/saigkill/rpm/latex_curriculum_vitae]
11
+ last deb :: {<img src="https://img.shields.io/bintray/v/saigkill/deb/latex_curriculum_vitae.svg" />}[https://bintray.com/saigkill/deb/latex_curriculum_vitae]
9
12
  downloads latest :: {<img src="https://img.shields.io/gem/dtv/latex_curriculum_vitae.svg" alt="Build Status" />}[http://rubygems.org/gems/latex_curriculum_vitae]
10
13
  downloads all :: {<img src="https://img.shields.io/gem/dt/latex_curriculum_vitae.svg" alt="Build Status" />}[http://rubygems.org/gems/latex_curriculum_vitae]
11
14
  code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/latex_curriculum_vitae/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/latex_curriculum_vitae/]
12
15
  code quality :: {<img src="https://codeclimate.com/github/saigkill/latex_curriculum_vitae/badges/gpa.svg" alt="Code Quality" />}[https://codeclimate.com/github/saigkill/latex_curriculum_vitae]
13
- still maintained :: {<img src="http://stillmaintained.com/saigkill/latex_curriculum_vitae.png" alt="Maintained?" />}[http://stillmaintained.com/saigkill/latex_curriculum_vitae]
14
- dependency check :: {<img src="https://gemnasium.com/5bd57732d697829a74317f4598bfbbb3.svg" alt="Build Status" />}[https://gemnasium.com/3e9122cbac2ccd5399d9944938963199]
16
+ code quailty :: {<img src="https://api.codacy.com/project/badge/49dcadaa0e154641a30f57e9b302a407" alt="Code Quality" />}[https://www.codacy.com/app/saigkill/latex_curriculum_vitae]
17
+ dependency check :: {<img src="https://gemnasium.com/saigkill/latex_curriculum_vitae.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/latex_curriculum_vitae]
15
18
  documentation quality :: {<img src="http://inch-ci.org/github/saigkill/latex_curriculum_vitae.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/latex_curriculum_vitae]
16
19
  donations :: {<img src="https://pledgie.com/campaigns/30094.png?skin_name=chrome" alt="Build Status" />}[https://pledgie.com/campaigns/30094]
17
- donations :: {<img src="http://img.shields.io/gratipay/saigkill.svg" alt="Build Status" />}[https://gratipay.com/~saigkill/]
18
20
  donations :: {<img src="http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png" alt="Build Status" />}[http://www.amazon.de/registry/wishlist/D75HOEQ00BDD]
19
21
 
20
22
  == DESCRIPTION:
@@ -26,7 +28,7 @@ in your home directory. Also it generates an email with a standard content, whic
26
28
  == FEATURES/PROBLEMS:
27
29
 
28
30
  * Ruby based LaTEX publisher for job applications
29
- * Currently it just uses thunderbird for creating mails. If no other wishes another solution it will be hardcoded.
31
+ * It use pony for sending the email directly
30
32
 
31
33
  == SYNOPSIS:
32
34
 
@@ -38,6 +40,9 @@ The resulting PDF and the CSV file are placed in /home/You/.latex_curriculum_vit
38
40
 
39
41
  Read the documentation at: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
40
42
 
43
+ This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS,
44
+ i'm happy about Pull requests.
45
+
41
46
  == REQUIREMENTS:
42
47
 
43
48
  * setup
data/Rakefile CHANGED
@@ -66,25 +66,25 @@ Hoe.spec 'latex_curriculum_vitae' do
66
66
  extra_dev_deps << ['hoe-rubygems', '~> 1.0']
67
67
  extra_dev_deps << ['hoe-manns', '~> 1.4.2']
68
68
  extra_dev_deps << ['hoe-reek', '~> 1.0']
69
- extra_dev_deps << ['hoe-rubocop', '~> 0.1']
69
+ extra_dev_deps << ['hoe-rubocop', '~> 1.0']
70
70
  extra_dev_deps << ['hoe-travis', '~> 1.2']
71
71
  extra_dev_deps << ['hoe-version', '~> 1.2']
72
72
  extra_dev_deps << ['hoe-yard', '~> 0.1']
73
73
  extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
74
74
  extra_dev_deps << ['hoe-version', '~> 1.2']
75
- extra_dev_deps << ['hoe-packaging', '~> 1.1.0']
75
+ extra_dev_deps << ['hoe-packaging', '~> 1.1']
76
76
  extra_dev_deps << ['hoe', '~> 3.14']
77
77
  extra_dev_deps << ['ZenTest', '~> 4.11']
78
- extra_dev_deps << ['rake', '~> 10.0']
78
+ extra_dev_deps << ['rake', '~> 10.5']
79
79
  extra_dev_deps << ['simplecov', '~> 0.7']
80
80
  extra_dev_deps << ['coveralls', '~> 0.8']
81
81
  extra_dev_deps << ['gem-release', '~> 0.7']
82
82
  extra_dev_deps << ['indexer', '~> 0.3']
83
83
  extra_dev_deps << ['reek', '~> 3.3']
84
84
  extra_dev_deps << ['rainbow', '~> 2.0']
85
- extra_dev_deps << ['bundler', '~> 1.10']
85
+ extra_dev_deps << ['bundler', '~> 1.11']
86
86
  extra_dev_deps << ['parseconfig', '~> 1.0']
87
- extra_dev_deps << ['minitest', '~> 5.8.1']
87
+ extra_dev_deps << ['minitest', '~> 5.8']
88
88
  extra_dev_deps << ['rspec', '~> 3.3']
89
89
  extra_dev_deps << ['rubocop', '~> 0.34']
90
90
  extra_dev_deps << ['simplecov', '~> 0.10']
@@ -116,11 +116,14 @@ task :setup do
116
116
  FileUtils.touch(desktopfile)
117
117
  File.write "#{desktopfile}", <<EOF
118
118
  [Desktop Entry]
119
- Version=1.0
119
+ Version=2.3
120
120
  Type=Application
121
- Name=Job-Application Creator
121
+ Name=latex_curriculum_vitae
122
+ GenericName=latex_curriculum_vitae
123
+ Comment=Job-Application Creator
122
124
  Exec=latexcv.rb
123
125
  Icon="#{datadir}/latex_curriculum_vitae/Pictures/arbeitsagentur.png"
126
+ Categories=Utility;Application;
124
127
  EOF
125
128
  puts 'Setup is now finished. See the documentation to find out more about this gem.'
126
129
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.3
data/bin/latexcv.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  # Dependencies
5
5
  require 'rubygems'
6
6
  require 'latex_curriculum_vitae'
7
- #require File.expand_path(File.join(File.dirname(__FILE__), '../lib/latex_curriculum_vitae'))
7
+ # require File.expand_path(File.join(File.dirname(__FILE__), '../lib/latex_curriculum_vitae'))
8
8
  require 'setup/command'
9
9
 
10
10
  IRB.start
@@ -5,7 +5,7 @@
5
5
  %---------------------------------------------------------------------------
6
6
  % Satzspiegel
7
7
  paper=a4,%% Papierformat
8
- %enlargefirstpage=on,%% Erste Seite anders
8
+ enlargefirstpage=on,%% Erste Seite anders
9
9
  %pagenumber=headright,%% Seitenzahl oben mittig
10
10
  %---------------------------------------------------------------------------
11
11
  % Layout
@@ -96,7 +96,7 @@
96
96
  % Absender Daten +49\,(0)\,2651\,40\,14\,045
97
97
  \setkomavar{fromname}{\firstname\ \familyname}
98
98
  \setkomavar{fromaddress}{\mystreet\\\mycity}
99
- \setkomavar{fromphone}[\Mobilefone~]{\myphone}
99
+ \setkomavar{fromphone}[\Telefon~]{\myphone}
100
100
  \setkomavar{fromfax}[\FAX~]{+49\,(0)\,123\,456\,789\,1}
101
101
  \setkomavar{fromemail}[\Letter~]{\myemail}
102
102
  \setkomavar{fromurl}[]{\myblog}
@@ -169,18 +169,18 @@ SASCHA MANNS}
169
169
 
170
170
  %---------------------------------------------------------------------------
171
171
  % Der Betreff des Briefes
172
- \setkomavar{subject}{\bf{\subject}
173
- }
172
+ \setkomavar{subject}{\bf{\subject}}
174
173
  %---------------------------------------------------------------------------
175
174
  %\opening{Sehr geehrter \Ansprechpartner,}
176
175
  \opening{\introduction}
177
176
  \intro{}
178
- Mit meinen vielfältigen Erfahrungen als Kaufmann, Community Manager, Buchautor und Customer Supporter (Level 1\&2), sowie Autor Geschäftsprozess- \& Anwendungsdokumentation könnte ich Ihr neuer Mitarbeiter sein. \\
179
- Seit dieser Zeit habe ich an teamgesteuerten Projekten für Kunden mitgearbeitet, wobei mein Schwerpunkt im Bereich Kundenpflege via Telefon und Email, Dispatching und Teamcontrolling lag. \\
180
- In für mich fremde Arbeitsgebiete werde ich mich rasch einarbeiten.\\
181
- Meine Kenntnisse in IT und Organisationsfähigkeiten kann ich für Ihr Unternehmen im Bereich des Managements gewinnbringend umsetzen.\\
182
- Persönlich runde ich das Profil mit den Eigenschaften: Teamfähigkeit, Kommunikationsstärke und Leistungsbereitschaft ab.\\
183
- Ich bin mir sicher, die von Ihnen gewünschten Kenntnisse und Fähigkeiten mitzubringen, und würde mich sehr über ein Vorstellungsgespräch freuen.
177
+ Mit meinen vielfältigen Erfahrungen als Kaufmann, Community Manager, Buchautor, Customer Supporter (Level 1\&2), sowie als Autor Geschäftsprozess- \& Anwendungsdokumentation könnte ich Ihr neuer Mitarbeiter sein.\\
178
+ Im Rahmen des Supports und Qualitätsmanagements betreute ich im den letzten Jahren Kunden via Email und Telefon und schrieb Dokumentationen im Bereich des IT-Supports und des Bankwesens.\\
179
+ Meine fundierten Kenntnisse in den Bereichen IT und Organisation kann ich für Ihr Unternehmen in verschiedenen Bereichen gewinnbringend umsetzen.\\
180
+ \targetblock{}
181
+ Persönlich runde ich das Profil mit den Eigenschaften: Teamfähigkeit, Kommunikationsstärke, Empathie und Leistungsbereitschaft ab.\\
182
+ Ich bin mir sicher, die von Ihnen gewünschten Kenntnisse und Fähigkeiten mitzubringen und würde mich sehr über ein Vorstellungsgespräch freuen.
183
+
184
184
  \closing{Mit freundlichen Grüßen}
185
185
 
186
186
  %---------------------------------------------------------------------------
@@ -52,7 +52,7 @@ Maifeldstraße 10
52
52
  56727 Mayen
53
53
  Germany
54
54
  ~
55
- +49 (2651) 40 14 045
55
+ +49 (2651) 746 9663
56
56
  +49 (1573) 924 2730
57
57
  ~
58
58
  \href{mailto:Sascha.Manns@directbox.com}{Sascha.Manns@directbox.com}
@@ -320,7 +320,7 @@ allgemeine kaufm. Tätigkeiten.
320
320
  \entry
321
321
  {2010--2011}
322
322
  {Piratenpartei Deutschland}
323
- {Bundespressestelle}
323
+ {Gründungsmitglied SG-Presse}
324
324
  {}
325
325
  %--------------------------------------------
326
326
  \entry
@@ -426,6 +426,7 @@ allgemeine kaufm. Tätigkeiten.
426
426
  %\section{Anhang}
427
427
  %---------------------------------------------------------------------------
428
428
  % Include PDF
429
+ \includepdf{../Appendix/Employers_Reference/xcom}
429
430
  \begin{figure}
430
431
  \includegraphics[page=1,scale=0.7,angle=180]{../Appendix/Employers_Reference/hays.pdf}
431
432
  \end{figure}
@@ -7,4 +7,5 @@ own_name = "Sascha Manns"
7
7
  own_email_address = "Sascha.Manns@directbox.com"
8
8
  own_smtp = "smtp.my.com"
9
9
  own_username = "myusername"
10
- own_password = "mypassword"
10
+ own_password = "mypassword"
11
+ pdf_reader = "/home/sascha/FoxitSoftware/FoxitReader/FoxitReader.sh"
@@ -17,7 +17,7 @@ module LatexCurriculumVitae
17
17
  # @param [String] name_of_pdf Name of the resulting PDF file
18
18
  # @param [String] name_of_resume Name of the resume file
19
19
  # @param [String] tmpdir contains the path to the
20
- def self.create_cv(name_of_pdf, name_of_resume, tmpdir)
20
+ def self.create_cv(name_of_resume, tmpdir)
21
21
  puts 'First run of xelatex'.colour(:yellow)
22
22
  system("xelatex #{name_of_resume}.tex")
23
23
  puts 'First run of xelatex passed'.colour(:yellow)
@@ -48,7 +48,7 @@ module LatexCurriculumVitae
48
48
  end
49
49
  end
50
50
 
51
- # Schrink and get final compiled pdf
51
+ # Shrink and get final compiled pdf
52
52
  # @param [String] name_of_pdf Name of the resulting PDF file
53
53
  def self.shrink_cv(name_of_pdf)
54
54
  puts 'Shrinking PDF'.colour(:yellow)
@@ -17,20 +17,17 @@ module LatexCurriculumVitae
17
17
  module Email
18
18
  # Method for creating the email
19
19
  # rubocop:disable Metrics/MethodLength
20
- # rubocop:disable Metrics/AbcSize
21
20
  # @param [String] contact Name of the contact
22
21
  # @param [String] emailaddress Email address of the contact
23
22
  # @param [String] jobtitle Title of the target job
24
23
  # @param [String] contact_sex Can be male, female or unknown
25
24
  # @param [String] proactive Can be yes or no
26
25
  def self.create_email(contact, emailaddress, jobtitle, contact_sex, proactive, letter, name_of_pdf)
27
- own_name, own_email_address, own_smtp, own_username, own_password = LatexCurriculumVitae::GetConfig.get_smtp
26
+ own_email_address, own_smtp, own_username, own_password = LatexCurriculumVitae::GetConfig.get_smtp
28
27
  introduction = LatexCurriculumVitae::Email.introduction(contact, contact_sex)
29
28
  subject = LatexCurriculumVitae::Email.subject(proactive, jobtitle)
30
29
  body = LatexCurriculumVitae::Email.get_body(introduction, letter)
31
30
  home = Dir.home
32
- prefix = "#{home}/.rvm/rubies/default"
33
- datadir = "#{prefix}/share"
34
31
  filename = "#{home}/.latex_curriculum_vitae/#{name_of_pdf}.pdf"
35
32
 
36
33
  Pony.mail({
@@ -65,6 +62,7 @@ module LatexCurriculumVitae
65
62
  introduction = "Sehr geehrte Frau #{contact},"
66
63
  end
67
64
  end
65
+ return introduction
68
66
  end
69
67
 
70
68
  # Method for building the subject
@@ -76,6 +74,7 @@ module LatexCurriculumVitae
76
74
  else
77
75
  subject = "Bewerbung um einen Arbeitsplatz als #{jobtitle}"
78
76
  end
77
+ return subject
79
78
  end
80
79
 
81
80
  # Method for building the email body
@@ -100,14 +99,46 @@ Persönlich runde ich das Profil mit den Eigenschaften: Teamfähigkeit, Kommunik
100
99
  stärke und Leistungsbereitschaft ab.
101
100
  Ich bin mir sicher, die von Ihnen gewünschten Kenntnisse und Fähigkeiten mitzubringen,
102
101
  und würde mich sehr über ein Vorstellungsgespräch freuen.
102
+
103
+ --
104
+ Yours sincerly
105
+ Sascha Manns
106
+ - Autor Geschäftsprozess & Anwendungsdokumentation -
107
+
108
+ Maifeldstraße 10
109
+ 56727 Mayen
110
+ Phone: +49-2651-7469663 (home)
111
+ Phone: +49-1573-9242730 (mobile)
112
+ Email: Sascha.Manns@directbox.com
113
+ Web: http://saigkill.github.io
114
+ Jabber: saigkill@jabber.org
115
+ GPG: C088DDD6 @ hkp://keys.gnupg.net
116
+ X504: 3CC04604 @ http://www.cacert.de
103
117
  EOF
104
118
  else
105
119
  body =<<EOF
106
120
  #{introduction}
107
121
  gerne möchte ich mich bei Ihnen für die obige Stelle bewerben.
108
122
  Meine Bewerbungsunterlagen samt des offiziellen Anschreibens sind der Mail als Anhang beigefügt.
123
+
124
+ --
125
+ Yours sincerly
126
+ Sascha Manns
127
+ - Autor Geschäftsprozess & Anwendungsdokumentation -
128
+
129
+ Maifeldstraße 10
130
+ 56727 Mayen
131
+ Phone: +49-2651-7469663 (home)
132
+ Phone: +49-1573-9242730 (mobile)
133
+ Email: Sascha.Manns@directbox.com
134
+ Web: http://saigkill.github.io
135
+ Jabber: saigkill@jabber.org
136
+ GPG: C088DDD6 @ hkp://keys.gnupg.net
137
+ X504: 3CC04604 @ http://www.cacert.de
138
+
109
139
  EOF
110
140
  end
141
+ return body
111
142
  end
112
143
 
113
144
  # Method for checking the result
@@ -10,33 +10,34 @@
10
10
  require 'fileutils'
11
11
  require 'rainbow/ext/string'
12
12
 
13
- # Module for creating the entityfile
13
+ # main module
14
14
  module LatexCurriculumVitae
15
+ # Module for creating the entityfile
15
16
  module Entityfile
16
17
  # rubocop:disable Metrics/LineLength
17
18
  # Method for getting information
18
19
  # @param [String] entitytex Path to the entity.tex
19
- # @return [Array] contact, emailaddress, jobtitle, contact_sex, company, proactive:q:q
20
+ # @return [Array] contact, emailaddress, jobtitle, contact_sex, company, proactive
20
21
  def self.get_information(entitytex)
21
- resume = `yad --title="Create application" --center --on-top --form \
22
- --item-separator=, --separator="|" \
22
+ resume = `yad --title="Create application" --center --on-top --form --item-separator=, --separator="|" \
23
23
  --field="What is the jobtitle of your application? Escape amp with backslash:TEXT" \
24
24
  --field="Is it a proactive application?:CBE" \
25
- --field="What is the companies name? Escape amp with backslash:TEXT" \
26
25
  --field="Create a motivational letter?:CBE" \
26
+ --field="What is the companies name? Escape amp with backslash:TEXT" \
27
27
  --field="Give me the street of the company:TEXT" \
28
28
  --field="What is the zip-code (german PLZ) and city from the company:TEXT" \
29
29
  --field="Is your contact male or female? Leave blank if unknown contact:CBE" \
30
30
  --field="If you have a contact so give me the name of him/her. Leave blank if unknown contact:TEXT" \
31
31
  --field="Tell me the email address for sending the application:TEXT" \
32
- --button="Go!" "" "yes,no" "" "yes,no" "" "" "male,female,unknown" "" ""`
33
- jobtitle, proactive, company, letter, street, city, contact_sex, contact, emailaddress = resume.chomp.split('|')
34
- [jobtitle, proactive, company, letter, street, city, contact_sex, contact, emailaddress].each do |s|
32
+ --field="What kind of target:CBE" \
33
+ --button="Go!" "" "no,yes" "yes,no" "" "" "" "male,female,unknown" "" "" "doku,support,kaufm"`
34
+ jobtitle, proactive, letter, company, street, city, contact_sex, contact, emailaddress, target = resume.chomp.split('|')
35
+ [jobtitle, proactive, letter, company, street, city, contact_sex, contact, emailaddress, target].each do |s|
35
36
  puts s
36
37
  end
37
38
 
38
- create_file(jobtitle, company, street, city, contact, entitytex, contact_sex, proactive)
39
- [contact, emailaddress, jobtitle, contact_sex, company, letter, proactive]
39
+ create_file(jobtitle, company, street, city, contact, entitytex, contact_sex, proactive, target)
40
+ [contact, emailaddress, jobtitle, contact_sex, company, letter, proactive, target]
40
41
  end
41
42
 
42
43
  # # Method for getting information through a real gui
@@ -60,8 +61,35 @@ module LatexCurriculumVitae
60
61
  # @param [String] street Companies street
61
62
  # @param [String] city City of the company
62
63
  # @param [String] contact Name of the contact
64
+ # @param [String] contact_sex Sex of the contact
63
65
  # @param [String] entitytex Path to the entity.tex
64
- def self.create_file(jobtitle, company, street, city, contact, entitytex, contact_sex, proactive)
66
+ def self.create_file(jobtitle, company, street, city, contact, entitytex, contact_sex, proactive, target)
67
+ introduction = LatexCurriculumVitae::Entityfile.get_introduction(contact, contact_sex)
68
+ subject, intro = LatexCurriculumVitae::Entityfile.get_subject_intro(proactive, jobtitle)
69
+ addressstring = LatexCurriculumVitae::Entityfile.get_addressstring(company, contact, street, city)
70
+ targetblock = LatexCurriculumVitae::Entityfile.get_target_block(target)
71
+
72
+ FileUtils.rm(entitytex) if File.exist?(entitytex)
73
+ FileUtils.touch(entitytex)
74
+ File.write "#{entitytex}", <<EOF
75
+ \\def\\jobtitle{#{jobtitle}}
76
+ \\def\\company{#{company}}
77
+ \\def\\contact{#{contact}}
78
+ \\def\\street{#{street}}
79
+ \\def\\city{#{city}}
80
+ \\def\\introduction{#{introduction}}
81
+ \\def\\subject{#{subject}}
82
+ \\def\\addressstring{#{addressstring}}
83
+ \\def\\intro{#{intro}}
84
+ \\def\\targetblock{#{targetblock}}
85
+ EOF
86
+ end
87
+
88
+ # Method for preparing the introduction variable
89
+ # @param [String] contact Name of the contact
90
+ # @param [String] contact_sex Sex of the contact
91
+ # @return [String] introduction
92
+ def self.get_introduction(contact, contact_sex)
65
93
  if contact == ''
66
94
  introduction = 'Sehr geehrte Damen und Herren,'
67
95
  else
@@ -71,6 +99,14 @@ module LatexCurriculumVitae
71
99
  introduction = "Sehr geehrte Frau #{contact},"
72
100
  end
73
101
  end
102
+ return introduction
103
+ end
104
+
105
+ # Method for preparing the subject and intro variables
106
+ # @param [String] proactive Can be yes or no
107
+ # @param [String] jobtitle Title of the target job
108
+ # @return [Array] subject intro
109
+ def self.get_subject_intro(proactive, jobtitle)
74
110
  if proactive == 'yes'
75
111
  subject = "Initiativbewerbung um einen Arbeitsplatz als #{jobtitle}"
76
112
  intro = 'Gerne möchte ich mich bei Ihnen um die obige oder eine vergleichbare Stelle bewerben.'
@@ -78,7 +114,16 @@ module LatexCurriculumVitae
78
114
  subject = "Bewerbung um einen Arbeitsplatz als #{jobtitle}"
79
115
  intro = 'Wie ich Ihrer Anzeige entnommen habe, suchen Sie jemanden für die obige Position, um die ich mich bewerbe.'
80
116
  end
117
+ [subject, intro]
118
+ end
81
119
 
120
+ # Method for preparing the addressstring
121
+ # @param [String] company Comanys name
122
+ # @param [String] street Companies street
123
+ # @param [String] city City of the company
124
+ # @param [String] contact Name of the contact
125
+ # @return [String] addressstring
126
+ def self.get_addressstring(company, contact, street, city)
82
127
  addressstring = "#{company} \\\\"
83
128
  if contact == ''
84
129
  addressstring << 'z.Hd. Personalabteilung \\\\'
@@ -87,20 +132,18 @@ module LatexCurriculumVitae
87
132
  end
88
133
  addressstring << "#{street} \\\\" if street != ''
89
134
  addressstring << "#{city}" if city != ''
135
+ return addressstring
136
+ end
90
137
 
91
- FileUtils.rm(entitytex) if File.exist?(entitytex)
92
- FileUtils.touch(entitytex)
93
- File.write "#{entitytex}", <<EOF
94
- \\def\\jobtitle{#{jobtitle}}
95
- \\def\\company{#{company}}
96
- \\def\\contact{#{contact}}
97
- \\def\\street{#{street}}
98
- \\def\\city{#{city}}
99
- \\def\\introduction{#{introduction}}
100
- \\def\\subject{#{subject}}
101
- \\def\\addressstring{#{addressstring}}
102
- \\def\\intro{#{intro}}
103
- EOF
138
+ # Method for getting the target code block
139
+ def self.get_target_block(target)
140
+ if target == 'doku'
141
+ targetblock = 'Neben der Beschreibungssprache DocBook samt XSL-FO lernte ich die Satzsprache \\LaTeX. \\\\ Selbstständig erarbeitete ich mir Kenntnisse in der Programmiersprache Ruby, sowie der Web-App-Entwicklung (Technische Hochschule Mittelrhein).\\\\'
142
+ elsif target == 'support'
143
+ targetblock = 'Im IT-Support hatte ich bereits erste Führungserfahrung als Dispatcher \\&Controller. Ticketbearbeitung, -zuteilung und Nachkontrolle gehörten jeweils dazu. Selbstständig erarbeitete ich mir Kenntnisse in der Programmiersprache Ruby, sowie der Web-App-Entwicklung (Technische Hochschule Mittelrhein).\\\\'
144
+ else
145
+ targetblock = 'Im kaufmännischen Bereich habe ich bereits vielfältige Erfahrungen im Einkauf, Verkauf, Öffentlichkeitsarbeit und Vertrieb gemacht und bin stets bereit neues zu lernen.\\\\'
146
+ end
104
147
  end
105
148
  end
106
- end
149
+ end
@@ -9,8 +9,9 @@
9
9
  # Dependencies
10
10
  require 'parseconfig'
11
11
 
12
- # Module for creating the GetConfig
12
+ # main module
13
13
  module LatexCurriculumVitae
14
+ # Module for creating the GetConfig
14
15
  module GetConfig
15
16
  # This method gets the configs from the config file
16
17
  # @return [Array] name_of_pdf, name_of_cover, name_of_resume, name_of_letter
@@ -21,7 +22,8 @@ module LatexCurriculumVitae
21
22
  name_of_cover = config['name_of_cover']
22
23
  name_of_resume = config['name_of_resume']
23
24
  name_of_letter = config['name_of_letter']
24
- [name_of_pdf, name_of_cover, name_of_resume, name_of_letter]
25
+ pdf_reader = config['pdf_reader']
26
+ [name_of_pdf, name_of_cover, name_of_resume, name_of_letter, pdf_reader]
25
27
  end
26
28
 
27
29
  # Method for getting smtp configuration
@@ -29,13 +31,13 @@ module LatexCurriculumVitae
29
31
  def self.get_smtp
30
32
  home = Dir.home
31
33
  config = ParseConfig.new("#{home}/.latex_curriculum_vitae/latex_curriculum_vitae.cfg")
32
- own_name = config['own_name']
34
+ # own_name = config['own_name']
33
35
  own_email_address = config['own_email_address']
34
36
  own_smtp = config['own_smtp']
35
37
  own_username = config['own_username']
36
38
  own_password = config['own_password']
37
39
 
38
- [own_name, own_email_address, own_smtp, own_username, own_password]
40
+ [own_email_address, own_smtp, own_username, own_password]
39
41
  end
40
42
 
41
43
  end
@@ -10,8 +10,9 @@
10
10
  require 'fileutils'
11
11
  require 'rainbow/ext/string'
12
12
 
13
- # Module for creating the motivational letter
13
+ # main module
14
14
  module LatexCurriculumVitae
15
+ # Module for creating the motivational letter
15
16
  module Letter
16
17
  # Method for creating a pdf from tex
17
18
  def self.create_letter(tmpdir, name_of_letter)
@@ -11,7 +11,9 @@
11
11
  # Module for notify the user
12
12
  require 'notifier'
13
13
 
14
+ # main module
14
15
  module LatexCurriculumVitae
16
+ # Method for notifying the user
15
17
  module Notify
16
18
  def self.run(jobtitle)
17
19
  home = Dir.home
@@ -9,12 +9,12 @@
9
9
  # Dependencies
10
10
  require 'csv'
11
11
 
12
- # Module for creating and appending the outfile
12
+ # main module
13
13
  module LatexCurriculumVitae
14
+ # Module for creating and appending the outfile
14
15
  module CVOutfile
15
16
  # Method to adding the data into the csv file
16
17
  def self.add_to_outfile(jobtitle, company, contact, emailaddress, csvout)
17
- home = Dir.home
18
18
  time = Time.new
19
19
  date = time.strftime('%Y-%m-%d')
20
20
  contact.gsub!('%20', ' ')
@@ -29,9 +29,9 @@ date,company,job,contact,email,status
29
29
  EOF
30
30
  end
31
31
  CSV.open("#{csvout}", 'a+') do |csv|
32
- #datum,firma,stelle,kontakt,email,status
32
+ # datum,firma,stelle,kontakt,email,status
33
33
  csv << ["#{date}", "#{company}", "#{jobtitle}", "#{contact}", "#{emailaddress}", 'Open']
34
34
  end
35
35
  end
36
36
  end
37
- end
37
+ end
@@ -7,7 +7,6 @@
7
7
  # License: MIT
8
8
 
9
9
  # rubocop:disable Metrics/LineLength
10
- # rubocop:disable Style/LeadingCommentSpace
11
10
 
12
11
  # Dependencies
13
12
  require 'fileutils'
@@ -24,7 +23,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), 'latex_curriculum_vit
24
23
  # Main Class LatexCurriculumVitae
25
24
  module LatexCurriculumVitae
26
25
  # The version information
27
- VERSION = '1.1.0'
26
+ VERSION = '1.1.3'
28
27
 
29
28
  # Variables
30
29
  home = Dir.home
@@ -32,9 +31,8 @@ module LatexCurriculumVitae
32
31
  datadir = "#{prefix}/share"
33
32
  entitytex = "#{home}/.latex_curriculum_vitae/entity.tex"
34
33
  csvout = "#{home}/.latex_curriculum_vitae/job-applications.csv"
35
- sharedir ="#{datadir}/latex_curriculum_vitae/Motivational_Letter"
36
34
  tmpdir = "#{datadir}/latex_curriculum_vitae/tmp"
37
- name_of_pdf, name_of_cover, name_of_resume, name_of_letter = LatexCurriculumVitae::GetConfig.get
35
+ name_of_pdf, name_of_cover, name_of_resume, name_of_letter, pdf_reader = LatexCurriculumVitae::GetConfig.get
38
36
 
39
37
  # Get the needed Information for creating the application
40
38
  contact, emailaddress, jobtitle, contact_sex, company, letter, proactive =
@@ -54,7 +52,7 @@ module LatexCurriculumVitae
54
52
 
55
53
  # Create the Curriculum Vitae
56
54
  FileUtils.cd("#{datadir}/latex_curriculum_vitae/Resume") do
57
- LatexCurriculumVitae::CV.create_cv(name_of_pdf, name_of_resume, tmpdir)
55
+ LatexCurriculumVitae::CV.create_cv(name_of_resume, tmpdir)
58
56
  end
59
57
 
60
58
  # Final create and shrinking
@@ -65,11 +63,12 @@ module LatexCurriculumVitae
65
63
  end
66
64
 
67
65
  # Start evince to check the output file
68
- system("evince #{home}/.latex_curriculum_vitae/#{name_of_pdf}.pdf")
66
+ system("#{pdf_reader} #{home}/.latex_curriculum_vitae/#{name_of_pdf}.pdf")
69
67
 
68
+ # Ask if result is ok
70
69
  LatexCurriculumVitae::Email.resultok(contact, emailaddress, jobtitle, contact_sex, proactive, letter, name_of_pdf)
71
70
 
72
- # # Add entry to Outfile
71
+ # Add entry to Outfile
73
72
  CVOutfile.add_to_outfile(jobtitle, company, contact, emailaddress, csvout)
74
73
 
75
74
  # Cleanup tmpdir
data/recipes/recipe.rb ADDED
@@ -0,0 +1,6 @@
1
+ # Recipe class
2
+ class LatexCurriculumVitaeRubyGem < FPM::Cookery::RubyGemRecipe
3
+ name 'latex_curriculum_vitae'
4
+ version '1.1.3'
5
+ maintainer 'Sascha Manns <samannsml@directbox.com>'
6
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: latex_curriculum_vitae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Manns
@@ -30,7 +30,7 @@ cert_chain:
30
30
  cEuJ8AWKUjdkdt1Nba7qmareRtc2+pEiITV5ANv24b8vsmq9/8nbxQckdO7+NQRP
31
31
  pTQZhJ4mX28Qe1F9IE4F4UDeo8gQSPHJOttZA33sRLC19sH67dLq4pM=
32
32
  -----END CERTIFICATE-----
33
- date: 2015-10-20 00:00:00.000000000 Z
33
+ date: 2016-02-08 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: setup
@@ -234,14 +234,14 @@ dependencies:
234
234
  requirements:
235
235
  - - "~>"
236
236
  - !ruby/object:Gem::Version
237
- version: '0.1'
237
+ version: '1.0'
238
238
  type: :development
239
239
  prerelease: false
240
240
  version_requirements: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - "~>"
243
243
  - !ruby/object:Gem::Version
244
- version: '0.1'
244
+ version: '1.0'
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: hoe-travis
247
247
  requirement: !ruby/object:Gem::Requirement
@@ -290,14 +290,14 @@ dependencies:
290
290
  requirements:
291
291
  - - "~>"
292
292
  - !ruby/object:Gem::Version
293
- version: 1.1.0
293
+ version: '1.1'
294
294
  type: :development
295
295
  prerelease: false
296
296
  version_requirements: !ruby/object:Gem::Requirement
297
297
  requirements:
298
298
  - - "~>"
299
299
  - !ruby/object:Gem::Version
300
- version: 1.1.0
300
+ version: '1.1'
301
301
  - !ruby/object:Gem::Dependency
302
302
  name: hoe
303
303
  requirement: !ruby/object:Gem::Requirement
@@ -332,14 +332,14 @@ dependencies:
332
332
  requirements:
333
333
  - - "~>"
334
334
  - !ruby/object:Gem::Version
335
- version: '10.0'
335
+ version: '10.5'
336
336
  type: :development
337
337
  prerelease: false
338
338
  version_requirements: !ruby/object:Gem::Requirement
339
339
  requirements:
340
340
  - - "~>"
341
341
  - !ruby/object:Gem::Version
342
- version: '10.0'
342
+ version: '10.5'
343
343
  - !ruby/object:Gem::Dependency
344
344
  name: simplecov
345
345
  requirement: !ruby/object:Gem::Requirement
@@ -416,14 +416,14 @@ dependencies:
416
416
  requirements:
417
417
  - - "~>"
418
418
  - !ruby/object:Gem::Version
419
- version: '1.10'
419
+ version: '1.11'
420
420
  type: :development
421
421
  prerelease: false
422
422
  version_requirements: !ruby/object:Gem::Requirement
423
423
  requirements:
424
424
  - - "~>"
425
425
  - !ruby/object:Gem::Version
426
- version: '1.10'
426
+ version: '1.11'
427
427
  - !ruby/object:Gem::Dependency
428
428
  name: parseconfig
429
429
  requirement: !ruby/object:Gem::Requirement
@@ -444,14 +444,14 @@ dependencies:
444
444
  requirements:
445
445
  - - "~>"
446
446
  - !ruby/object:Gem::Version
447
- version: 5.8.1
447
+ version: '5.8'
448
448
  type: :development
449
449
  prerelease: false
450
450
  version_requirements: !ruby/object:Gem::Requirement
451
451
  requirements:
452
452
  - - "~>"
453
453
  - !ruby/object:Gem::Version
454
- version: 5.8.1
454
+ version: '5.8'
455
455
  - !ruby/object:Gem::Dependency
456
456
  name: rspec
457
457
  requirement: !ruby/object:Gem::Requirement
@@ -579,6 +579,7 @@ files:
579
579
  - lib/latex_curriculum_vitae/letter.rb
580
580
  - lib/latex_curriculum_vitae/notifier.rb
581
581
  - lib/latex_curriculum_vitae/outfile.rb
582
+ - recipes/recipe.rb
582
583
  homepage: http://saigkill.github.io
583
584
  licenses:
584
585
  - MIT
metadata.gz.sig CHANGED
Binary file