lib/git_compound/builder.rb in git_compound-0.1.0 vs lib/git_compound/builder.rb in git_compound-0.1.1
- old
+ new
@@ -16,11 +16,11 @@
end
def manifest_update
Logger.info 'Updating components ...'
@lock_new = Lock.new.clean
- @manifest.process(Worker::ComponentUpdateDispatcher.new(@lock_new))
+ @manifest.process(Worker::ComponentDispatcher.new(@lock_new))
self
end
def manifest_lock
lock = @lock_new ? @lock_new : @lock
@@ -66,10 +66,10 @@
'Manifest md5sum has changed ! Use `update` command.'
end
def locked_components_build
Logger.info 'Building components from lockfile ...'
- @lock.process(Worker::ComponentUpdateDispatcher.new(@lock))
+ @lock.process(Worker::ComponentDispatcher.new(@lock))
self
end
def locked_components_guard
@lock.process(Worker::LocalChangesGuard.new(@lock))