assemble/helper-lib — pull request #27 by doowb (2013-05-12 00:50:05+00:00)
Title: Adding object globbing

Adding a couple of utilities to do object globbing with the minimatch repo.

One method will build an array of paths given an object:

```js
var obj = {
prop1: 'something'
prop2: {
prop2a: 'something else '
}
};

var paths = Utils.buildObjectPaths(obj);
```

results in paths = `['prop1', 'prop2/prop2a']`

Another method that globs the object based on the paths and a given pattern:

```js
var obj = {
prop1: 'something'
prop2: {
prop2a: 'something else '
}
};

var newObj = Utils.globObject(obj, '**/*a');
```
results in newObj =
```js
{
prop2: {
prop2a: 'something else'
}
}
```