sprout-as3-bundle 1.0.8 → 1.0.9

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 = 8
6
+ TINY = 9
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
@@ -30,6 +30,7 @@ module Sprout # :nodoc:
30
30
  out_task = mxmlc output do |t|
31
31
  configure_mxmlc t
32
32
  configure_mxmlc_application t
33
+ t.debug = false
33
34
  t.optimize = true
34
35
  t.warnings = false
35
36
  t.verbose_stacktraces = false
@@ -87,6 +87,7 @@ module Sprout # :nodoc:
87
87
  def configure_mxmlc_application(compiler)
88
88
  compiler.warnings = true
89
89
  compiler.verbose_stacktraces = true
90
+ compiler.debug = model.use_fdb if model.use_fdb
90
91
  compiler.default_background_color = model.background_color if model.background_color
91
92
  compiler.default_frame_rate = model.frame_rate if model.frame_rate
92
93
  if(model.width && model.height)
@@ -97,13 +98,14 @@ module Sprout # :nodoc:
97
98
  def define_player
98
99
  flashplayer player_task_name do |t|
99
100
  t.swf = output_file
101
+ t.use_fdb = model.use_fdb
100
102
  end
101
103
  end
102
104
 
103
105
  def define_fdb
104
106
  fdb player_task_name do |t|
105
107
  t.file = output_file
106
- t.kill_on_fault = true
108
+ t.kill_on_fault = kill_on_fault
107
109
  t.run
108
110
  t.continue
109
111
  end
data/rakefile.rb CHANGED
@@ -63,7 +63,8 @@ spec = Gem::Specification.new do |s|
63
63
  s.rdoc_options << '-i' << '.'
64
64
  s.files = PKG_LIST.to_a
65
65
 
66
- s.add_dependency('sprout', '>= 0.7.196')
66
+ s.add_dependency('sprout', '>= 0.7.197')
67
+ s.add_dependency('sprout-flashplayer-bundle', '>= 9.151.0')
67
68
  s.add_dependency('sprout-asunit3-library', '>= 3.2.6')
68
69
  end
69
70
 
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.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pattern Park
@@ -20,7 +20,17 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.7.196
23
+ version: 0.7.197
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: sprout-flashplayer-bundle
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 9.151.0
24
34
  version:
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: sprout-asunit3-library