aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/assets_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #3265 from arunagw/warning_uri_parserVijay Dev2011-10-101-1/+1
|\ | | | | URI.escape is obsolete : warning removed
| * URI.escape is obsolete : warning removedArun Agrawal2011-10-091-1/+1
| |
* | fix invalid regexkennyj2011-10-101-1/+1
|/
* Test utf8 assets filenames with request instead of manifest lookupGuillermo Iguaran2011-10-081-8/+4
|
* Skip broken asset precompilation test on Macs. Issues with NFD vs NFC ↵Jeremy Kemper2011-10-081-4/+8
| | | | normalization on the asset filename. Major red flag with asset lookups!
* Fix regression when calling helpers inside sprockets.José Valim2011-10-051-2/+2
|
* 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>
* Fix failing tests and refactor assets.rakeJosé Valim2011-10-041-1/+1
|
* add failing test for #3198Mark J. Titorenko2011-10-031-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure that enhancements to assets:precompile task are only run onceSam Pohlenz2011-10-031-0/+6
| | | | 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>
* 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-021-0/+23
| | | | initialize the app for precompilation. Defaults to true.
* 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-131-0/+31
|
* Fixed assets precompile regex, now accepts ProcsAlex Yakoubian2011-09-081-0/+28
|
* 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-041-9/+9
| | | | 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
* 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
|
* Move asset debugging tests into a separate test caseDaniel Schierbeck2011-08-251-42/+0
| | | | | | | 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
* 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.
* 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
* provide more explicit test namesDamien Mathieu2011-07-251-2/+2
|
* add test checking that precompiling assets performs cachingDamien Mathieu2011-07-251-1/+11
|
* Make compressors lazily load.José Valim2011-07-061-0/+11
|
* Now accepting css/js files in deeper directory structures by default.Tobias Schlottke2011-07-011-4/+7
| | | | | This is useful for engines with own application.{js|css}-files. See: https://github.com/rails/rails/issues/1520