flashsdk 1.0.15.pre → 1.0.17.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'sprout', '>= 1.1.3.pre'
3
+ gem 'sprout', '>= 1.1.4.pre'
4
4
 
5
5
  group :development do
6
6
  gem "shoulda"
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.2.pre)
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.2.pre)
24
+ sprout (>= 1.1.4.pre)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.15.pre
1
+ 1.0.17.pre
@@ -1,7 +1,7 @@
1
1
 
2
2
  module FlashPlayer
3
3
  NAME = 'flashplayer'
4
- VERSION = '10.1.82'
4
+ VERSION = '10.1.102'
5
5
 
6
6
  class << self
7
7
 
@@ -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 = "1f5e411f96817b56c99111a06f4c727f"
26
- t.add_executable :flashplayer, "1f5e411f96817b56c99111a06f4c727f.exe"
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 = "1c5ef8aeb1aa4a6cee7970d5c7ee9a55"
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 = "1efa254bc7d6e0c11a61984ae34bfaa7"
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 [String] Do not create a test case for this class.
55
- add_param :no_test, Boolean
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
- unless no_test
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
@@ -52,6 +52,7 @@ class MXMLCTest < Test::Unit::TestCase
52
52
  Sprout::Executable.expects(:load).with(:mxmlc).never
53
53
 
54
54
  mxmlc = FlashSDK::MXMLC.new
55
+ mxmlc.expects(:execute_with_fcsh)
55
56
  mxmlc.input = @input
56
57
  mxmlc.use_fcsh = true
57
58
  mxmlc.execute
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 15
8
+ - 17
9
9
  - pre
10
- version: 1.0.15.pre
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-29 00:00:00 -08:00
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
- - 3
31
+ - 4
32
32
  - pre
33
- version: 1.1.3.pre
33
+ version: 1.1.4.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: *id001