mphasize/sails-ember-blueprints — pull request #11 by sergiolepore (2014-10-05 22:20:45+00:00)
Title: Add support for modularized blueprints. Closes #10. Fixes #7.

This changes the way we use the blueprints, WITHOUT RETROCOMPATIBILITY.
Now there's an `index.js` file acting as a core for the package, and all the blueprints and utils are exposed through this file.

```
var sailsEmberBlueprints = require('sails-ember-blueprints');
var blueprints = sailsEmberBlueprints.blueprints;
// {
// create: function,
// destroy: function,
// find: funtion,
// findone: function,
// populate: function,
// update: function
// }

var emberUtils = sailsEmberBlueprints.utils;
```

Check out the [README.md](https://github.com/sergiolepore/sails-ember-blueprints/blob/eb6864e6a059a5e8211f7c64d6bfcd0fd5f149df/README.md) file to know more about this changes.

# How to test

- Go to the root directory of your Sails project.
- Fetch my changes as a node_module:

```
git clone -b refactor/modularize-blueprints git@github.com:sergiolepore/sails-ember-blueprints.git node_modules/sails-ember-blueprints
```

- Follow the instructions on the [new README.md file](https://github.com/sergiolepore/sails-ember-blueprints/blob/eb6864e6a059a5e8211f7c64d6bfcd0fd5f149df/README.md)
- Test your project
- Enjoy