1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

18 commits

Author SHA1 Message Date
yuuji.yaginuma
73c991c411 Fix "warning: assigned but unused variable - message"
Ruby 2.5 warns about this. Ref: https://travis-ci.org/rails/rails/jobs/286338999
2017-10-12 15:04:33 +09:00
Pat Allan
acea68de02 Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
Matthew Draper
87b3e226d6 Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590, reversing
changes made to afb66a5a59.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e Enforce frozen string in Rubocop 2017-07-01 02:11:03 +03:00
Xavier Noria
783763bde9 applies new string literal convention in railties/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:16:09 +02:00
Santiago Pastorino
4efb36e7b4 Revert "Merge pull request #15305 from tgxworld/remove_unnecessary_require"
This reverts commit f632f79b8d, reversing
changes made to 98c7fe8769.

Closes #16343
2014-07-30 09:46:33 -03:00
Guo Xiang Tan
4ca5a5ea67 Remove unnecessary require of Minitest.
Minitest has already been required when calling Minitest.autorun.
2014-05-24 20:36:05 -07:00
Vipul A M
b2437050c8 rename str to string to fix overshadowing of variable 2014-05-07 14:32:27 +05:30
Aaron Patterson
9bc99b4fe5 add a test for whitespace separated args in the rc file 2013-10-30 16:53:08 -07:00
Aaron Patterson
19ca0952bb there is no reason for ARGV[0] to be nil 2013-10-30 16:37:33 -07:00
Aaron Patterson
a27d2d74f2 add a comment to people of the future 2013-10-30 16:14:02 -07:00
Aaron Patterson
baaf9acaa7 adding a test for --help defaults 2013-10-30 16:12:40 -07:00
Aaron Patterson
169fa516c3 change the test to make argv a little more realistic 2013-10-30 15:49:47 -07:00
Aaron Patterson
7d01907f95 adding a test for the current behavior 2013-10-30 15:41:09 -07:00
Aaron Patterson
2f11668eb8 add a test for the rc commandline option 2013-10-30 15:33:46 -07:00
Aaron Patterson
327c6023cd remove useless assertions 2013-10-30 15:31:14 -07:00
Aaron Patterson
3060dfce5a test some of the rc specification 2013-10-30 15:29:01 -07:00
Aaron Patterson
9696073b2d forgot the test, oops! 2013-10-30 15:03:34 -07:00