Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
22db5e14
Commit
22db5e14
authored
May 10, 2016
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the annotate rake task
parent
f1479b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
44 deletions
+0
-44
lib/tasks/auto_annotate_models.rake
lib/tasks/auto_annotate_models.rake
+0
-44
No files found.
lib/tasks/auto_annotate_models.rake
deleted
100644 → 0
View file @
f1479b56
if
Rails
.
env
.
development?
task
:set_annotation_options
do
# You can override any of these by setting an environment variable of the
# same name.
Annotate
.
set_defaults
(
'routes'
=>
'false'
,
'position_in_routes'
=>
'before'
,
'position_in_class'
=>
'before'
,
'position_in_test'
=>
'before'
,
'position_in_fixture'
=>
'before'
,
'position_in_factory'
=>
'before'
,
'position_in_serializer'
=>
'before'
,
'show_foreign_keys'
=>
'true'
,
'show_indexes'
=>
'false'
,
'simple_indexes'
=>
'false'
,
'model_dir'
=>
'app/models'
,
'root_dir'
=>
''
,
'include_version'
=>
'false'
,
'require'
=>
''
,
'exclude_tests'
=>
'true'
,
'exclude_fixtures'
=>
'true'
,
'exclude_factories'
=>
'true'
,
'exclude_serializers'
=>
'true'
,
'exclude_scaffolds'
=>
'true'
,
'exclude_controllers'
=>
'true'
,
'exclude_helpers'
=>
'true'
,
'ignore_model_sub_dir'
=>
'false'
,
'ignore_columns'
=>
nil
,
'ignore_unknown_models'
=>
'false'
,
'hide_limit_column_types'
=>
'integer,boolean'
,
'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
,
)
end
Annotate
.
load_tasks
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment