lib/buildr/ivy_extension.rb in ivy4r-0.12.7 vs lib/buildr/ivy_extension.rb in ivy4r-0.12.8

- old
+ new

@@ -266,10 +266,10 @@ raise "Invalid call with parameters and block!" if status.size > 0 && block if status.empty? && block.nil? if @status_calc @status ||= @status_calc.call(self) else - @status ||= Ivy.setting('status') || 'integration' + @status end elsif status.empty? && block.nil? raise "status value invalid #{status.join(', ')}" unless status.size == 1 @status = status[0] self