phlipper/sugar-rails — pull request #3 by andrewplummer (2012-07-28 11:48:06+00:00)
Title: Fix for new Sugar version.

This should take care of the new Sugar custom build mechanism (I hope)... in the end, each package needs to be added and wrapped in a closure, so I can't see a way around building a custom build separately from a generator, but this seems to make sense to me anyway.

As for the rest, I renamed the files so that you can require sugar by:

```
require sugar (default minified package)
require sugar-full (full minified package)
require sugar-development (full development package)
require sugar-custom (custom package)
```

Then, the custom package can be built by:

```
rails g build array string ...
```

Some of the generator code may be a bit rough... I had a bit of trouble figuring out how to package together different files, so I may be doing something in a non-optimal way... feel free to clean it up.

I also went ahead and set the version to `1.3.0`, which matches the npm package.

Anyway, let me know what you think...