Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Should escape meta characters in regexp | Ryuta Kamizono | 2017-05-07 | 1 | -3/+3 |
| | |||||
* | "Use assert_nil if expecting nil. This will fail in minitest 6." | Akira Matsuda | 2016-12-25 | 1 | -1/+1 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -5/+5 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | modernizes hash syntax in actionview | Xavier Noria | 2016-08-06 | 1 | -17/+17 |
| | |||||
* | applies new string literal convention in actionview/test | Xavier Noria | 2016-08-06 | 1 | -48/+48 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Bring Boolean Attributes list for AV Tags helper upto speed with current spec. | Vipul A M | 2016-06-28 | 1 | -2/+2 |
| | | | | | | | | | This is based on https://github.com/kangax/html-minifier/blob/6b2d4536d82819143b468b41a89c700b6c61631f/src/htmlminifier.js#L197 and spec from https://www.w3.org/TR/html51/single-page.html. Couple of other changes to tests due to support update: - autobuffer has been dropped in favour of preload attribute, ref: https://msdn.microsoft.com/en-us/library/ff974743(v=vs.85).aspx - pubdate attribute has been dropped from spec, ref: https://www.w3.org/html/wg/tracker/issues/185 | ||||
* | Add tests to #23288 | Rafael Mendonça França | 2016-01-27 | 1 | -0/+1 |
| | |||||
* | Add missing test cases for asset_path | Akshay Vishnoi | 2015-12-17 | 1 | -0/+2 |
| | |||||
* | Example of setting data attributes for image_tag | Nishant Modak | 2015-11-20 | 1 | -1/+2 |
| | |||||
* | Allow `host` option in javscript and css helpers | Grzegorz Witek | 2015-11-08 | 1 | -0/+2 |
| | | | | | Now both `javascript_include_tag` and `stylesheet_tag` can accept `host` option to provide custom host for the asset | ||||
* | Removed Mocha from ActionView part 1 | Ronak Jangir | 2015-08-24 | 1 | -4/+6 |
| | |||||
* | Merge pull request #20669 from akolomiychuk/image-path | Yves Senn | 2015-06-29 | 1 | -0/+5 |
|\ | | | | | | | Passing nil to image_tag | ||||
| * | Add nil check in asset_path | Anton Kolomiychuk | 2015-06-29 | 1 | -0/+5 |
|/ | |||||
* | image_tag raises an error if size is passed with height and/or width | Mike Stone | 2015-04-24 | 1 | -0/+8 |
| | |||||
* | Zlib isn't required for AssetTagHelperTest anymore | Thiago Pradi | 2015-03-14 | 1 | -1/+0 |
| | |||||
* | Allow to pass a string value to size option in `image_tag` and `video_tag` | Mehdi Lahmam | 2015-02-16 | 1 | -0/+2 |
| | | | | This makes the behavior more consistent with `width` or `height` options | ||||
* | remove un-needed sort | schneems | 2014-10-07 | 1 | -1/+1 |
| | | | | | | HTML doesn't care what order the elements are rendered in, so why should we? Updates tests to use proper `assert_dom_equal` instead of `assert_equal` /cc @jeremy | ||||
* | Revert "Merge pull request #15312 from JuanitoFatas/action_view/asset_path" | Matthew Draper | 2014-09-14 | 1 | -0/+11 |
| | | | | | | | This reverts commit 21ec7fefea5a1b823cb88733b019b3d52240801d. Per #16911, there's actually a good reason for a "blank" value to have a useful `to_s` here. So let's also add some tests to prove that. | ||||
* | Return an absolute instead of relative path from an asset url in the case of ↵ | Jolyon Pawlyn | 2014-07-15 | 1 | -0/+8 |
| | | | | the `asset_host` proc returning nil | ||||
* | Allow custom asset host to be passed in asset_url | Hubert Łępicki | 2014-05-08 | 1 | -0/+15 |
| | |||||
* | always use File.join | phoet | 2014-05-01 | 1 | -0/+8 |
| | |||||
* | Change favicon_link_tag helper mimetype from image/vnd.microsoft.icon to ↵ | glorieux | 2014-04-21 | 1 | -3/+3 |
| | | | | | | | | image/x-icon. Although the official IANA-registered MIME type for ICO files is image/vnd.microsoft.icon, registered in 2003, it was submitted to IANA by a third party and is not recognized by Microsoft products. The MIME type image/x-icon should be used since is the one recognized by the major browsers on the market. | ||||
* | Unused classes in AV tests | Akira Matsuda | 2013-12-24 | 1 | -8/+0 |
| | |||||
* | allow video_tag to accept `size` as `Number` for square shaped videos | Kuldeep Aggarwal | 2013-12-18 | 1 | -1/+1 |
| | |||||
* | Move template tests from actionpack to actionview | Piotr Sarnacki | 2013-06-20 | 1 | -0/+762 |