lib/pansophy/config_synchronizer.rb in pansophy-1.0.0 vs lib/pansophy/config_synchronizer.rb in pansophy-1.1.0
- old
+ new
@@ -1,7 +1,6 @@
require 'pansophy'
-require 'facets/kernel/blank'
module Pansophy
class ConfigSynchronizer
attr_writer :config_bucket_name, :config_remote_folder, :config_local_folder, :version
@@ -35,10 +34,10 @@
def local_path
config_local_folder.to_s
end
def verify_config_bucket_name!
- return unless config_bucket_name.blank?
+ return unless config_bucket_name.nil? || config_bucket_name.empty?
fail ConfigSynchronizerError, 'CONFIG_BUCKET_NAME is undefined'
end
end
class ConfigPath