latex_curriculum_vitae 0.1.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.autotest +25 -0
  4. data/.codeclimate.yml +8 -0
  5. data/.coveralls.yml +2 -0
  6. data/.gemnasium.yml +1 -1
  7. data/.index +5 -8
  8. data/.rspec +2 -0
  9. data/.rubocop.yml +39 -0
  10. data/.scrutinizer.yml +17 -0
  11. data/.travis.yml +27 -0
  12. data/CONTRIBUTING.md +2 -2
  13. data/Gemfile +41 -2
  14. data/Gemfile.lock +181 -16
  15. data/History.rdoc +32 -0
  16. data/Index.yml +4 -5
  17. data/LICENSE.rdoc +24 -0
  18. data/{MANIFEST → Manifest.txt} +24 -21
  19. data/README.rdoc +98 -0
  20. data/Rakefile +97 -198
  21. data/VERSION +1 -1
  22. data/bin/latexcv.rb +2 -2
  23. data/config.reek +111 -0
  24. data/data/latex_curriculum_vitae/Cover/Cover.tex +1 -2
  25. data/data/latex_curriculum_vitae/Motivational_Letter/bwanschreiben.tex +28 -34
  26. data/etc/latex_curriculum_vitae.cfg +5 -0
  27. data/etc/personal_data.tex +6 -2
  28. data/lib/latex_curriculum_vitae/cover.rb +7 -4
  29. data/lib/latex_curriculum_vitae/cv.rb +44 -13
  30. data/lib/latex_curriculum_vitae/email.rb +22 -12
  31. data/lib/latex_curriculum_vitae/entityfile.rb +68 -29
  32. data/lib/latex_curriculum_vitae/get-config.rb +25 -0
  33. data/lib/latex_curriculum_vitae/glade/{latexcv.glade~ → latexcv.glade} +0 -0
  34. data/lib/latex_curriculum_vitae/letter.rb +23 -0
  35. data/lib/latex_curriculum_vitae.rb +42 -13
  36. data.tar.gz.sig +0 -0
  37. metadata +412 -91
  38. metadata.gz.sig +0 -0
  39. data/.gitignore +0 -5
  40. data/.idea/latex_curriculum_vitae.iml +0 -25
  41. data/.idea/misc.xml +0 -4
  42. data/.idea/modules.xml +0 -8
  43. data/.idea/vcs.xml +0 -6
  44. data/.idea/workspace.xml +0 -708
  45. data/.setup/installer.rb +0 -30
  46. data/.setup/metaconfig.rb +0 -1
  47. data/CHANGELOG.md +0 -10
  48. data/LICENSE +0 -166
  49. data/README.md +0 -122
  50. data/data/latex_curriculum_vitae/Appendix/Employers_Reference/build.bat +0 -4
  51. data/data/latex_curriculum_vitae/Motivational_Letter/Anschreiben.docx +0 -0
  52. data/data/latex_curriculum_vitae/Motivational_Letter/Anschreiben_MC.pdf +0 -0
  53. data/latex_curriculum_vitae.gemspec +0 -42
  54. data/lib/latex_curriculum_vitae/version.rb +0 -24
data/History.rdoc ADDED
@@ -0,0 +1,32 @@
1
+ === 1.0.0 / NOT RELEASED
2
+
3
+ * 1 bug fix
4
+
5
+ * Fixed install routine
6
+
7
+ * 3 feature requests
8
+
9
+ * 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"
11
+ * fix LCV-8: Make LCV more dynamic (added variable "letter". If this is set, the program merges the motivational
12
+ letter with the cv.
13
+ * Extended gui for asking about street and city (company)
14
+ * Added 4 variables to latex_curriculum_vitae.cfg: name_of_letter, name_of_resume, name_of_cover and name_of_pdf.
15
+ * Extended personal_data.tex for containing all relevant infos for compiling the letter and the cover.
16
+ * Changed LaTEX sources for using the personal_data.tex to build the cover and the letter.
17
+ * Reworked documentation
18
+
19
+ === 0.1.3 / 2015-09-05
20
+
21
+ * 2 minor enhancements
22
+
23
+ * The installed gem doesn't use $HOME for sysconfdir
24
+ * fixed color issue
25
+
26
+ === 0.1.1 / 2015-09-04
27
+
28
+ * 1 major enhancement
29
+
30
+ * Birthday!
31
+
32
+
data/Index.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: latex_curriculum_vitae
3
- version: 0.1.4
3
+ version: 1.0.0
4
4
  title: Latex_curriculum_vitae
5
5
  summary: A program for creating an application
6
6
 
@@ -27,9 +27,8 @@ repositories:
27
27
 
28
28
  resources:
29
29
  home: http://saigkill.github.io
30
- code: https://github.com/saigkill/latex_curriculum_vitae
31
- bugs: http://saigkill-bugs.myjetbrains.com/youtrack
32
- issues: http://saigkill-bugs.myjetbrains.com/youtrack
30
+ code: https://gitlab.com/saigkill/latex_curriculum_vitae
31
+ bugs: https://gitlab.com/saigkill/latex_curriculum_vitae/issues
33
32
 
34
33
  categories:
35
34
  - latex
@@ -38,5 +37,5 @@ categories:
38
37
  - curriculum vitae
39
38
 
40
39
  copyrights:
41
- - 2015 Sascha Manns (GPL-3)
40
+ - 2015 Sascha Manns (MIT)
42
41
 
data/LICENSE.rdoc ADDED
@@ -0,0 +1,24 @@
1
+ = LICENSE:
2
+
3
+ (The MIT License)
4
+
5
+ Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ 'Software'), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,19 +1,30 @@
1
- #!mast *
2
- LICENSE
3
- latex_curriculum_vitae.gemspec
1
+ .autotest
2
+ .codeclimate.yml
3
+ .coveralls.yml
4
+ .gemnasium.yml
5
+ .index
6
+ .rspec
7
+ .rubocop.yml
8
+ .scrutinizer.yml
9
+ .travis.yml
4
10
  CODE_OF_CONDUCT.md
5
- bin/latexcv.rb
6
- SetupConfig
11
+ CONTRIBUTING.md
7
12
  Gemfile
13
+ Gemfile.lock
14
+ History.rdoc
8
15
  Index.yml
16
+ LICENSE.rdoc
17
+ Manifest.txt
18
+ README.rdoc
9
19
  Rakefile
10
- CONTRIBUTING.md
20
+ VERSION
21
+ bin/latexcv.rb
22
+ config.reek
11
23
  data/latex_curriculum_vitae/Appendix/Bibliography/bibliography1.bib
12
24
  data/latex_curriculum_vitae/Appendix/Certificates/Zertifikat_Sascha_Manns1.pdf
13
25
  data/latex_curriculum_vitae/Appendix/Certificates/kompetenzpass12013.pdf
14
26
  data/latex_curriculum_vitae/Appendix/Certificates/thm-webeng1.pdf
15
27
  data/latex_curriculum_vitae/Appendix/Employers_Reference/Arbeitszeugnisse.pdf
16
- data/latex_curriculum_vitae/Appendix/Employers_Reference/build.bat
17
28
  data/latex_curriculum_vitae/Appendix/Employers_Reference/hays.pdf
18
29
  data/latex_curriculum_vitae/Appendix/Employers_Reference/haysnew.pdf
19
30
  data/latex_curriculum_vitae/Appendix/Employers_Reference/openslx.pdf
@@ -27,39 +38,31 @@ data/latex_curriculum_vitae/Appendix/Study/foo.pdf
27
38
  data/latex_curriculum_vitae/Appendix/Study/zwzils.jpg
28
39
  data/latex_curriculum_vitae/Appendix/Study/zwzils.pdf
29
40
  data/latex_curriculum_vitae/Cover/Cover.tex
30
- data/latex_curriculum_vitae/Cover/Cover.tex.bak
31
- data/latex_curriculum_vitae/Motivational_Letter/Anschreiben.docx
32
- data/latex_curriculum_vitae/Motivational_Letter/Anschreiben_MC.pdf
33
41
  data/latex_curriculum_vitae/Motivational_Letter/bwanschreiben.tex
34
42
  data/latex_curriculum_vitae/Pictures/Sascha1p.jpg
35
43
  data/latex_curriculum_vitae/Pictures/arbeitsagentur.png
36
44
  data/latex_curriculum_vitae/Pictures/background.jpg
37
45
  data/latex_curriculum_vitae/Pictures/background.png
38
46
  data/latex_curriculum_vitae/Pictures/signatur.png
39
- data/latex_curriculum_vitae/Resume/Bewerbungsunterlagen_Manns.pdf
40
47
  data/latex_curriculum_vitae/Resume/cv_10.aux
41
48
  data/latex_curriculum_vitae/Resume/cv_10.bbl
42
49
  data/latex_curriculum_vitae/Resume/cv_10.bcf
43
50
  data/latex_curriculum_vitae/Resume/cv_10.blg
44
- data/latex_curriculum_vitae/Resume/cv_10.log
45
51
  data/latex_curriculum_vitae/Resume/cv_10.out
46
52
  data/latex_curriculum_vitae/Resume/cv_10.pdf
47
53
  data/latex_curriculum_vitae/Resume/cv_10.run.xml
48
54
  data/latex_curriculum_vitae/Resume/cv_10.tex
49
- data/latex_curriculum_vitae/Resume/cv_10.tex.bak
50
55
  data/latex_curriculum_vitae/Resume/friggeri-cv.cls
51
- data/latex_curriculum_vitae/Resume/friggeri-cv.cls.bak
52
56
  data/latex_curriculum_vitae/Resume/missfont.log
57
+ etc/latex_curriculum_vitae.cfg
58
+ etc/personal_data.tex
59
+ lib/latex_curriculum_vitae.rb
53
60
  lib/latex_curriculum_vitae/cover.rb
54
61
  lib/latex_curriculum_vitae/cv.rb
55
62
  lib/latex_curriculum_vitae/email.rb
56
63
  lib/latex_curriculum_vitae/entityfile.rb
64
+ lib/latex_curriculum_vitae/get-config.rb
65
+ lib/latex_curriculum_vitae/glade/latexcv.glade
66
+ lib/latex_curriculum_vitae/letter.rb
57
67
  lib/latex_curriculum_vitae/notifier.rb
58
68
  lib/latex_curriculum_vitae/outfile.rb
59
- lib/latex_curriculum_vitae/version.rb
60
- lib/latex_curriculum_vitae.rb
61
- README.md
62
- Gemfile.lock
63
- VERSION
64
- etc/personal_data.tex
65
- CHANGELOG.md
data/README.rdoc ADDED
@@ -0,0 +1,98 @@
1
+ = latex_curriculum_vitae
2
+
3
+ home :: http://saigkill.github.io
4
+ code :: https://gitlab.com/saigkill/latex_curriculum_vitae
5
+ docs :: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
6
+ bugs :: https://gitlab.com/saigkill/latex_curriculum_vitae/issues
7
+ openhub statistics :: https://www.openhub.net/p/latex_curriculum_vitae
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
+ 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
+ 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
+ dependency check :: {<img src="https://gemnasium.com/saigkill/latex_curriculum_vitae.png" alt="Build Status" />}[https://gemnasium.com/saigkill/latex_curriculum_vitae]
12
+ still maintained? :: {<img src="http://stillmaintained.com/saigkill/latex_curriculum_vitae.png" alt="Build Status" />}[http://stillmaintained.com/saigkill/latex_curriculum_vitae]
13
+ donations :: {<img src="https://pledgie.com/campaigns/30094.png?skin_name=chrome" alt="Build Status" />}[https://pledgie.com/campaigns/30094]
14
+ donations :: {<img src="http://img.shields.io/gratipay/saigkill.svg" alt="Build Status" />}[https://gratipay.com/~saigkill/]
15
+ donations :: {<img src="http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png" alt="Build Status" />}[http://www.amazon.de/registry/wishlist/D75HOEQ00BDD]
16
+
17
+ == DESCRIPTION:
18
+
19
+ 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 choosen in the gui), the cover and the cv. The resulting pdf will be found
21
+ 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
+
23
+ == FEATURES/PROBLEMS:
24
+
25
+ * Ruby based LaTEX publisher for job applications
26
+ * Currently it just uses thunderbird for creating mails. If no other wishes another solution it will be hardcoded.
27
+
28
+ == SYNOPSIS:
29
+
30
+ $ latexcv.rb
31
+
32
+ Or just use the Launcher.
33
+
34
+ The resulting PDF and the CSV file are placed in /home/You/.latex_curriculum_vitae.
35
+
36
+ If you like this little program so don't forget to give this GitHub repository a star :-)
37
+
38
+ == REQUIREMENTS:
39
+
40
+ * setup
41
+ * notifier
42
+
43
+ == REQUIREMENTS (hard dependencies):
44
+
45
+ * pdflatex & xelatex
46
+ * yad
47
+ * poppler (pdfunite)
48
+ * thunderbird
49
+
50
+ == INSTALL:
51
+
52
+ The installation is very easy.
53
+
54
+ gem install latex_curriculum_vitae
55
+ cd /path/to/gem (In case of using RVM ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae)
56
+ rake
57
+
58
+ Read the documentation at: https://gitlab.com/saigkill/latex_curriculum_vitae/wikis/home
59
+
60
+ You have to run the setup after each gem update.
61
+
62
+ If you like this gem, don't forget to give the GitLab repo a start :-)
63
+
64
+ == DEVELOPERS:
65
+
66
+ After checking out the source, run:
67
+
68
+ $ rake newb
69
+
70
+ This task will install any missing dependencies, run the tests/specs,
71
+ and generate the RDoc.
72
+
73
+ Read https://gitlab.com/saigkill/latex_curriculum_vitae/blob/master/CONTRIBUTING.md
74
+
75
+ == LICENSE:
76
+
77
+ (The MIT License)
78
+
79
+ Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
80
+
81
+ Permission is hereby granted, free of charge, to any person obtaining
82
+ a copy of this software and associated documentation files (the
83
+ 'Software'), to deal in the Software without restriction, including
84
+ without limitation the rights to use, copy, modify, merge, publish,
85
+ distribute, sublicense, and/or sell copies of the Software, and to
86
+ permit persons to whom the Software is furnished to do so, subject to
87
+ the following conditions:
88
+
89
+ The above copyright notice and this permission notice shall be
90
+ included in all copies or substantial portions of the Software.
91
+
92
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
93
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
94
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
95
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
96
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
97
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
98
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,196 +1,105 @@
1
- # encoding: utf-8
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'latex_curriculum_vitae/version.rb'))
4
- require 'bundler/gem_tasks'
1
+ # -*- ruby -*-
2
+ # Release:
3
+ # * update *.wiki markdown documentation for GitLab
4
+ # * enable :git
5
+ # * rake run_before_release
6
+ # * disable :git
7
+ # * Checkin
8
+ # * rake release
9
+ # * rake run_after_release
10
+
5
11
  require 'rubygems'
12
+ require 'hoe'
6
13
 
7
- # Yard Task
8
- require 'yard'
9
- desc 'Run yarddoc for the source'
10
14
  # rubocop:disable Metrics/LineLength
11
- YARD::Rake::YardocTask.new do |t|
12
- t.files = %w('lib/**/*.rb', '-', 'CHANGELOG.md', 'CODE_OF_CONDUCT.md', 'CONTRIBUTING.md', 'MANIFEST', 'LICENSE', 'README.md')
15
+ ############################################# DEVELOPING ZONE #########################################################
16
+ Hoe.plugin :bundler
17
+ # Hoe.plugin :deveiate
18
+ Hoe.plugin :doofus
19
+ Hoe.plugin :email
20
+ Hoe.plugin :gemspec
21
+ # Hoe.plugin :gem_prelude_sucks
22
+ Hoe.plugins.delete :git
23
+ #Hoe.plugin :git
24
+ Hoe.plugin :history
25
+ Hoe.plugin :highline
26
+ #Hoe.plugin :inline
27
+ Hoe.plugin :manns
28
+ # Hoe.plugin :mercurial
29
+ # Hoe.plugin :perforce
30
+ # Hoe.plugin :racc
31
+ # Hoe.plugin :rcov
32
+ Hoe.plugin :reek
33
+ Hoe.plugin :rdoc
34
+ Hoe.plugin :rubocop
35
+ #Hoe.plugin :rubygems
36
+ # Hoe.plugin :seattlerb
37
+ Hoe.plugin :travis
38
+ Hoe.plugin :version
39
+ Hoe.plugin :website
40
+ Hoe.plugin :yard
41
+
42
+ Hoe.spec 'latex_curriculum_vitae' do
43
+ developer('Sascha Manns', 'samannsml@directbox.com')
44
+ license 'MIT' # this should match the license in the README
45
+ require_ruby_version '>= 2.2.0'
46
+
47
+ email_to << 'ruby-talk@ruby-lang.org'
48
+ email_to << 'TEX-D-L@LISTSERV.DFN.DE'
49
+
50
+ self.history_file = 'History.rdoc'
51
+ self.readme_file = 'README.rdoc'
52
+ 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
+
55
+ dependency 'setup', '~> 5.2'
56
+ dependency 'notifier', '~> 0.5'
57
+
58
+ extra_dev_deps << ['coveralls', '~> 0.8']
59
+ extra_dev_deps << ['hoe-bundler', '~> 1.2']
60
+ extra_dev_deps << ['hoe-deveiate', '~> 0.7']
61
+ extra_dev_deps << ['hoe-gemspec', '~> 1.0']
62
+ extra_dev_deps << ['hoe-doofus', '~> 1.0']
63
+ extra_dev_deps << ['hoe-git', '~> 1.6']
64
+ extra_dev_deps << ['hoe-rubygems', '~> 1.0']
65
+ extra_dev_deps << ['hoe-manns', '~> 1.0']
66
+ extra_dev_deps << ['hoe-reek', '~> 1.0']
67
+ extra_dev_deps << ['hoe-rubocop', '~> 0.1']
68
+ extra_dev_deps << ['hoe-travis', '~> 1.2']
69
+ extra_dev_deps << ['hoe-version', '~> 1.2']
70
+ extra_dev_deps << ['hoe-yard', '~> 0.1']
71
+ extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
72
+ extra_dev_deps << ['hoe-version', '~> 1.2']
73
+ extra_dev_deps << ['hoe-manualgen', '~> 0.3']
74
+ extra_dev_deps << ['hoe', '~> 3.14']
75
+ extra_dev_deps << ['ZenTest', '~> 4.11']
76
+ extra_dev_deps << ['rake', '~> 10.0']
77
+ extra_dev_deps << ['simplecov', '~> 0.7']
78
+ extra_dev_deps << ['coveralls', '~> 0.8']
79
+ extra_dev_deps << ['gem-release', '~> 0.7']
80
+ extra_dev_deps << ['indexer', '~> 0.3']
81
+ extra_dev_deps << ['reek', '~> 3.3']
82
+ extra_dev_deps << ['MannsShared', '~> 0.2']
83
+ extra_dev_deps << ['rainbow', '~> 2.0']
84
+ extra_dev_deps << ['bundler', '~> 1.10']
85
+ extra_dev_deps << ['parseconfig', '~> 1.0']
86
+ extra_dev_deps << ['minitest', '~> 5.8.1']
87
+ extra_dev_deps << ['rspec', '~> 3.3']
88
+ extra_dev_deps << ['rubocop', '~> 0.34']
89
+ extra_dev_deps << ['simplecov', '~> 0.10']
13
90
  end
14
91
 
15
- require 'fileutils'
16
- desc 'Prepares for release'
17
- task :make_release do
18
- version = LatexCurriculumVitae::Version::STRING
19
- home = Dir.home
20
- target = "#{home}/RubymineProjects/saigkill.github.com/_posts"
21
- time = Time.new
22
- date = time.strftime('%Y-%m-%d')
23
-
24
- puts 'Updating MANIFEST'
25
- system('mast -u && mast -u')
26
- system('git add MANIFEST')
27
- puts 'done'
28
- puts 'Updating workspace'
29
- system('git add .idea/*')
30
- system('git commit -m "Updated workspace"')
31
- puts 'done'
32
- puts 'Making release'
33
- system('rake release')
34
-
35
- FileUtils.cd(target) do
36
- FileUtils.touch "#{date}-latex_curriculum_vitae-#{version}-released-en.md"
37
- File.write "#{date}-latex_curriculum_vitae-#{version}-released-en.md", <<EOF
38
- ---
39
- layout: post
40
- title: "latex_curriculum_vitae #{version} - A program for creating an job application"
41
- description: "It supports creating a application by rendering with LaTEX."
42
- category: "programming"
43
- tags: [ruby, opensource, latex_curriculum_vitae, en-US]
44
- ---
45
- {% include JB/setup %}
46
-
47
- # Introduction
48
- latex_curriculum_vitae is a Ruby based generator for LaTEX job applications:
49
-
50
- * it asks for the information like jobtitle, contact, company and so far,
51
- * it generates the resume with a cover,
52
- * it generates an email with the contacts emailaddress and a predefined text and
53
- * it saves the informations in a CSV file.
54
-
55
- # Installation
56
- If you give it a try just do:
57
-
58
- gem install latex_curriculum_vitae
59
- cd /path/to/gem (In case of using RVM ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae)
60
- rake
61
-
62
- # Dependencies
63
-
64
- * pdflatex
65
- * xelatex
66
- * yad
67
-
68
- # Using the Gem
69
-
70
- To use the gem type in the console
71
-
72
- latexcv.rb
73
-
74
- or use the launcher.
75
-
76
- # All Downloads for latex_curriculum_vitae:
77
- [![downloads-all](https://img.shields.io/gem/dt/latex_curriculum_vitae.svg)](https://rubygems.org/gems/latex_curriculum_vitae)
78
-
79
- # References
80
- * Projects home: [https://github.com/saigkill/latex_curriculum_vitae](https://github.com/saigkill/latex_curriculum_vitae)
81
- * Developer documentation: [http://www.rubydoc.info/gems/latex_curriculum_vitae](http://www.rubydoc.info/gems/latex_curriculum_vitae)
82
- * Bug reports: [http://saigkill-bugs.myjetbrains.com/youtrack/issues](http://saigkill-bugs.myjetbrains.com/youtrack/issues)
83
-
84
- # What has be done in this version #{version}?
85
- * Basic method integration
86
-
87
- # Donations
88
- [![latex_curriculum_vitae](https://pledgie.com/campaigns/30094.png?skin_name=chrome)](https://pledgie.com/campaigns/30094)
89
- [![wishlist](http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png)](http://www.amazon.de/registry/wishlist/D75HOEQ00BDD)
90
- EOF
91
- end
92
- FileUtils.cd(target) do
93
- FileUtils.touch "#{date}-latex_curriculum_vitae-#{version}-released-de.md"
94
- File.write "#{date}-latex_curriculum_vitae-#{version}-released-de.md", <<EOF
95
- ---
96
- layout: post
97
- title: "latex_curriculum_vitae #{version} - Eine Generator für LaTEX Bewerbungen"
98
- description: "Ein Gem zum generieren von Bewerbungen"
99
- category: "programming"
100
- tags: [ruby, opensource, latex_curriculum_vitae, de-DE]
101
- ---
102
- {% include JB/setup %}
103
-
104
- # Introduction
105
- latex_curriculum_vitae generiert eine Bewerbung mit den folgenden Schritten:
106
-
107
- * es fragt nach Informationen wie Name des Kontaktes, der Firma usw.,
108
- * es generiert daraus eine Bewerbungsmappe mit Cover, Lebenslauf und Anhängen,
109
- * es generiert eine Email mit einem erweiterbaren Standardtext,
110
- * es trägt die Informationen in eine CSV Tabelle ein.
111
-
112
- # Installation
113
- Zur installation genügt ein:
114
-
115
- gem install latex_curriculum_vitae
116
- cd /path/to/gem (Falls RVM benutzt wird z.B. ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae)
117
- rake
118
-
119
- # Abhängigkeiten
92
+ ###################################### SETUP ZONE #####################################################################
120
93
 
121
- * pdflatex
122
- * xelatex
123
- * yad
124
-
125
- # Benutzung des Gems
126
- Geben Sie in der Konsole ein:
127
-
128
- latexcv.rb
129
-
130
- oder benutzen Sie den Programmstarter.
131
-
132
- # Gesamtdownloads für latex_curriculum_vitae:
133
- [![downloads-all](https://img.shields.io/gem/dt/latex_curriculum_vitae.svg)](https://rubygems.org/gems/latex_curriculum_vitae)
134
-
135
- # Referenzen
136
- * Projekthomepage: [https://github.com/saigkill/latex_curriculum_vitae](https://github.com/saigkill/latex_curriculum_vitae)
137
- * Entwicklerdokumentation: [http://www.rubydoc.info/gems/latex_curriculum_vitae](http://www.rubydoc.info/gems/latex_curriculum_vitae)
138
- * Bugreports: [http://saigkill-bugs.myjetbrains.com/youtrack/issues](http://saigkill-bugs.myjetbrains.com/youtrack/issues)
139
-
140
- # Was ist neu in der version #{version}?
141
- * Basic method integration
142
-
143
- # Donations
144
- [![latex_curriculum_vitae](https://pledgie.com/campaigns/29554.png?skin_name=chrome)](https://pledgie.com/campaigns/29554)
145
- [![wishlist](http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png)](http://www.amazon.de/registry/wishlist/D75HOEQ00BDD)
146
- EOF
147
- end
148
- puts 'Prepared your Blogpost. Please add the changes of this release'
149
- puts 'Now ready for social media posting'
150
-
151
- # Create email to ruby-talk
152
- space = '%20'
153
- crlf = '%0D%0A'
154
- subject = "latex_curriculum_vitae #{version} released"
155
- subject.gsub!(/ /, "#{space}")
156
- body = 'Hello Ruby list,' + "#{crlf}" + "#{crlf}" +
157
- "i would like to announce the latex_curriculum_vitae gem in version #{version}." + "#{crlf}" + "#{crlf}" +
158
- "What happend in version #{version}?" + "#{crlf}" +
159
- '* Its the initial release' + "#{crlf}" +
160
- '* Fixed LCV 1-4' + "#{crlf}" + "#{crlf}" +
161
- 'What is latex_curriculum_vitae?' + "#{crlf}" + "#{crlf}" +
162
- 'It is a Ruby based generator for LaTEX job applications. It does:' + "#{crlf}" + "#{crlf}" +
163
- '* asks for information like jobtitle, contact, company and so far,' + "#{crlf}" +
164
- '* generates the resume with a cover' + "#{crlf}" +
165
- '* generates an email with the contacts email address and a predefined text and' + "#{crlf}" +
166
- '* saves the information in a csv file.' + "#{crlf}" + "#{crlf}" +
167
- 'Installation:'+ "#{crlf}" + "#{crlf}" +
168
- ' gem install latex_curriculum_vitae' + "#{crlf}" +
169
- ' cd /path/to/gem \(In case of using RVM anything like ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae\)' + "#{crlf}" + "#{crlf}" +
170
- ' rake' + "#{crlf}" + "#{crlf}" +
171
- 'Dependencies:'+ "#{crlf}" + "#{crlf}" +
172
- '* pdflatex'+ "#{crlf}" +
173
- '* xelatex' + "#{crlf}" +
174
- '* yad' + "#{crlf}" + "#{crlf}" +
175
- 'Using the gem' + "#{crlf}" + "#{crlf}" +
176
- 'To use the gem just type in the console:' + "#{crlf}" + "#{crlf}" +
177
- ' latexcv.rb' + "#{crlf}" + "#{crlf}" +
178
- 'or use the launcher.' + "#{crlf}" + "#{crlf}" +
179
- 'References:' + "#{crlf}" +
180
- 'Issue tracker: http://saigkill-bugs.myjetbrains.com/youtrack/issues' + "#{crlf}" +
181
- 'Home: https://github.com/saigkill/latex_curriculum_vitae' + "#{crlf}" +
182
- 'Greetings Sascha'
183
- body.gsub!(/ /, "#{space}")
184
- system("thunderbird mailto:ruby-talk@ruby-lang.org?subject=#{subject}\\&body=#{body}")
185
- system('rm pkg/*')
186
- end
187
-
188
- require 'etc'
189
94
  require 'fileutils'
190
- desc 'Create Desktop files'
191
- task :create_desktop do
192
- prefix = "#{Dir.home}/.rvm/rubies/default"
193
- datadir = "#{prefix}/share"
95
+ desc 'Setup'
96
+ task :setup do
97
+ system('setup.rb uninstall --force')
98
+ system('setup.rb config --sysconfdir=$HOME/.latex_curriculum_vitae')
99
+ system('setup.rb install')
100
+
101
+ puts 'Creating Launcher...'.color(:yellow)
102
+ datadir = "#{Dir.home}/.rvm/rubies/default/share"
194
103
  desktopfile = "#{Dir.home}/.local/share/applications/latex_curriculum_vitae.desktop"
195
104
  FileUtils.touch(desktopfile)
196
105
  File.write "#{desktopfile}", <<EOF
@@ -201,17 +110,7 @@ Name=Job-Application Creator
201
110
  Exec=latexcv.rb
202
111
  Icon="#{datadir}/latex_curriculum_vitae/Pictures/arbeitsagentur.png"
203
112
  EOF
113
+ puts 'Setup is now finished. See the documentation to find out more about this gem.'
204
114
  end
205
115
 
206
- desc 'Setup'
207
- task :setup do
208
- system('setup uninstall --force')
209
- system('setup.rb config --sysconfdir=$HOME/.latex_curriculum_vitae')
210
- system('setup.rb install')
211
- end
212
-
213
- desc 'Run release & deployment'
214
- task :default => [:setup, :create_desktop] do
215
- puts 'Finished Setup'
216
- end
217
-
116
+ # vim: syntax=ruby