sprout-as3-bundle 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Sprout # :nodoc:
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- TINY = 11
6
+ TINY = 12
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
@@ -556,21 +556,22 @@ module Sprout #:nodoc:
556
556
  end
557
557
 
558
558
  if(char == "\n")
559
+ if(@inside_test_result && !line.index(test_result_prelude))
560
+ test_result << line + char
561
+ end
559
562
  line = ''
560
563
  else
561
564
  line << char
562
565
  full_output << char
563
566
  end
564
567
 
565
- if(@inside_test_result)
566
- test_result << char
567
- else
568
+ if(!@inside_test_result)
568
569
  @output.print char
569
570
  @output.flush
570
571
  end
571
572
 
572
573
  if(!test_result_prelude.nil? && line.index(test_result_prelude))
573
- test_result = test_result_prelude
574
+ test_result = ''
574
575
  @inside_test_result = true
575
576
  end
576
577
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout-as3-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pattern Park