Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `CustomCops/AssertNot` to allow it to have failure message | Ryuta Kamizono | 2018-05-13 | 1 | -1/+1 |
| | | | | Follow up of #32605. | ||||
* | Replace `assert !` with `assert_not` | Daniel Colson | 2018-04-19 | 1 | -3/+3 |
| | | | | | This autocorrects the violations after adding a custom cop in 3305c78dcd. | ||||
* | Remove needless `silence_warnings` | yuuji.yaginuma | 2017-09-09 | 1 | -4/+1 |
| | | | | Since ff30db1, warning is not shown. | ||||
* | Fix RuboCop offenses | Koichi ITO | 2017-08-16 | 1 | -2/+2 |
| | | | | And enable `context_dependent` of Style/BracesAroundHashParameters cop. | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | "Use assert_nil if expecting nil. This will fail in minitest 6." | Akira Matsuda | 2016-12-25 | 1 | -1/+1 |
| | |||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -2/+2 |
| | |||||
* | Remove deprecated support to :text in render | Rafael Mendonça França | 2016-10-10 | 1 | -1/+1 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -6/+6 |
| | |||||
* | remove redundant curlies from hash arguments | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -29/+29 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove unused boot_rails method and it's usage | Prathamesh Sonpatki | 2016-07-04 | 1 | -1/+0 |
| | | | | | - The `boot_rails` method from abstract_unit.rb is empty after 2abcdfd978fdcd491576a237e8c6b. - So let's remove it and its usage. | ||||
* | Use sass-rails in our test suite | Rafael Mendonça França | 2016-06-30 | 1 | -1/+1 |
| | |||||
* | `md5` --> `MD5` | Jon Moss | 2016-05-17 | 1 | -1/+1 |
| | | | | | Sorry, I missed a few places in my last PR. This should be the last of 'em :grimacing: | ||||
* | do not create unnecessary directory | yuuji.yaginuma | 2016-04-10 | 1 | -2/+1 |
| | | | | | | This was added in a4c358f, but `config.assets` has been removed in 5172d93. Also, do not use env path to `Sprockets::Cache::FileStore` even `sprockets-rails`. ref: https://github.com/rails/sprockets-rails/blob/master/lib/sprockets/railtie.rb#L129 | ||||
* | Add test to make sure the sprockets cache is not shared per environment | Rafael Mendonça França | 2016-03-02 | 1 | -0/+20 |
| | |||||
* | Be consistent in testing outputs from railties test and use /bin/rails ↵ | Vipul A M | 2016-01-24 | 1 | -2/+2 |
| | | | | | | everywhere(the default behaviour now) instead of mix of /bin/rake /bin/rails everywhere [Ryo Hashimoto & Vipul A M] | ||||
* | Fix warning | Rafael Mendonça França | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | Fix test now that cable is in there by default too | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Use sprockets 3 in the Rails 5 release | Rafael Mendonça França | 2015-12-16 | 1 | -4/+4 |
| | |||||
* | Replace `serve_static_files` in tests with `public_file_server.enabled`. | Kasper Timm Hansen | 2015-11-04 | 1 | -1/+1 |
| | | | | Forgot to do it in 748b2f9, when deprecating `serve_static_files`. | ||||
* | Eliminate overlapping `app/assets` load path | Jeremy Daer | 2015-09-29 | 1 | -48/+63 |
| | | | | | | | | | | * Move `app/assets/manifest.js` to `app/assets/config/manifest.js`. Avoid the suggestion that you can/should deep-link `stylesheets/foo`. * Pull in all toplevel stylesheets and JavaScripts, not just `application.js` and `.css`. Demonstrate how to use `link_directory` with a specified `.js`/`.css` type. * Fix RAILS_ENV handling in assets tests. * Shush warnings spam from third-party libs that distract from tests. | ||||
* | Migrate to Sprockets 4. | Andrei Istratii | 2015-08-19 | 1 | -11/+17 |
| | |||||
* | Fix reported regression rails/sprockets-rails#265 | schneems | 2015-07-29 | 1 | -0/+1 |
| | | | | We can prevent the UglifierCompressor from being instantiated prematurely by setting precompile to an empty array in this test. | ||||
* | tests, railties tests should use `bin/` executables when possible. | Yves Senn | 2015-06-30 | 1 | -2/+2 |
| | | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path. | ||||
* | Need to add config.assets.compile=true to access `.assets` | Arthur Neves | 2015-04-26 | 1 | -0/+1 |
| | | | | | | sprockets-rails will only add `Rails.application.assets` if compile is no false. See change on sprockets-rails https://github.com/rails/sprockets-rails/commit/d7c7ee19991c565eb77ee143be2d009ba4472122 | ||||
* | assets:cache:clean wont clean cache anymore | Arthur Neves | 2015-04-26 | 1 | -11/+0 |
| | | | | | See the behaviour change on sprockets-rails https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02 | ||||
* | Test using sprockets 3 | Rafael Mendonça França | 2015-03-29 | 1 | -7/+7 |
| | |||||
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵ | Vipul A M | 2015-02-03 | 1 | -1/+0 |
| | | | | onwards. | ||||
* | Merge pull request #18100 from chancancode/serve_static_files | Godfrey Chan | 2014-12-19 | 1 | -1/+1 |
| | | | | | | Allow static asset serving from env variable (enhanced!) Conflicts: railties/CHANGELOG.md | ||||
* | Default config.assets.digests to true in development | Dan Kang | 2014-05-17 | 1 | -14/+11 |
| | |||||
* | Precompile the image we're referencing, too. | Matthew Draper | 2014-04-24 | 1 | -2/+2 |
| | | | | | | | | | | You can't compile a file that references a non-compiled asset's path. .. unless you turn off asset runtime errors. Outside of a test case like this, `config.assets.precompile` would normally retain its default entry, which precompiles all images (and other non-JS/CSS files) that are in `app/assets`. | ||||
* | depend_on_asset is not required anymore on sprockets-rails 2.1.2 | Rafael Mendonça França | 2014-04-09 | 1 | -6/+6 |
| | |||||
* | Declare the assets dependency | Rafael Mendonça França | 2014-04-04 | 1 | -7/+8 |
| | |||||
* | More Warnings removed for ruby trunk | Arun Agrawal | 2013-11-01 | 1 | -1/+1 |
| | | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb | ||||
* | Fix typos: the indefinite articles(a -> an) | SUGINO Yasuhiro | 2013-09-13 | 1 | -2/+2 |
| | |||||
* | #11381: Ignore config.eager_load=true for rake | Paul Nikitochkin | 2013-07-10 | 1 | -1/+1 |
| | | | | Closes #11381 | ||||
* | #10428: Added tests for config.assets.precompile | Paul Nikitochkin | 2013-06-21 | 1 | -0/+23 |
| | | | | | | Tests for bug in sprocket-rails: do not use value of configuration options which changed after environment loaded | ||||
* | Merge pull request #10902 from wangjohn/removing_application_singleton_calls | Santiago Pastorino | 2013-06-17 | 1 | -3/+3 |
|\ | | | | | Calls to the application constant have been refactored | ||||
| * | Calls to the application constant have been refactored to use | wangjohn | 2013-06-10 | 1 | -3/+3 |
| | | | | | | | | | | Rails.application when drawing routes and creating other configurations on the application. | ||||
* | | `initialize_on_precompile` is not used anymore. | Terence Lee | 2013-06-13 | 1 | -12/+0 |
|/ | |||||
* | Fix tests from rails.png removal. | Jessica Lynn Suttles | 2013-04-02 | 1 | -1/+8 |
| | | | | | I'm giving @jlsuttles credit on this commit because she gave me the idea and the actual converted image in 952289aabfb. | ||||
* | s/and and run/and runs/ | David Chapman | 2013-03-26 | 1 | -1/+1 |
| | | | | Fixing some typos/grammar. | ||||
* | Controller name pluralized | Prathamesh Sonpatki | 2013-03-25 | 1 | -2/+2 |
| | |||||
* | Fix usage of lambda as a Rack endpoint | Jiri Pospisil | 2012-12-31 | 1 | -1/+1 |
| | | | | The response body needs to respond_to? :each. | ||||
* | asset compilation should not require a database connection | Aaron Patterson | 2012-11-13 | 1 | -0/+26 |
| | |||||
* | Small change to remove warning unused variable. | Arun Agrawal | 2012-11-01 | 1 | -1/+1 |
| | |||||
* | Switch to new sprockets-rails plugin | Joshua Peek | 2012-10-15 | 1 | -126/+52 |
| |