lib/sprinkle/verify.rb in sprinkle-0.4.2 vs lib/sprinkle/verify.rb in sprinkle-0.5.0.rc1

- old
+ new

@@ -82,19 +82,19 @@ end def process(roles, pre = false) #:nodoc: assert_delivery - description = @description.empty? ? @package.name : @description + description = @description.empty? ? " (#{@package.name})" : @description if logger.debug? logger.debug "#{@package.name}#{description} verification sequence: #{@commands.join('; ')} for roles: #{roles}\n" end unless Sprinkle::OPTIONS[:testing] - logger.info "#{" " * @options[:padding]}--> Verifying #{description}..." + logger.debug "#{" " * @options[:padding]}--> Verifying #{description}..." - unless @delivery.process(@package.name, @commands, roles, true) + unless @delivery.verify(self, roles) # Verification failed, halt sprinkling gracefully. raise Sprinkle::VerificationFailed.new(@package, description) end end end