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
4020b0f5
Commit
4020b0f5
authored
Jun 13, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few changes based on MR feedback
parent
bd5c749f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lib/gitlab/import_export/project_tree_saver.rb
lib/gitlab/import_export/project_tree_saver.rb
+1
-1
lib/gitlab/import_export/reader.rb
lib/gitlab/import_export/reader.rb
+1
-1
spec/lib/gitlab/import_export/reader_spec.rb
spec/lib/gitlab/import_export/reader_spec.rb
+1
-1
No files found.
lib/gitlab/import_export/project_tree_saver.rb
View file @
4020b0f5
...
...
@@ -22,7 +22,7 @@ module Gitlab
private
def
project_json_tree
@project
.
to_json
(
Gitlab
::
ImportExport
::
ImportExport
Reader
.
new
(
shared:
@shared
).
project_tree
)
@project
.
to_json
(
Gitlab
::
ImportExport
::
Reader
.
new
(
shared:
@shared
).
project_tree
)
end
end
end
...
...
lib/gitlab/import_export/
import_export_
reader.rb
→
lib/gitlab/import_export/reader.rb
View file @
4020b0f5
module
Gitlab
module
ImportExport
class
ImportExport
Reader
class
Reader
def
initialize
(
shared
:)
@shared
=
shared
...
...
spec/lib/gitlab/import_export/
import_export_
reader_spec.rb
→
spec/lib/gitlab/import_export/reader_spec.rb
View file @
4020b0f5
require
'spec_helper'
describe
Gitlab
::
ImportExport
::
ImportExport
Reader
,
lib:
true
do
describe
Gitlab
::
ImportExport
::
Reader
,
lib:
true
do
let
(
:shared
)
{
Gitlab
::
ImportExport
::
Shared
.
new
(
relative_path
:''
)
}
let
(
:test_config
)
{
'spec/support/import_export/import_export.yml'
}
let
(
:project_tree_hash
)
do
...
...
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