BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
f99b0cc5
Commit
f99b0cc5
authored
Dec 04, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no need for a named parameter
parent
a63792b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
project_hook.rb
app/models/hooks/project_hook.rb
+1
-1
system_hook.rb
app/models/hooks/system_hook.rb
+1
-1
triggerable_hooks_spec.rb
spec/models/concerns/triggerable_hooks_spec.rb
+1
-1
No files found.
app/models/hooks/project_hook.rb
View file @
f99b0cc5
class
ProjectHook
<
WebHook
include
TriggerableHooks
triggerable_hooks
only:
[
triggerable_hooks
[
:push_hooks
,
:tag_push_hooks
,
:issue_hooks
,
...
...
app/models/hooks/system_hook.rb
View file @
f99b0cc5
class
SystemHook
<
WebHook
include
TriggerableHooks
triggerable_hooks
only:
[
triggerable_hooks
[
:repository_update_hooks
,
:push_hooks
,
:tag_push_hooks
,
...
...
spec/models/concerns/triggerable_hooks_spec.rb
View file @
f99b0cc5
...
...
@@ -4,7 +4,7 @@ RSpec.describe TriggerableHooks do
before
do
class
TestableHook
<
WebHook
include
TriggerableHooks
triggerable_hooks
only:
[
:push_hooks
]
triggerable_hooks
[
:push_hooks
]
end
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