Rename Lfs::FileModificationHandler to Lfs::FileTransformer

This commit is contained in:
James Edwards-Jones 2018-03-15 00:04:43 +00:00
parent 842f42f4b2
commit ffb1c65b0b
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
module Files
class CreateService < Files::BaseService
def create_commit!
handler = Lfs::FileModificationHandler.new(project, @branch_name)
handler = Lfs::FileTransformer.new(project, @branch_name)
handler.new_file(@file_path, @file_content) do |content_or_lfs_pointer|
create_transformed_commit(content_or_lfs_pointer)

View file

@ -1,5 +1,5 @@
module Lfs
class FileModificationHandler
class FileTransformer
attr_reader :project, :branch_name
delegate :repository, to: :project