latex_curriculum_vitae 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.coveralls.yml +1 -1
- data/.gemnasium.yml +1 -1
- data/.index +2 -2
- data/.travis.yml +2 -0
- data/Gemfile +4 -3
- data/Gemfile.lock +56 -22
- data/History.rdoc +10 -2
- data/Index.yml +0 -1
- data/README.rdoc +10 -7
- data/Rakefile +20 -7
- data/VERSION +1 -1
- data/bin/latexcv.rb +2 -2
- data/data/latex_curriculum_vitae/Appendix/Bibliography/bibliography1.bib +21 -5
- data/data/latex_curriculum_vitae/Motivational_Letter/bwanschreiben.tex +4 -3
- data/data/latex_curriculum_vitae/Resume/cv_10.aux +4 -2
- data/data/latex_curriculum_vitae/Resume/cv_10.bbl +720 -336
- data/data/latex_curriculum_vitae/Resume/cv_10.blg +94 -94
- data/data/latex_curriculum_vitae/Resume/cv_10.pdf +0 -0
- data/data/latex_curriculum_vitae/Resume/cv_10.run.xml +1 -1
- data/data/latex_curriculum_vitae/Resume/cv_10.tex +15 -13
- data/etc/latex_curriculum_vitae.cfg +6 -1
- data/lib/latex_curriculum_vitae.rb +16 -16
- data/lib/latex_curriculum_vitae/cover.rb +11 -7
- data/lib/latex_curriculum_vitae/cv.rb +50 -40
- data/lib/latex_curriculum_vitae/email.rb +111 -49
- data/lib/latex_curriculum_vitae/entityfile.rb +63 -61
- data/lib/latex_curriculum_vitae/get-config.rb +28 -11
- data/lib/latex_curriculum_vitae/letter.rb +10 -8
- data/lib/latex_curriculum_vitae/notifier.rb +15 -13
- data/lib/latex_curriculum_vitae/outfile.rb +21 -19
- metadata +38 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c785bbed6b050c5497bdda979c2c3b8f218373c1
|
4
|
+
data.tar.gz: d98f6ea8c5b070520a86aa1e52c62fe3e9dce23d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f5c82b664d380f524aa10a78255a84f64ccfb7336963c15a9b6c12965b344fa98f0d3f06946204d8edf1829f90a31c3f2600e7eba2fc6be82416d36b09b7f30
|
7
|
+
data.tar.gz: e7f61702d7b1a44d4b586a8f23cb270a051031c69eaa037fbb9579a8dfb04432f6478d19ea4d5d7fe4da42416210e9a96523d1c5a5fca9f75c509cbcf0a48795
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.coveralls.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
repo_token:
|
1
|
+
repo_token: OKjpnU9gp9rsK7xQ2FSvlqqz66iuD8u0W
|
2
2
|
service_name: travis-ci
|
data/.gemnasium.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
|
2
|
-
api_key:
|
2
|
+
api_key: c916184c3e0892558476535b216f7442 # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
|
3
3
|
project_name: latex_curriculum_vitae # A name to remember your project.
|
4
4
|
project_slug: 75c90b0dbefa41a3b46d3362f3d97a2c # Unique slug for this project. Get it on the "project settings" page.
|
5
5
|
project_branch: master # /!\ If you don't use git, remove this line
|
data/.index
CHANGED
@@ -72,9 +72,9 @@ customs: []
|
|
72
72
|
paths:
|
73
73
|
lib:
|
74
74
|
- lib
|
75
|
-
version: 1.
|
75
|
+
version: 1.1.0
|
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-
|
80
|
+
date: '2015-10-20'
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -6,6 +6,7 @@ source "https://rubygems.org/"
|
|
6
6
|
|
7
7
|
gem "setup", "~>5.2"
|
8
8
|
gem "notifier", "~>0.5"
|
9
|
+
gem "pony", "~>1.11"
|
9
10
|
|
10
11
|
gem "hoe-highline", "~>0.2", :group => [:development, :test]
|
11
12
|
gem "hoe-yard", ">=0.1.2", :group => [:development, :test]
|
@@ -16,13 +17,13 @@ gem "hoe-gemspec", "~>1.0", :group => [:development, :test]
|
|
16
17
|
gem "hoe-doofus", "~>1.0", :group => [:development, :test]
|
17
18
|
gem "hoe-git", "~>1.6", :group => [:development, :test]
|
18
19
|
gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
|
19
|
-
gem "hoe-manns", "~>1.
|
20
|
+
gem "hoe-manns", "~>1.4.2", :group => [:development, :test]
|
20
21
|
gem "hoe-reek", "~>1.0", :group => [:development, :test]
|
21
22
|
gem "hoe-rubocop", "~>0.1", :group => [:development, :test]
|
22
23
|
gem "hoe-travis", "~>1.2", :group => [:development, :test]
|
23
24
|
gem "hoe-version", "~>1.2", :group => [:development, :test]
|
24
25
|
gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
|
25
|
-
gem "hoe-
|
26
|
+
gem "hoe-packaging", "~>1.1.0", :group => [:development, :test]
|
26
27
|
gem "hoe", "~>3.14", :group => [:development, :test]
|
27
28
|
gem "ZenTest", "~>4.11", :group => [:development, :test]
|
28
29
|
gem "rake", "~>10.0", :group => [:development, :test]
|
@@ -30,12 +31,12 @@ gem "simplecov", "~>0.7", :group => [:development, :test]
|
|
30
31
|
gem "gem-release", "~>0.7", :group => [:development, :test]
|
31
32
|
gem "indexer", "~>0.3", :group => [:development, :test]
|
32
33
|
gem "reek", "~>3.3", :group => [:development, :test]
|
33
|
-
gem "MannsShared", "~>0.2", :group => [:development, :test]
|
34
34
|
gem "rainbow", "~>2.0", :group => [:development, :test]
|
35
35
|
gem "bundler", "~>1.10", :group => [:development, :test]
|
36
36
|
gem "parseconfig", "~>1.0", :group => [:development, :test]
|
37
37
|
gem "minitest", "~>5.8.1", :group => [:development, :test]
|
38
38
|
gem "rspec", "~>3.3", :group => [:development, :test]
|
39
39
|
gem "rubocop", "~>0.34", :group => [:development, :test]
|
40
|
+
gem "bundler-audit", "~>0.4.0", :group => [:development, :test]
|
40
41
|
|
41
42
|
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
nokogiri (~> 1.6, >= 1.6.6.2)
|
6
|
-
setup (~> 5.2, >= 5.2.0)
|
7
|
-
RedCloth (4.2.9)
|
4
|
+
CFPropertyList (2.2.8)
|
8
5
|
RubyInline (3.12.4)
|
9
6
|
ZenTest (~> 4.3)
|
10
7
|
ZenTest (4.11.0)
|
@@ -12,9 +9,20 @@ GEM
|
|
12
9
|
adamantium (0.2.0)
|
13
10
|
ice_nine (~> 0.11.0)
|
14
11
|
memoizable (~> 0.4.0)
|
12
|
+
addressable (2.3.8)
|
13
|
+
arr-pm (0.0.10)
|
14
|
+
cabin (> 0)
|
15
15
|
ast (2.1.0)
|
16
16
|
astrolabe (1.3.1)
|
17
17
|
parser (~> 2.2)
|
18
|
+
backports (3.6.6)
|
19
|
+
bundler-audit (0.4.0)
|
20
|
+
bundler (~> 1.2)
|
21
|
+
thor (~> 0.18)
|
22
|
+
cabin (0.7.1)
|
23
|
+
childprocess (0.5.6)
|
24
|
+
ffi (~> 1.0, >= 1.0.11)
|
25
|
+
clamp (0.6.5)
|
18
26
|
concord (0.1.5)
|
19
27
|
adamantium (~> 0.2.0)
|
20
28
|
equalizer (~> 0.0.9)
|
@@ -26,12 +34,31 @@ GEM
|
|
26
34
|
thor (~> 0.19.1)
|
27
35
|
diff-lcs (1.2.5)
|
28
36
|
docile (1.1.5)
|
29
|
-
domain_name (0.5.
|
37
|
+
domain_name (0.5.25)
|
30
38
|
unf (>= 0.0.5, < 1.0.0)
|
31
39
|
equalizer (0.0.11)
|
40
|
+
facter (2.4.4)
|
41
|
+
CFPropertyList (~> 2.2.6)
|
42
|
+
ffi (1.9.10)
|
43
|
+
fpm (1.4.0)
|
44
|
+
arr-pm (~> 0.0.10)
|
45
|
+
backports (>= 2.6.2)
|
46
|
+
cabin (>= 0.6.0)
|
47
|
+
childprocess
|
48
|
+
clamp (~> 0.6)
|
49
|
+
ffi
|
50
|
+
json (>= 1.7.7)
|
51
|
+
fpm-cookery (0.30.1)
|
52
|
+
addressable
|
53
|
+
facter
|
54
|
+
fpm (~> 1.1)
|
55
|
+
puppet (~> 3.4)
|
56
|
+
systemu
|
32
57
|
gem-release (0.7.4)
|
33
58
|
hashr (0.0.22)
|
34
|
-
|
59
|
+
hiera (1.3.4)
|
60
|
+
json_pure
|
61
|
+
highline (1.7.8)
|
35
62
|
hoe (3.14.2)
|
36
63
|
rake (>= 0.8, < 11.0)
|
37
64
|
hoe-bundler (1.2.0)
|
@@ -50,18 +77,20 @@ GEM
|
|
50
77
|
hoe-highline (0.2.1)
|
51
78
|
highline (~> 1.6)
|
52
79
|
hoe (~> 3.11)
|
53
|
-
hoe-manns (1.
|
80
|
+
hoe-manns (1.4.2)
|
81
|
+
bundler-audit (~> 0.4.0)
|
82
|
+
indexer (~> 0.3)
|
54
83
|
parseconfig (~> 1.0)
|
55
|
-
|
56
|
-
hoe-manualgen (0.3.0)
|
57
|
-
RedCloth (~> 4.2)
|
58
|
-
hoe (~> 3.0)
|
59
|
-
rcodetools (~> 0.8)
|
84
|
+
rainbow (~> 2.0)
|
60
85
|
hoe-mercurial (1.4.1)
|
61
86
|
hoe (~> 3.9)
|
62
|
-
hoe-
|
63
|
-
|
64
|
-
|
87
|
+
hoe-packaging (1.1.0)
|
88
|
+
bundler (~> 1.10)
|
89
|
+
fpm (~> 1.4)
|
90
|
+
fpm-cookery (~> 0.30)
|
91
|
+
hoe-reek (1.1.1)
|
92
|
+
bundler (~> 1.10)
|
93
|
+
setup (~> 5.2)
|
65
94
|
hoe-rubocop (0.1.1)
|
66
95
|
RubyInline (~> 3.9)
|
67
96
|
setup (~> 5.2)
|
@@ -78,26 +107,29 @@ GEM
|
|
78
107
|
ice_nine (0.11.1)
|
79
108
|
indexer (0.3.1)
|
80
109
|
json (1.8.3)
|
110
|
+
json_pure (1.8.3)
|
81
111
|
mail (2.6.3)
|
82
112
|
mime-types (>= 1.16, < 3)
|
83
113
|
memoizable (0.4.2)
|
84
114
|
thread_safe (~> 0.3, >= 0.3.1)
|
85
115
|
mime-types (2.6.2)
|
86
|
-
mini_portile (0.6.2)
|
87
116
|
minitest (5.8.1)
|
88
117
|
netrc (0.10.3)
|
89
|
-
nokogiri (1.6.6.2)
|
90
|
-
mini_portile (~> 0.6.0)
|
91
118
|
notifier (0.5.1)
|
92
119
|
parseconfig (1.0.6)
|
93
120
|
parser (2.2.2.6)
|
94
121
|
ast (>= 1.1, < 3.0)
|
122
|
+
pony (1.11)
|
123
|
+
mail (>= 2.0)
|
95
124
|
powerpack (0.1.1)
|
96
125
|
private_attr (1.1.0)
|
97
126
|
procto (0.0.2)
|
127
|
+
puppet (3.8.3)
|
128
|
+
facter (> 1.6, < 3)
|
129
|
+
hiera (~> 1.0)
|
130
|
+
json_pure
|
98
131
|
rainbow (2.0.0)
|
99
132
|
rake (10.4.2)
|
100
|
-
rcodetools (0.8.5.0)
|
101
133
|
rdoc (4.2.0)
|
102
134
|
reek (3.5.0)
|
103
135
|
parser (~> 2.2.2.5)
|
@@ -135,6 +167,7 @@ GEM
|
|
135
167
|
json (~> 1.8)
|
136
168
|
simplecov-html (~> 0.10.0)
|
137
169
|
simplecov-html (0.10.0)
|
170
|
+
systemu (2.6.5)
|
138
171
|
term-ansicolor (1.3.2)
|
139
172
|
tins (~> 1.0)
|
140
173
|
thor (0.19.1)
|
@@ -160,9 +193,9 @@ PLATFORMS
|
|
160
193
|
ruby
|
161
194
|
|
162
195
|
DEPENDENCIES
|
163
|
-
MannsShared (~> 0.2)
|
164
196
|
ZenTest (~> 4.11)
|
165
197
|
bundler (~> 1.10)
|
198
|
+
bundler-audit (~> 0.4.0)
|
166
199
|
coveralls (~> 0.8)
|
167
200
|
gem-release (~> 0.7)
|
168
201
|
hoe (~> 3.14)
|
@@ -172,8 +205,8 @@ DEPENDENCIES
|
|
172
205
|
hoe-gemspec (~> 1.0)
|
173
206
|
hoe-git (~> 1.6)
|
174
207
|
hoe-highline (~> 0.2)
|
175
|
-
hoe-manns (~> 1.
|
176
|
-
hoe-
|
208
|
+
hoe-manns (~> 1.4.2)
|
209
|
+
hoe-packaging (~> 1.1.0)
|
177
210
|
hoe-reek (~> 1.0)
|
178
211
|
hoe-rubocop (~> 0.1)
|
179
212
|
hoe-rubygems (~> 1.0)
|
@@ -185,6 +218,7 @@ DEPENDENCIES
|
|
185
218
|
minitest (~> 5.8.1)
|
186
219
|
notifier (~> 0.5)
|
187
220
|
parseconfig (~> 1.0)
|
221
|
+
pony (~> 1.11)
|
188
222
|
rainbow (~> 2.0)
|
189
223
|
rake (~> 10.0)
|
190
224
|
reek (~> 3.3)
|
data/History.rdoc
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
=== 1.
|
1
|
+
=== 1.1.0 / UNRELEASED
|
2
|
+
|
3
|
+
* 3 minor enhancements
|
4
|
+
|
5
|
+
* LCV-7: Add mailer
|
6
|
+
* LCV-9: latexcv.rb: Use not File.expand
|
7
|
+
* LCV-10: Build a upgrade option
|
8
|
+
|
9
|
+
=== 1.0.0 / 2015-10-03
|
2
10
|
|
3
11
|
* 1 bug fix
|
4
12
|
|
@@ -7,7 +15,7 @@
|
|
7
15
|
* 3 feature requests
|
8
16
|
|
9
17
|
* fix LCV-6: Added LatexCurriculumVitae::Letter (Class for compile the motivational letter)
|
10
|
-
* fix LCV-7: Allow to name the pdf output file (instead of hardcoded "Bewerbungsunterlagen_Manns"
|
18
|
+
* fix LCV-7: Allow to name the pdf output file (instead of hardcoded "Bewerbungsunterlagen_Manns")
|
11
19
|
* fix LCV-8: Make LCV more dynamic (added variable "letter". If this is set, the program merges the motivational
|
12
20
|
letter with the cv.
|
13
21
|
* Extended gui for asking about street and city (company)
|
data/Index.yml
CHANGED
data/README.rdoc
CHANGED
@@ -8,8 +8,11 @@ openhub statistics :: https://www.openhub.net/p/latex_curriculum_vitae
|
|
8
8
|
last public version :: {<img src="https://badge.fury.io/rb/latex_curriculum_vitae.png" alt="Build Status" />}[http://rubygems.org/gems/latex_curriculum_vitae]
|
9
9
|
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
10
|
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
|
-
|
12
|
-
|
11
|
+
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
|
+
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]
|
15
|
+
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]
|
13
16
|
donations :: {<img src="https://pledgie.com/campaigns/30094.png?skin_name=chrome" alt="Build Status" />}[https://pledgie.com/campaigns/30094]
|
14
17
|
donations :: {<img src="http://img.shields.io/gratipay/saigkill.svg" alt="Build Status" />}[https://gratipay.com/~saigkill/]
|
15
18
|
donations :: {<img src="http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png" alt="Build Status" />}[http://www.amazon.de/registry/wishlist/D75HOEQ00BDD]
|
@@ -17,7 +20,7 @@ donations :: {<img src="http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png"
|
|
17
20
|
== DESCRIPTION:
|
18
21
|
|
19
22
|
latex_curriculum_vitae is a Rubygem which help you to write your job applications. The program aks you for all relevant data for compiling
|
20
|
-
the curriculum vitae. It builds the motivational letter (if
|
23
|
+
the curriculum vitae. It builds the motivational letter (if chosen in the gui), the cover and the cv. The resulting pdf will be found
|
21
24
|
in your home directory. Also it generates an email with a standard content, which allows you to send the mail with your cv directly.
|
22
25
|
|
23
26
|
== FEATURES/PROBLEMS:
|
@@ -33,19 +36,19 @@ in your home directory. Also it generates an email with a standard content, whic
|
|
33
36
|
|
34
37
|
The resulting PDF and the CSV file are placed in /home/You/.latex_curriculum_vitae.
|
35
38
|
|
36
|
-
|
39
|
+
Read the documentation at: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
|
37
40
|
|
38
41
|
== REQUIREMENTS:
|
39
42
|
|
40
43
|
* setup
|
41
44
|
* notifier
|
45
|
+
* pony
|
42
46
|
|
43
47
|
== REQUIREMENTS (hard dependencies):
|
44
48
|
|
45
49
|
* pdflatex & xelatex
|
46
50
|
* yad
|
47
51
|
* poppler (pdfunite)
|
48
|
-
* thunderbird
|
49
52
|
|
50
53
|
== INSTALL:
|
51
54
|
|
@@ -53,13 +56,13 @@ The installation is very easy.
|
|
53
56
|
|
54
57
|
gem install latex_curriculum_vitae
|
55
58
|
cd /path/to/gem (In case of using RVM ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae)
|
56
|
-
rake
|
59
|
+
rake setup
|
57
60
|
|
58
61
|
Read the documentation at: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
|
59
62
|
|
60
63
|
You have to run the setup after each gem update.
|
61
64
|
|
62
|
-
If you like this gem, don't forget to give the GitLab repo a
|
65
|
+
If you like this gem, don't forget to give the GitLab repo a star :-)
|
63
66
|
|
64
67
|
== DEVELOPERS:
|
65
68
|
|
data/Rakefile
CHANGED
@@ -27,12 +27,13 @@ Hoe.plugin :highline
|
|
27
27
|
Hoe.plugin :manns
|
28
28
|
# Hoe.plugin :mercurial
|
29
29
|
# Hoe.plugin :perforce
|
30
|
+
Hoe.plugin :packaging
|
30
31
|
# Hoe.plugin :racc
|
31
32
|
# Hoe.plugin :rcov
|
32
33
|
Hoe.plugin :reek
|
33
34
|
Hoe.plugin :rdoc
|
34
35
|
Hoe.plugin :rubocop
|
35
|
-
|
36
|
+
Hoe.plugin :rubygems
|
36
37
|
# Hoe.plugin :seattlerb
|
37
38
|
Hoe.plugin :travis
|
38
39
|
Hoe.plugin :version
|
@@ -50,10 +51,11 @@ Hoe.spec 'latex_curriculum_vitae' do
|
|
50
51
|
self.history_file = 'History.rdoc'
|
51
52
|
self.readme_file = 'README.rdoc'
|
52
53
|
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
53
|
-
self.post_install_message = '*** Run rake setup to finish the installation *** Please file bugreports and feature requests on: https://gitlab.com/saigkill/latex_curriculum_vitae/issues'
|
54
|
+
self.post_install_message = '*** Run rake setup to finish the installation (Backup your Latex sources first!!!) *** Please file bugreports and feature requests on: https://gitlab.com/saigkill/latex_curriculum_vitae/issues'
|
54
55
|
|
55
56
|
dependency 'setup', '~> 5.2'
|
56
57
|
dependency 'notifier', '~> 0.5'
|
58
|
+
dependency 'pony', '~> 1.11'
|
57
59
|
|
58
60
|
extra_dev_deps << ['coveralls', '~> 0.8']
|
59
61
|
extra_dev_deps << ['hoe-bundler', '~> 1.2']
|
@@ -62,7 +64,7 @@ Hoe.spec 'latex_curriculum_vitae' do
|
|
62
64
|
extra_dev_deps << ['hoe-doofus', '~> 1.0']
|
63
65
|
extra_dev_deps << ['hoe-git', '~> 1.6']
|
64
66
|
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
65
|
-
extra_dev_deps << ['hoe-manns', '~> 1.
|
67
|
+
extra_dev_deps << ['hoe-manns', '~> 1.4.2']
|
66
68
|
extra_dev_deps << ['hoe-reek', '~> 1.0']
|
67
69
|
extra_dev_deps << ['hoe-rubocop', '~> 0.1']
|
68
70
|
extra_dev_deps << ['hoe-travis', '~> 1.2']
|
@@ -70,7 +72,7 @@ Hoe.spec 'latex_curriculum_vitae' do
|
|
70
72
|
extra_dev_deps << ['hoe-yard', '~> 0.1']
|
71
73
|
extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
|
72
74
|
extra_dev_deps << ['hoe-version', '~> 1.2']
|
73
|
-
extra_dev_deps << ['hoe-
|
75
|
+
extra_dev_deps << ['hoe-packaging', '~> 1.1.0']
|
74
76
|
extra_dev_deps << ['hoe', '~> 3.14']
|
75
77
|
extra_dev_deps << ['ZenTest', '~> 4.11']
|
76
78
|
extra_dev_deps << ['rake', '~> 10.0']
|
@@ -79,7 +81,6 @@ Hoe.spec 'latex_curriculum_vitae' do
|
|
79
81
|
extra_dev_deps << ['gem-release', '~> 0.7']
|
80
82
|
extra_dev_deps << ['indexer', '~> 0.3']
|
81
83
|
extra_dev_deps << ['reek', '~> 3.3']
|
82
|
-
extra_dev_deps << ['MannsShared', '~> 0.2']
|
83
84
|
extra_dev_deps << ['rainbow', '~> 2.0']
|
84
85
|
extra_dev_deps << ['bundler', '~> 1.10']
|
85
86
|
extra_dev_deps << ['parseconfig', '~> 1.0']
|
@@ -87,6 +88,7 @@ Hoe.spec 'latex_curriculum_vitae' do
|
|
87
88
|
extra_dev_deps << ['rspec', '~> 3.3']
|
88
89
|
extra_dev_deps << ['rubocop', '~> 0.34']
|
89
90
|
extra_dev_deps << ['simplecov', '~> 0.10']
|
91
|
+
extra_dev_deps << ['bundler-audit', '~> 0.4.0']
|
90
92
|
end
|
91
93
|
|
92
94
|
###################################### SETUP ZONE #####################################################################
|
@@ -94,12 +96,22 @@ end
|
|
94
96
|
require 'fileutils'
|
95
97
|
desc 'Setup'
|
96
98
|
task :setup do
|
99
|
+
datadir = "#{Dir.home}/.rvm/rubies/default/share"
|
100
|
+
FileUtils.cp("#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg",
|
101
|
+
"#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg.my") if
|
102
|
+
File.exist?("#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg")
|
103
|
+
FileUtils.mkdir("#{datadir}/latex_curriculum_vitae-backup") if !File.exist?("#{datadir}/latex_curriculum_vitae-backup")
|
104
|
+
FileUtils.cp_r "#{datadir}/latex_curriculum_vitae/.", "#{datadir}/latex_curriculum_vitae-backup/." if
|
105
|
+
File.exist?("#{datadir}/latex_curriculum_vitae/")
|
97
106
|
system('setup.rb uninstall --force')
|
98
107
|
system('setup.rb config --sysconfdir=$HOME/.latex_curriculum_vitae')
|
99
108
|
system('setup.rb install')
|
100
|
-
|
109
|
+
FileUtils.cp("#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg.my",
|
110
|
+
"#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg") if
|
111
|
+
File.exist?("#{Dir.home}/.latex_curriculum_vitae/.latex_curriculum_vitae.cfg.my")
|
112
|
+
FileUtils.cp_r "#{datadir}/latex_curriculum_vitae-backup/.", "#{datadir}/latex_curriculum_vitae/." if
|
113
|
+
File.exist?("#{datadir}/latex_curriculum_vitae-backup/.")
|
101
114
|
puts 'Creating Launcher...'.color(:yellow)
|
102
|
-
datadir = "#{Dir.home}/.rvm/rubies/default/share"
|
103
115
|
desktopfile = "#{Dir.home}/.local/share/applications/latex_curriculum_vitae.desktop"
|
104
116
|
FileUtils.touch(desktopfile)
|
105
117
|
File.write "#{desktopfile}", <<EOF
|
@@ -111,6 +123,7 @@ Exec=latexcv.rb
|
|
111
123
|
Icon="#{datadir}/latex_curriculum_vitae/Pictures/arbeitsagentur.png"
|
112
124
|
EOF
|
113
125
|
puts 'Setup is now finished. See the documentation to find out more about this gem.'
|
126
|
+
|
114
127
|
end
|
115
128
|
|
116
129
|
# vim: syntax=ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1.1.0
|
data/bin/latexcv.rb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
# Dependencies
|
5
5
|
require 'rubygems'
|
6
|
-
|
7
|
-
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/latex_curriculum_vitae'))
|
6
|
+
require '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
|