Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generate environment dependent asset digests | Ilya Grigorik | 2011-08-04 | 1 | -0/+13 |
| | | | | | | If two different environments are configured to use the pipeline, but one has an extra step (such as compression) then without taking the environment into account you may end up serving wrong assets | ||||
* | Instead of removing the instance variable just set it to nil, resolves the ↵ | Brian Cardarella | 2011-07-29 | 1 | -2/+2 |
| | | | | warnings because of a missing instance variable | ||||
* | use sprocket's append_path and assert_match | Damien Mathieu | 2011-07-26 | 1 | -26/+26 |
| | |||||
* | no need for an anonymous class on every setup call | Aaron Patterson | 2011-07-25 | 1 | -10/+9 |
| | |||||
* | just use normal ruby for stubbing | Aaron Patterson | 2011-07-23 | 1 | -5/+3 |
| | |||||
* | Simple fix to the NoMethodError noted in #2177. | Ben Woosley | 2011-07-23 | 1 | -1/+0 |
| | | | Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it. | ||||
* | Add tests for alternate asset prefix/environment | Sam Pohlenz | 2011-07-01 | 1 | -0/+12 |
| | |||||
* | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 1 | -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 Eppstein | 2011-06-27 | 1 | -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 helpers | Guillermo Iguaran | 2011-06-05 | 1 | -0/+6 |
| | |||||
* | Fix typo in test. | Andrés Botero | 2011-05-28 | 1 | -1/+1 |
| | |||||
* | fixed asset_paths when called from sprockets for relative_url_root | jacott | 2011-05-28 | 1 | -0/+6 |
| | |||||
* | Move the last pockets of Sprockets stuff into the Sprockets directory | wycats | 2011-05-23 | 1 | -2/+1 |
| | |||||
* | Move javascript/css helpers into the Sprockets helper and just have them ↵ | wycats | 2011-05-23 | 1 | -12/+12 |
| | | | | override the old behavior | ||||
* | Start moving some logic from being embedded in AV into the Rails Sprockets ↵ | wycats | 2011-05-23 | 1 | -0/+2 |
| | | | | extensions | ||||
* | We don't need to load version any more as Sprockets.beta8 is included. | Arun Agrawal | 2011-05-23 | 1 | -7/+0 |
| | |||||
* | Merge branch '3-1-stable' | Joshua Peek | 2011-05-22 | 1 | -2/+9 |
|\ | | | | | | | | | | | Conflicts: actionpack/actionpack.gemspec activemodel/activemodel.gemspec | ||||
| * | Add debug_asset support | Joshua Peek | 2011-05-22 | 1 | -2/+9 |
| | | |||||
* | | Make sure that we're able to run Action Pack test standalone. | Prem Sichanugrist | 2011-05-22 | 1 | -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 Baaij | 2011-04-21 | 1 | -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é Valim | 2011-04-19 | 1 | -0/+8 |
| | |||||
* | Switch to asset_path and make it available in the Sprockets::Context (now ↵ | David Heinemeier Hansson | 2011-04-19 | 1 | -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 Hansson | 2011-04-19 | 1 | -0/+19 |
| | | | | when its on | ||||
* | Seperate asset directories | Joshua Peek | 2011-03-29 | 1 | -15/+18 |
| | |||||
* | Tests for SprocketsHelper | Joshua Peek | 2011-03-29 | 1 | -0/+93 |