diff --git a/History.md b/History.md index 63ccb77..e322968 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,9 @@ +0.5.1 / 2014-08-05 +================== + + * Fixed bug with require statement + 0.5.0 / 2014-08-04 ================== diff --git a/lib/index.js b/lib/index.js index 5f53728..8f513e9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,7 +4,7 @@ var extend = require('extend'); var Matcher = require('minimatch').Minimatch; var unique = require('uniq'); var read = require('fs').readFileSync; -var loadMetadata = require('load-metadata').sync; +var loadMetadata = require('read-metadata').sync; /** * Expose `plugin`. diff --git a/package.json b/package.json index 9124b40..b293f8b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "metalsmith-collections", "description": "A Metalsmith plugin that adds collections of files to the global metadata.", "repository": "git://github.com/segmentio/metalsmith-collections.git", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "main": "lib/index.js", "dependencies": {