aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Make the Rack::SSL middleware configurableJustin Leitgeb2011-09-261-0/+8
|
* Merge pull request #3136 from guilleiguaran/clear-digests-on-precompileSantiago Pastorino2011-09-261-0/+18
| | | | Avoid use of existing precompiled assets during rake assets:precompile run
* Copy assets to nondigested filenames tooSantiago Pastorino2011-09-261-0/+2
|
* Avoid using pathnames and automatically create the manifest directory if one ↵José Valim2011-09-241-4/+0
| | | | does not exist yet.
* Remove the ENV flag, yagni.José Valim2011-09-241-10/+0
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-241-38/+72
| | | | | | | | | | | | | 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
* set env to let rails know we're precompilingTerence Lee2011-09-221-0/+9
|
* Default precompile regexp that properly matches application.js and ↵Alex Yakoubian2011-09-161-0/+9
| | | | application.css
* config.action_controller.asset_host shouldn't set to nil during precompileGuillermo Iguaran2011-09-151-14/+0
|
* Revert "Provide a way to access to assets without using the digest, useful ↵Santiago Pastorino2011-09-141-2/+0
| | | | | | for static files and emails" This reverts commit 82afaa06861d03f6a2887d40e40c0ded76db88db.
* Fix broken asset testGuillermo Iguaran2011-09-131-2/+2
|
* Don't mount Sprockets at config.assets.prefix if config.assets.compile is false.Mark J. Titorenko2011-09-131-0/+12
|
* Provide a way to access to assets without using the digest, useful for ↵Santiago Pastorino2011-09-131-0/+2
| | | | static files and emails
* Fix precompile asset_host testGuillermo Iguaran2011-09-131-1/+1
|
* Move asset tests to assets_test fileGuillermo Iguaran2011-09-132-31/+31
|
* Merge pull request #2987 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\ | | | | fix https://github.com/rails/rails/issues/2947 (with testcase)
| * fix https://github.com/rails/rails/issues/2947 (with testcase)kennyj2011-09-131-0/+16
| |
* | Merge pull request #2985 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\| | | | | fix https://github.com/rails/rails/issues/2582 (with testcase)
| * fix https://github.com/rails/rails/issues/2582 (with testcase)kennyj2011-09-131-1/+17
| |
* | added test for db migrate:redoDeepak Prasanna2011-09-101-0/+25
| |
* | Merge pull request #2957 from waseem/migration_status_testsSantiago Pastorino2011-09-091-0/+24
|\ \ | | | | | | Tests for rake db:migrate:status.
| * | Tests for rake db:migrate:status.Waseem Ahmad2011-09-091-1/+25
| | |
* | | Merge pull request #2876 from alex3/patch-1Santiago Pastorino2011-09-091-0/+28
|\ \ \ | | | | | | | | Fixed assets precompile regex
| * | | Fixed assets precompile regex, now accepts ProcsAlex Yakoubian2011-09-081-0/+28
| |/ /
* / / move route inspecting to an object so that we can more easily test itAaron Patterson2011-09-092-95/+99
|/ /
* / Refactor assets tests to use add_to_config instead of creating initializers ↵Guillermo Iguaran2011-09-061-13/+14
|/ | | | with config values
* config.action_controller.perform_caching isn't used anymore in assets ↵Guillermo Iguaran2011-09-061-0/+9
| | | | pipeline, instead we are using config.assets.digest now
* AssetNotPrecompiledError should be raise when config.assets.digest = false, ↵Guillermo Iguaran2011-09-041-0/+26
| | | | config.assets.compile = false and manifest file isn't present
* Warnings removed for "assert_match /" Please doArun Agrawal2011-09-043-16/+16
| | | | not add more.!
* assets:precompile should not append asset digests when config.assets.digest ↵Sam Pohlenz2011-09-011-0/+26
| | | | is false
* Merge pull request #2780 from guilleiguaran/assets-pipeline-minor-changesSantiago Pastorino2011-08-311-0/+13
| | | | Assets pipeline: fix in manifest location and remove unused code
* should be using a / in this route rather than a #Aaron Patterson2011-08-311-1/+1
|
* Fix asset debugging tests to reflect last changes in 3-1-stableGuillermo Iguaran2011-08-311-9/+18
|
* Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-311-0/+17
|
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-311-16/+16
|
* Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-311-0/+65
|
* Fix failing asset debug test under 1.8Guillermo Iguaran2011-08-251-1/+1
|
* Move asset debugging tests into a separate test caseDaniel Schierbeck2011-08-252-42/+56
| | | | | | | Also: - Refactor AssetDebuggingTest. - Use the %r regexp syntax. That way we don't need to escape the /'s.
* Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-241-0/+42
| | | | param can be passed by user
* Fix assets tests in railtiesJon Leighton2011-08-161-4/+4
|
* Fix typoSantiago Pastorino2011-08-151-1/+1
|
* rake assets:precompile executes in production environment as default if ↵Santiago Pastorino2011-08-151-7/+19
| | | | RAILS_ENV was not provided
* Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-131-0/+8
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-131-0/+14
| | | | | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
| * Check that Rack::Sendfile is not included unless ↵Santiago Pastorino2011-08-131-0/+8
| | | | | | | | config.action_dispatch.x_sendfile_header is set
* | Merge pull request #2448 from igrigorik/masterJoshua Peek2011-08-081-1/+1
|\ \ | | | | | | Asset pipeline fixes: clear out tmp cache and use environment in digest generation
| * | Clear out tmp/cache when assets:clean is invoked.Ilya Grigorik2011-08-041-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.
* | | x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-072-9/+2
|/ / | | | | | | | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* | Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-011-0/+14
| | | | | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
* | Check that Rack::Sendfile is not included unless ↵Santiago Pastorino2011-07-261-0/+8
|/ | | | config.action_dispatch.x_sendfile_header is set