aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
Commit message (Collapse)AuthorAgeFilesLines
* Respect ENV variables when finding DBs etc for the test suiteMatthew Draper2019-02-061-3/+24
| | | | | If they're not set we'll still fall back to localhost, but this makes it possible to run the tests against a remote Postgres / Redis / whatever.
* Enable Start/EndWith and RegexpMatch copsBart de Water2018-07-281-1/+1
| | | | | In cases where the MatchData object is not used, this provides a speed-up: https://github.com/JuanitoFatas/fast-ruby/#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end
* Improve redundancy in line tasksYoshiyuki Hirano2018-04-191-1/+1
| | | | | * Remove needless concat from actionpack/Rakefile * Remove neesless File.join from actionview/Rakefile
* couple of edits [ci skip]Xavier Noria2018-04-131-2/+2
| | | | Legit, but really an excuse to trigger the master hook in the docs server.
* Use comment instead of desc in actionview's RakefileYoshiyuki Hirano2018-04-051-2/+2
| | | | | * Seems the desc of Rake::TestTask.new is not displayed * Use comment instead of desc
* Add :ujs desc to Rakefile in actionviewYoshiyuki Hirano2018-04-051-0/+1
|
* Correctly kill the server started with ujs testyuuji.yaginuma2017-11-091-2/+2
| | | | | | | | | | `Kernel.#spawn` execute command via the shell if contains shell metacharacters in the command. In that case, return value of `spawn` is pid of the shell, not the server. Therefore, just killing the pid will leave the process of server. In order to correctly kill the server, send a signal to the process group, not the process.
* Return correct exit status of ujs testyuuji.yaginuma2017-10-201-1/+1
| | | | | | The `Process::Status#to_i` returns the bits in stat. If need exit status, need to use `#exitstatus`. Ref: https://ruby-doc.org/core-2.4.0/Process/Status.html#method-i-to_i
* PhantomJS is abandoned, replace it with Selenium/Chrome headlessGuillermo Iguaran2017-10-191-1/+1
|
* Use File::NULL instead of "/dev/null"Kazuhiro NISHIYAMA2017-07-311-1/+1
|
* Use frozen string literal in actionview/Kir Shatrov2017-07-241-0/+2
|
* Remove log directory in test postprocessingyuuji.yaginuma2017-07-211-1/+1
| | | | The "log" is directory. So it is necessary to use `FileUtils.rm_rf`.
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Define path with __dir__bogdanvlviv2017-05-231-6/+4
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Suppress `warning: assigned but unused variable - stdout`Koichi ITO2017-05-121-1/+1
|
* Correct typo in component nameAndrew White2017-03-311-1/+1
|
* Restore rails-ujs.js UMD module supportJavan Makhmali2017-03-301-1/+42
|
* Test rails-ujs in our travis matrixRafael Mendonça França2017-02-221-0/+27
|
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-1/+1
| | | | | | Some methods were added to public API in 5b14129d8d4ad302b4e11df6bd5c7891b75f393c and they should be not part of the public API.
* Add asset compilation Rake task for UJSJon Moss2016-11-261-1/+9
| | | | | Uses same build pipeline (Blade) as Action Cable. Will run when Rails gems are being built for release.
* Add UJS testsGuillermo Iguaran2016-11-261-0/+7
|
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-1/+1
|
* modernizes hash syntax in actionviewXavier Noria2016-08-061-2/+2
|
* applies new string literal convention to the rest of the projectXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Remove package:clean taskJavan Makhmali2016-05-241-1/+0
| | | | Introduced in d6f2000a67cc63aa67414c75ce77de671824ec52 and was only used by Action Cable. Now handled by Action Cable’s assets:compile task.
* Wrangle the asset build into something that sounds more generalMatthew Draper2016-02-011-0/+3
|
* Remove unused package tasksArun Agrawal2015-05-281-7/+0
| | | | We are using `all:build` now.
* Merge pull request #20263 from arunagw/aa-remove-custom-lines-actionviewRafael Mendonça França2015-05-281-21/+3
|\ | | | | Remove custom `lines` and use `/tools/line_statistics`
| * Remove custom `lines` and use `/tools/line_statistics`Arun Agrawal2015-05-221-21/+3
| |
* | Remove broken and unused release taskArun Agrawal2015-05-221-7/+0
|/ | | | | - We do release with release.rb - There is no `rake/gemcutter`
* Revert "For now, we will keep sorting the tests."Matthew Draper2015-03-061-1/+1
| | | | This reverts commit 7025d7769dc53f0a3ffab8b537727ef3fee367fc.
* Follow up to #16613Robin Dupret2014-09-281-0/+3
| | | | | | | | | | | | Since we want this flag to be enabled anytime we are running the tests under JRuby, let's enable this at the Rakefile level so people get the performance boost on their local checkout. Moreover, we avoid having to update this particular line anytime the option changes on the JRuby side. The only drawback is that we have to define it in every Rakefile but there's no big deal, this is already the case for other options.
* For now, we will keep sorting the tests.Matthew Draper2014-09-051-1/+1
| | | | | This reverts commits e969c928463e329fd6529ac59cad96385c538ffb and bd2b3fbe54e750ba97469a7896e8d143d6dfd465.
* No need to sort testsAkira Matsuda2014-08-281-1/+1
| | | | Dir.glob result must be already sorted anyway
* Running all isolated test for actionviewArun Agrawal2013-10-031-1/+1
| | | | | 1. fix name for activerecord directory 2. Added actionpack directory to run tests
* Move actionpack's controller testsŁukasz Strzałkowski2013-08-251-1/+1
|
* Add AP tests to runnerŁukasz Strzałkowski2013-08-251-1/+9
|
* Cleanup & reorganise rake tasks in AVŁukasz Strzałkowski2013-08-251-16/+13
|
* grab executable from rubygemsArun Agrawal2013-07-261-2/+1
| | | As done here d7fc97d3f90c0e30865d32ce202658f03248cacc
* Removed unused require from actionview rakefile.Arun Agrawal2013-07-091-1/+0
|
* Minor changes to actionpack/actionview RakefileArun Agrawal2013-06-261-4/+0
|
* Merge pull request #11046 from arunagw/verbose_mode_onCarlos Antonio da Silva2013-06-251-1/+3
|\ | | | | Verbose mode on when running tests
| * Adding verbose in isolated test.Arun Agrawal2013-06-211-1/+1
| |
| * Adding verbose mode to test_with_ar_integrationArun Agrawal2013-06-211-0/+2
| |
* | Saying gemcutter => rubygems [ci skip]Arun Agrawal2013-06-211-1/+1
|/
* Fix isolated tests on AVŁukasz Strzałkowski2013-06-201-3/+5
|
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-0/+77