Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Invert precedence of content in ActionDispatch::Static" | Andrew White | 2012-12-07 | 1 | -23/+0 |
| | | | | This reverts commit c59734f756b79c39486c45273d2cc5d42cd0c864. | ||||
* | Stop shelling out more than necessary | Carlos Antonio da Silva | 2012-12-07 | 1 | -10/+10 |
| | |||||
* | Run rake tasks all at once in rake dbs test for a speed up | Carlos Antonio da Silva | 2012-12-06 | 1 | -12/+6 |
| | | | | | | | | | | | Before: Finished tests in 56.245787s, 0.2133 tests/s, 0.0000 assertions/s. 12 tests, 0 assertions, 0 failures, 0 errors, 0 skips After: Finished tests in 42.401416s, 0.2830 tests/s, 0.0000 assertions/s. 12 tests, 0 assertions, 0 failures, 0 errors, 0 skips | ||||
* | Invert precedence of content in ActionDispatch::Static | Andrew White | 2012-12-06 | 1 | -0/+23 |
| | | | | | | | | | | This commit inverts the precedence in ActionDispatch::Static so that dynamic content will be served before static content. This is so that precompiled assets do not inadvertently get included when running in development mode - it should have no effect in production where static files are usually handled by the web server. Closes #6421 | ||||
* | Refactor tests that switch RAILS_ENV and RACK_ENV | Carlos Antonio da Silva | 2012-12-06 | 1 | -12/+8 |
| | | | | | | | | | | | | This cleanup aims to fix a build failure: https://travis-ci.org/rails/rails/jobs/3515951/#L482 Since travis always have both ENV vars set to "test", a test is failing where it's expected to output the default env "development", but "test" is the result due to RACK_ENV being set when we expect it to not be. By cleaning this duplication we ensure that changing any of these env variables will pick the right expected value. | ||||
* | Fix duplicated method name | Carlos Antonio da Silva | 2012-12-05 | 1 | -2/+1 |
| | | | | [ci skip] | ||||
* | Add ENV['RACK_ENV'] support to rake runner/console/server. | kennyj | 2012-12-06 | 1 | -0/+23 |
| | |||||
* | Fix failing tests related to rake notes | Carlos Antonio da Silva | 2012-12-03 | 1 | -2/+2 |
| | | | | Related to changes introduced in 553b563749517114323b4e8742509227e0daab67 | ||||
* | Add db to the list of default annotation folders | Antonio Cangiano | 2012-12-01 | 1 | -0/+4 |
| | |||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 3 | -60/+0 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | ||||
* | Unused variable warning removed | Rashmi Yadav | 2012-11-27 | 1 | -1/+0 |
| | |||||
* | Add UpgradeSignatureToEncryptionCookieStore | Santiago Pastorino | 2012-11-16 | 1 | -0/+110 |
| | | | | | | This allows easy upgrading from the old signed Cookie Store <= 3.2 or the deprecated one in 4.0 (the ones that doesn't use key derivation) to the new one that signs using key derivation | ||||
* | Remove duplicated get /foo/write_session | Santiago Pastorino | 2012-11-16 | 1 | -1/+0 |
| | |||||
* | Remove unused config option | Santiago Pastorino | 2012-11-16 | 1 | -1/+0 |
| | |||||
* | Merge pull request #8112 from rails/encrypted_cookies | Santiago Pastorino | 2012-11-15 | 4 | -7/+62 |
|\ | | | | | Encrypted cookies | ||||
| * | Rename secret_token_key to secret_key_base | Santiago Pastorino | 2012-11-03 | 2 | -3/+3 |
| | | |||||
| * | Use derived keys everywhere, http_authentication was missing it | Santiago Pastorino | 2012-11-03 | 2 | -19/+3 |
| | | |||||
| * | Add encrypted cookie store | Santiago Pastorino | 2012-11-03 | 1 | -0/+51 |
| | | |||||
| * | Sign cookies using key deriver | Santiago Pastorino | 2012-11-03 | 2 | -3/+23 |
| | | |||||
* | | asset compilation should not require a database connection | Aaron Patterson | 2012-11-13 | 1 | -0/+26 |
| | | |||||
* | | Merge pull request #8169 from nicolasdespres/robust_git_repository_check | Rafael Mendonça França | 2012-11-13 | 1 | -0/+29 |
|\ \ | | | | | | | Rake test:uncommitted finds git directory in ancestors. | ||||
| * | | Rake test:uncommitted finds git directory in ancestors. | Nicolas Despres | 2012-11-10 | 1 | -0/+29 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes your git directory is an ancestor of your application root directory. For example: ./repo/.git/ ./repo/app/Rakefile In this case rake test:uncommitted will be unable to detect your SCM. This patch fixes this and add a test. | ||||
* / | Removing warning : ambiguous first argument | Arun Agrawal | 2012-11-11 | 1 | -2/+2 |
|/ | |||||
* | Small change to remove warning unused variable. | Arun Agrawal | 2012-11-01 | 1 | -1/+1 |
| | |||||
* | Fix deprecation message in test for Path#children | Carlos Antonio da Silva | 2012-10-29 | 1 | -1/+1 |
| | |||||
* | Add test to deprecation of Path#children | Rafael Mendonça França | 2012-10-29 | 1 | -0/+6 |
| | |||||
* | Merge pull request #7587 from elia/fix-too-eager-loading | Rafael Mendonça França | 2012-10-29 | 1 | -0/+3 |
| | | | | | | Should not eager_load app/assets Conflicts: railties/CHANGELOG.md | ||||
* | Job consumer logs to Rails.logger by default | Jeremy Kemper | 2012-10-26 | 1 | -0/+1 |
| | |||||
* | Remove warning setting eager_load | Rafael Mendonça França | 2012-10-18 | 1 | -0/+1 |
| | |||||
* | Don't use action_controller.perform_caching to enable rack-rack. | Rafael Mendonça França | 2012-10-18 | 2 | -6/+13 |
| | | | | | Setting the action_dispatch.rack_cache options to true or a hash should be the way to enable it. | ||||
* | Switch to new sprockets-rails plugin | Joshua Peek | 2012-10-15 | 1 | -126/+52 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 15 | -120/+120 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 13 | -96/+96 |
| | | |||||
| * | Test that a Rails.queue consumer is automatically started in production | Jeremy Kemper | 2012-10-13 | 1 | -1/+11 |
| | | |||||
| * | Backpedal from class-oriented config.queue. Set an actual queue instance. | Jeremy Kemper | 2012-10-12 | 2 | -11/+3 |
| | | |||||
| * | Tighten up asset precompile tests | Jeremy Kemper | 2012-10-12 | 2 | -4/+3 |
| | | |||||
| * | Remove the queue container. Premature consolidation. Set up and maintain ↵ | Jeremy Kemper | 2012-10-12 | 2 | -9/+8 |
| | | | | | | | | queues in the classes that use them instead. | ||||
* | | Remove old asset_path from rails config | Joshua Peek | 2012-10-15 | 1 | -20/+0 |
|/ | |||||
* | ActiveSupport::SynchronousQueue doesn't have the drain method. | Rafael Mendonça França | 2012-10-12 | 1 | -4/+4 |
| | | | | | Now we are using teh SynchronousQueue in the test environment instead of the TestQueue | ||||
* | Move the TestQueue tests to the proper file | Rafael Mendonça França | 2012-10-12 | 1 | -47/+0 |
| | |||||
* | Add .rake to `rake notes` and `rake notes:custom` | Brent J. Nordquist | 2012-10-12 | 1 | -1/+3 |
| | |||||
* | Immediately run queued jobs in tests. Otherwise you have to explicitly drain ↵ | Jeremy Kemper | 2012-10-12 | 1 | -3/+3 |
| | | | | the queue to actually deliver your emails. | ||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -6/+6 |
| | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | Remove duplicated test | Guillermo Iguaran | 2012-10-09 | 1 | -15/+0 |
| | |||||
* | Minor test refactoring: Use add_to_env instead of an initializer | Guillermo Iguaran | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | Fix middleware cache tests enabling rack_cache | Guillermo Iguaran | 2012-10-05 | 1 | -0/+2 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -1/+10 |
| | |||||
* | Use String#exclude? to make sure that Active Support is not loaded when | Rafael Mendonça França | 2012-10-04 | 1 | -1/+1 |
| | | | | | | | bare is true. We need to change this since coffee-rails loads ActionView that loads core_ext/array/access. | ||||
* | Remove action cache related tests | Rafael Mendonça França | 2012-10-04 | 1 | -42/+0 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+9 |
| |