angie-log
Advanced tools
Comparing version 0.9.4 to 0.9.5
@@ -5,2 +5,6 @@ # Change Log | ||
#### [0.9.5] - 2015-08-24 | ||
##### Removed | ||
- Removed the extraneous `$shell` function from the main project file, `$LogProvider`. | ||
#### [0.9.4] - 2015-08-23 | ||
@@ -7,0 +11,0 @@ ##### Fixed |
@@ -286,14 +286,2 @@ /** | ||
} | ||
}, { | ||
key: '$shell', | ||
/** | ||
* @desc A wrapper for REPL line starts | ||
* @since 0.0.2 | ||
* @access private | ||
* @example new $LogProvider.$shell(); | ||
*/ | ||
value: function $shell() { | ||
return _chalk2['default'].cyan(_bold('angie > ')); | ||
} | ||
}]); | ||
@@ -300,0 +288,0 @@ |
// System Modules | ||
import fs from 'fs'; | ||
import gulp from 'gulp'; | ||
import {argv} from 'yargs'; | ||
import {exec} from 'child_process'; | ||
@@ -77,2 +79,16 @@ import eslint from 'gulp-eslint'; | ||
}); | ||
gulp.task('bump', function(cb) { | ||
const version = argv.version, | ||
bump = (f) => fs.writeFileSync(f, fs.readFileSync(f, 'utf8').replace( | ||
/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/, | ||
version | ||
)); | ||
if (version) { | ||
bump('bin/angie-log'); | ||
bump('bin/angie-log-dist'); | ||
bump('package.json'); | ||
} else { | ||
throw new Error(bold(red('No version specified!!'))); | ||
} | ||
}); | ||
gulp.task('watch', [ 'jscs', 'mocha' ], function() { | ||
@@ -79,0 +95,0 @@ gulp.watch([ SRC, TEST_SRC ], [ 'mocha' ]); |
{ | ||
"name": "angie-log", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"author": "Joe Groseclose <@benderTheCrime>", | ||
@@ -8,4 +8,4 @@ "description": "Standalone terminal and outfile logger designed for the Angie MVC", | ||
"bin": { | ||
"angie-log": "bin/angie-log", | ||
"angie-log-dist": "bin/angie-log-dist" | ||
"angie-log": "bin/angie-log", | ||
"angie-log-dist": "bin/angie-log-dist" | ||
}, | ||
@@ -55,3 +55,3 @@ "main": "dist/services/$LogProvider.js", | ||
"simple-mock": "0.3.0", | ||
"yargs": "3.8.0" | ||
"yargs": "^3.21.0" | ||
}, | ||
@@ -58,0 +58,0 @@ "dependencies": { |
@@ -244,12 +244,2 @@ /** | ||
} | ||
/** | ||
* @desc A wrapper for REPL line starts | ||
* @since 0.0.2 | ||
* @access private | ||
* @example new $LogProvider.$shell(); | ||
*/ | ||
static $shell() { | ||
return chalk.cyan(bold('angie > ')); | ||
} | ||
} | ||
@@ -256,0 +246,0 @@ |
@@ -282,5 +282,2 @@ // System Modules | ||
}); | ||
it('test shell', function() { | ||
expect(Log.$shell()).to.eq(chalk.cyan(bold('angie > '))); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44383
864
4