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
iv
gitlab-ce
Commits
e6ceec9d
Commit
e6ceec9d
authored
Mar 06, 2014
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed oldrev/newrev to before/after
parent
4a251849
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/services/git_tag_push_service.rb
app/services/git_tag_push_service.rb
+2
-2
spec/services/git_tag_push_service_spec.rb
spec/services/git_tag_push_service_spec.rb
+2
-2
No files found.
app/services/git_tag_push_service.rb
View file @
e6ceec9d
...
...
@@ -11,8 +11,8 @@ class GitTagPushService
def
create_push_data
(
oldrev
,
newrev
,
ref
)
data
=
{
ref:
ref
,
oldrev
:
oldrev
,
newrev
:
newrev
,
before
:
oldrev
,
after
:
newrev
,
user_id:
user
.
id
,
user_name:
user
.
name
,
project_id:
project
.
id
,
...
...
spec/services/git_tag_push_service_spec.rb
View file @
e6ceec9d
...
...
@@ -20,8 +20,8 @@ describe GitTagPushService do
subject
{
@push_data
}
it
{
should
include
(
ref:
@ref
)
}
it
{
should
include
(
oldrev
:
@oldrev
)
}
it
{
should
include
(
newrev
:
@newrev
)
}
it
{
should
include
(
before
:
@oldrev
)
}
it
{
should
include
(
after
:
@newrev
)
}
it
{
should
include
(
user_id:
user
.
id
)
}
it
{
should
include
(
user_name:
user
.
name
)
}
it
{
should
include
(
project_id:
project
.
id
)
}
...
...
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