lib/photoarchiver.rb in photoarchiver-0.1.0 vs lib/photoarchiver.rb in photoarchiver-0.1.1

- old
+ new

@@ -1,12 +1,13 @@ +require 'photoarchiver/version' require 'exifr' require 'fileutils' module Photoarchiver def self.organize(dir_src, dir_target) - puts "Photoarchiver #{VERSION}" + puts "Photoarchiver #{Photoarchiver::VERSION}" # Simply check to see if the source directory exists and complain if it does not if File.exists?(dir_src) && File.directory?(dir_src) # Source dir exists, go ahead and make target directory if it does not exist Dir.mkdir(dir_target) unless File.exists?(dir_target) \ No newline at end of file