The gem allows to declare your CV with Ruby DSL and render it further with tilt
supported engines.
$ gem install full_time
For some formats you require additional gems:
Target | Gem |
---|---|
HTML | – |
prawn |
Check out template engines supported by tilt
.
Declare your CV within DSL:
# cv.rb
FullTime.profile do
name 'Rebecca Lee'
email 'revy@blacklagoon.moe'
homepage 'https://lagooncompany.fandom.com/wiki/Revy'
github 'https://github.com/revy'
location 'Roanapur'
employment do
company 'The Lagoon Company' do
homepage 'http://thelagooncompany.com'
project 'Alpha', start_date: 'November 2010', end_date: 'January 2015' do
homepage 'https://alpha.com'
description 'Alpha Season'
title 'Gunslinger'
technologies do
• 'Two Berettas'
• 'PM-63 Submachine Gun'
• 'Gepard Anti Materiel Rifle'
end
achievements do
• 'Infiltrated 500+ enemies'
• 'Drank 200+ rum bottles'
end
end
end
end
education do
university 'Roanapur Technical University', start_date: '2005', end_date: '2010' do
title 'Gunfighter'
end
end
certification do
certificate do
title 'Two Hand Shooting: Part 1'
company 'Bang! Bang! Bang!'
homepage 'https://bangbangbang.com'
end
end
interests do
• 'Sex'
• 'Guns'
• 'Alcohol'
end
end
Add custom template of your choice and convert CV Ruby file to HTML file within custom ERB template:
$ full_time -t html ./cv.rb template.html.erb > cv.html
or PDF file within custom Prawn template:
$ full_time -t html ./cv.rb template.pdf.prawn > cv.pdf
For the more extensive example checkout example
folder.
* Profile
* Employment
* Company
* Project
* Education
* University
* Certification
* Certificate
- Investigate LinkedIn API
- Add CI
- Add badges
- Checkout repo
bin/setup
– install required dependenciesbin/console
– get console for experimentsbin/rake install
– install gem onto local machine
bin/rspec spec/full_time_spec.rb
– run single testbin/rake
– run all tests
- Update the version number in
version.rb
bin/rake install
– build and install gem into system gemsbin/rake release
– create a git tag for the version, push git commits and tags and push the.gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/Tensho/full_time.