lib/command.rb in evertils-0.1.20 vs lib/command.rb in evertils-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-module Granify
+module Evertils
module Command
class Exec
attr_reader :response, :exitcode
attr_accessor :enable_logging
@@ -108,11 +108,11 @@
end
end
def lint(file, log_file)
begin
- command = `coffeelint -f "#{Granify::INSTALLED_DIR}/lib/configs/coffeelint.json" #{file}`
+ command = `coffeelint -f "#{Evertils::INSTALLED_DIR}/lib/configs/coffeelint.json" #{file}`
@response = command.include?("Ok!")
# only send errors to the log file
if !@response
@@ -128,10 +128,10 @@
end
end
def open_editor(file=nil)
begin
- log_file = file || Granify::DEFAULT_LOG
+ log_file = file || Evertils::DEFAULT_LOG
# System editor is not set/unavailable, use system default to open the
# file
if `echo $EDITOR` == ""
if Utils.os == :macosx