aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/sprockets_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for alternate asset prefix/environmentSam Pohlenz2011-07-011-0/+12
|
* Added a configuration setting:Chris Eppstein2011-06-271-1/+18
| | | | | | | | | | | | | | | | | | | | | | config.action_controller.default_asset_host_protocol It's best to leave this unset. When unset the :request protocol is used whenever it can be and :relative is used in the other situations. When set to :request then assets hosts will be disabled when there is no request in scope and will use the request protocol whenever a request is in scope. If set to :relative, then a relative protocol is always used except for stylesheet link tags which must use the :request protocol to avoid double downloads in IE6&7. Conflicts: actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb
* Add asset_url helper and refactor the asset paths so that asset hosts can be ↵Chris Eppstein2011-06-271-4/+50
| | | | | | | | | | used during asset precompilation. Conflicts: actionpack/lib/action_view/asset_paths.rb actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb
* Allow multiple sources in Sprockets helpersGuillermo Iguaran2011-06-051-0/+6
|
* Fix typo in test.Andrés Botero2011-05-281-1/+1
|
* fixed asset_paths when called from sprockets for relative_url_rootjacott2011-05-281-0/+6
|
* Move the last pockets of Sprockets stuff into the Sprockets directorywycats2011-05-231-2/+1
|
* Move javascript/css helpers into the Sprockets helper and just have them ↵wycats2011-05-231-12/+12
| | | | override the old behavior
* Start moving some logic from being embedded in AV into the Rails Sprockets ↵wycats2011-05-231-0/+2
| | | | extensions
* We don't need to load version any more as Sprockets.beta8 is included. Arun Agrawal2011-05-231-7/+0
|
* Merge branch '3-1-stable'Joshua Peek2011-05-221-2/+9
|\ | | | | | | | | | | Conflicts: actionpack/actionpack.gemspec activemodel/activemodel.gemspec
| * Add debug_asset supportJoshua Peek2011-05-221-2/+9
| |
* | Make sure that we're able to run Action Pack test standalone.Prem Sichanugrist2011-05-221-2/+7
|/ | | | | | | | Sprocket was trying to look for these two things: * `Rails::VERSION::STRING` * `.initializer(str)` in `Rails::Engine` This commit added require to version.rb into Abstract Unit, and mocking the `Rails::Engine.initializer` in `sprockets_helper_test.rb`
* Replace example hostname with "example.com".Joost Baaij2011-04-211-12/+12
| | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606.
* Let's use inheritance here, shall we?José Valim2011-04-191-0/+8
|
* Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-191-22/+18
| | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* All assets, including images, audio, and video, now uses the asset pipeline ↵David Heinemeier Hansson2011-04-191-0/+19
| | | | when its on
* Seperate asset directoriesJoshua Peek2011-03-291-15/+18
|
* Tests for SprocketsHelperJoshua Peek2011-03-291-0/+93