flashsdk 1.0.33.pre → 1.0.34.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.lock +35 -0
- data/VERSION +1 -1
- data/lib/flashplayer/module.rb +1 -1
- data/lib/flashplayer/specification.rb +3 -4
- data/lib/flashplayer.rb +0 -1
- data/test/unit/adt_test.rb +31 -3
- metadata +9 -7
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
flashsdk (1.0.34.pre)
|
5
|
+
sprout (>= 1.1.15.pre)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
archive-tar-minitar (0.5.2)
|
11
|
+
metaclass (0.0.1)
|
12
|
+
mocha (0.10.5)
|
13
|
+
metaclass (~> 0.0.1)
|
14
|
+
open4 (1.3.0)
|
15
|
+
rake (0.9.2.2)
|
16
|
+
rubyzip (0.9.4)
|
17
|
+
shoulda (3.0.1)
|
18
|
+
shoulda-context (~> 1.0.0)
|
19
|
+
shoulda-matchers (~> 1.0.0)
|
20
|
+
shoulda-context (1.0.0)
|
21
|
+
shoulda-matchers (1.0.0)
|
22
|
+
sprout (1.1.16.pre)
|
23
|
+
archive-tar-minitar (= 0.5.2)
|
24
|
+
bundler (>= 0.9.19)
|
25
|
+
open4 (>= 0.9.6)
|
26
|
+
rake (>= 0.9.2)
|
27
|
+
rubyzip (= 0.9.4)
|
28
|
+
|
29
|
+
PLATFORMS
|
30
|
+
ruby
|
31
|
+
|
32
|
+
DEPENDENCIES
|
33
|
+
flashsdk!
|
34
|
+
mocha
|
35
|
+
shoulda
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.34.pre
|
data/lib/flashplayer/module.rb
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
t.platform = :windows
|
23
23
|
t.archive_type = :exe
|
24
24
|
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe"
|
25
|
-
t.md5 = "
|
25
|
+
t.md5 = "6897ac6223a8a5d0e93135871ca001fe"
|
26
26
|
t.add_executable :flashplayer, "5f7f4c4246784745b0e1b5593e9bc60f.exe"
|
27
27
|
end
|
28
28
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
t.platform = :osx
|
31
31
|
t.archive_type = :zip
|
32
32
|
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.app.zip"
|
33
|
-
t.md5 = "
|
33
|
+
t.md5 = "67ca9fd0c92fdb8f6c9d0fe4f4e690ec"
|
34
34
|
t.add_executable :flashplayer, "Flash Player Debugger.app"
|
35
35
|
end
|
36
36
|
|
@@ -38,8 +38,7 @@
|
|
38
38
|
t.platform = :linux
|
39
39
|
t.archive_type = :tgz
|
40
40
|
t.url = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.tar.gz"
|
41
|
-
t.md5 = "
|
41
|
+
t.md5 = "696264267dcf3305b8e4706bb60238ad"
|
42
42
|
t.add_executable :flashplayer, "flashplayerdebugger"
|
43
43
|
end
|
44
44
|
end
|
45
|
-
|
data/lib/flashplayer.rb
CHANGED
data/test/unit/adt_test.rb
CHANGED
@@ -39,8 +39,14 @@ class ADTTest < Test::Unit::TestCase
|
|
39
39
|
t.storepass = @cert_password
|
40
40
|
t.included_files << @swf_input
|
41
41
|
end
|
42
|
-
assert_equal "-package -target #{@target} -storetype PKCS12 -keystore test/fixtures/air/simple/SomeProject.pfx -storepass samplePassword test/fixtures/air/simple/SomeProject.air test/fixtures/air/simple/SomeProject.xml test/fixtures/air/simple/SomeProject.swf", t.to_shell
|
43
42
|
|
43
|
+
assert_equal "-package -storetype PKCS12 -keystore #{@certificate} " +
|
44
|
+
"-storepass #{@cert_password} -target #{@target} " +
|
45
|
+
"test/fixtures/air/simple/SomeProject.air " +
|
46
|
+
"test/fixtures/air/simple/SomeProject.xml " +
|
47
|
+
"test/fixtures/air/simple/SomeProject.swf", t.to_shell
|
48
|
+
|
49
|
+
# Uncomment to actually run adt (much slower)
|
44
50
|
#t.execute
|
45
51
|
#assert_file @expected_output
|
46
52
|
end
|
@@ -59,8 +65,15 @@ class ADTTest < Test::Unit::TestCase
|
|
59
65
|
t.included_files << @swf_input
|
60
66
|
t.file_options << 'bin path/to/asset.xml'
|
61
67
|
end
|
62
|
-
assert_equal "-package -target #{@target} -storetype PKCS12 -keystore test/fixtures/air/simple/SomeProject.pfx -storepass samplePassword test/fixtures/air/simple/SomeProject.air test/fixtures/air/simple/SomeProject.xml test/fixtures/air/simple/SomeProject.swf -C bin path/to/asset.xml", t.to_shell
|
63
68
|
|
69
|
+
assert_equal "-package -storetype PKCS12 -keystore #{@certificate} " +
|
70
|
+
"-storepass #{@cert_password} -target #{@target} " +
|
71
|
+
"test/fixtures/air/simple/SomeProject.air " +
|
72
|
+
"test/fixtures/air/simple/SomeProject.xml " +
|
73
|
+
"test/fixtures/air/simple/SomeProject.swf " +
|
74
|
+
"-C bin path/to/asset.xml", t.to_shell
|
75
|
+
|
76
|
+
# Uncomment to actually run adt (much slower)
|
64
77
|
#t.execute
|
65
78
|
#assert_file @expected_output
|
66
79
|
end
|
@@ -79,8 +92,15 @@ class ADTTest < Test::Unit::TestCase
|
|
79
92
|
t.provisioning_profile = @provisioning_profile
|
80
93
|
t.included_files << @swf_input
|
81
94
|
end
|
82
|
-
assert_equal "-package -target ipa-test -storetype PKCS12 -keystore #{@ipa_cert} -storepass #{@cert_password} -provisioning-profile #{@provisioning_profile} #{@ipa_output} #{@application_xml} #{@swf_input}", t.to_shell
|
83
95
|
|
96
|
+
assert_equal "-package -storetype PKCS12 -keystore #{@ipa_cert} " +
|
97
|
+
"-storepass #{@cert_password} -provisioning-profile " +
|
98
|
+
"#{@provisioning_profile} -target ipa-test " +
|
99
|
+
"test/fixtures/air/simple/SomeProject.ipa " +
|
100
|
+
"test/fixtures/air/simple/SomeProject.xml " +
|
101
|
+
"test/fixtures/air/simple/SomeProject.swf", t.to_shell
|
102
|
+
|
103
|
+
# Uncomment to actually run adt (much slower)
|
84
104
|
#t.execute
|
85
105
|
#assert_file @expected_output
|
86
106
|
end
|
@@ -94,8 +114,10 @@ class ADTTest < Test::Unit::TestCase
|
|
94
114
|
t.package = true
|
95
115
|
t.package_input = @apk_input
|
96
116
|
end
|
117
|
+
|
97
118
|
assert_equal "-installApp -platform #{@platform} -package #{@apk_input}", t.to_shell
|
98
119
|
|
120
|
+
# Uncomment to actually run adt (much slower)
|
99
121
|
#t.execute
|
100
122
|
#assert_file @expected_output
|
101
123
|
end
|
@@ -108,8 +130,10 @@ class ADTTest < Test::Unit::TestCase
|
|
108
130
|
t.platform = @platform
|
109
131
|
t.appid = @appid
|
110
132
|
end
|
133
|
+
|
111
134
|
assert_equal "-uninstallApp -platform #{@platform} -appid #{@appid}", t.to_shell
|
112
135
|
|
136
|
+
# Uncomment to actually run adt (much slower)
|
113
137
|
#t.execute
|
114
138
|
#assert_file @expected_output
|
115
139
|
end
|
@@ -122,8 +146,10 @@ class ADTTest < Test::Unit::TestCase
|
|
122
146
|
t.platform = @platform
|
123
147
|
t.appid = @appid
|
124
148
|
end
|
149
|
+
|
125
150
|
assert_equal "-launchApp -platform #{@platform} -appid #{@appid}", t.to_shell
|
126
151
|
|
152
|
+
# Uncomment to actually run adt (much slower)
|
127
153
|
#t.execute
|
128
154
|
#assert_file @expected_output
|
129
155
|
end
|
@@ -138,8 +164,10 @@ class ADTTest < Test::Unit::TestCase
|
|
138
164
|
t.pfx_file = @certificate
|
139
165
|
t.password = @cert_password
|
140
166
|
end
|
167
|
+
|
141
168
|
assert_equal '-certificate -cn SelfCertificate 2048-RSA test/fixtures/air/simple/SomeProject.pfx samplePassword', t.to_shell
|
142
169
|
|
170
|
+
# Uncomment to actually run adt (much slower)
|
143
171
|
#t.execute
|
144
172
|
#assert_file @certificate
|
145
173
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flashsdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.34.pre
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-11 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sprout
|
16
|
-
requirement: &
|
16
|
+
requirement: &70277032577160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.1.15.pre
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70277032577160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: shoulda
|
27
|
-
requirement: &
|
27
|
+
requirement: &70277032576660 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70277032576660
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: mocha
|
38
|
-
requirement: &
|
38
|
+
requirement: &70277032576060 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70277032576060
|
47
47
|
description: The Flash SDK Rubygem is brought to you by Project Sprouts (http://projectsprouts.org)
|
48
48
|
email: projectsprouts@googlegroups.com
|
49
49
|
executables:
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- ext/OpenFlashPlayerForDumbassOSX.scpt
|
63
63
|
- flashsdk.gemspec
|
64
64
|
- Gemfile
|
65
|
+
- Gemfile.lock
|
65
66
|
- lib/flashplayer/errors.rb
|
66
67
|
- lib/flashplayer/executable.rb
|
67
68
|
- lib/flashplayer/log_file.rb
|
@@ -189,3 +190,4 @@ signing_key:
|
|
189
190
|
specification_version: 3
|
190
191
|
summary: Adobe Flash SDK including mxmlc, compc, asdoc, adl, adt, optimizer and fdb
|
191
192
|
test_files: []
|
193
|
+
has_rdoc:
|