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/.setup/installer.rb DELETED
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # hooks for the installing process
3
- require 'fileutils'
4
- if File.exist?('/usr/bin/pdflatex')
5
- puts 'found pdflatex...'
6
- else
7
- puts 'Please install pdflatex'
8
- end
9
-
10
- if File.exist?('/usr/bin/xelatex')
11
- puts 'Found xelatex...'
12
- else
13
- puts 'Please install xelatex'
14
- end
15
-
16
- prefix = "#{Dir.home}/.rvm/rubies/default"
17
- datadir = "#{prefix}/share"
18
- desktopfile = "#{Dir.home}/.local/share/applications/latex_curriculum_vitae.desktop"
19
-
20
- #FileUtils.chown_R '1000', '1000', "#{datadir}/latex_curriculum_vitae"
21
-
22
- FileUtils.touch(desktopfile)
23
- File.write "#{desktopfile}", <<EOF
24
- [Desktop Entry]
25
- Version=1.0
26
- Type=Application
27
- Name=Job-Application Creator
28
- Exec=latexcv.rb
29
- Icon="#{datadir}/latex_curriculum_vitae/Pictures/arbeitsagentur.png"
30
- EOF
data/.setup/metaconfig.rb DELETED
@@ -1 +0,0 @@
1
- set_config_default(sysconfdir, "#{Dir.home}/.latex_curriculum_vitae")
data/CHANGELOG.md DELETED
@@ -1,10 +0,0 @@
1
- # CHANGELOG
2
-
3
- ## 0.1.2 - 0.1.3 (2015-09-05)
4
- ### Bugfix
5
- * The installed gem doesn't use $HOME for sysconfdir
6
- * fixed color issue
7
-
8
- ## 0.1.1 (2015-09-04)
9
- ### Features
10
- * Build the base functions
data/LICENSE DELETED
@@ -1,166 +0,0 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
165
- Library.
166
-
data/README.md DELETED
@@ -1,122 +0,0 @@
1
- # latex_curriculum_vitae - a Gem for Job-Applications with LaTEX
2
-
3
- | What | Status |
4
- |-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
5
- | license | [![license](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html) |
6
- | last public version | [![publicversion](https://badge.fury.io/rb/latex_curriculum_vitae.png)](http://rubygems.org/gems/latex_curriculum_vitae) |
7
- | downloads latest | [![downloads-latest](https://img.shields.io/gem/dtv/latex_curriculum_vitae.svg)](https://rubygems.org/gems/latex_curriculum_vitae) |
8
- | downloads all | [![downloads-all](https://img.shields.io/gem/dt/latex_curriculum_vitae.svg)](https://rubygems.org/gems/latex_curriculum_vitae) |
9
- | code quality | [![codeclimate](https://codeclimate.com/github/saigkill/latex_curriculum_vitae.png)](https://codeclimate.com/github/saigkill/latex_curriculum_vitae) |
10
- | dependency check | [![gemnasium](https://gemnasium.com/saigkill/latex_curriculum_vitae.png)](https://gemnasium.com/saigkill/latex_curriculum_vitae) |
11
- | still maintained? | [![stillmaintained](http://stillmaintained.com/saigkill/latex_curriculum_vitae.png)](http://stillmaintained.com/saigkill/latex_curriculum_vitae) |
12
- | documentation | http://www.rubydoc.info/gems/latex_curriculum_vitae |
13
- | Bugreports & Feature requests | http://saigkill-bugs.myjetbrains.com/youtrack/issues |
14
- | authors blog | http://saigkill.github.io |
15
- | openhub statistics | https://www.openhub.net/p/latex_curriculum_vitae |
16
- | donations | [![pledgie](https://pledgie.com/campaigns/30094.png?skin_name=chrome)](https://pledgie.com/campaigns/30094) |
17
- | donations | [![gratipay](http://img.shields.io/gratipay/saigkill.svg)](https://gratipay.com/~saigkill/) |
18
- | donations | [![amazon](http://tsv-neuss.de/cms/upload/News-Bilder/amazon1.png)](http://www.amazon.de/registry/wishlist/D75HOEQ00BDD) |
19
-
20
- ## Description
21
-
22
- latex_curriculum_vitae is a Rubygem which helps you to create your job application. After the program has started, a little Window comes up
23
- and asks you for the needed information like the jobtitle, company name, contact name, email address and so on.
24
- Then it builds a cover and the resume by working with LaTEX. After this is finished, it creates an email with the application attached.
25
- Also it puts a standard text into the created email which you can extend to match the needed quality.
26
- After that it creates a new record into a csv file. So you can print out every time the present status.
27
-
28
- ## Installation
29
-
30
- The installation is very easy.
31
-
32
- gem install latex_curriculum_vitae
33
- cd /path/to/gem (In case of using RVM ~/.rvm/gems/ruby-2.2.1/gems/latex_curriculum_vitae)
34
- rake
35
-
36
- You have to run the setup after each gem update.
37
-
38
- ## Hard dependencies
39
-
40
- * pdflatex & xelatex
41
- * yad
42
-
43
- ## Usage
44
-
45
- type in the console: "latexcv.rb"
46
-
47
- Or just use the Launcher.
48
-
49
- The resulting PDF and the CSV file are placed in /home/You/.latex_curriculum_vitae.
50
-
51
- ## The tweaks (Ruby)
52
-
53
- * .latex_curriculum_vitae: Contains a personal_data.tex where your personal information is stored. Actually it is used by the Cover.
54
- Also there is stored the CSV-File what contains the records of all finished applications.
55
- * /home/sascha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/latex_curriculum_vitae: There are placed the Ruby-libraries. Instead of
56
- /home/sascha you have to place your username. Also the 2.2.1 has to be match your Rubyversion. So you have to check this first.
57
- Also you have to modify the email.rb for your needs.
58
- * /home/sascha/.rvm/rubies/ruby-2.2.1/share/latex_curriculum_vitae: There are placed the LaTEX source files.
59
- IMPORTANT: If you change the LaTEX sources to your needs, you have to make a backup before making a gem update. After the installation
60
- you can use it to restore your work.
61
-
62
- ## The tweaks (LaTEX)
63
-
64
- The LaTEX source directory contains that subdirectories:
65
-
66
- * Appendix
67
-
68
- Bibliography (a BibTEX file for your publications)
69
- Certificates (for different certificates)
70
- Empoyers_Reference (for the references from the last employers)
71
- First_References (for your job-training or the german Ausbildung)
72
- Study (for study stuff)
73
-
74
- * Cover (contains the Cover.tex). The Cover.tex use that includes:
75
-
76
- \input{$HOME/.latex_curriculum_vitae/personal_data.tex}
77
- \input{$HOME/.latex_curriculum_vitae/entity.tex} The entity.tex will be generated by running the program.
78
-
79
- * Also it includes my picture from the Picture directory.
80
-
81
- \begin{textblock}{3}(3.0,18.5)
82
- \fbox{\includegraphics[width=4cm]{../Pictures/Sascha1p.jpg}}
83
- \end{textblock}
84
-
85
- * Motivational_Letter (actually not implemented in compiling)
86
-
87
- * Pictures
88
-
89
- * Resume (the Curriculum Vitae itself). The resume includes the following:
90
-
91
- \addbibresource{../Appendix/Bibliography/bibliography1.bib}
92
-
93
- \includepdf{../Cover/Cover}
94
-
95
- \includegraphics[scale=0.7]{../Pictures/signatur.png}
96
-
97
- \begin{figure}
98
- \includegraphics[page=1,scale=0.7,angle=180]{../Appendix/Employers_Reference/hays.pdf}
99
- \end{figure}
100
- \includepdf{../Appendix/Study/foo}
101
- \includepdf{../Appendix/Certificates/thm-webeng1}
102
- \includepdf{../Appendix/Employers_Reference/openslx}
103
- \includepdf{../Appendix/Employers_Reference/openslx1}
104
- \includepdf{../Appendix/Certificates/kompetenzpass12013}
105
- \includepdf{../Appendix/Certificates/Zertifikat_Sascha_Manns1}
106
- \includepdf{../Appendix/Employers_Reference/wtg}
107
- \includepdf{../Appendix/First_References/ihk}
108
-
109
- You can modify all the LaTEX sources to match your life.
110
-
111
- ## Feature Requests & Bug Reports
112
- You can file Requests and Reports on the my bugtracker: http://saigkill-bugs.myjetbrains.com/youtrack/issues.
113
-
114
- ## Contributing
115
-
116
- 1. Fork it
117
- 2. Create your feature branch (`git checkout -b my-new-feature`)
118
- 3. Commit your changes (`git commit -am 'Add some feature'`)
119
- 4. Push to the branch (`git push origin my-new-feature`)
120
- 5. Create new Pull Request
121
-
122
- Read https://github.com/saigkill/latex_curriculum_vitae/blob/master/CONTRIBUTING.md
@@ -1,4 +0,0 @@
1
- set PATH=%PATH%;E:\Program Files\gs\gs9.14\bin;E:\Program Files\gs\gs9.14\lib
2
- echo "Baue Verzeichnis Arbeitszeugnisse"
3
- gswin64c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=Arbeitszeugnisse.pdf haysnew.pdf openslx.pdf openslx1.pdf wtg.pdf
4
- echo "Verzeichnis Arbeitszeugnisse abgeschlossen"
@@ -1,42 +0,0 @@
1
- # rubocop:disable Style/FileName
2
- # rubocop:disable Metrics/LineLength
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'latex_curriculum_vitae/version.rb'))
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'latex_curriculum_vitae'
7
- spec.version = LatexCurriculumVitae::Version::STRING
8
- spec.authors = 'Sascha Manns'
9
- spec.email = 'samannsml@directbox.com'
10
-
11
- spec.summary = ['A program for creating an job application']
12
- spec.description = 'It supports creating a application by rendering with LaTEX.'
13
-
14
- spec.homepage = 'https://github.com/saigkill/latex_curriculum_vitae'
15
- spec.license = 'GPL-3'
16
- spec.metadata = { 'issue_tracker' => 'http://saigkill-bugs.myjetbrains.com/youtrack/issues' }
17
-
18
- spec.files = `git ls-files -z`.split("\x0").reject { |f|
19
- f.match(%r{^(test|spec|features)/})
20
- }
21
- spec.bindir = 'bin'
22
- spec.executables = spec.files.grep(%w(latexcv)) { |f|
23
- File.basename(f)
24
- }
25
- spec.require_paths = ['lib']
26
- spec.post_install_message = 'Please file bugreports and feature requests on: http://saigkill-bugs.myjetbrains.com/youtrack/issues'
27
-
28
- spec.platform = Gem::Platform::RUBY
29
- spec.date = ENV['from'] ? Date.parse(ENV['from']) : Date.today
30
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
31
-
32
- spec.add_development_dependency 'bundler', '~> 1.9', '>= 1.9.6'
33
- spec.add_development_dependency 'rake', '~> 10.4', '>= 10.4.2'
34
- spec.add_development_dependency 'gem-release', '~> 0.7', '>= 0.7.3'
35
- spec.add_development_dependency 'indexer', '~> 0.3', '>= 0.3.1'
36
- spec.add_development_dependency 'mast', '~> 1.4', '>= 1.4.0'
37
- spec.add_development_dependency 'yard', '~> 0.8', '>= 0.8.7.6'
38
-
39
- spec.add_runtime_dependency 'setup', '~> 5.2', '>= 5.2.0'
40
- spec.add_runtime_dependency 'notifier', '~> 0.5', '>= 0.5.1'
41
-
42
- end
@@ -1,24 +0,0 @@
1
- # latex_curriculum_vitae
2
- # @author Sascha Manns
3
- # @abstract Class for maintaining the version number
4
- #
5
- # Copyright (C) 2015 Sascha Manns <samannsml@directbox.com>
6
- # License: GPL-3
7
-
8
- # Method for versioning the gem
9
- class LatexCurriculumVitae
10
- # @note human readable Version
11
- # @return [String] STRING (Version)
12
- module Version
13
- # Major version. Maybe never reached
14
- MAJOR = 0
15
- # Minor version.
16
- MINOR = 1
17
- # Patchlevel
18
- PATCH = 4
19
- # Buildversion. Mostly 0
20
- BUILD = 0
21
- # @note This will be shown by PublicanCreatorsVersion::Version::STRING
22
- STRING = [MAJOR, MINOR, PATCH].compact.join('.')
23
- end
24
- end