Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Add missing require for ActionView::AssetPaths | Andrew White | 2011-07-01 | 1 | -0/+1 | |
|/ | ||||||
* | Move Coffee generators and templates to Coffee Railtie and create ↵ | Santiago Pastorino | 2011-06-29 | 1 | -9/+0 | |
| | | | | javascript_engine ("js") for apps that remove Coffee gem | |||||
* | [IMPORTANT] Make "sprockets/railtie" require explicit. | José Valim | 2011-06-29 | 2 | -0/+31 | |
| | | | | | | | | | | 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. | |||||
* | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | config.action_controller.default_asset_host_protocol It's best to leave this unset. When unset the :request protocol is used whenever it can be and :relative is used in the other situations. When set to :request then assets hosts will be disabled when there is no request in scope and will use the request protocol whenever a request is in scope. If set to :relative, then a relative protocol is always used except for stylesheet link tags which must use the :request protocol to avoid double downloads in IE6&7. Conflicts: actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | |||||
* | Move the config bootstrapping to initialization to minimize access to the ↵ | Chris Eppstein | 2011-06-27 | 1 | -1/+7 | |
| | | | | Rails.application global. | |||||
* | Stylesheet link tags should use the request protocol to avoid duplicate ↵ | Chris Eppstein | 2011-06-27 | 1 | -5/+5 | |
| | | | | | | | | | download of stylesheets in IE7 and IE8. Conflicts: actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb actionpack/lib/sprockets/helpers/rails_helper.rb | |||||
* | Add asset_url helper and refactor the asset paths so that asset hosts can be ↵ | Chris Eppstein | 2011-06-27 | 1 | -7/+12 | |
| | | | | | | | | | | used during asset precompilation. Conflicts: actionpack/lib/action_view/asset_paths.rb actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | |||||
* | Require helpers so autoload is properly setup. | José Valim | 2011-06-21 | 1 | -1/+1 | |
| | ||||||
* | Don't use deprecated stuff. | José Valim | 2011-06-21 | 1 | -2/+1 | |
| | ||||||
* | Assign Rails.cache to sprockets | Joshua Peek | 2011-06-21 | 1 | -0/+4 | |
| | ||||||
* | Make the API for compression consistent between JS and CSS. By default, ↵ | wycats | 2011-06-16 | 1 | -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 paths | Joshua Peek | 2011-06-14 | 1 | -1/+6 | |
| | ||||||
* | Indention style + whitespace for readability | David Heinemeier Hansson | 2011-06-09 | 1 | -33/+38 | |
| | ||||||
* | If you set a js_compressor, it means that you want shit compressed -- we ↵ | David Heinemeier Hansson | 2011-06-09 | 1 | -2/+2 | |
| | | | | dont need a second option to turn that on | |||||
* | Update asset helpers to use `config.assets.prefix` | Joshua Peek | 2011-06-07 | 1 | -2/+2 | |
| | | | Fixes #1489 | |||||
* | Allow multiple sources in Sprockets helpers | Guillermo Iguaran | 2011-06-05 | 1 | -28/+34 | |
| | ||||||
* | Move SCSS generators and default templates from Rails to the Sass Railtie ↵ | tomhuda | 2011-05-24 | 1 | -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 ↵ | tomhuda | 2011-05-24 | 1 | -3/+4 | |
| | | | | their stylesheet or JS engines and still allow the user to turn off compression | |||||
* | Remaining cleanup from changes to AssetTagHelper | tomhuda | 2011-05-24 | 2 | -0/+5 | |
| | ||||||
* | Make sure that Sprockets::Helpers::RailsHelper can be found | wycats | 2011-05-23 | 2 | -1/+8 | |
| | ||||||
* | Move the last pockets of Sprockets stuff into the Sprockets directory | wycats | 2011-05-23 | 2 | -7/+15 | |
| | ||||||
* | Move javascript/css helpers into the Sprockets helper and just have them ↵ | wycats | 2011-05-23 | 1 | -0/+44 | |
| | | | | override the old behavior | |||||
* | Start moving some logic from being embedded in AV into the Rails Sprockets ↵ | wycats | 2011-05-23 | 2 | -0/+52 | |
| | | | | extensions | |||||
* | Remove old call to sprockets context | Joshua Peek | 2011-05-17 | 1 | -9/+1 | |
| | ||||||
* | Using the correct CSS compressor for the yui-compressor gem. | Lucas Mazza | 2011-05-16 | 1 | -1/+1 | |
| | ||||||
* | Update for sprockets/master context class api | Joshua Peek | 2011-05-12 | 1 | -1/+9 | |
| | ||||||
* | prepend the assets route instead of appending, closes #436 | José Valim | 2011-05-08 | 1 | -1/+1 | |
| | ||||||
* | Add shorthand for js and css compressors | Joshua Peek | 2011-04-22 | 1 | -0/+37 | |
| | ||||||
* | Only include SprocketsHelper into assets context | Joshua Peek | 2011-04-21 | 1 | -3/+4 | |
| | ||||||
* | Include modules to the context in the railtie. | José Valim | 2011-04-19 | 1 | -0/+6 | |
| | ||||||
* | Lazily load sprockets. | José Valim | 2011-04-17 | 1 | -46/+45 | |
| | ||||||
* | Make generators more modular, add hooks and improve test suite. | José Valim | 2011-04-17 | 1 | -0/+17 | |
| | ||||||
* | Move app initializers to sprockets railtie. | José Valim | 2011-04-17 | 1 | -0/+31 | |
| | ||||||
* | Move controller configs to sprockets own railtie. | José Valim | 2011-04-17 | 1 | -0/+9 | |