aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/sprockets/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression when calling helpers inside sprockets.José Valim2011-10-051-1/+4
|
* Fix the lame config.action_controller.present? check scattered throughout ↵José Valim2011-10-051-4/+1
| | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb
* Ensure default_asset_host_protocol is respected, closes #2980.José Valim2011-10-051-1/+3
|
* :group => :assets should only run in the assets environment.José Valim2011-10-021-1/+1
|
* Add public API for register new js and css compressors for SprocketsGuillermo Iguaran2011-09-241-0/+1
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-241-55/+4
| | | | | | | | | | | | | 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
* Move precompile task to Sprockets::StaticCompilerGuillermo Iguaran2011-09-201-0/+1
|
* Don't mount Sprockets at config.assets.prefix if config.assets.compile is false.Mark J. Titorenko2011-09-131-2/+4
|
* config.action_controller.perform_caching isn't used anymore in assets ↵Guillermo Iguaran2011-09-061-1/+1
| | | | pipeline, instead we are using config.assets.digest now
* Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-311-1/+7
|
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-311-4/+2
|
* Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-311-0/+6
|
* Fix sprockets warningsJoshua Peek2011-08-211-3/+2
| | | | Fixes #2598
* 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
* Make Rails.application.assets available in initializersJoshua Peek2011-07-271-44/+36
|
* Remove unused use_sprockets configSantiago Pastorino2011-07-251-7/+0
|
* Use top level Rails constantAndrew White2011-07-241-2/+2
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-2/+2
| | | | tmp/assets_cache between deploys.
* Require assets in all environments by default and provide a way to opt-out ↵José Valim2011-07-111-2/+7
| | | | from uglifier.
* Move config.default_asset_host_protocol to the railtie.José Valim2011-07-071-0/+2
|
* Give higher priority to assets.cache_store.José Valim2011-07-061-1/+1
|
* Make compressors lazily load.José Valim2011-07-061-2/+4
|
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-291-9/+0
| | | | javascript_engine ("js") for apps that remove Coffee gem
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-0/+5
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Assign Rails.cache to sprocketsJoshua Peek2011-06-211-0/+4
|
* Make the API for compression consistent between JS and CSS. By default, ↵wycats2011-06-161-2/+6
| | | | | | users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem. Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties.
* Fix appending sprockets pathsJoshua Peek2011-06-141-1/+6
|
* Indention style + whitespace for readabilityDavid Heinemeier Hansson2011-06-091-33/+38
|
* If you set a js_compressor, it means that you want shit compressed -- we ↵David Heinemeier Hansson2011-06-091-2/+2
| | | | dont need a second option to turn that on
* Move SCSS generators and default templates from Rails to the Sass Railtie ↵tomhuda2011-05-241-19/+2
| | | | | | | | (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
* Change compressor API so that plugins can register default compressors for ↵tomhuda2011-05-241-3/+4
| | | | their stylesheet or JS engines and still allow the user to turn off compression
* Remaining cleanup from changes to AssetTagHelpertomhuda2011-05-241-0/+2
|
* Make sure that Sprockets::Helpers::RailsHelper can be foundwycats2011-05-231-1/+3
|
* Move the last pockets of Sprockets stuff into the Sprockets directorywycats2011-05-231-1/+0
|
* Start moving some logic from being embedded in AV into the Rails Sprockets ↵wycats2011-05-231-0/+1
| | | | extensions
* Remove old call to sprockets contextJoshua Peek2011-05-171-9/+1
|
* Using the correct CSS compressor for the yui-compressor gem.Lucas Mazza2011-05-161-1/+1
|
* Update for sprockets/master context class apiJoshua Peek2011-05-121-1/+9
|
* prepend the assets route instead of appending, closes #436José Valim2011-05-081-1/+1
|
* Add shorthand for js and css compressorsJoshua Peek2011-04-221-0/+37
|
* Only include SprocketsHelper into assets contextJoshua Peek2011-04-211-3/+4
|
* Include modules to the context in the railtie.José Valim2011-04-191-0/+6
|
* Lazily load sprockets.José Valim2011-04-171-46/+45
|
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-171-0/+17
|
* Move app initializers to sprockets railtie.José Valim2011-04-171-0/+31
|
* Move controller configs to sprockets own railtie.José Valim2011-04-171-0/+9