lib/percheron/unit.rb in percheron-0.7.8 vs lib/percheron/unit.rb in percheron-0.7.9

- old
+ new

@@ -116,11 +116,11 @@ Pathname.new(File.expand_path(unit_config.dockerfile, config.file_base_path)) end def update_dockerfile_md5! md5 = current_dockerfile_md5 - $logger.info "Setting MD5 for '#{name}' unit to #{md5}" + $logger.debug "Setting MD5 for '#{name}' unit to #{md5}" $metastore.set("#{metastore_key}.dockerfile_md5", md5) end def dockerfile_md5s_match? dockerfile_md5 == current_dockerfile_md5 @@ -148,10 +148,14 @@ def valid? Validators::Unit.new(self).valid? end + def pseudo? + !pseudo_name.nil? + end + alias_method :startable?, :startable private attr_reader :config, :stack, :unit_config, :unit_name @@ -170,10 +174,7 @@ def info Hashie::Mash.new(container.info) end - def pseudo? - !pseudo_name.nil? - end end end