simple_cv 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- metadata +32 -71
- data/.gitignore +0 -15
- data/.rspec +0 -2
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -21
- data/README.md +0 -54
- data/Rakefile +0 -6
- data/SimleCV.pdf +0 -1506
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/circle.yml +0 -6
- data/examples/example.json +0 -61
- data/examples/example.yml +0 -79
- data/lib/font/Lato-Bold.ttf +0 -0
- data/lib/font/Lato-Light.ttf +0 -0
- data/lib/font/Lato-Medium.ttf +0 -0
- data/lib/font/SIL Open Font License.txt +0 -48
- data/lib/icons/address.svg +0 -42
- data/lib/icons/email.svg +0 -46
- data/lib/icons/phone.svg +0 -50
- data/lib/icons/website.svg +0 -96
- data/lib/simple_cv/basic.rb +0 -54
- data/lib/simple_cv/layout.rb +0 -205
- data/lib/simple_cv/version.rb +0 -3
- data/lib/simple_cv.rb +0 -5
- data/simple_cv.gemspec +0 -42
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "awesome_cv"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/circle.yml
DELETED
data/examples/example.json
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"title": "AwesomeCV",
|
3
|
-
"author": "Suzanne Shaw",
|
4
|
-
"profile": {
|
5
|
-
"name": "Suzanne\nShaw",
|
6
|
-
"job": "Art Director",
|
7
|
-
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
8
|
-
},
|
9
|
-
"contact": [
|
10
|
-
["phone", "(916)-209-3856"],
|
11
|
-
["email", "suzanne.showh@example.com"],
|
12
|
-
["website", "https://example.com"],
|
13
|
-
["address", "Santa Monica, USA"]
|
14
|
-
],
|
15
|
-
"skills": [
|
16
|
-
["English", 100],
|
17
|
-
["French", 80],
|
18
|
-
["Japanese", 40],
|
19
|
-
[],
|
20
|
-
["Adobe Photoshop", 90],
|
21
|
-
["Wordpress", 70],
|
22
|
-
["Joomla", 80],
|
23
|
-
["Word", 95],
|
24
|
-
["Excel", 95]
|
25
|
-
],
|
26
|
-
"experience": [
|
27
|
-
{
|
28
|
-
"job": "Art Director",
|
29
|
-
"company": "Creative Lab",
|
30
|
-
"location": "Santa Monica",
|
31
|
-
"date": "2016 - Present",
|
32
|
-
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"job": "Senior UI & UX Designer",
|
36
|
-
"company": "Creative Media",
|
37
|
-
"location": "Santa Monica",
|
38
|
-
"date": "2015 - 2016",
|
39
|
-
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"job": "Junior UI & UX Designer",
|
43
|
-
"company": "Creative Media",
|
44
|
-
"location": "Santa Monica",
|
45
|
-
"date": "2012 - 2015",
|
46
|
-
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
47
|
-
}
|
48
|
-
],
|
49
|
-
"education": [
|
50
|
-
{
|
51
|
-
"subject": "Master in Media",
|
52
|
-
"institution": "Media University",
|
53
|
-
"date": "2013 - 2015"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"subject": "Bachelor of Fine Arts",
|
57
|
-
"institution": "University of Arts",
|
58
|
-
"date": "2010 - 2013"
|
59
|
-
}
|
60
|
-
]
|
61
|
-
}
|
data/examples/example.yml
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
title: AwesomeCV
|
2
|
-
author: Suzanne Shaw
|
3
|
-
profile:
|
4
|
-
name: "Suzanne\nShaw"
|
5
|
-
job: Art Director
|
6
|
-
description: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
7
|
-
contact:
|
8
|
-
-
|
9
|
-
- phone
|
10
|
-
- (916)-209-3856
|
11
|
-
-
|
12
|
-
- email
|
13
|
-
- suzanne.showh@example.com
|
14
|
-
-
|
15
|
-
- website
|
16
|
-
- https://example.com
|
17
|
-
-
|
18
|
-
- address
|
19
|
-
- Santa Monica, USA
|
20
|
-
|
21
|
-
skills:
|
22
|
-
-
|
23
|
-
- English
|
24
|
-
- 100
|
25
|
-
-
|
26
|
-
- French
|
27
|
-
- 80
|
28
|
-
-
|
29
|
-
- Japanese
|
30
|
-
- 40
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
34
|
-
-
|
35
|
-
- Adobe Photoshop
|
36
|
-
- 90
|
37
|
-
-
|
38
|
-
- Wordpress
|
39
|
-
- 70
|
40
|
-
-
|
41
|
-
- Joomla
|
42
|
-
- 80
|
43
|
-
-
|
44
|
-
- Word
|
45
|
-
- 95
|
46
|
-
-
|
47
|
-
- Excel
|
48
|
-
- 95
|
49
|
-
|
50
|
-
experience:
|
51
|
-
-
|
52
|
-
job: Art Director
|
53
|
-
company: Creative Lab
|
54
|
-
location: Santa Monica
|
55
|
-
date: 2016 - Present
|
56
|
-
description: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
57
|
-
-
|
58
|
-
job: Senior UI & UX Designer
|
59
|
-
company: Creative Media
|
60
|
-
location: Santa Monica
|
61
|
-
date: 2015 - 2016
|
62
|
-
description: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
63
|
-
|
64
|
-
-
|
65
|
-
job: Junior UI & UX Designer
|
66
|
-
company: Creative Media
|
67
|
-
location: Santa Monica
|
68
|
-
date: 2012 - 2015
|
69
|
-
description: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
70
|
-
|
71
|
-
education:
|
72
|
-
-
|
73
|
-
subject: Master in Media
|
74
|
-
institution: Media University
|
75
|
-
date: 2013 - 2015
|
76
|
-
-
|
77
|
-
subject: Bachelor of Fine Arts
|
78
|
-
institution": University of Arts
|
79
|
-
date: 2010 - 2013
|
data/lib/font/Lato-Bold.ttf
DELETED
Binary file
|
data/lib/font/Lato-Light.ttf
DELETED
Binary file
|
data/lib/font/Lato-Medium.ttf
DELETED
Binary file
|
@@ -1,48 +0,0 @@
|
|
1
|
-
Copyright (c) 2010-2014, Łukasz Dziedzic (dziedzic@typoland.com),
|
2
|
-
with Reserved Font Name Lato.
|
3
|
-
|
4
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
5
|
-
This license is copied below, and is also available with a FAQ at:
|
6
|
-
http://scripts.sil.org/OFL
|
7
|
-
|
8
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
9
|
-
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
10
|
-
|
11
|
-
-----------------------------------------------------------
|
12
|
-
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
13
|
-
-----------------------------------------------------------
|
14
|
-
|
15
|
-
PREAMBLE
|
16
|
-
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
17
|
-
|
18
|
-
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
19
|
-
|
20
|
-
DEFINITIONS
|
21
|
-
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
22
|
-
|
23
|
-
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
|
24
|
-
|
25
|
-
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
26
|
-
|
27
|
-
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
28
|
-
|
29
|
-
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
30
|
-
|
31
|
-
PERMISSION & CONDITIONS
|
32
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
33
|
-
|
34
|
-
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
35
|
-
|
36
|
-
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
37
|
-
|
38
|
-
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
39
|
-
|
40
|
-
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
41
|
-
|
42
|
-
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
43
|
-
|
44
|
-
TERMINATION
|
45
|
-
This license becomes null and void if any of the above conditions are not met.
|
46
|
-
|
47
|
-
DISCLAIMER
|
48
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
data/lib/icons/address.svg
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
-
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
5
|
-
<g>
|
6
|
-
<g>
|
7
|
-
<path d="M256,0C153.755,0,70.573,83.182,70.573,185.426c0,126.888,165.939,313.167,173.004,321.035
|
8
|
-
c6.636,7.391,18.222,7.378,24.846,0c7.065-7.868,173.004-194.147,173.004-321.035C441.425,83.182,358.244,0,256,0z M256,278.719
|
9
|
-
c-51.442,0-93.292-41.851-93.292-93.293S204.559,92.134,256,92.134s93.291,41.851,93.291,93.293S307.441,278.719,256,278.719z"/>
|
10
|
-
</g>
|
11
|
-
</g>
|
12
|
-
<g>
|
13
|
-
</g>
|
14
|
-
<g>
|
15
|
-
</g>
|
16
|
-
<g>
|
17
|
-
</g>
|
18
|
-
<g>
|
19
|
-
</g>
|
20
|
-
<g>
|
21
|
-
</g>
|
22
|
-
<g>
|
23
|
-
</g>
|
24
|
-
<g>
|
25
|
-
</g>
|
26
|
-
<g>
|
27
|
-
</g>
|
28
|
-
<g>
|
29
|
-
</g>
|
30
|
-
<g>
|
31
|
-
</g>
|
32
|
-
<g>
|
33
|
-
</g>
|
34
|
-
<g>
|
35
|
-
</g>
|
36
|
-
<g>
|
37
|
-
</g>
|
38
|
-
<g>
|
39
|
-
</g>
|
40
|
-
<g>
|
41
|
-
</g>
|
42
|
-
</svg>
|
data/lib/icons/email.svg
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
-
viewBox="0 0 282.75 282.75" style="enable-background:new 0 0 282.75 282.75;" xml:space="preserve">
|
5
|
-
<g>
|
6
|
-
<path style="fill:#010002;" d="M122.102,164.235c-5.526-2.355-13.135-8.469-17.557-12.537L8.817,63.613
|
7
|
-
c-4.422-4.068-8.224-12.553-5.27-17.791c2.399-4.259,6.908-8.202,15.371-8.202h244.975c0,0,10.715,0.234,15.735,8.806
|
8
|
-
c3.04,5.183-1.072,13.712-5.532,17.742l-105.05,94.895C169.046,159.063,148.775,175.592,122.102,164.235z M19.499,245.12
|
9
|
-
c0,0-19.499-1.73-19.499-18.852V86.381c0-6.005,3.465-7.457,7.745-3.236l41.418,40.875c4.281,4.221,5.842,12.124,3.492,17.655
|
10
|
-
l-29.779,70.077c-2.35,5.532-1.256,6.173,2.442,1.441l41.603-53.243c3.699-4.737,10.497-5.526,15.18-1.768l18.428,14.789
|
11
|
-
c4.688,3.758,12.912,8.877,18.602,10.791c13.505,4.525,37.464,9.709,52.688-3.41l26.809-22.404
|
12
|
-
c4.612-3.851,11.286-3.095,14.914,1.697l44.018,58.133c3.628,4.792,4.716,4.172,2.431-1.387l-30.421-74.026
|
13
|
-
c-2.284-5.559-0.674-13.489,3.595-17.72l41.854-41.473c4.27-4.226,7.729-2.785,7.729,3.22v141.1c0,0-1.159,17.639-20.587,17.639
|
14
|
-
H19.499V245.12z"/>
|
15
|
-
</g>
|
16
|
-
<g>
|
17
|
-
</g>
|
18
|
-
<g>
|
19
|
-
</g>
|
20
|
-
<g>
|
21
|
-
</g>
|
22
|
-
<g>
|
23
|
-
</g>
|
24
|
-
<g>
|
25
|
-
</g>
|
26
|
-
<g>
|
27
|
-
</g>
|
28
|
-
<g>
|
29
|
-
</g>
|
30
|
-
<g>
|
31
|
-
</g>
|
32
|
-
<g>
|
33
|
-
</g>
|
34
|
-
<g>
|
35
|
-
</g>
|
36
|
-
<g>
|
37
|
-
</g>
|
38
|
-
<g>
|
39
|
-
</g>
|
40
|
-
<g>
|
41
|
-
</g>
|
42
|
-
<g>
|
43
|
-
</g>
|
44
|
-
<g>
|
45
|
-
</g>
|
46
|
-
</svg>
|
data/lib/icons/phone.svg
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
-
width="348.077px" height="348.077px" viewBox="0 0 348.077 348.077" style="enable-background:new 0 0 348.077 348.077;"
|
6
|
-
xml:space="preserve">
|
7
|
-
<g>
|
8
|
-
<g>
|
9
|
-
<g>
|
10
|
-
<path d="M340.273,275.083l-53.755-53.761c-10.707-10.664-28.438-10.34-39.518,0.744l-27.082,27.076
|
11
|
-
c-1.711-0.943-3.482-1.928-5.344-2.973c-17.102-9.476-40.509-22.464-65.14-47.113c-24.704-24.701-37.704-48.144-47.209-65.257
|
12
|
-
c-1.003-1.813-1.964-3.561-2.913-5.221l18.176-18.149l8.936-8.947c11.097-11.1,11.403-28.826,0.721-39.521L73.39,8.194
|
13
|
-
C62.708-2.486,44.969-2.162,33.872,8.938l-15.15,15.237l0.414,0.411c-5.08,6.482-9.325,13.958-12.484,22.02
|
14
|
-
C3.74,54.28,1.927,61.603,1.098,68.941C-6,127.785,20.89,181.564,93.866,254.541c100.875,100.868,182.167,93.248,185.674,92.876
|
15
|
-
c7.638-0.913,14.958-2.738,22.397-5.627c7.992-3.122,15.463-7.361,21.941-12.43l0.331,0.294l15.348-15.029
|
16
|
-
C350.631,303.527,350.95,285.795,340.273,275.083z"/>
|
17
|
-
</g>
|
18
|
-
</g>
|
19
|
-
</g>
|
20
|
-
<g>
|
21
|
-
</g>
|
22
|
-
<g>
|
23
|
-
</g>
|
24
|
-
<g>
|
25
|
-
</g>
|
26
|
-
<g>
|
27
|
-
</g>
|
28
|
-
<g>
|
29
|
-
</g>
|
30
|
-
<g>
|
31
|
-
</g>
|
32
|
-
<g>
|
33
|
-
</g>
|
34
|
-
<g>
|
35
|
-
</g>
|
36
|
-
<g>
|
37
|
-
</g>
|
38
|
-
<g>
|
39
|
-
</g>
|
40
|
-
<g>
|
41
|
-
</g>
|
42
|
-
<g>
|
43
|
-
</g>
|
44
|
-
<g>
|
45
|
-
</g>
|
46
|
-
<g>
|
47
|
-
</g>
|
48
|
-
<g>
|
49
|
-
</g>
|
50
|
-
</svg>
|
data/lib/icons/website.svg
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
-
width="28.335px" height="28.334px" viewBox="0 0 28.335 28.334" style="enable-background:new 0 0 28.335 28.334;"
|
6
|
-
xml:space="preserve">
|
7
|
-
<g>
|
8
|
-
<g>
|
9
|
-
<path d="M14.167,0C6.356,0,0,6.355,0,14.167c0,7.812,6.356,14.167,14.167,14.167c7.812,0,14.168-6.354,14.168-14.167
|
10
|
-
C28.335,6.355,21.979,0,14.167,0z M11.443,5.073l0.662,0.188V4.39l0.258-0.243l0.276,0.536l0.526,0.635l-0.213,0.292l-0.848,0.195
|
11
|
-
V5.289l-0.662,0.516L11.25,5.511L11.443,5.073z M1.239,13.852c0.066-2.742,0.989-5.269,2.513-7.336
|
12
|
-
c0.051,0.007,0.087,0.02,0.087,0.02c0,0.195-0.266,0.242,0,0.732c0.34,0.634,0.048,0.927,0.048,0.927s-0.83,0.585-0.976,0.683
|
13
|
-
C2.765,8.975,2.375,9.511,2.618,9.365c0.244-0.146,0.536-0.292,0.293,0.098c-0.244,0.391-0.683,1.024-0.78,1.269
|
14
|
-
c-0.097,0.245-0.585,0.829-0.585,1.122S1.351,12.732,1.4,12.977C1.433,13.146,1.324,13.646,1.239,13.852z M6.277,22l-0.196,0.729
|
15
|
-
l0.196,0.586c0,0-0.294,0.244-0.487,0.244c-0.18,0-0.241,0.113-0.438,0.062c-1.86-1.738-3.21-4.011-3.795-6.576
|
16
|
-
c0.063,0.017,0.153,0.062,0.28,0.174c0.184,0.16,0.293,0.242,0.537,0.341c0.243,0.1,0.341,0.243,0.634,0.39
|
17
|
-
c0.293,0.147,0.196,0.05,0.585,0.489c0.391,0.438,0.342,0.438,0.439,0.682c0.097,0.244,0.244,0.488,0.342,0.635
|
18
|
-
s0.39,0.244,0.536,0.342s0.39,0.195,0.536,0.195c0.147,0,0.586,0.439,0.83,0.486c0.244,0.051,0.244,0.539,0.244,0.539L6.277,22z
|
19
|
-
M8.228,3.171C7.594,3.854,7.74,3.659,7.594,3.854s-0.098,0.243-0.44,0.488C6.813,4.584,6.667,4.877,6.667,4.877L6.13,5.073
|
20
|
-
L5.692,4.877c0,0-0.392,0.147-0.343-0.049c0.014-0.051,0.034-0.105,0.057-0.162C6.6,3.564,7.997,2.688,9.539,2.093
|
21
|
-
C9.387,2.289,9.203,2.488,9.203,2.488S8.862,2.487,8.228,3.171z M23.105,20.682c-0.051,0.193-0.146,0.535-0.195,0.73
|
22
|
-
s-0.293,0.586-0.438,0.683c-0.146,0.099-0.392,0.392-0.537,0.44s-0.244-0.344-0.195-0.537c0.051-0.197,0.293-0.732,0.293-0.732
|
23
|
-
s0.049-0.291,0.098-0.488c0.051-0.192,0.635-0.438,0.635-0.438l0.392-0.732c0,0,0.049,0.197,0.049,0.343
|
24
|
-
C23.203,20.095,23.154,20.487,23.105,20.682z M23.251,16.096c-0.099,0.146-0.392,0.535-0.537,0.73s-0.34,0.488-0.633,0.732
|
25
|
-
c-0.293,0.243-0.295,0.485-0.438,0.684c-0.146,0.195-0.343,0.633-0.343,0.633s0.099,0.977,0.146,1.172
|
26
|
-
c0.051,0.195-0.34,0.73-0.34,0.73l-0.439,0.438l-0.588,0.781l0.047,0.729c0,0-0.443,0.342-0.688,0.537
|
27
|
-
c-0.242,0.195-0.205,0.342-0.399,0.537c-0.192,0.193-0.711,0.535-0.906,0.585c-0.194,0.05-1.022,0.194-1.022,0.194v-0.438
|
28
|
-
l-0.271-0.488c0,0-0.271-0.584-0.418-0.781c-0.146-0.193-0.146-0.488-0.389-0.73c-0.244-0.244-0.363-0.438-0.412-0.586
|
29
|
-
c-0.05-0.146,0.036-0.584,0.036-0.584s0.188-0.537,0.285-0.731c0.099-0.195-0.002-0.488-0.102-0.685
|
30
|
-
c-0.098-0.195-0.146-0.684-0.146-0.828c0-0.146-0.394-0.393-0.539-0.537c-0.146-0.147-0.098-0.342-0.098-0.537
|
31
|
-
c0-0.194-0.146-0.635-0.099-0.975c0.049-0.342-0.438-0.1-0.73,0c-0.293,0.096-0.487-0.1-0.487-0.393
|
32
|
-
c0-0.291-0.536-0.047-0.878,0.146c-0.343,0.194-0.732,0.194-1.124,0.34c-0.389,0.146-0.583-0.146-0.583-0.146
|
33
|
-
s-0.343-0.293-0.585-0.438c-0.245-0.146-0.489-0.438-0.685-0.683c-0.194-0.245-0.683-0.978-0.73-1.268
|
34
|
-
c-0.049-0.294,0-0.49,0-0.831c0-0.341,0-0.536,0.048-0.78c0.049-0.244,0.195-0.537,0.342-0.781
|
35
|
-
c0.146-0.244,0.683-0.536,0.828-0.634c0.146-0.097,0.488-0.389,0.488-0.585c0-0.195,0.196-0.292,0.292-0.488
|
36
|
-
c0.099-0.195,0.44-0.682,0.879-0.487c0,0,0.389-0.048,0.535-0.097c0.146-0.049,0.536-0.194,0.729-0.292
|
37
|
-
c0.195-0.098,0.681-0.144,0.681-0.144s0.384,0.153,0.53,0.153s0.623-0.085,0.623-0.085s0.221,0.707,0.221,0.854
|
38
|
-
s0.146,0.292,0.392,0.39c0.241,0.097,1.364,0.341,1.854-0.049c0.112-0.09,0.485,0.146,0.485,0.146s1.22,0.244,1.414,0.39
|
39
|
-
c0.196,0.147,0.537,0.245,0.635,0.392c0.099,0.146,0.438,0.585,0.486,0.731c0.051,0.146,0.295,0.684,0.344,0.878
|
40
|
-
c0.05,0.195,0.194,0.683,0.341,0.927c0.146,0.245,0.977,1.316,1.268,1.805l0.881-0.146C23.447,15.511,23.35,15.951,23.251,16.096z
|
41
|
-
M26.812,14.245c-0.049-0.196-0.342-0.879-0.342-0.879s-0.293-0.39-0.488-0.488c-0.193-0.098-0.34-0.342-0.683-0.536
|
42
|
-
c-0.342-0.196-0.487-0.293-0.778-0.293c-0.295,0-0.586-0.391-0.929-0.586c-0.342-0.194-0.391-0.097-0.391-0.097
|
43
|
-
s0.391,0.585,0.391,0.731s0.438,0.39,0.88,0.292c0,0,0.291,0.537,0.438,0.683s-0.049,0.293-0.342,0.488
|
44
|
-
c-0.293,0.194-0.242,0.146-0.392,0.292c-0.146,0.146-0.633,0.392-0.78,0.488c-0.146,0.097-0.73,0.39-1.021,0.097
|
45
|
-
c-0.145-0.141-0.1-0.438-0.195-0.634c-0.098-0.195-1.121-1.707-1.609-2.389c-0.086-0.12-0.293-0.49-0.438-0.585
|
46
|
-
c-0.146-0.099,0.343-0.099,0.343-0.099s0-0.342-0.05-0.585c-0.049-0.244,0.05-0.585,0.05-0.585s-0.488,0.292-0.636,0.39
|
47
|
-
c-0.146,0.098-0.293-0.194-0.485-0.439c-0.195-0.243-0.392-0.537-0.439-0.781c-0.049-0.243,0.244-0.341,0.244-0.341l0.438-0.243
|
48
|
-
c0,0,0.537-0.097,0.881-0.049c0.34,0.049,0.877,0.098,0.877,0.098s0.146-0.342-0.051-0.488c-0.193-0.146-0.635-0.39-0.828-0.341
|
49
|
-
c-0.195,0.048,0.096-0.244,0.34-0.439l-0.541-0.098c0,0-0.49,0.244-0.639,0.293c-0.146,0.048-0.398,0.146-0.596,0.39
|
50
|
-
c-0.193,0.244,0.078,0.585-0.117,0.683c-0.193,0.098-0.326,0.146-0.473,0.194c-0.146,0.049-0.609,0-0.609,0
|
51
|
-
c-0.504,0-0.182,0.46-0.051,0.623l-0.391-0.476l-0.289-0.684c0,0-0.416-0.292-0.609-0.389c-0.197-0.097-0.797-0.439-0.797-0.439
|
52
|
-
l0.041,0.439l0.564,0.572l0.051,0.013l0.346,0.39l-0.598,0.049V8.102c-1-0.148-0.504-0.3-0.572-0.347
|
53
|
-
c-0.145-0.097-0.51-0.342-0.51-0.342S14.437,7.51,14.291,7.56c-0.147,0.049-0.193,0.195-0.485,0.292
|
54
|
-
c-0.294,0.098-0.43,0.244-0.527,0.39c-0.097,0.146-0.416,0.585-0.609,0.78c-0.196,0.196-0.562,0.146-0.708,0.146
|
55
|
-
c-0.147,0-0.854-0.195-0.854-0.195V8.146c0,0,0.098-0.464,0.049-0.61l0.429-0.072l0.713-0.147l0.21-0.147l0.3-0.39
|
56
|
-
c0,0-0.337-0.244-0.094-0.585C12.832,6.031,13.253,6,13.448,5.854c0.194-0.146,0.489-0.244,0.489-0.244s0.342-0.292,0.683-0.634
|
57
|
-
c0,0,0.244-0.147,0.536-0.245c0,0,0.83,0.732,0.977,0.732s0.684-0.341,0.684-0.341s0.146-0.438,0.099-0.585
|
58
|
-
c-0.049-0.146-0.293-0.634-0.293-0.634s-0.146,0.244-0.291,0.439c-0.146,0.195-0.246,0.439-0.246,0.439S15.4,4.733,15.354,4.587
|
59
|
-
C15.305,4.44,15.208,4.2,15.158,4.055c-0.047-0.147-0.438-0.142-0.729-0.044c-0.294,0.098,0.047-0.526,0.047-0.526
|
60
|
-
s0.294-0.368,0.488-0.368c0.193,0,0.636-0.25,0.828-0.298c0.194-0.049,0.782-0.424,1.024-0.424c0.244,0,0.537-0.046,0.685-0.046
|
61
|
-
c0.146,0,0.729,0,0.729,0l1.023,0.069c0,0,0.879,0.4,0.584,0.596c0,0,0.344,0.25,0.49,0.396c0.137,0.138,0.49-0.108,0.693-0.221
|
62
|
-
c3.649,2.292,6.09,6.352,6.09,10.971c0,0.248-0.021,0.495-0.035,0.739C26.982,14.667,26.846,14.373,26.812,14.245z"/>
|
63
|
-
<polygon points="11.722,5.26 11.722,5.289 11.738,5.269 "/>
|
64
|
-
</g>
|
65
|
-
</g>
|
66
|
-
<g>
|
67
|
-
</g>
|
68
|
-
<g>
|
69
|
-
</g>
|
70
|
-
<g>
|
71
|
-
</g>
|
72
|
-
<g>
|
73
|
-
</g>
|
74
|
-
<g>
|
75
|
-
</g>
|
76
|
-
<g>
|
77
|
-
</g>
|
78
|
-
<g>
|
79
|
-
</g>
|
80
|
-
<g>
|
81
|
-
</g>
|
82
|
-
<g>
|
83
|
-
</g>
|
84
|
-
<g>
|
85
|
-
</g>
|
86
|
-
<g>
|
87
|
-
</g>
|
88
|
-
<g>
|
89
|
-
</g>
|
90
|
-
<g>
|
91
|
-
</g>
|
92
|
-
<g>
|
93
|
-
</g>
|
94
|
-
<g>
|
95
|
-
</g>
|
96
|
-
</svg>
|
data/lib/simple_cv/basic.rb
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
require "simple_cv/layout"
|
2
|
-
require "hashugar"
|
3
|
-
require "json"
|
4
|
-
require "yaml"
|
5
|
-
|
6
|
-
module SimpleCV
|
7
|
-
class Basic
|
8
|
-
attr_reader :config
|
9
|
-
|
10
|
-
def initialize config_path:
|
11
|
-
@config = build_struct_tree parse_config_file config_path
|
12
|
-
end
|
13
|
-
|
14
|
-
# Render file
|
15
|
-
#
|
16
|
-
# With given path and filename, pdf can be rendered to a specific
|
17
|
-
# location. If no arguments are given, filename will be set to
|
18
|
-
# SimpleCV.pdf and pdf will be rendered to current working dir.
|
19
|
-
|
20
|
-
def render_file filename: "SimpleCV", path: nil
|
21
|
-
output_path = File.join(path || Dir.pwd, "#{filename.chomp('.pdf')}.pdf")
|
22
|
-
Layout.new(config: @config).render_file(output_path)
|
23
|
-
output_path
|
24
|
-
end
|
25
|
-
|
26
|
-
private
|
27
|
-
|
28
|
-
# Parse config
|
29
|
-
#
|
30
|
-
# Currently yml and json files are supported. Will parse file content to hash.
|
31
|
-
|
32
|
-
def parse_config_file config_path
|
33
|
-
File.open(config_path, "r") do |file|
|
34
|
-
case File.extname(file).delete(".")
|
35
|
-
when "json" then JSON.parse(file.read)
|
36
|
-
when "yml" then YAML.load_file(file)
|
37
|
-
else
|
38
|
-
file.close
|
39
|
-
raise LoadError, "Type of file is not supported."
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
# Struct tree
|
45
|
-
#
|
46
|
-
# Since i prefere to use dot notation to navigate through medium size hashes,
|
47
|
-
# parse hash into open structs
|
48
|
-
|
49
|
-
def build_struct_tree data
|
50
|
-
data.to_hashugar
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
end
|