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
Boxiang Sun
gitlab-ce
Commits
a65cf77e
Commit
a65cf77e
authored
Jun 29, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes and refactored JSON spec
parent
5cd3d7c4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4201 additions
and
2183 deletions
+4201
-2183
app/models/concerns/eventable.rb
app/models/concerns/eventable.rb
+1
-1
spec/lib/gitlab/import_export/project.json
spec/lib/gitlab/import_export/project.json
+4200
-2182
No files found.
app/models/concerns/eventable.rb
View file @
a65cf77e
...
...
@@ -8,7 +8,7 @@ module Eventable
def
events
=
(
events
)
events
.
each
do
|
event
|
event
.
target_id
=
id
event
.
data
.
deep_symbolize_keys!
event
.
data
.
deep_symbolize_keys!
if
event
.
data
event
.
save!
end
end
...
...
spec/lib/gitlab/import_export/project.json
View file @
a65cf77e
This diff is collapsed.
Click to expand it.
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