lib/slideshow/cli/main_utils.rb in slideshow-3.1.0 vs lib/slideshow/cli/main_utils.rb in slideshow-4.0.0
- old
+ new
@@ -15,45 +15,44 @@
class SysInfo
def initialize( config )
@config = config
end
-
+
attr_reader :config
-
+
def dump
puts <<EOS
#{Slideshow.generator}
Gems versions:
- pakman #{Pakman::VERSION}
- fetcher #{Fetcher::VERSION}
- kramdown #{Kramdown::VERSION}
+ - liquid #{Liquid::VERSION}
- textutils #{TextUtils::VERSION}
- logutils #{LogKernel::VERSION}
- props #{Props::VERSION}
- slideshow-models #{Slideshow::VERSION}
- - slideshow-templates #{SlideshowTemplates::VERSION}
- slideshow #{SlideshowCli::VERSION}
Env home: #{Env.home}
Slideshow config: #{config.config_dir}
Slideshow cache: #{config.cache_dir}
Slideshow root: #{Slideshow.root}
- SlideshowTemplates root: #{SlideshowTemplates.root}
EOS
# dump Slideshow settings
config.dump
puts
-
+
# todo:
# add version for rubygems
-
+
dump_load_path # helps debugging pluggin loading (e.g. Ruby 1.9.2> no longer includes ./ in load path)
end
def dump_load_path
puts 'load path:'