engine-assets

Rails Engines with assets

engine-assets is a Rails Engine which enables other Rails Engines to provide assets:

  • javascript
  • css
  • images (TODO)

Requirements

  • Rails (see RAILS_VERSIONS file for supported versions)

Installation

  • TODO: basic gem installation.
  • TODO: bundler style.

Usage

  • TODO: write/find a related engine.
  • TODO: require/load engine-assets and related engine in your Rails app.
  • TODO: (optional) add Rails initializer (and use patched asset tag).

Customization

  • TODO: Rails initializer to selectively reference files.

TODO

  • Add spec/feature coverage for 'reloadable' controllers.
  • Add spec/feature coverage for gem-installed engine, rather than plugins.
  • Add spec/feature coverage for rails/init.rb making a difference.

Contributors

Acknowledgments

  • thoughtbot http://thoughtbot.com/
    For insight regarding techniques for running Cucumber features against multiple versions of Rails (in hoptoad_notifier).
  • Michael Bleigh http://mbleigh.com
    For insight regarding techniques for running RSpec specs against multiple versions of Rails (in acts-as-taggable-on).
  • Jon Swope http://jonswope.com
    For his post on serving static assets from Rails 3 Engines.