sprout-flashplayer-bundle 9.124.3 → 9.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -176,6 +176,18 @@ module Sprout
|
|
|
176
176
|
return @gem_version ||= nil
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
+
# If you're already running through the as3 or mxmlc bundle, you can tell the FlashPlayerTask
|
|
180
|
+
# to execute the SWF file via FDB (Flex Debugger). This will allow you to take advantage of
|
|
181
|
+
# all the features of FDB.
|
|
182
|
+
# Of course command-line deubugging isn't for everyone, but it can often be better than nothing!
|
|
183
|
+
def use_fdb=(use_fdb)
|
|
184
|
+
@use_fdb = use_fdb
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
def use_fdb?
|
|
188
|
+
@use_fdb
|
|
189
|
+
end
|
|
190
|
+
|
|
179
191
|
# Full name of the sprout tool gem that this tool task will use.
|
|
180
192
|
# This defaults to sprout-flashplayer-tool
|
|
181
193
|
def gem_name=(name)
|
|
@@ -227,11 +239,23 @@ module Sprout
|
|
|
227
239
|
rescue
|
|
228
240
|
puts '[WARNING] FlashPlayer encountered an error working with the mm.cfg log and/or editing the Trust file'
|
|
229
241
|
end
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
242
|
+
|
|
243
|
+
if(use_fdb?)
|
|
244
|
+
sprout 'as3'
|
|
245
|
+
|
|
246
|
+
my_fdb = fdb :fdb_task do |t|
|
|
247
|
+
t.file = swf
|
|
248
|
+
t.run
|
|
249
|
+
t.continue
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
my_fdb.execute
|
|
253
|
+
else
|
|
254
|
+
@running_process = nil
|
|
255
|
+
@thread = run(gem_name, gem_version, swf)
|
|
256
|
+
read_log(@thread, log_file)
|
|
257
|
+
@thread.join
|
|
258
|
+
end
|
|
235
259
|
end
|
|
236
260
|
|
|
237
261
|
def close
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sprout-flashplayer-bundle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.
|
|
4
|
+
version: 9.151.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pattern Park
|
|
@@ -9,7 +9,7 @@ autorequire: sprout/flashplayer
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2009-01-06 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -32,6 +32,7 @@ extra_rdoc_files: []
|
|
|
32
32
|
|
|
33
33
|
files:
|
|
34
34
|
- lib
|
|
35
|
+
- pkg
|
|
35
36
|
- rakefile.rb
|
|
36
37
|
- samples
|
|
37
38
|
- test
|
|
@@ -63,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
64
|
requirements: []
|
|
64
65
|
|
|
65
66
|
rubyforge_project: sprout
|
|
66
|
-
rubygems_version: 1.
|
|
67
|
+
rubygems_version: 1.3.1
|
|
67
68
|
signing_key:
|
|
68
69
|
specification_version: 2
|
|
69
70
|
summary: Supporting tasks for Flash Player Rake integration
|