summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-13 21:18:26 +0200
committerJames Lopez <james@jameslopez.es>2016-06-13 21:18:26 +0200
commit4020b0f55fa7df3a410a11debfd155527b1a79ee (patch)
tree93cbfcc21675ed584cd830e7c6b2b244acbae707 /lib/gitlab/import_export
parentbd5c749f2911e9d843a5bfe7487fdc1566c5dfa6 (diff)
downloadgitlab-ce-4020b0f55fa7df3a410a11debfd155527b1a79ee.tar.gz
few changes based on MR feedback
Diffstat (limited to 'lib/gitlab/import_export')
-rw-r--r--lib/gitlab/import_export/project_tree_saver.rb2
-rw-r--r--lib/gitlab/import_export/reader.rb (renamed from lib/gitlab/import_export/import_export_reader.rb)2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/project_tree_saver.rb b/lib/gitlab/import_export/project_tree_saver.rb
index a2c5df8af25..de1da2158ab 100644
--- a/lib/gitlab/import_export/project_tree_saver.rb
+++ b/lib/gitlab/import_export/project_tree_saver.rb
@@ -22,7 +22,7 @@ module Gitlab
private
def project_json_tree
- @project.to_json(Gitlab::ImportExport::ImportExportReader.new(shared: @shared).project_tree)
+ @project.to_json(Gitlab::ImportExport::Reader.new(shared: @shared).project_tree)
end
end
end
diff --git a/lib/gitlab/import_export/import_export_reader.rb b/lib/gitlab/import_export/reader.rb
index 5ed4885a066..3a329e255c3 100644
--- a/lib/gitlab/import_export/import_export_reader.rb
+++ b/lib/gitlab/import_export/reader.rb
@@ -1,6 +1,6 @@
module Gitlab
module ImportExport
- class ImportExportReader
+ class Reader
def initialize(shared:)
@shared = shared