Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure that javascript_include_tag/stylesheet_link_tag methods in | Jorge Bejar | 2012-05-03 | 1 | -0/+6 |
| | | | | sprockets/helpers/rails_helper.rb discard duplicated assets | ||||
* | Pass extensions to javascript_path and stylesheet_path helpers. Closes #3417 | Santiago Pastorino | 2012-01-03 | 1 | -0/+6 |
| | |||||
* | Add font_path helper method | Santiago Pastorino | 2012-01-03 | 1 | -0/+20 |
| | |||||
* | Handle correctly optional parameters for callable asset_host. | Marc-Andre Lafortune | 2011-11-29 | 1 | -0/+8 |
| | |||||
* | javascript_include_tag should add '.js' to sources that contain '.' | lest | 2011-11-22 | 1 | -0/+3 |
| | |||||
* | stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't ↵ | Santiago Pastorino | 2011-10-05 | 1 | -0/+5 |
| | | | | throw Sprockets::FileOutsidePaths exception anymore | ||||
* | Fix the lame config.action_controller.present? check scattered throughout ↵ | José Valim | 2011-10-05 | 1 | -6/+9 |
| | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb | ||||
* | Ensure default_asset_host_protocol is respected, closes #2980. | José Valim | 2011-10-05 | 1 | -2/+4 |
| | |||||
* | javascript_path and stylesheet_path should honor the asset pipelining | Santiago Pastorino | 2011-09-28 | 1 | -2/+18 |
| | |||||
* | Correctly override image_path in sprockets rails_helper | Christos Zisopoulos | 2011-09-26 | 1 | -0/+8 |
| | |||||
* | Just assert_equal here | Santiago Pastorino | 2011-09-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3135 from christos/respect_assets_digest_value | Santiago Pastorino | 2011-09-26 | 1 | -0/+8 |
|\ | | | | | Give precedence to `config.digest = false` over the existence of manifest.yml asset digests | ||||
| * | Give precedence to `config.digest = false` over manifest.yml asset digests | Christos Zisopoulos | 2011-09-26 | 1 | -0/+8 |
| | | |||||
* | | image_tag should use /assets if asset pipelining is turned on. Closes #3126 | Santiago Pastorino | 2011-09-26 | 1 | -0/+4 |
|/ | |||||
* | Fixes #1489 again, with updated code and numerous tests to confirm | docunext | 2011-09-22 | 1 | -0/+10 |
| | |||||
* | Allow asset tag helper methods to accept :digest => false option in order to ↵ | Santiago Pastorino | 2011-09-14 | 1 | -16/+28 |
| | | | | completely avoid the digest generation. | ||||
* | Set relative url root in assets when controller isn't available for ↵ | Guillermo Iguaran | 2011-09-13 | 1 | -0/+7 |
| | | | | | | Sprockets. Fix #2435 See https://github.com/rails/sass-rails/issues/42 for details | ||||
* | Backport f443f9cb0c64 to master | Guillermo Iguaran | 2011-08-31 | 1 | -2/+4 |
| | |||||
* | Merge pull request #2644 from guilleiguaran/allow-assets-debugging | Santiago Pastorino | 2011-08-24 | 1 | -0/+2 |
|\ | | | | | Add config.allow_debugging option | ||||
| * | Add config.allow_debugging option to determine if the debug_assets query ↵ | Guillermo Iguaran | 2011-08-24 | 1 | -0/+2 |
| | | | | | | | | param can be passed by user | ||||
* | | Debug assets shouldn't ignore media type for stylesheets. Closes #2625 | Guillermo Iguaran | 2011-08-23 | 1 | -0/+3 |
|/ | |||||
* | Allow to debug assets by config.assets.debug | Andrey A.I. Sitnik | 2011-08-22 | 1 | -14/+6 |
| | |||||
* | Debug assets by default in development and test environments | Guillermo Iguaran | 2011-08-18 | 1 | -6/+22 |
| | |||||
* | 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 |