Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #2411 from ai/debug_assets_by_config | Santiago Pastorino | 2011-08-22 | 1 | -4/+6 | |
|\ | | | | | Debug assets by config | |||||
| * | Allow to debug assets by config.assets.debug | Andrey A.I. Sitnik | 2011-08-22 | 1 | -4/+6 | |
| | | ||||||
* | | Fix Sprockets rewrite_asset_path | Guillermo Iguaran | 2011-08-22 | 1 | -1/+1 | |
| | | ||||||
* | | Refactor Sprockets::Helpers::RailsHelper#performing_caching? | Daniel Schierbeck | 2011-08-22 | 1 | -2/+7 | |
|/ | | | | | No need for them lines to get so long! Also, move that comment into the method body where it belongs! | |||||
* | Fix sprockets warnings | Joshua Peek | 2011-08-21 | 3 | -7/+20 | |
| | | | | Fixes #2598 | |||||
* | Debug assets by default in development and test environments | Guillermo Iguaran | 2011-08-18 | 1 | -2/+2 | |
| | ||||||
* | Fix assets tests in railties | Jon Leighton | 2011-08-16 | 1 | -1/+3 | |
| | ||||||
* | rake assets:precompile executes in production environment as default if ↵ | Santiago Pastorino | 2011-08-15 | 1 | -4/+4 | |
| | | | | RAILS_ENV was not provided | |||||
* | Ensure changing RAILS_GROUPS will load the proper dependencies. | José Valim | 2011-08-14 | 1 | -13/+16 | |
| | ||||||
* | Remove lame comment. | José Valim | 2011-08-09 | 1 | -1/+0 | |
| | ||||||
* | rake assets:precompile defaults to production env | Santiago Pastorino | 2011-08-09 | 1 | -0/+1 | |
| | ||||||
* | Initialize config.assets.version the same way it's done in Sprockets | Santiago Pastorino | 2011-08-08 | 1 | -1/+1 | |
| | ||||||
* | use assets.version in asset checksum to allow user to easily override | Ilya Grigorik | 2011-08-05 | 1 | -1/+1 | |
| | ||||||
* | generate environment dependent asset digests | Ilya Grigorik | 2011-08-04 | 1 | -0/+1 | |
| | | | | | | 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 | |||||
* | Clear out tmp/cache when assets:clean is invoked. | Ilya Grigorik | 2011-08-04 | 1 | -1/+1 | |
| | | | | | | Otherwise, if bad data is cached in tmp/clear then the next invocation of assets:precompile (or a regular incoming request) will pickup files from tmp without regenerating them from source. | |||||
* | Make Rails.application.assets available in initializers | Joshua Peek | 2011-07-27 | 1 | -44/+36 | |
| | ||||||
* | Remove unused use_sprockets config | Santiago Pastorino | 2011-07-25 | 1 | -7/+0 | |
| | ||||||
* | Merge pull request #2243 from dmathieu/comment | Xavier Noria | 2011-07-24 | 1 | -0/+1 | |
|\ | | | | | Help the next guy with explanations - See bb3b3e306 | |||||
| * | help the next guy with explanations - See bb3b3e306 | Damien Mathieu | 2011-07-24 | 1 | -0/+1 | |
| | | ||||||
* | | Use top level Rails constant | Andrew White | 2011-07-24 | 1 | -2/+2 | |
|/ | ||||||
* | Merge pull request #2228 from Empact/helper_tags_in_mailers | Aaron Patterson | 2011-07-23 | 1 | -0/+2 | |
|\ | | | | | Simple fix to the NoMethodError noted in #2177. | |||||
| * | Simple fix to the NoMethodError noted in #2177. | Ben Woosley | 2011-07-23 | 1 | -0/+2 | |
| | | | | | | 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. | |||||
* | | rake assets:precompile should always perform caching - Closes #2199 | Damien Mathieu | 2011-07-24 | 1 | -0/+1 | |
|/ | ||||||
* | use rake tasks to set the default environment variables. fixes #2126 | Aaron Patterson | 2011-07-21 | 1 | -10/+10 | |
| | ||||||
* | indeed, if we are going to remove everything in public/assets on ↵ | Xavier Noria | 2011-07-17 | 1 | -4/+1 | |
| | | | | assets:clean, just do that | |||||
* | if we are cleaning all files, we are cleaning all gz files | Xavier Noria | 2011-07-17 | 1 | -1/+0 | |
| | ||||||
* | assets.cache_store now defaults to filesystem. You will want to share ↵ | José Valim | 2011-07-12 | 1 | -2/+2 | |
| | | | | tmp/assets_cache between deploys. | |||||
* | Require assets in all environments by default and provide a way to opt-out ↵ | José Valim | 2011-07-11 | 1 | -2/+7 | |
| | | | | from uglifier. | |||||
* | Move config.default_asset_host_protocol to the railtie. | José Valim | 2011-07-07 | 2 | -6/+3 | |
| | ||||||
* | Give higher priority to assets.cache_store. | José Valim | 2011-07-06 | 1 | -1/+1 | |
| | ||||||
* | Make compressors lazily load. | José Valim | 2011-07-06 | 2 | -2/+25 | |
| | ||||||
* | Merge pull request #1925 from spohlenz/refactor-asset-paths | José Valim | 2011-07-02 | 1 | -9/+27 | |
|\ | | | | | Refactor sprockets asset paths to allow for alternate asset environments | |||||
| * | Add documentation for asset_prefix and asset_environment | Sam Pohlenz | 2011-07-03 | 1 | -0/+9 | |
| | | ||||||
| * | Refactor sprockets asset paths to allow for alternate asset environments | Sam Pohlenz | 2011-07-01 | 1 | -9/+18 | |
| | | ||||||
* | | It's autoload all the way down | Andrew White | 2011-07-01 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "Add missing require for ActionView::AssetPaths" | Andrew White | 2011-07-01 | 1 | -1/+0 | |
| | | | | | | | | This reverts commit 987eb7d4236513978e3cfcd5c3c159d95d2a84c8. | |||||
* | | Add missing require for ActionView::AssetPaths | Andrew White | 2011-07-01 | 1 | -0/+1 | |
|/ | ||||||
* | Move Coffee generators and templates to Coffee Railtie and create ↵ | Santiago Pastorino | 2011-06-29 | 1 | -9/+0 | |
| | | | | javascript_engine ("js") for apps that remove Coffee gem | |||||
* | [IMPORTANT] Make "sprockets/railtie" require explicit. | José Valim | 2011-06-29 | 2 | -0/+31 | |
| | | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator. | |||||
* | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Move the config bootstrapping to initialization to minimize access to the ↵ | Chris Eppstein | 2011-06-27 | 1 | -1/+7 | |
| | | | | Rails.application global. | |||||
* | Stylesheet link tags should use the request protocol to avoid duplicate ↵ | Chris Eppstein | 2011-06-27 | 1 | -5/+5 | |
| | | | | | | | | | download of stylesheets in IE7 and IE8. Conflicts: actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb actionpack/lib/sprockets/helpers/rails_helper.rb | |||||
* | Add asset_url helper and refactor the asset paths so that asset hosts can be ↵ | Chris Eppstein | 2011-06-27 | 1 | -7/+12 | |
| | | | | | | | | | | 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 | |||||
* | Require helpers so autoload is properly setup. | José Valim | 2011-06-21 | 1 | -1/+1 | |
| | ||||||
* | Don't use deprecated stuff. | José Valim | 2011-06-21 | 1 | -2/+1 | |
| | ||||||
* | Assign Rails.cache to sprockets | Joshua Peek | 2011-06-21 | 1 | -0/+4 | |
| | ||||||
* | Make the API for compression consistent between JS and CSS. By default, ↵ | wycats | 2011-06-16 | 1 | -2/+6 | |
| | | | | | | users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem. Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties. | |||||
* | Fix appending sprockets paths | Joshua Peek | 2011-06-14 | 1 | -1/+6 | |
| | ||||||
* | Indention style + whitespace for readability | David Heinemeier Hansson | 2011-06-09 | 1 | -33/+38 | |
| | ||||||
* | If you set a js_compressor, it means that you want shit compressed -- we ↵ | David Heinemeier Hansson | 2011-06-09 | 1 | -2/+2 | |
| | | | | dont need a second option to turn that on |