1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-12 00:27:08 +01:00

Compare commits

...

10 Commits

Author SHA1 Message Date
JD
22bb3252cd Merge pull request #15 from fluentdesk/ver/0.8.0
Bump version.
2015-10-27 21:48:28 -04:00
fdfdd970a7 Bump version. 2015-10-27 21:48:30 -04:00
JD
b4907dc1b9 Merge pull request #14 from fluentdesk/ver/0.8.0
ver/0.7.2
2015-10-27 21:37:35 -04:00
2c6436be5e Bump fluent-themes version. 2015-10-27 21:11:00 -04:00
1e44ce5e5e Fix: Allow "current" in addition to "present" and "now". 2015-10-27 21:09:54 -04:00
9de5069c20 Fix: Allow year-only dates ('YYYY'). 2015-10-27 21:07:45 -04:00
b0b2af8278 Fix glitch with prettyifying HTML links. 2015-10-27 20:59:21 -04:00
JD
f9c4a70ca4 Merge pull request #13 from fluentdesk/ver/0.7.1
Ver/0.7.1
2015-10-27 07:35:40 -04:00
1782d06b37 Bump version. 2015-10-27 07:39:06 -04:00
5dee90b8e3 Remove process.exit() call. 2015-10-27 07:37:24 -04:00
5 changed files with 7 additions and 9 deletions

View File

@ -58,7 +58,7 @@ fluentcv in1.json in2.json -o out.html -o out.doc -o out.pdf
You should see something to the effect of: You should see something to the effect of:
``` ```
*** FluentCV v0.7.0 *** *** FluentCV v0.7.2 ***
Reading JSON resume: foo/resume.json Reading JSON resume: foo/resume.json
Applying MODERN Theme (7 formats) Applying MODERN Theme (7 formats)
Generating HTML resume: out/resume.html Generating HTML resume: out/resume.html
@ -81,7 +81,7 @@ fluentcv resume.json -t modern
fluentcv resume.json -t ~/foo/bar/my-custom-theme/ fluentcv resume.json -t ~/foo/bar/my-custom-theme/
``` ```
As of v0.7.0, available predefined themes are `modern`, `minimist`, and `hello-world`. As of v0.7.2, available predefined themes are `modern`, `minimist`, and `hello-world`, and `compact`.
### Merging resumes ### Merging resumes

View File

@ -1,6 +1,6 @@
{ {
"name": "fluentcv", "name": "fluentcv",
"version": "0.7.0", "version": "0.7.2",
"description": "Generate beautiful, targeted resumes from your command line, shell, or in Javascript with Node.js.", "description": "Generate beautiful, targeted resumes from your command line, shell, or in Javascript with Node.js.",
"repository": { "repository": {
"type": "git", "type": "git",
@ -24,7 +24,7 @@
}, },
"homepage": "https://github.com/fluentdesk/fluentcv", "homepage": "https://github.com/fluentdesk/fluentcv",
"dependencies": { "dependencies": {
"fluent-themes": "0.1.0-beta", "fluent-themes": "0.2.0-beta",
"fs-extra": "^0.24.0", "fs-extra": "^0.24.0",
"html": "0.0.10", "html": "0.0.10",
"is-my-json-valid": "^2.12.2", "is-my-json-valid": "^2.12.2",

View File

@ -28,7 +28,7 @@ function FluentDate( dt ) {
FluentDate/*.prototype*/.fmt = function( dt ) { FluentDate/*.prototype*/.fmt = function( dt ) {
if( (typeof dt === 'string' || dt instanceof String) ) { if( (typeof dt === 'string' || dt instanceof String) ) {
dt = dt.toLowerCase().trim(); dt = dt.toLowerCase().trim();
if( /^(present|now)$/.test(dt) ) { // "Present", "Now" if( /^(present|now|current)$/.test(dt) ) { // "Present", "Now"
return moment(); return moment();
} }
else if( /^\D+\s+\d{4}$/.test(dt) ) { // "Mar 2015" else if( /^\D+\s+\d{4}$/.test(dt) ) { // "Mar 2015"
@ -40,7 +40,7 @@ FluentDate/*.prototype*/.fmt = function( dt ) {
else if( /^\d{4}-\d{1,2}$/.test(dt) ) { // "2015-03", "1998-4" else if( /^\d{4}-\d{1,2}$/.test(dt) ) { // "2015-03", "1998-4"
return moment( dt, 'YYYY-MM' ); return moment( dt, 'YYYY-MM' );
} }
else if( /^\s\d{4}$/.test(dt) ) { // "2015" else if( /^\s*\d{4}\s*$/.test(dt) ) { // "2015"
return moment( dt, 'YYYY' ); return moment( dt, 'YYYY' );
} }
else if( /^\s*$/.test(dt) ) { // "", " " else if( /^\s*$/.test(dt) ) { // "", " "

View File

@ -35,7 +35,7 @@ var _defaultOpts = {
}, },
prettify: { // ← See https://github.com/beautify-web/js-beautify#options prettify: { // ← See https://github.com/beautify-web/js-beautify#options
indent_size: 2, indent_size: 2,
unformatted: ['em','strong'], unformatted: ['em','strong','a'],
max_char: 80, // ← See lib/html.js in above-linked repo max_char: 80, // ← See lib/html.js in above-linked repo
//wrap_line_length: 120, <-- Don't use this //wrap_line_length: 120, <-- Don't use this
} }

View File

@ -37,8 +37,6 @@ function main() {
// Generate! // Generate!
FCMD.generate( src, dst, opts, logMsg ); FCMD.generate( src, dst, opts, logMsg );
process.exit(0);
} }
function logMsg( msg ) { function logMsg( msg ) {