grunt-prompt
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -261,7 +261,7 @@ /* | ||
if (grunt.util._(grunt.config('bump.files')).contains('package')) { | ||
if (_(grunt.config('bump.files')).contains('package')) { | ||
grunt.log.ok('Updating ' + 'package.json'.yellow + '.'); | ||
} | ||
if (grunt.util._(grunt.config('bump.files')).contains('bower')) { | ||
if (_(grunt.config('bump.files')).contains('bower')) { | ||
if (!grunt.file.isFile('bower.json')) { | ||
@@ -273,3 +273,3 @@ grunt.log.ok('Creating ' + 'bower.json'.yellow + '.'); | ||
if (grunt.util._(grunt.config('bump.files')).contains('git')) { | ||
if (_(grunt.config('bump.files')).contains('git')) { | ||
grunt.log.ok('Updating ' + 'git tag'.yellow + '.'); | ||
@@ -276,0 +276,0 @@ } |
{ | ||
"name": "grunt-prompt", | ||
"description": "Add interactive console prompts to your Gruntfile such as lists, checkboxes, text input with filtering, and password fields.", | ||
"version": "0.2.0", | ||
"description": "Interactive prompt for your Grunt config using console checkboxes, text input with filtering, password fields.", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/dylang/grunt-prompt", | ||
@@ -32,3 +32,2 @@ "author": { | ||
"devDependencies": { | ||
"lodash": "~2.4.1", | ||
"grunt-contrib-jshint": "~0.8.0", | ||
@@ -39,3 +38,3 @@ "grunt": "~0.4.1", | ||
"grunt-notify": "~0.2.10", | ||
"chai": "~1.8.1", | ||
"chai": "~1.9.0", | ||
"chalk": "~0.4.0" | ||
@@ -58,4 +57,5 @@ }, | ||
"dependencies": { | ||
"inquirer": "~0.4.0" | ||
"inquirer": "~0.4.0", | ||
"lodash": "~2.4.1" | ||
} | ||
} |
@@ -291,3 +291,9 @@ # grunt-prompt [![Build Status](https://travis-ci.org/dylang/grunt-prompt.png?branch=master)](https://travis-ci.org/dylang/grunt-prompt) | ||
## Release History | ||
* **0.2.1** - 4 Feb 2014 - Fix bug when using a function to provide choices. | ||
* **0.2.0** - 26 Jan 2014 - Added `then` option which runs after questions. Improved docs. | ||
* **0.1.1** - 27 July 2013 - Some documentation cleanup, better screenshots, new example code in the gruntfile, reomved unused tests. | ||
* **0.1.0** - 18 July 2013 - First version, after an exhausting but fun day with the family at Hershey Park. | ||
* **0.1.0** - 18 July 2013 - First version, after an exhausting but fun day with the family at Hershey Park. | ||
## License | ||
MIT |
@@ -16,3 +16,3 @@ /* | ||
options = this.options(), | ||
_ = grunt.util._; | ||
_ = require('lodash'); | ||
@@ -22,3 +22,3 @@ var questions = options.questions; | ||
function addSeparator(choices) { | ||
if (!choices) { | ||
if (!choices || _.isFunction(choices)) { | ||
return choices; | ||
@@ -25,0 +25,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25145
7
298
3
+ Addedlodash@~2.4.1