Commit 619d28c0 by Sergey Yazan

rubocop friendly template

single-quoted strings and redundant curly braces around a hash parameter
parent af4606aa
...@@ -5,35 +5,34 @@ if Rails.env.development? ...@@ -5,35 +5,34 @@ if Rails.env.development?
task :set_annotation_options do task :set_annotation_options do
# You can override any of these by setting an environment variable of the # You can override any of these by setting an environment variable of the
# same name. # same name.
Annotate.set_defaults({ Annotate.set_defaults(
'position_in_routes' => "before", 'position_in_routes' => 'before',
'position_in_class' => "before", 'position_in_class' => 'before',
'position_in_test' => "before", 'position_in_test' => 'before',
'position_in_fixture' => "before", 'position_in_fixture' => 'before',
'position_in_factory' => "before", 'position_in_factory' => 'before',
'position_in_serializer' => "before", 'position_in_serializer' => 'before',
'show_foreign_keys' => "true", 'show_foreign_keys' => 'true',
'show_indexes' => "true", 'show_indexes' => 'true',
'simple_indexes' => "false", 'simple_indexes' => 'false',
'model_dir' => "app/models", 'model_dir' => 'app/models',
'include_version' => "false", 'include_version' => 'false',
'require' => "", 'require' => '',
'exclude_tests' => "false", 'exclude_tests' => 'false',
'exclude_fixtures' => "false", 'exclude_fixtures' => 'false',
'exclude_factories' => "false", 'exclude_factories' => 'false',
'exclude_serializers' => "false", 'exclude_serializers' => 'false',
'exclude_scaffolds' => "false", 'ignore_model_sub_dir' => 'false',
'ignore_model_sub_dir' => "false", 'skip_on_db_migrate' => 'false',
'skip_on_db_migrate' => "false", 'format_bare' => 'true',
'format_bare' => "true", 'format_rdoc' => 'false',
'format_rdoc' => "false", 'format_markdown' => 'false',
'format_markdown' => "false", 'sort' => 'false',
'sort' => "false", 'force' => 'false',
'force' => "false", 'trace' => 'false',
'trace' => "false",
'wrapper_open' => nil, 'wrapper_open' => nil,
'wrapper_close' => nil, 'wrapper_close' => nil,
}) )
end end
Annotate.load_tasks Annotate.load_tasks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment