aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
Commit message (Collapse)AuthorAgeFilesLines
* Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-1/+1
| | | | Follow up of #31390.
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* 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
|
* Use `require_relative` instead of `require` with full pathbogdanvlviv2017-06-141-2/+2
|
* Define path with __dir__bogdanvlviv2017-05-231-3/+3
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Merge pull request #25927 from y-yagi/remove_needless_warning_for_hstoreSean Griffin2017-01-031-5/+0
|\ | | | | remove needless warning for hstore
| * remove needless warning for hstoreyuuji.yaginuma2016-08-151-5/+0
| | | | | | | | | | Rails 5 supports only Postgresql 9.1 or higher, warning is needless because in the case of Postgresql 9.0 or less does not work.
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
| |
* | fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-1/+1
|/
* modernizes hash syntax in activerecordXavier Noria2016-08-061-13/+13
|
* applies new string literal convention to the rest of the projectXavier Noria2016-08-061-38/+38
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* systematic revision of =~ usage in ARXavier Noria2016-07-231-2/+2
| | | | | Where appropriatei, prefer the more concise Regexp#match?, String#include?, String#start_with?, or String#end_with?
* 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 legacy mysql adapterAbdelkader Boudih2015-12-171-7/+7
|
* Allow mysql and mysql2 tests run by database user with passwordYasuo Honda2015-08-181-4/+4
|
* Merge pull request #20256 from ↵Sean Griffin2015-07-241-9/+0
|\ | | | | | | | | arunagw/aa-remove-unused-rule-and-task-activerecord Remove unused rule and task from activerecord
| * Remove unused rule and task from activerecordArun Agrawal2015-05-221-9/+0
| |
* | Remove unused package tasksArun Agrawal2015-05-281-7/+0
| | | | | | | | We are using `all:build` now.
* | Remove broken and unused release taskArun Agrawal2015-05-221-9/+0
|/ | | | | - We do release with release.rb - There is no `rake/gemcutter`
* Updated postgresql documentation link to use latest version [ci skip]Ronak Jangir2015-05-201-1/+1
|
* 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/+1
| | | | | | | | | | | | 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
* Encapsulate rake lines from ActiveRecord/ActionPack as CodeTools::LineStatisticsBenjamin Fleischer2014-07-251-21/+3
| | | | [ci skip]
* Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]Arun Agrawal2014-05-161-71/+74
|
* Remove code related to adapter which are no longer in repoArun Agrawal2014-05-161-1/+1
| | | | As we have remove code for these adapters so no need to have tasks
* rake, remove frontbase related tasks from Active Record Rakefile.Yves Senn2014-05-141-46/+0
|
* Revert "Merge pull request #14940 from arunagw/hbakhtiyor-test-db-namespaces-ar"Yves Senn2014-05-031-107/+95
| | | | | This reverts commit fe9859600824268ff614cb3eb48b62c7165a1fbd, reversing changes made to add9560643ef79830febf47fa1228752d1df3502.
* Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]Arun Agrawal2014-05-031-95/+107
|
* Add description for db:create and db:drop test tasks in ARCarlos Antonio da Silva2013-11-171-2/+4
| | | | | This will help identify these tasks exists, since they are easier to setup things for running all AR tests.
* grab executable from rubygemsArun Agrawal2013-07-261-2/+1
| | | As done here d7fc97d3f90c0e30865d32ce202658f03248cacc
* Cleanup task for informing about hstoreVipul A M2013-07-251-6/+3
|
* Merge pull request #11046 from arunagw/verbose_mode_onCarlos Antonio da Silva2013-06-251-1/+1
|\ | | | | Verbose mode on when running tests
| * Adding verbose in isolated test.Arun Agrawal2013-06-211-1/+1
| |
* | Saying gemcutter => rubygems [ci skip]Arun Agrawal2013-06-211-1/+1
|/
* No need to load 'rake/packagetask' as it's alreadyArun Agrawal2013-06-021-1/+0
| | | | | in 'rubygems/package_task'
* Remove unnecessary code, because this extension is created on demand in ↵kennyj2013-05-151-2/+0
| | | | hstore_test.rb.
* added db:drop task that executes mysql:drop_databses and ↵Ranjay Krishna2013-01-201-0/+1
| | | | postgresql:drop_databases
* removed the puts statement and simplified the execute statementRanjay Krishna2013-01-201-6/+1
|
* added rake db:create that executes mysql:build_databases and ↵Ranjay Krishna2013-01-201-0/+9
| | | | postgresql:build_databases
* use template0 option for creating activerecord test databases in postgres ↵Bobby Wilson2012-08-191-2/+2
| | | | build_database task
* Create hstore extension when building PostgreSQL databases.kennyj2012-06-121-0/+10
|
* Rakefile executable attributes and shebang lines has been removedRoman V. Babenko2012-05-021-1/+0
|
* Verbose output for tests.Arun Agrawal2012-02-031-0/+1
| | | | | See #3892
* No verbose the output for tests.Arun Agrawal2012-02-011-1/+0
|
* Use block form of 'File.open' so that File object is auto closed at endNathan Broadbent2012-01-301-7/+7
|
* Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-301-1/+1
|