lib/softcover/commands/publisher.rb in softcover-0.7.10 vs lib/softcover/commands/publisher.rb in softcover-0.7.11
- old
+ new
@@ -10,11 +10,11 @@
if current_book.create_or_update
require 'ruby-progressbar'
require 'curb'
unless options[:quiet] || options[:silent]
puts "Uploading #{current_book.uploader.file_count} files " \
- "(#{as_size current_book.uploader.total_size}):"
+ "(#{as_size current_book.uploader.total_size}):"
end
url = current_book.upload!(options)
unless options[:quiet] || options[:silent]
puts "Published! #{url}"
end
@@ -35,10 +35,10 @@
# TODO: refactor this flow out of file?
def publish_screencasts!(options={})
return false unless current_book
current_book.screencasts_dir = options[:dir] ||
- Softcover::Book::DEFAULT_SCREENCASTS_DIR
+ Softcover::Book::DEFAULT_SCREENCASTS_DIR
@watch = options[:watch]
if options[:daemon]
pid = fork do