aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/sprockets
Commit message (Collapse)AuthorAgeFilesLines
* assets:precompile should not append asset digests when config.assets.digest ↵Sam Pohlenz2011-09-011-4/+5
| | | | is false
* Move references to Rails.application.config out of Sprockets AssetPathsSam Pohlenz2011-09-011-5/+14
|
* Merge pull request #2780 from guilleiguaran/assets-pipeline-minor-changesSantiago Pastorino2011-08-311-20/+13
| | | | Assets pipeline: fix in manifest location and remove unused code
* Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-312-2/+9
|
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-313-28/+13
|
* Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-313-2/+31
|
* Always enable digest and compile in the Rake taskGuillermo Iguaran2011-08-311-2/+3
|
* Revert "Merge pull request #2647 from dmathieu/no_rescue"Santiago Pastorino2011-08-301-2/+6
| | | | This reverts commit 125b1b0b9180ec8f0135da185e77250d2b8a4bea.
* Document the Sprockets compressorsDaniel Schierbeck2011-08-301-7/+23
| | | | | | Add documentation to Sprockets::NullCompressor and Sprockets::LazyCompressor. Also, make LazyCompressor#compressor private, as it isn't part of the public API.
* Avoid extra recursive call in Sprockets helpersGuillermo Iguaran2011-08-281-2/+2
|
* Merge pull request #2696 from guilleiguaran/string-keys-sprockets-helpersSantiago Pastorino2011-08-251-4/+4
|\ | | | | Removing redundant stringify_keys in Sprockets helpers
| * Removing redundant stringify_keys in Sprockets helpersGuillermo Iguaran2011-08-251-4/+4
| |
* | Don't require a specific value for the ?debug flagDaniel Schierbeck2011-08-251-3/+1
|/ | | | | Previously, only "1" and "true" were accepted. This change makes any value, or no value at all, have the same effect.
* Make Sprockets::Helpers::RailsHelper#debug_assets? more readableDaniel Schierbeck2011-08-251-4/+4
|
* Preserve stylesheet_link_tag and javascript_include_tag options on debugGuillermo Iguaran2011-08-241-4/+3
|
* Use super in javascript_include_tag and stylesheet_link_tag instead of ↵Guillermo Iguaran2011-08-241-14/+2
| | | | generate tags manually
* Remove redundant join and call to html_safeGuillermo Iguaran2011-08-241-2/+2
|
* Bring in sprockets precompile taskJoshua Peek2011-08-241-3/+26
|
* Merge pull request #2644 from guilleiguaran/allow-assets-debuggingSantiago Pastorino2011-08-241-3/+4
|\ | | | | Add config.allow_debugging option
| * Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-241-3/+4
| | | | | | | | param can be passed by user
* | Merge pull request #2668 from guilleiguaran/debug-assets-media-typeSantiago Pastorino2011-08-241-2/+3
|\ \ | |/ |/| Debug assets shouldn't ignore media type for stylesheets. Closes #2625
| * Debug assets shouldn't ignore media type for stylesheets. Closes #2625Guillermo Iguaran2011-08-231-2/+3
| |
* | remove useless rescueDamien Mathieu2011-08-241-6/+3
|/ | | | | params is a method, defined in every controller, which always returns a hash. If it raises a NoMethodError, it means there's a bug somewhere else, which we want to know about.
* Merge pull request #2411 from ai/debug_assets_by_configSantiago Pastorino2011-08-221-4/+6
|\ | | | | Debug assets by config
| * Allow to debug assets by config.assets.debugAndrey A.I. Sitnik2011-08-221-4/+6
| |
* | Fix Sprockets rewrite_asset_pathGuillermo Iguaran2011-08-221-1/+1
| |
* | Refactor Sprockets::Helpers::RailsHelper#performing_caching?Daniel Schierbeck2011-08-221-2/+7
|/ | | | | No need for them lines to get so long! Also, move that comment into the method body where it belongs!
* Fix sprockets warningsJoshua Peek2011-08-213-7/+20
| | | | Fixes #2598
* Debug assets by default in development and test environmentsGuillermo Iguaran2011-08-181-2/+2
|
* Fix assets tests in railtiesJon Leighton2011-08-161-1/+3
|
* rake assets:precompile executes in production environment as default if ↵Santiago Pastorino2011-08-151-4/+4
| | | | RAILS_ENV was not provided
* Ensure changing RAILS_GROUPS will load the proper dependencies.José Valim2011-08-141-13/+16
|
* Remove lame comment.José Valim2011-08-091-1/+0
|
* rake assets:precompile defaults to production envSantiago Pastorino2011-08-091-0/+1
|
* Initialize config.assets.version the same way it's done in SprocketsSantiago Pastorino2011-08-081-1/+1
|
* use assets.version in asset checksum to allow user to easily overrideIlya Grigorik2011-08-051-1/+1
|
* generate environment dependent asset digestsIlya Grigorik2011-08-041-0/+1
| | | | | | If two different environments are configured to use the pipeline, but one has an extra step (such as compression) then without taking the environment into account you may end up serving wrong assets
* 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.
* Make Rails.application.assets available in initializersJoshua Peek2011-07-271-44/+36
|
* Remove unused use_sprockets configSantiago Pastorino2011-07-251-7/+0
|
* Merge pull request #2243 from dmathieu/commentXavier Noria2011-07-241-0/+1
|\ | | | | Help the next guy with explanations - See bb3b3e306
| * help the next guy with explanations - See bb3b3e306Damien Mathieu2011-07-241-0/+1
| |
* | Use top level Rails constantAndrew White2011-07-241-2/+2
|/
* Merge pull request #2228 from Empact/helper_tags_in_mailersAaron Patterson2011-07-231-0/+2
|\ | | | | Simple fix to the NoMethodError noted in #2177.
| * Simple fix to the NoMethodError noted in #2177.Ben Woosley2011-07-231-0/+2
| | | | | | Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
* | rake assets:precompile should always perform caching - Closes #2199Damien Mathieu2011-07-241-0/+1
|/
* use rake tasks to set the default environment variables. fixes #2126Aaron Patterson2011-07-211-10/+10
|
* indeed, if we are going to remove everything in public/assets on ↵Xavier Noria2011-07-171-4/+1
| | | | assets:clean, just do that
* if we are cleaning all files, we are cleaning all gz filesXavier Noria2011-07-171-1/+0
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-2/+2
| | | | tmp/assets_cache between deploys.