flashsdk 1.0.12.pre → 1.0.13.pre
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.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/lib/flashplayer/module.rb +1 -0
- data/lib/flashplayer/specification.rb +21 -12
- data/lib/flashplayer/system_mixins.rb +1 -1
- data/lib/flashplayer/task.rb +2 -3
- data/lib/flashsdk/generators/flash_helper.rb +1 -1
- data/lib/flex4.rb +2 -5
- data/rakefile.rb +3 -0
- data/test/unit/adl_test.rb +1 -1
- data/test/unit/adt_test.rb +1 -1
- data/test/unit/amxmlc_test.rb +1 -1
- data/test/unit/class_generator_test.rb +1 -1
- data/test/unit/compc_test.rb +1 -1
- data/test/unit/flash_helper_test.rb +1 -1
- data/test/unit/flashplayer_log_file_test.rb +1 -1
- data/test/unit/flashplayer_mm_config_test.rb +1 -1
- data/test/unit/flashplayer_module_test.rb +1 -1
- data/test/unit/flashplayer_task_test.rb +3 -1
- data/test/unit/flashplayer_trust_test.rb +1 -1
- data/test/unit/flex_generator_test.rb +1 -1
- data/test/unit/mxmlc_test.rb +1 -2
- data/test/unit/project_generator_test.rb +1 -1
- metadata +5 -12
- data/flashsdk-1.0.11.pre.gem +0 -0
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
rdoc (2.5.11)
|
10
10
|
rubyzip (0.9.4)
|
11
11
|
shoulda (2.11.3)
|
12
|
-
sprout (1.0.
|
12
|
+
sprout (1.0.31.pre)
|
13
13
|
archive-tar-minitar (= 0.5.2)
|
14
14
|
bundler (>= 0.9.19)
|
15
15
|
open4 (>= 0.9.6)
|
@@ -23,4 +23,4 @@ PLATFORMS
|
|
23
23
|
DEPENDENCIES
|
24
24
|
mocha
|
25
25
|
shoulda
|
26
|
-
sprout (>= 1.0.
|
26
|
+
sprout (>= 1.0.31.pre)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.13.pre
|
data/lib/flashplayer/module.rb
CHANGED
@@ -2,31 +2,40 @@ require 'flashsdk'
|
|
2
2
|
|
3
3
|
Sprout::Specification.new do |s|
|
4
4
|
s.name = FlashPlayer::NAME
|
5
|
-
s.version =
|
5
|
+
s.version = FlashPlayer::VERSION
|
6
|
+
|
7
|
+
##
|
8
|
+
# NOTE: The order of these declarations is important, the RubyFeature.load method
|
9
|
+
# will search for the first match that is appropriate for the end user system.
|
10
|
+
#
|
11
|
+
# Current releases of the Ruby One-Click Installer for Windows actually
|
12
|
+
# run on top of Mingw, and OSX is a *nix variant, which means that
|
13
|
+
# all System types (in Ruby at least) derive from UnixSystem.
|
14
|
+
#
|
15
|
+
# This means that the Linux/Unix declaration will
|
16
|
+
# match everyone, so it is effectively the same as ':universal'
|
17
|
+
s.add_remote_file_target do |t|
|
18
|
+
t.platform = :windows
|
19
|
+
t.archive_type = :exe
|
20
|
+
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe"
|
21
|
+
t.md5 = "1f5e411f96817b56c99111a06f4c727f"
|
22
|
+
t.add_executable :flashplayer, "1f5e411f96817b56c99111a06f4c727f.exe"
|
23
|
+
end
|
6
24
|
|
7
25
|
s.add_remote_file_target do |t|
|
8
26
|
t.platform = :osx
|
9
27
|
t.archive_type = :zip
|
10
28
|
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.app.zip"
|
11
|
-
t.md5 = "
|
29
|
+
t.md5 = "1c5ef8aeb1aa4a6cee7970d5c7ee9a55"
|
12
30
|
t.add_executable :flashplayer, "Flash Player Debugger.app"
|
13
31
|
end
|
14
32
|
|
15
|
-
s.add_remote_file_target do |t|
|
16
|
-
t.platform = :win32
|
17
|
-
t.archive_type = :exe
|
18
|
-
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe"
|
19
|
-
t.md5 = "4d8d58d72709f44421b2ea4e89cc30be"
|
20
|
-
t.add_executable :flashplayer, "flashplayer_10_sa_debug.exe"
|
21
|
-
end
|
22
|
-
|
23
33
|
s.add_remote_file_target do |t|
|
24
34
|
t.platform = :linux
|
25
35
|
t.archive_type = :tgz
|
26
36
|
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.tar.gz"
|
27
|
-
t.md5 = "
|
37
|
+
t.md5 = "1efa254bc7d6e0c11a61984ae34bfaa7"
|
28
38
|
t.add_executable :flashplayer, "flashplayerdebugger"
|
29
39
|
end
|
30
|
-
|
31
40
|
end
|
32
41
|
|
data/lib/flashplayer/task.rb
CHANGED
@@ -20,7 +20,7 @@ module FlashPlayer
|
|
20
20
|
@input = task_name
|
21
21
|
|
22
22
|
@pkg_name = FlashPlayer::NAME
|
23
|
-
@pkg_version =
|
23
|
+
@pkg_version = FlashPlayer::VERSION
|
24
24
|
end
|
25
25
|
|
26
26
|
def execute *args
|
@@ -84,8 +84,7 @@ module FlashPlayer
|
|
84
84
|
|
85
85
|
def launch_player_with swf
|
86
86
|
player = Sprout::Executable.load(:flashplayer, pkg_name, pkg_version).path
|
87
|
-
|
88
|
-
current_system.open_flashplayer_with player, swf
|
87
|
+
current_system.open_flashplayer_with player, clean_path(swf)
|
89
88
|
end
|
90
89
|
|
91
90
|
def tail_flashlog player_thread
|
data/lib/flex4.rb
CHANGED
@@ -1,13 +1,10 @@
|
|
1
1
|
|
2
2
|
Sprout::Specification.new do |s|
|
3
3
|
s.name = 'flex4'
|
4
|
-
s.version =
|
4
|
+
s.version = '4.1.0.16076'
|
5
5
|
|
6
6
|
s.add_remote_file_target do |t|
|
7
|
-
|
8
|
-
t.platform = :universal
|
9
|
-
# Apply the shared platform configuration:
|
10
|
-
# Remote Archive:
|
7
|
+
t.platform = :universal
|
11
8
|
t.archive_type = :zip
|
12
9
|
t.url = "http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4/flex_sdk_4.1.0.16076.zip"
|
13
10
|
t.md5 = "4c5f3d3fa4e1f5be244679210cd852c0"
|
data/rakefile.rb
CHANGED
data/test/unit/adl_test.rb
CHANGED
data/test/unit/adt_test.rb
CHANGED
data/test/unit/amxmlc_test.rb
CHANGED
data/test/unit/compc_test.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
|
3
3
|
class TaskTest < Test::Unit::TestCase
|
4
4
|
include SproutTestCase
|
@@ -20,6 +20,7 @@ class TaskTest < Test::Unit::TestCase
|
|
20
20
|
remove_file @missing_home
|
21
21
|
end
|
22
22
|
|
23
|
+
=begin
|
23
24
|
## THIS METHOD WAS COMMENTED OUT....
|
24
25
|
should "wait for SWF even if clean system" do
|
25
26
|
# No creation of expected FlashPlayer folders...
|
@@ -34,6 +35,7 @@ class TaskTest < Test::Unit::TestCase
|
|
34
35
|
t.invoke
|
35
36
|
end
|
36
37
|
end
|
38
|
+
=end
|
37
39
|
|
38
40
|
should "work with swf as task name" do
|
39
41
|
t = flashplayer @swf
|
data/test/unit/mxmlc_test.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
|
3
3
|
class MXMLCTest < Test::Unit::TestCase
|
4
4
|
include SproutTestCase
|
@@ -31,7 +31,6 @@ class MXMLCTest < Test::Unit::TestCase
|
|
31
31
|
mxmlc.execute
|
32
32
|
assert_file @expected_output
|
33
33
|
end
|
34
|
-
|
35
34
|
|
36
35
|
should "assign default-size" do
|
37
36
|
mxmlc = FlashSDK::MXMLC.new
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flashsdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -499621543
|
5
4
|
prerelease: true
|
6
5
|
segments:
|
7
6
|
- 1
|
8
7
|
- 0
|
9
|
-
-
|
8
|
+
- 13
|
10
9
|
- pre
|
11
|
-
version: 1.0.
|
10
|
+
version: 1.0.13.pre
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Luke Bayes
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-12 00:00:00 -07:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,13 +25,12 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: -499621631
|
30
28
|
segments:
|
31
29
|
- 1
|
32
30
|
- 0
|
33
|
-
-
|
31
|
+
- 31
|
34
32
|
- pre
|
35
|
-
version: 1.0.
|
33
|
+
version: 1.0.31.pre
|
36
34
|
type: :runtime
|
37
35
|
prerelease: false
|
38
36
|
version_requirements: *id001
|
@@ -43,7 +41,6 @@ dependencies:
|
|
43
41
|
requirements:
|
44
42
|
- - ">="
|
45
43
|
- !ruby/object:Gem::Version
|
46
|
-
hash: 3
|
47
44
|
segments:
|
48
45
|
- 0
|
49
46
|
version: "0"
|
@@ -57,7 +54,6 @@ dependencies:
|
|
57
54
|
requirements:
|
58
55
|
- - ">="
|
59
56
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 3
|
61
57
|
segments:
|
62
58
|
- 0
|
63
59
|
version: "0"
|
@@ -83,7 +79,6 @@ files:
|
|
83
79
|
- doc/mxmlc-list.txt
|
84
80
|
- ext/CloseFlashPlayerForDumbassOSX.scpt
|
85
81
|
- ext/OpenFlashPlayerForDumbassOSX.scpt
|
86
|
-
- flashsdk-1.0.11.pre.gem
|
87
82
|
- flashsdk.gemspec
|
88
83
|
- Gemfile
|
89
84
|
- Gemfile.lock
|
@@ -207,7 +202,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
202
|
requirements:
|
208
203
|
- - ">="
|
209
204
|
- !ruby/object:Gem::Version
|
210
|
-
hash: 3
|
211
205
|
segments:
|
212
206
|
- 0
|
213
207
|
version: "0"
|
@@ -216,7 +210,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
210
|
requirements:
|
217
211
|
- - ">"
|
218
212
|
- !ruby/object:Gem::Version
|
219
|
-
hash: 25
|
220
213
|
segments:
|
221
214
|
- 1
|
222
215
|
- 3
|
data/flashsdk-1.0.11.pre.gem
DELETED
Binary file
|