flashsdk 1.0.15.pre → 1.0.17.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/lib/flashplayer/module.rb +1 -1
- data/lib/flashplayer/specification.rb +4 -4
- data/lib/flashsdk/generators/class_generator.rb +3 -3
- data/test/unit/class_generator_test.rb +7 -0
- data/test/unit/mxmlc_test.rb +1 -0
- metadata +5 -5
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ GEM
|
|
8
8
|
rake (0.8.7)
|
9
9
|
rubyzip (0.9.4)
|
10
10
|
shoulda (2.11.3)
|
11
|
-
sprout (1.1.
|
11
|
+
sprout (1.1.4.pre)
|
12
12
|
archive-tar-minitar (= 0.5.2)
|
13
13
|
bundler (>= 0.9.19)
|
14
14
|
open4 (>= 0.9.6)
|
@@ -21,4 +21,4 @@ PLATFORMS
|
|
21
21
|
DEPENDENCIES
|
22
22
|
mocha
|
23
23
|
shoulda
|
24
|
-
sprout (>= 1.1.
|
24
|
+
sprout (>= 1.1.4.pre)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.17.pre
|
data/lib/flashplayer/module.rb
CHANGED
@@ -22,15 +22,15 @@
|
|
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 = "
|
26
|
-
t.add_executable :flashplayer, "
|
25
|
+
t.md5 = "5f7f4c4246784745b0e1b5593e9bc60f"
|
26
|
+
t.add_executable :flashplayer, "5f7f4c4246784745b0e1b5593e9bc60f.exe"
|
27
27
|
end
|
28
28
|
|
29
29
|
s.add_remote_file_target do |t|
|
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 = "f753a8538f5f41db838fc81cdc994a64"
|
34
34
|
t.add_executable :flashplayer, "Flash Player Debugger.app"
|
35
35
|
end
|
36
36
|
|
@@ -38,7 +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 = "051a2d6460419c78f66ec6e9e4ff4cc8"
|
42
42
|
t.add_executable :flashplayer, "flashplayerdebugger"
|
43
43
|
end
|
44
44
|
end
|
@@ -51,8 +51,8 @@ module FlashSDK
|
|
51
51
|
add_param :src, String, { :default => 'src' }
|
52
52
|
|
53
53
|
##
|
54
|
-
# @return [
|
55
|
-
add_param :
|
54
|
+
# @return [Boolean] Call the TestClassGenerator after creating class.
|
55
|
+
add_param :test_class, Boolean, { :default => true }
|
56
56
|
|
57
57
|
def manifest
|
58
58
|
if(!input.match(/Test$/))
|
@@ -61,7 +61,7 @@ module FlashSDK
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
|
64
|
+
if test_class
|
65
65
|
generator :test_class, :input => "#{fully_qualified_class_name}Test"
|
66
66
|
end
|
67
67
|
end
|
@@ -43,6 +43,13 @@ class ClassGeneratorTest < Test::Unit::TestCase
|
|
43
43
|
@generator.execute
|
44
44
|
assert_file File.join(@temp, 'src', 'utils', 'MathUtil.as')
|
45
45
|
end
|
46
|
+
|
47
|
+
should "not call TestGenerator when no_test" do
|
48
|
+
FlashSDK::TestClassGenerator.any_instance.expects(:manifest).never
|
49
|
+
@generator.input = 'utils.MathUtil'
|
50
|
+
@generator.test_class = false
|
51
|
+
@generator.execute
|
52
|
+
end
|
46
53
|
end
|
47
54
|
|
48
55
|
end
|
data/test/unit/mxmlc_test.rb
CHANGED
metadata
CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 17
|
9
9
|
- pre
|
10
|
-
version: 1.0.
|
10
|
+
version: 1.0.17.pre
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luke Bayes
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-31 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -28,9 +28,9 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 1
|
30
30
|
- 1
|
31
|
-
-
|
31
|
+
- 4
|
32
32
|
- pre
|
33
|
-
version: 1.1.
|
33
|
+
version: 1.1.4.pre
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: *id001
|