md_resume 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -13
- data/lib/md_resume/version.rb +1 -1
- data/lib/parser.rb +3 -2
- data/md_resume.gemspec +5 -7
- metadata +8 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed8f217bff9e006f0f23eaf4bf32465acb8d7b4e42aa79459d4494997e9d0faf
|
4
|
+
data.tar.gz: 9fb0a3add00c308d7a093ea4b11a70d4936f18be23db362dbb8df6cfc8e8263f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733016d3c2818796c1bab7d39e0ca43baabbb5f0fefe89ed594af5a2d7e70d0853c52ea6889ffea87c61bddbe258d2b87874ef345f2d4957c194a6d4961303d6
|
7
|
+
data.tar.gz: d66b987ebd216b443d7f23252b3499631600821a1a9dcb4519b82816ebb15e0ef39030198cf077100796e7ebd74a48c243434e2e73d09812803bc130a61b92f1
|
data/README.md
CHANGED
@@ -18,26 +18,30 @@ gem install md_resume
|
|
18
18
|
## Usage
|
19
19
|
|
20
20
|
```
|
21
|
-
Usage: md_resume command filename [options
|
21
|
+
Usage: md_resume command filename [options...]
|
22
22
|
|
23
23
|
Commands:
|
24
|
-
serve
|
25
|
-
build
|
26
|
-
generate
|
24
|
+
serve Start a local server to preview your resume
|
25
|
+
build Build your resume in html and pdf formats.
|
26
|
+
generate Generate a template with given file name,
|
27
|
+
defaults to generating only a markdown template.
|
27
28
|
|
28
29
|
Specific options:
|
29
|
-
--chrome-path=PATH
|
30
|
-
--no-pdf
|
31
|
-
--no-html
|
32
|
-
-p, --pdf-path=PATH
|
33
|
-
-h, --html-path=PATH
|
34
|
-
--css-path=PATH
|
35
|
-
--server-port=PORT
|
30
|
+
--chrome-path=PATH Path to Chrome executable
|
31
|
+
--no-pdf Do [not] write pdf output
|
32
|
+
--[no-]html Do [not] write html output
|
33
|
+
-p, --pdf-path=PATH Path of pdf output
|
34
|
+
-h, --html-path=PATH Path of html output
|
35
|
+
--css-path=PATH Path of css inputs.
|
36
|
+
--server-port=PORT Specify the localhost port number for the server
|
36
37
|
--serve-only
|
37
|
-
|
38
|
+
--no-open Do not automatically open browser when starting server
|
39
|
+
-v, --[no-]verbose Run verbosely
|
40
|
+
--[no-]generate-md Generate markdown template.
|
41
|
+
--[no-]generate-css Generate CSS template.
|
38
42
|
|
39
43
|
Common options:
|
40
|
-
--help
|
44
|
+
--help Show this message
|
41
45
|
```
|
42
46
|
|
43
47
|
## Customization
|
data/lib/md_resume/version.rb
CHANGED
data/lib/parser.rb
CHANGED
@@ -28,7 +28,8 @@ class Parser
|
|
28
28
|
parser.separator 'Commands:'
|
29
29
|
parser.separator "serve\t\t\tStart a local server to preview your resume"
|
30
30
|
parser.separator "build\t\t\tBuild your resume in html and pdf formats."
|
31
|
-
parser.separator "generate\t\tGenerate a
|
31
|
+
parser.separator "generate\t\tGenerate a template with given file name,"
|
32
|
+
parser.separator "\t\t\tdefaults to generating only a markdown template."
|
32
33
|
parser.separator ''
|
33
34
|
parser.separator 'Specific options:'
|
34
35
|
|
@@ -129,7 +130,7 @@ class Parser
|
|
129
130
|
end
|
130
131
|
|
131
132
|
def boolean_generate_md_option(parser)
|
132
|
-
parser.on('--no-generate-md', '
|
133
|
+
parser.on('--[no-]generate-md', 'Generate markdown template.') do |v|
|
133
134
|
self.generate_md = v
|
134
135
|
end
|
135
136
|
end
|
data/md_resume.gemspec
CHANGED
@@ -5,19 +5,20 @@ require_relative 'lib/md_resume/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'md_resume'
|
7
7
|
spec.version = MdResume::VERSION
|
8
|
-
spec.authors = ['
|
8
|
+
spec.authors = ['elasticspoon']
|
9
9
|
spec.email = ['quesadillaman@gmail.com']
|
10
10
|
|
11
11
|
spec.summary = 'Ruby gem for creating resume from markdown file.'
|
12
|
-
spec.description = 'Write a resume in markdown, style it with CSS,
|
13
|
-
|
12
|
+
spec.description = 'Write a resume in markdown, style it with CSS,
|
13
|
+
edit it with a live server and distribute it as either HTML or PDF.'
|
14
|
+
spec.homepage = 'https://github.com/elasticspoon/md_resume'
|
14
15
|
spec.license = 'MIT'
|
15
16
|
spec.required_ruby_version = '>= 2.6.0'
|
16
17
|
|
17
18
|
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
18
19
|
|
19
20
|
spec.metadata['homepage_uri'] = spec.homepage
|
20
|
-
spec.metadata['source_code_uri'] = 'https://github.com/elasticspoon/
|
21
|
+
spec.metadata['source_code_uri'] = 'https://github.com/elasticspoon/md_resume'
|
21
22
|
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
22
23
|
|
23
24
|
# Specify which files should be added to the gem when it is released.
|
@@ -36,7 +37,4 @@ Gem::Specification.new do |spec|
|
|
36
37
|
spec.add_dependency 'filewatcher', '~> 2.1'
|
37
38
|
spec.add_dependency 'kramdown', '~> 2.4'
|
38
39
|
spec.add_dependency 'webrick', '~> 1.8'
|
39
|
-
|
40
|
-
# For more information and examples about making a new gem, check out our
|
41
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
42
40
|
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md_resume
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- elasticspoon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
@@ -52,16 +52,9 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.8'
|
55
|
-
description:
|
56
|
-
|
57
|
-
|
58
|
-
styled with CSS. Instead of stopping at exclusively generation of a resume in HTML
|
59
|
-
or PDF format, the project goes further in letting you perfect your resume. Running
|
60
|
-
<code>resume.rb</code> in development mode will spin up a local server that will
|
61
|
-
watch your changes to the resume styles and content. The server will live update
|
62
|
-
an HTML preview of your resume letting you move quickly with changes and updates.
|
63
|
-
The project uses <code>kramdown</code> to translate markdown to HTML, bringing with
|
64
|
-
it additional inline markdown customization options.
|
55
|
+
description: |-
|
56
|
+
Write a resume in markdown, style it with CSS,
|
57
|
+
edit it with a live server and distribute it as either HTML or PDF.
|
65
58
|
email:
|
66
59
|
- quesadillaman@gmail.com
|
67
60
|
executables:
|
@@ -87,12 +80,12 @@ files:
|
|
87
80
|
- md_resume.gemspec
|
88
81
|
- resume.png
|
89
82
|
- sig/md_resume.rbs
|
90
|
-
homepage: https://github.com/elasticspoon/
|
83
|
+
homepage: https://github.com/elasticspoon/md_resume
|
91
84
|
licenses:
|
92
85
|
- MIT
|
93
86
|
metadata:
|
94
|
-
homepage_uri: https://github.com/elasticspoon/
|
95
|
-
source_code_uri: https://github.com/elasticspoon/
|
87
|
+
homepage_uri: https://github.com/elasticspoon/md_resume
|
88
|
+
source_code_uri: https://github.com/elasticspoon/md_resume
|
96
89
|
post_install_message:
|
97
90
|
rdoc_options: []
|
98
91
|
require_paths:
|