diff options
author | James Lopez <james@jameslopez.es> | 2016-06-13 21:18:26 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-13 21:18:26 +0200 |
commit | 4020b0f55fa7df3a410a11debfd155527b1a79ee (patch) | |
tree | 93cbfcc21675ed584cd830e7c6b2b244acbae707 | |
parent | bd5c749f2911e9d843a5bfe7487fdc1566c5dfa6 (diff) | |
download | gitlab-ce-4020b0f55fa7df3a410a11debfd155527b1a79ee.tar.gz |
few changes based on MR feedback
-rw-r--r-- | lib/gitlab/import_export/project_tree_saver.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/import_export/reader.rb (renamed from lib/gitlab/import_export/import_export_reader.rb) | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/import_export/reader_spec.rb (renamed from spec/lib/gitlab/import_export/import_export_reader_spec.rb) | 2 |
3 files changed, 3 insertions, 3 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 diff --git a/spec/lib/gitlab/import_export/import_export_reader_spec.rb b/spec/lib/gitlab/import_export/reader_spec.rb index 19f9bdc8d3f..f16b4f8e2bd 100644 --- a/spec/lib/gitlab/import_export/import_export_reader_spec.rb +++ b/spec/lib/gitlab/import_export/reader_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -describe Gitlab::ImportExport::ImportExportReader, 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 |