lib/zine/server.rb in zine-0.5.0 vs lib/zine/server.rb in zine-0.6.0
- old
+ new
@@ -1,5 +1,6 @@
+require 'highline'
require 'rainbow'
require 'rack'
require 'thin'
require 'zine/upload'
require 'zine/watcher'
@@ -65,9 +66,9 @@
def possible_upload(rel_path_build, upload_options)
return if upload_options['method'] == 'none' ||
(@delete_array.empty? && @upload_array.empty?)
uploader = Zine::Upload.new rel_path_build, upload_options,
@delete_array, @upload_array
- uploader.upload_decision
+ uploader.upload_decision HighLine
end
end
end