lib/rabbit/task/slide.rb in rabbit-2.0.0 vs lib/rabbit/task/slide.rb in rabbit-2.0.1
- old
+ new
@@ -102,19 +102,19 @@
task :publish
publish_tasks = []
namespace :publish do
if @rubygems_user
- desc(_("Publish the slide to RubyGems.org"))
+ desc(_("Publish the slide to %s" % "RubyGems.org"))
task :rubygems => :gem do
ruby("-S", "gem", "push", "--verbose", gem_path)
end
publish_tasks << :rubygems
end
if @slideshare_user
- desc(_("Publish the slide to 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
@@ -131,10 +131,10 @@
end
publish_tasks << :slideshare
end
if @speaker_deck_user
- desc(_("Publish the slide to Spearker Deck"))
+ desc(_("Publish the slide to %s" % "Spearker Deck"))
task :speaker_deck => :pdf do
raise "Not implemented yet."
end
publish_tasks << :speaker_deck
end