lib/rabbit/command/rabbit-slide.rb in rabbit-2.1.3 vs lib/rabbit/command/rabbit-slide.rb in rabbit-2.1.4

- old
+ new

@@ -307,10 +307,11 @@ end def generate_dot_gitignore create_file(".gitignore") do |dot_gitignore| dot_gitignore.puts(<<-EOD) +.DS_Store /.tmp/ /pkg/ /pdf/ EOD end @@ -381,13 +382,13 @@ # Edit ./config.yaml to customize meta data spec = nil Rabbit::Task::Slide.new do |task| spec = task.spec - # task.spec.files += Dir.glob("doc/**/*.*") - # task.spec.files -= Dir.glob("private/**/*.*") - # task.spec.add_runtime_dependency("YOUR THEME") + # spec.files += Dir.glob("doc/**/*.*") + # spec.files -= Dir.glob("private/**/*.*") + # spec.add_runtime_dependency("YOUR THEME") end desc "Tag #{spec.version}" task :tag do sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}") @@ -458,10 +459,10 @@ slide_metadata = [ ["subtitle", nil, _("SUBTITLE")], ["author", @author_conf.name, _("AUTHOR")], ["institution", nil, _("INSTITUTION")], ["content-source", nil, _("EVENT NAME")], - ["date", presentation_date, Time.now.strftime("%Y/%m/%d")], + ["date", presentation_date, Time.now.strftime("%Y-%m-%d")], ["allotted-time", @allotted_time, "5m"], ["theme", nil, "default"], ] slide_metadata.each do |key, value, default_value| item = generator.definition_list_item(key, value || default_value)