lib/appraisal/file.rb in appraisal-0.3.4 vs lib/appraisal/file.rb in appraisal-0.3.5

- old
+ new

@@ -20,12 +20,12 @@ def each(&block) appraisals.each(&block) end def appraise(name, &block) - @appraisals << Appraisal.new(name, gemfile).tap do |appraisal| - appraisal.instance_eval(&block) - end + appraisal = Appraisal.new(name, gemfile) + appraisal.instance_eval(&block) + @appraisals << appraisal end private def run(definitions)