lib/generators/annotate/templates/auto_annotate_models.rake in annotate-2.7.0 vs lib/generators/annotate/templates/auto_annotate_models.rake in annotate-2.7.1
- old
+ new
@@ -22,25 +22,26 @@
'require' => '',
'exclude_tests' => 'false',
'exclude_fixtures' => 'false',
'exclude_factories' => 'false',
'exclude_serializers' => 'false',
- 'exclude_scaffolds' => 'false',
- 'exclude_controllers' => 'false',
- 'exclude_helpers' => 'false',
+ 'exclude_scaffolds' => 'true',
+ 'exclude_controllers' => 'true',
+ 'exclude_helpers' => 'true',
'ignore_model_sub_dir' => 'false',
'ignore_columns' => nil,
+ 'ignore_routes' => nil,
'ignore_unknown_models' => 'false',
- 'hide_limit_column_types' => '<%= AnnotateModels::NO_LIMIT_COL_TYPES.join(',') %>',
+ 'hide_limit_column_types' => '<%= AnnotateModels::NO_LIMIT_COL_TYPES.join(",") %>',
'skip_on_db_migrate' => 'false',
'format_bare' => 'true',
'format_rdoc' => 'false',
'format_markdown' => 'false',
'sort' => 'false',
'force' => 'false',
'trace' => 'false',
'wrapper_open' => nil,
- 'wrapper_close' => nil,
+ 'wrapper_close' => nil
)
end
Annotate.load_tasks
end