flashsdk 1.0.12.pre → 1.0.13.pre

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'sprout', '>= 1.0.26.pre'
3
+ gem 'sprout', '>= 1.0.31.pre'
4
4
 
5
5
  group :development do
6
6
  gem "shoulda"
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.28.pre)
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.pre)
26
+ sprout (>= 1.0.31.pre)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.12.pre
1
+ 1.0.13.pre
@@ -1,6 +1,7 @@
1
1
 
2
2
  module FlashPlayer
3
3
  NAME = 'flashplayer'
4
+ VERSION = '10.1.82'
4
5
 
5
6
  class << self
6
7
 
@@ -2,31 +2,40 @@ require 'flashsdk'
2
2
 
3
3
  Sprout::Specification.new do |s|
4
4
  s.name = FlashPlayer::NAME
5
- s.version = FlashSDK::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 = "ff6824b7fd676dd1b613204221f5b5b9"
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 = "6cabe6038343374b547043d29de14417"
37
+ t.md5 = "1efa254bc7d6e0c11a61984ae34bfaa7"
28
38
  t.add_executable :flashplayer, "flashplayerdebugger"
29
39
  end
30
-
31
40
  end
32
41
 
@@ -10,7 +10,7 @@ module Sprout
10
10
 
11
11
  def open_flashplayer_with exe, swf
12
12
  return Thread.new {
13
- system exe, swf
13
+ execute exe, swf
14
14
  }
15
15
  end
16
16
  end
@@ -20,7 +20,7 @@ module FlashPlayer
20
20
  @input = task_name
21
21
 
22
22
  @pkg_name = FlashPlayer::NAME
23
- @pkg_version = FlashSDK::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
- swf = clean_path swf
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
@@ -101,7 +101,7 @@ module FlashSDK
101
101
  end
102
102
 
103
103
  def input_in_parts
104
- provided_input = input
104
+ provided_input = input.dup
105
105
  if provided_input.include?('/')
106
106
  provided_input.gsub! /^#{src}\//, ''
107
107
  provided_input = provided_input.split('/').join('.')
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 = FlashSDK::VERSION
4
+ s.version = '4.1.0.16076'
5
5
 
6
6
  s.add_remote_file_target do |t|
7
- # Apply the windows-specific configuration:
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
@@ -1,6 +1,9 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
3
 
4
+ test_package = File.join(File.dirname(__FILE__), 'test', 'unit')
5
+ $: << test_package unless $:.include? test_package
6
+
4
7
  Bundler.require
5
8
 
6
9
  require 'rake'
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class ADLTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class ADTTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class AMXMLCTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), "test_helper")
1
+ require 'test_helper'
2
2
 
3
3
  class ClassGeneratorTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class COMPCTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class FlashHelperTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class LogFileTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class MMConfigTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class FlashPlayerTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
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
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require 'test_helper'
2
2
 
3
3
  class TrustTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), "test_helper")
1
+ require 'test_helper'
2
2
 
3
3
  class FlexGeneratorTest < Test::Unit::TestCase
4
4
  include SproutTestCase
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
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
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), "test_helper")
1
+ require 'test_helper'
2
2
 
3
3
  class ProjectGeneratorTest < Test::Unit::TestCase
4
4
  include SproutTestCase
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
- - 12
8
+ - 13
10
9
  - pre
11
- version: 1.0.12.pre
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-09 00:00:00 -07:00
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
- - 26
31
+ - 31
34
32
  - pre
35
- version: 1.0.26.pre
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
Binary file