lib/frameit/dependency_checker.rb in frameit-2.2.1 vs lib/frameit/dependency_checker.rb in frameit-2.2.2
- old
+ new
@@ -1,20 +1,20 @@
module Frameit
class DependencyChecker
def self.check_dependencies
- return if Helper.is_test?
-
+ return if Helper.test?
+
self.check_image_magick
end
def self.check_image_magick
- unless `which convert`.include?"convert"
+ unless `which convert`.include? "convert"
Helper.log.fatal '#############################################################'
Helper.log.fatal "# You have to install the ImageMagick to use FrameIt"
Helper.log.fatal "# Install it using 'brew update && brew install imagemagick'"
Helper.log.fatal "# If you don't have homebrew: http://brew.sh"
Helper.log.fatal '#############################################################'
raise "Install ImageMagick and start frameit again!"
end
end
end
-end
\ No newline at end of file
+end