lib/slideshow/cli/commands/gen_templates.rb in slideshow-1.2.0.beta1 vs lib/slideshow/cli/commands/gen_templates.rb in slideshow-1.2.0.beta2

- old
+ new

@@ -28,26 +28,25 @@ exit 2 end manifestsrc = matches[0][1] pakpath = opts.output_path + + logger.debug( "manifestsrc=>#{manifestsrc}<, pakpath=>#{pakpath}<" ) Pakman::Copier.new( logger ).copy_pak( manifestsrc, pakpath ) end private def installed_generator_manifests # 1) search gem/templates - builtin_patterns = [ + patterns = [ "#{Slideshow.root}/templates/*.txt.gen" ] - ## note: code moved to its own gem, that is, pakman - ## see https://github.com/geraldb/pakman - - Pakman::Finder.new( logger ).find_manifests( builtin_patterns ) + Pakman::Finder.new( logger ).find_manifests( patterns ) end end # class GenTemplates end # module Slideshow \ No newline at end of file