@@ -7,53 +7,52 @@ if Rails.env.development?
7
7
# You can override any of these by setting an environment variable of the
8
8
# same name.
9
9
Annotate . set_defaults (
10
- 'active_admin' => 'false' ,
11
- 'additional_file_patterns' => [ ] ,
12
- 'routes' => 'false' ,
13
- 'models' => 'true' ,
14
- 'position_in_routes' => 'before' ,
15
- 'position_in_class' => 'before' ,
16
- 'position_in_test' => 'before' ,
17
- 'position_in_fixture' => 'before' ,
18
- 'position_in_factory' => 'before' ,
19
- 'position_in_serializer' => 'before' ,
20
- 'show_check_constraints' => 'false' ,
21
- 'show_foreign_keys' => 'true' ,
22
- 'show_complete_foreign_keys' => 'false' ,
23
- 'show_indexes' => 'true' ,
24
- 'simple_indexes' => 'false' ,
25
- 'model_dir' => 'app/models' ,
26
- 'root_dir' => '' ,
27
- 'include_version' => 'false' ,
28
- 'require' => '' ,
29
- 'exclude_tests' => 'false' ,
30
- 'exclude_fixtures' => 'false' ,
31
- 'exclude_factories' => 'false' ,
32
- 'exclude_serializers' => 'false' ,
33
- 'exclude_scaffolds' => 'true' ,
34
- 'exclude_controllers' => 'true' ,
35
- 'exclude_helpers' => 'true' ,
36
- 'exclude_sti_subclasses' => 'false' ,
37
- 'ignore_model_sub_dir' => 'false' ,
38
- 'ignore_columns' => nil ,
39
- 'ignore_routes' => nil ,
40
- 'ignore_unknown_models' => 'false' ,
41
- 'hide_limit_column_types' => '<%= AnnotateModels::NO_LIMIT_COL_TYPES.join(",") %>' ,
42
- 'hide_default_column_types' => '<%= AnnotateModels::NO_DEFAULT_COL_TYPES.join(",") %>' ,
43
- 'skip_on_db_migrate' => 'false' ,
44
- 'format_bare' => 'true' ,
45
- 'format_rdoc' => 'false' ,
46
- 'format_yard' => 'false' ,
47
- 'format_markdown' => 'false' ,
48
- 'sort' => 'false' ,
49
- 'force' => 'false' ,
50
- 'frozen' => 'false' ,
51
- 'classified_sort' => 'true' ,
52
- 'trace' => 'false' ,
53
- 'wrapper_open' => nil ,
54
- 'wrapper_close' => nil ,
55
- 'with_comment' => 'true' ,
56
- 'with_comment_column' => 'false'
10
+ 'active_admin' => 'false' ,
11
+ 'additional_file_patterns' => [ ] ,
12
+ 'routes' => 'false' ,
13
+ 'models' => 'true' ,
14
+ 'position_in_routes' => 'before' ,
15
+ 'position_in_class' => 'before' ,
16
+ 'position_in_test' => 'before' ,
17
+ 'position_in_fixture' => 'before' ,
18
+ 'position_in_factory' => 'before' ,
19
+ 'position_in_serializer' => 'before' ,
20
+ 'position_in_additional_file_patterns' => 'before' ,
21
+ 'show_foreign_keys' => 'true' ,
22
+ 'show_complete_foreign_keys' => 'false' ,
23
+ 'show_indexes' => 'true' ,
24
+ 'simple_indexes' => 'false' ,
25
+ 'model_dir' => 'app/models' ,
26
+ 'root_dir' => '' ,
27
+ 'include_version' => 'false' ,
28
+ 'require' => '' ,
29
+ 'exclude_tests' => 'false' ,
30
+ 'exclude_fixtures' => 'false' ,
31
+ 'exclude_factories' => 'false' ,
32
+ 'exclude_serializers' => 'false' ,
33
+ 'exclude_scaffolds' => 'true' ,
34
+ 'exclude_controllers' => 'true' ,
35
+ 'exclude_helpers' => 'true' ,
36
+ 'exclude_sti_subclasses' => 'false' ,
37
+ 'ignore_model_sub_dir' => 'false' ,
38
+ 'ignore_columns' => nil ,
39
+ 'ignore_routes' => nil ,
40
+ 'ignore_unknown_models' => 'false' ,
41
+ 'hide_limit_column_types' => '<%= AnnotateModels::NO_LIMIT_COL_TYPES.join(",") %>' ,
42
+ 'hide_default_column_types' => '<%= AnnotateModels::NO_DEFAULT_COL_TYPES.join(",") %>' ,
43
+ 'skip_on_db_migrate' => 'false' ,
44
+ 'format_bare' => 'true' ,
45
+ 'format_rdoc' => 'false' ,
46
+ 'format_yard' => 'false' ,
47
+ 'format_markdown' => 'false' ,
48
+ 'sort' => 'false' ,
49
+ 'force' => 'false' ,
50
+ 'frozen' => 'false' ,
51
+ 'classified_sort' => 'true' ,
52
+ 'trace' => 'false' ,
53
+ 'wrapper_open' => nil ,
54
+ 'wrapper_close' => nil ,
55
+ 'with_comment' => 'true'
57
56
)
58
57
end
59
58
0 commit comments