lib/rabbit/task/slide.rb in rabbit-3.0.0 vs lib/rabbit/task/slide.rb in rabbit-3.0.1
- old
+ new
@@ -172,20 +172,20 @@
end
task :publish => publish_tasks.collect {|task| "publish:#{task}"}
end
def define_publish_rubygems_task
- desc(_("Publish the slide to %s" % "RubyGems.org"))
+ desc(_("Publish the slide to %s") % "RubyGems.org")
task :rubygems => :gem do
pusher = GemPusher.new(gem_path, @slide.author.rubygems_user)
pusher.push
end
end
def define_publish_slideshare_task
slideshare_user = @slide.author.slideshare_user
- desc(_("Publish the slide to %s" % "SlideShare"))
+ desc(_("Publish the slide to %s") % "SlideShare")
task :slideshare => [:pdf, "gem:validate"] do
require "rabbit/slideshare"
slideshare = SlideShare.new(@logger)
slideshare.user = slideshare_user
slideshare.pdf_path = pdf_path
@@ -205,10 +205,10 @@
end
end
end
def define_publish_speaker_deck_task
- desc(_("Publish the slide to %s" % "Speaker Deck"))
+ desc(_("Publish the slide to %s") % "Speaker Deck")
task :speaker_deck => :pdf do
puts "Not implemented yet."
end
end