z85-cli
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -24,16 +24,2 @@ /*jslint node: true */ | ||
} | ||
}, | ||
watch: { | ||
gruntfile: { | ||
files: '<%= jshint.gruntfile.src %>', | ||
tasks: ['jshint:gruntfile'] | ||
}, | ||
lib: { | ||
files: '<%= jshint.lib.src %>', | ||
tasks: ['jshint:lib', 'nodeunit'] | ||
}, | ||
test: { | ||
files: '<%= jshint.test.src %>', | ||
tasks: ['jshint:test', 'nodeunit'] | ||
} | ||
} | ||
@@ -45,7 +31,7 @@ }); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
// Default task. | ||
grunt.registerTask('default', ['jshint', 'nodeunit']); | ||
grunt.registerTask('test', ['nodeunit']); | ||
grunt.registerTask('default', ['jshint', 'test']); | ||
}; |
{ | ||
"name": "z85-cli", | ||
"description": "Command line client for ZeroMQ Base-85 encoding", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/bkimminich/z85-cli", | ||
@@ -25,6 +25,6 @@ "author": { | ||
"engines": { | ||
"node": "0.10.x" | ||
"node": ">=0.10" | ||
}, | ||
"scripts": { | ||
"test": "grunt nodeunit" | ||
"test": "grunt test" | ||
}, | ||
@@ -37,3 +37,2 @@ "dependencies": { | ||
"grunt-contrib-nodeunit": "~0.2.0", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt": "~0.4.5" | ||
@@ -40,0 +39,0 @@ }, |
@@ -7,9 +7,4 @@ /*jslint node: true */ | ||
exports['z85-cli'] = { | ||
setUp: function (done) { | ||
// setup here | ||
done(); | ||
}, | ||
'no args': function (test) { | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli(), undefined, 'does not return anything.'); | ||
@@ -20,3 +15,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('-x', 'value'), undefined, 'does not return anything.'); | ||
@@ -27,3 +21,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('-d', 'xxx'), undefined, 'does not return anything.'); | ||
@@ -34,3 +27,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('-e', 'xxx'), undefined, 'does not return anything.'); | ||
@@ -41,3 +33,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('--encode', 'Test'), 'raQb)', 'returns encoded value.'); | ||
@@ -48,3 +39,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('-e', 'Test'), 'raQb)', 'returns encoded value.'); | ||
@@ -55,3 +45,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('--decode', 'raQb)'), 'Test', 'returns decoded value.'); | ||
@@ -62,3 +51,2 @@ test.done(); | ||
test.expect(1); | ||
// tests here | ||
test.equal(z85_cli.z85cli('-d', 'raQb)'), 'Test', 'returns decoded value.'); | ||
@@ -65,0 +53,0 @@ test.done(); |
Sorry, the diff of this file is not supported yet
3
6751
116