diff options
author | Igor Zubkov <igor.zubkov@gmail.com> | 2016-10-11 10:09:35 +0300 |
---|---|---|
committer | Igor Zubkov <igor.zubkov@gmail.com> | 2016-10-11 10:16:48 +0300 |
commit | b16a0750db9543b7094f838e3218de0b18fa05bd (patch) | |
tree | df33a9c81c1dd687541eb76fc18793e795c22863 /actionpack/test/fixtures/public/500.html | |
parent | dae404473409fcab0e07976aec626df670e52282 (diff) | |
download | rails-b16a0750db9543b7094f838e3218de0b18fa05bd.tar.gz rails-b16a0750db9543b7094f838e3218de0b18fa05bd.tar.bz2 rails-b16a0750db9543b7094f838e3218de0b18fa05bd.zip |
Set target ruby version for rubocop to 2.2 instead 2.3.
This change will help to catch ruby 2.3+ syntax in code base. Right now, minimal ruby version set to 2.2.2 in gemspecs.
Rubocop output before:
$ rubocop
Inspecting 2133 files
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................CC.........................................................................................................................................................................................................................................................
Offenses:
activerecord/test/cases/schema_dumper_test.rb:454:32: C: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
output = dump_table_schema('infinity_defaults')
^^^^^^^^^^^^^^^^^^^
guides/bug_report_templates/active_record_migrations_gem.rb:65:4: C: Final newline missing.
end
guides/bug_report_templates/active_record_migrations_master.rb:64:4: C: Final newline missing.
end
2133 files inspected, 3 offenses detected
$
After:
$ rubocop
Inspecting 2133 files
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................CC.........................................................................................................................................................................................................................................................
Offenses:
activerecord/test/cases/schema_dumper_test.rb:454:32: C: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
output = dump_table_schema('infinity_defaults')
^^^^^^^^^^^^^^^^^^^
guides/bug_report_templates/active_record_migrations_gem.rb:65:4: C: Final newline missing.
end
guides/bug_report_templates/active_record_migrations_master.rb:64:4: C: Final newline missing.
end
2133 files inspected, 3 offenses detected
$
Diffstat (limited to 'actionpack/test/fixtures/public/500.html')
0 files changed, 0 insertions, 0 deletions