Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mastodon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
インターネット蟹工船
mastodon
Commits
624a9a71
Commit
624a9a71
authored
Apr 07, 2017
by
Eugen Rochko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add forgotten <author> element on standalone <entry>
parent
1c351709
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
app/lib/atom_serializer.rb
app/lib/atom_serializer.rb
+3
-0
No files found.
app/lib/atom_serializer.rb
View file @
624a9a71
...
...
@@ -68,6 +68,9 @@ class AtomSerializer
append_element
(
entry
,
'published'
,
stream_entry
.
created_at
.
iso8601
)
append_element
(
entry
,
'updated'
,
stream_entry
.
updated_at
.
iso8601
)
append_element
(
entry
,
'title'
,
stream_entry
&
.
status
&
.
title
)
entry
<<
author
(
stream_entry
.
account
)
if
root
append_element
(
entry
,
'activity:object-type'
,
TagManager
::
TYPES
[
stream_entry
.
object_type
])
append_element
(
entry
,
'activity:verb'
,
TagManager
::
VERBS
[
stream_entry
.
verb
])
...
...
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