aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix the lame config.action_controller.present? check scattered throughout ↵José Valim2011-10-057-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb
* | | Ensure default_asset_host_protocol is respected, closes #2980.José Valim2011-10-054-8/+10
| | |
* | | Encapsulate common rake invocation logic in a method.José Valim2011-10-051-17/+14
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | added comment about why nondigest assets requires a reinvocationMark J. Titorenko2011-10-051-0/+5
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | only reinvoke if necessaryMark J. Titorenko2011-10-051-2/+16
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | only execute the nondigest task if neededMark J. Titorenko2011-10-051-3/+3
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | don't munge the environment, let rake do that for usMark J. Titorenko2011-10-051-5/+3
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | assets compilation task refactoringMark J. Titorenko2011-10-052-30/+38
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Fix failing test added in previous commit.José Valim2011-10-041-4/+12
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Bump sprockets to 2.0.2Santiago Pastorino2011-10-041-11/+11
| | |
* | | Clean up subdomain code a bit.José Valim2011-10-041-2/+2
| | |
* | | Merge pull request #3209 from ksob/subdomain_false_strips_subdomainsJosé Valim2011-10-044-5/+23
|\ \ \ | | | | | | | | :subdomain => false will remove all subdomains now. Closes #2025
| * | | :subdomain can now be specified with a value of false in url_for, allowing ↵Kamil Sobieraj2011-10-044-5/+23
| | | | | | | | | | | | | | | | for subdomain(s) removal from the host during link generation. Closes #2025
* | | | Fix failing tests and refactor assets.rakeJosé Valim2011-10-041-24/+37
|/ / /
* | | Require rack-cache 1.1.Brendan Ribera2011-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | Versions prior to 1.1 delete the If-Modified-Since and If-Not-Modified headers when config.action_controller.perform_caching is true. This has two problems: * unexpected inconsistent behaviour between development & production environments * breaks applications that use of these headers
* | | Fix #3198.José Valim2011-10-031-39/+35
| |/ |/|
* | Ensure that enhancements to assets:precompile task are only run onceSam Pohlenz2011-10-031-0/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge pull request #3193 from avakhov/patch-ac-test-case-safe-constantizeJosé Valim2011-10-031-3/+1
|\ \ | | | | | | use safe_constantize instead constantize in AC::TestCase
| * | use safe_constantize instead constantize in AC::TestCaseAlexey Vakhov2011-10-031-3/+1
| | |
* | | normalize arg for AC::TestCase tests class methodAlexey Vakhov2011-10-032-2/+30
|/ /
* | :group => :assets should only run in the assets environment.José Valim2011-10-021-1/+1
| |
* | Provide initialize_on_precompile which, when set to false, does not ↵José Valim2011-10-021-2/+6
| | | | | | | | initialize the app for precompilation. Defaults to true.
* | TestCase should respect the view_assigns API instead of pulling variables on ↵José Valim2011-10-023-8/+23
| | | | | | | | its own.
* | Use of :: in void context Warning removedArun Agrawal2011-10-011-1/+1
| |
* | Add CHANGELOG entriesSantiago Pastorino2011-09-291-0/+40
| |
* | javascript_path and stylesheet_path should honor the asset pipeliningSantiago Pastorino2011-09-282-2/+28
| |
* | Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-292-5/+19
| |
* | add missing require to html sanitizerAlexey Vakhov2011-09-271-0/+1
|/
* Merge pull request #3138 from christos/correct_image_path_with_pipelineSantiago Pastorino2011-09-262-2/+11
|\ | | | | Correctly override image_path in sprockets rails_helper
| * Refactor image_path to use asset_path directlyChristos Zisopoulos2011-09-261-1/+1
| |
| * Correctly override image_path in sprockets rails_helperChristos Zisopoulos2011-09-262-1/+10
| |
* | Merge pull request #3136 from guilleiguaran/clear-digests-on-precompileSantiago Pastorino2011-09-261-0/+4
| | | | | | | | Avoid use of existing precompiled assets during rake assets:precompile run
* | Copy assets to nondigested filenames tooSantiago Pastorino2011-09-261-5/+9
|/
* Just assert_equal hereSantiago Pastorino2011-09-261-1/+1
|
* Merge pull request #3135 from christos/respect_assets_digest_valueSantiago Pastorino2011-09-262-1/+9
|\ | | | | Give precedence to `config.digest = false` over the existence of manifest.yml asset digests
| * Give precedence to `config.digest = false` over manifest.yml asset digestsChristos Zisopoulos2011-09-262-1/+9
| |
* | Encapsulate assets initialization in its own rake task.José Valim2011-09-261-3/+7
| |
* | image_tag should use /assets if asset pipelining is turned on. Closes #3126Santiago Pastorino2011-09-262-0/+8
|/
* fix deprecation warning in cookie_store_testVijay Dev2011-09-251-1/+1
| | | | The options argument to MessageVerifier#initialize should be a hash.
* Implement Mime::Type#respond_to? (consistently with #method_missing)Evgeniy Dolzhenko2011-09-252-0/+6
|
* Merge pull request #3124 from avakhov/patch-6-stylesheet-linkJosé Valim2011-09-252-1/+5
|\ | | | | escape options for the stylesheet_link_tag method
| * escape options for the stylesheet_link_tag methodAlexey Vakhov2011-09-252-1/+5
| |
* | Add public API for register new js and css compressors for SprocketsGuillermo Iguaran2011-09-244-31/+79
|/
* Merge pull request #3121 from cablegram/3-1-stableSantiago Pastorino2011-09-241-1/+1
| | | | Re-launch assets:precompile task using (Rake.)ruby instead of Kernel.exec so it works on Windows
* Revert "Make process reuse the env var passed as argument"Santiago Pastorino2011-09-242-10/+9
| | | | This reverts commit 0e4748cd415660eb91e63d50aa15cdd027c612dd.
* Avoid using pathnames and automatically create the manifest directory if one ↵José Valim2011-09-242-5/+11
| | | | does not exist yet.
* Remove the ENV flag, yagni.José Valim2011-09-241-3/+0
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-243-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 Iguaran2011-09-231-5/+0
| | | | directly
* Merge pull request #3092 from asee/masterSantiago Pastorino2011-09-232-1/+11
|\ | | | | Sprockets to use config.assets.prefix, with tests