Comparing version 0.1.8 to 0.1.9
@@ -25,3 +25,3 @@ /* globals module */ | ||
options: { | ||
reporter: "Spec", | ||
reporter: "spec", | ||
timeout: 20000 | ||
@@ -74,2 +74,2 @@ } | ||
grunt.registerTask("beautify", ["jsbeautifier", "lineending"]); | ||
}; | ||
}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -142,3 +142,6 @@ "use strict"; | ||
for (var i = 0; i < filters.length; i++) { | ||
if (minimatch(path.basename(filePath), filters[i])) { | ||
if (filters[i].indexOf("*") < 0) { | ||
return filePath.toLowerCase().indexOf(filters[i]) >= 0; | ||
} | ||
else if (minimatch(path.basename(filePath), filters[i])) { | ||
return true; | ||
@@ -145,0 +148,0 @@ } |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ usage: hashly [option option=parameter ...] <source> [destination] |
{ | ||
"name": "hashly", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Renames static files with a hashcode for cache busting", | ||
@@ -9,3 +9,3 @@ "directories": { | ||
"engines": { | ||
"node": ">=0.8.0" | ||
"node": ">=0.10.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "dependencies": { | ||
"javascript", | ||
"jQuery" | ||
"cache busting" | ||
], | ||
@@ -44,0 +44,0 @@ "author": { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,2 +0,2 @@ | ||
hashly | ||
hashly [![Build Status](https://secure.travis-ci.org/labaneilers/hashly.png?branch=master)](http://travis-ci.org/labaneilers/hashly) | ||
====== | ||
@@ -18,2 +18,9 @@ | ||
Installation | ||
------------------ | ||
```shell | ||
npm install hashly -g | ||
``` | ||
Usage | ||
@@ -38,3 +45,23 @@ ------------------ | ||
Examples | ||
------------------ | ||
Process the current directory in place: | ||
```shell | ||
hashly | ||
``` | ||
Process the directory 'source' and copy hashed files to the 'processed' directory: | ||
```shell | ||
hashly ./source ./processed | ||
``` | ||
Write the manifest in tab-delimited format: | ||
```shell | ||
hashly ./source ./processed -m "tab" | ||
``` | ||
Image sizes | ||
@@ -41,0 +68,0 @@ ------------------ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
42867
18
438
110