Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ProcessedAsset#pathname in Sprockets helpers when debugging is on. ↵ | Guillermo Iguaran | 2011-12-10 | 1 | -3/+3 |
| | | | | | | Closes #3333 #3348 #3361. Is wrong use ProcessedAsset#to_s since it returns the content of the file. | ||||
* | Let's do the same trick for asset_path that we do for ↵ | Adrian Pike | 2011-12-05 | 1 | -8/+9 |
| | | | | | | [image,javascript,stylesheet]_path to avoid namespace conflicts on named routes. Closes #3427 | ||||
* | Leave default_asset_host_protocol unset | Jonathan del Strother | 2011-12-01 | 1 | -2/+0 |
| | | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation) | ||||
* | javascript_include_tag should add '.js' to sources that contain '.' | lest | 2011-11-22 | 1 | -1/+1 |
| | |||||
* | Warnings removed when running with 1.9.3 | Arun Agrawal | 2011-10-09 | 1 | -1/+1 |
| | |||||
* | stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't ↵ | Santiago Pastorino | 2011-10-05 | 1 | -0/+2 |
| | | | | throw Sprockets::FileOutsidePaths exception anymore | ||||
* | Fix regression when calling helpers inside sprockets. | José Valim | 2011-10-05 | 4 | -8/+9 |
| | |||||
* | Fix the lame config.action_controller.present? check scattered throughout ↵ | José Valim | 2011-10-05 | 5 | -11/+20 |
| | | | | | | | | 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 | -1/+3 |
| | |||||
* | Encapsulate common rake invocation logic in a method. | José Valim | 2011-10-05 | 1 | -17/+14 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | added comment about why nondigest assets requires a reinvocation | Mark J. Titorenko | 2011-10-05 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only reinvoke if necessary | Mark J. Titorenko | 2011-10-05 | 1 | -2/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only execute the nondigest task if needed | Mark J. Titorenko | 2011-10-05 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | don't munge the environment, let rake do that for us | Mark J. Titorenko | 2011-10-05 | 1 | -5/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | assets compilation task refactoring | Mark J. Titorenko | 2011-10-05 | 2 | -30/+38 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix failing test added in previous commit. | José Valim | 2011-10-04 | 1 | -4/+12 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix failing tests and refactor assets.rake | José Valim | 2011-10-04 | 1 | -24/+37 |
| | |||||
* | Fix #3198. | José Valim | 2011-10-03 | 1 | -39/+35 |
| | |||||
* | Ensure that enhancements to assets:precompile task are only run once | Sam Pohlenz | 2011-10-03 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | :group => :assets should only run in the assets environment. | José Valim | 2011-10-02 | 1 | -1/+1 |
| | |||||
* | Provide initialize_on_precompile which, when set to false, does not ↵ | José Valim | 2011-10-02 | 1 | -2/+6 |
| | | | | initialize the app for precompilation. Defaults to true. | ||||
* | Use of :: in void context Warning removed | Arun Agrawal | 2011-10-01 | 1 | -1/+1 |
| | |||||
* | javascript_path and stylesheet_path should honor the asset pipelining | Santiago Pastorino | 2011-09-28 | 1 | -0/+10 |
| | |||||
* | Merge pull request #3138 from christos/correct_image_path_with_pipeline | Santiago Pastorino | 2011-09-26 | 1 | -2/+3 |
|\ | | | | | Correctly override image_path in sprockets rails_helper | ||||
| * | Refactor image_path to use asset_path directly | Christos Zisopoulos | 2011-09-26 | 1 | -1/+1 |
| | | |||||
| * | Correctly override image_path in sprockets rails_helper | Christos Zisopoulos | 2011-09-26 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #3136 from guilleiguaran/clear-digests-on-precompile | Santiago Pastorino | 2011-09-26 | 1 | -0/+4 |
| | | | | | | | | Avoid use of existing precompiled assets during rake assets:precompile run | ||||
* | | Copy assets to nondigested filenames too | Santiago Pastorino | 2011-09-26 | 1 | -5/+9 |
|/ | |||||
* | Merge pull request #3135 from christos/respect_assets_digest_value | Santiago Pastorino | 2011-09-26 | 1 | -1/+1 |
|\ | | | | | 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 | -1/+1 |
| | | |||||
* | | Encapsulate assets initialization in its own rake task. | José Valim | 2011-09-26 | 1 | -3/+7 |
| | | |||||
* | | image_tag should use /assets if asset pipelining is turned on. Closes #3126 | Santiago Pastorino | 2011-09-26 | 1 | -0/+4 |
|/ | |||||
* | Add public API for register new js and css compressors for Sprockets | Guillermo Iguaran | 2011-09-24 | 3 | -31/+50 |
| | |||||
* | Merge pull request #3121 from cablegram/3-1-stable | Santiago Pastorino | 2011-09-24 | 1 | -1/+1 |
| | | | | Re-launch assets:precompile task using (Rake.)ruby instead of Kernel.exec so it works on Windows | ||||
* | Avoid using pathnames and automatically create the manifest directory if one ↵ | José Valim | 2011-09-24 | 2 | -5/+11 |
| | | | | does not exist yet. | ||||
* | Remove the ENV flag, yagni. | José Valim | 2011-09-24 | 1 | -3/+0 |
| | |||||
* | `rake assets:precompile` loads the application but does not initialize it. | José Valim | 2011-09-24 | 3 | -56/+71 |
| | | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb | ||||
* | Remove Sprockets compute_public_path, AV compute_public_path can be used ↵ | Guillermo Iguaran | 2011-09-23 | 1 | -5/+0 |
| | | | | directly | ||||
* | Merge pull request #3092 from asee/master | Santiago Pastorino | 2011-09-23 | 1 | -1/+1 |
|\ | | | | | Sprockets to use config.assets.prefix, with tests | ||||
| * | Fixes #1489 again, with updated code and numerous tests to confirm | docunext | 2011-09-22 | 1 | -1/+1 |
| | | |||||
* | | set env to let rails know we're precompiling | Terence Lee | 2011-09-22 | 1 | -0/+3 |
| | | |||||
* | | Move precompile task to Sprockets::StaticCompiler | Guillermo Iguaran | 2011-09-20 | 3 | -22/+56 |
|/ | |||||
* | config.action_controller.asset_host shouldn't set to nil during precompile | Guillermo Iguaran | 2011-09-15 | 1 | -3/+0 |
| | |||||
* | Allow asset tag helper methods to accept :digest => false option in order to ↵ | Santiago Pastorino | 2011-09-14 | 1 | -13/+15 |
| | | | | completely avoid the digest generation. | ||||
* | Merge pull request #3015 from guilleiguaran/clear-tmp-cache-on-precompile | José Valim | 2011-09-14 | 1 | -0/+1 |
|\ | | | | | Clear cache before of each precompile to avoid inconsistencies. Fixes #3014 | ||||
| * | Clear cache before of each precompile to avoid inconsistencies. Fixes #3014 | Guillermo Iguaran | 2011-09-13 | 1 | -0/+1 |
| | | |||||
* | | Revert "Provide a way to access to assets without using the digest, useful ↵ | Santiago Pastorino | 2011-09-14 | 1 | -1/+0 |
| | | | | | | | | | | | | for static files and emails" This reverts commit 82afaa06861d03f6a2887d40e40c0ded76db88db. | ||||
* | | Don't mount Sprockets at config.assets.prefix if config.assets.compile is false. | Mark J. Titorenko | 2011-09-13 | 1 | -2/+4 |
|/ | |||||
* | Provide a way to access to assets without using the digest, useful for ↵ | Santiago Pastorino | 2011-09-13 | 1 | -0/+1 |
| | | | | static files and emails | ||||
* | Fix asset_path relative_url_root method | Santiago Pastorino | 2011-09-13 | 1 | -4/+0 |
| |