aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* correct path used in "digested assets are not mistakenly removed" testMark J. Titorenko2011-10-041-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* add failing test: "digested assets are removed from configured path"Mark J. Titorenko2011-10-041-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Bump sprockets to 2.0.2Santiago Pastorino2011-10-041-11/+11
|
* Merge pull request #3212 from ayrton/masterSantiago Pastorino2011-10-041-1/+1
|\ | | | | incorrect to_formatted_s example
| * to_formatted_s is an instance method for a Range not an ArrayAyrton De Craene2011-10-041-1/+1
|/
* 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-042-25/+38
| |
* | Changing rake db:schema:dump to run :environment as well as :load_config, as ↵Ben Woosley2011-10-041-1/+1
|/ | | | | | | | | | running :load_config alone will lead to the dumper being run without including extensions such as those included in foreigner and spatial_adapter. This reverses a change made here: https://github.com/rails/rails/commit/5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb#L0L324 I'm assuming here that :load_config needs to be invoked separately from :environment, as it is elsewhere in the file for db operations, if not the alternative is to go back to "task :dump => :environment do". Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #3202 from abscondment/3053-missing-headersJosé Valim2011-10-032-1/+15
|\ | | | | Use rack-cache 1.1
| * 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
| * Test demonstrating #3053: If-Modified-Since gets swallowed up by rack-cache.Brendan Ribera2011-10-031-0/+14
|/
* Merge pull request #2801 from jeremyevans/patch-1Jeremy Kemper2011-10-032-1/+4
|\ | | | | Fix obviously breakage of Time.=== for Time subclasses
| * Add tests for fixes to Time.===Jeremy Evans2011-09-071-0/+3
| |
| * Edited activesupport/lib/active_support/core_ext/time/calculations.rb via GitHubJeremy Evans2011-09-011-1/+1
| |
* | Merge pull request #3191 from yahonda/activerecord_unittest_db2Aaron Patterson2011-10-032-0/+5
|\ \ | | | | | | To support ActiveRecord unit tests for IBM DB2
| * | Fix typo in RakefileYasuo Honda2011-10-031-1/+1
| | |
| * | To support ActiveRecord unit tests for IBM DB2Yasuo Honda2011-10-022-0/+5
| | |
* | | Fix #3198.José Valim2011-10-031-39/+35
| | |
* | | add failing test for #3198Mark J. Titorenko2011-10-031-0/+13
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Merge pull request #3200 from docwhat/spelling-boobooSantiago Pastorino2011-10-031-1/+1
|\ \ \ | | | | | | | | Rescuable spelling error
| * | | Rescuable spelling errorChristian Höltje2011-10-031-1/+1
|/ / /
* | | Ensure that enhancements to assets:precompile task are only run onceSam Pohlenz2011-10-032-0/+8
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Replace calls to capture(:stdout) with quietly in assets testsSam Pohlenz2011-10-031-4/+4
| | | | | | | | | | | | 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
| |/ /
* | | Merge pull request #3194 from avakhov/patch-ac-test-case-testsJosé Valim2011-10-032-2/+30
|\ \ \ | |/ / |/| | normalize arg for AC::TestCase tests class method
| * | 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-025-7/+8
| |
* | rewords the docs of config.assets.initialize_on_precompile in the asset ↵Xavier Noria2011-10-021-6/+8
| | | | | | | | pipeline guide
* | documents config.assets.initialize_on_precompile in the asset pipeline guideXavier Noria2011-10-021-0/+7
| |
* | Precompile properly refers files referenced with asset_path testSantiago Pastorino2011-10-021-1/+3
| |
* | capture was commented outSantiago Pastorino2011-10-021-2/+2
| |
* | Provide initialize_on_precompile which, when set to false, does not ↵José Valim2011-10-024-16/+45
| | | | | | | | initialize the app for precompilation. Defaults to true.
* | Merge pull request #3174 from phuibonhoa/masterJosé Valim2011-10-022-0/+9
|\ \ | | | | | | Fixed file store to handle delete_matched being called before cache dir is created.
| * | Improved testing so that it tests the real functionality and not the private ↵Philippe Huibonhoa2011-10-021-4/+5
| | | | | | | | | | | | method.
| * | Added fix so that file store does not raise an exception when cache dir does ↵Philippe Huibonhoa2011-09-292-0/+8
| | | | | | | | | | | | not exist yet. This can happen if a delete_matched is called before anything is saved in the cache.
* | | TestCase should respect the view_assigns API instead of pulling variables on ↵José Valim2011-10-023-8/+23
| | | | | | | | | | | | its own.
* | | Update CHANGELOG.José Valim2011-10-021-0/+2
| | |
* | | Merge pull request #2583 from guilleiguaran/railsrcJosé Valim2011-10-022-0/+14
|\ \ \ | | | | | | | | Read extra args for 'rails new' from ~/.railsrc
| * | | Print information about .railsrc to usersGuillermo Iguaran2011-10-022-0/+7
| | | |