0.0
No release in over 3 years
Low commit activity in last 3 years
A Rails Engine, which enables Rails Engines to provide assets (javascript, css and images)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.8.5
~> 1.4.0
~> 0.8.7
~> 1.0.0
~> 1.3.0
 Project Readme

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.

    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:905:in `exist?'
    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:905:in `asset_file_path!'
    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:878:in `ensure_javascript_sources!'
    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:877:in `each'
    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:877:in `ensure_javascript_sources!'
    actionpack (3.0.0) lib/action_view/helpers/asset_tag_helper.rb:361:in `javascript_include_tag'
    app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb___615183510_2191829220_0'
    

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.