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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
28d564a8
Commit
28d564a8
authored
May 14, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
May 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move prepend to last line in app models - 1
parent
eaaddf7b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
app/models/commit_status.rb
app/models/commit_status.rb
+2
-2
app/models/global_milestone.rb
app/models/global_milestone.rb
+2
-1
changelogs/unreleased/app-models-1.yml
changelogs/unreleased/app-models-1.yml
+5
-0
No files found.
app/models/commit_status.rb
View file @
28d564a8
...
...
@@ -7,8 +7,6 @@ class CommitStatus < ApplicationRecord
include
Presentable
include
EnumWithNil
prepend_if_ee
(
'::EE::CommitStatus'
)
# rubocop: disable Cop/InjectEnterpriseEditionModule
self
.
table_name
=
'ci_builds'
belongs_to
:user
...
...
@@ -292,3 +290,5 @@ class CommitStatus < ApplicationRecord
end
end
end
CommitStatus
.
prepend_if_ee
(
'::EE::CommitStatus'
)
app/models/global_milestone.rb
View file @
28d564a8
...
...
@@ -2,7 +2,6 @@
# Global Milestones are milestones that can be shared across multiple projects
class
GlobalMilestone
include
Milestoneish
include_if_ee
(
'::EE::GlobalMilestone'
)
# rubocop: disable Cop/InjectEnterpriseEditionModule
STATE_COUNT_HASH
=
{
opened:
0
,
closed:
0
,
all:
0
}.
freeze
...
...
@@ -105,3 +104,5 @@ class GlobalMilestone
true
end
end
GlobalMilestone
.
include_if_ee
(
'::EE::GlobalMilestone'
)
changelogs/unreleased/app-models-1.yml
0 → 100644
View file @
28d564a8
---
title
:
Move prepend to last line in app models
merge_request
:
31826
author
:
Rajendra Kadam
type
:
fixed
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