sprout-as3-bundle 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Sprout # :nodoc:
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
@@ -16,7 +16,7 @@ class ProjectGenerator < Sprout::Generator::NamedBase # :nodoc:
16
16
  m.template 'rakefile.rb', File.join(base, "rakefile.rb")
17
17
  m.template 'README.txt', File.join(base, "README.txt")
18
18
 
19
- m.template 'generate', File.join(base, 'script', "generate"), :chmod => 0755
19
+ m.template 'generate', generate_script_path, :chmod => 0755
20
20
  m.template 'DefaultSkin.as', File.join(base, 'assets/skins', project_name + "Skin.as")
21
21
 
22
22
  m.template 'MainClass.as', File.join(base, 'src', "#{class_name}.as")
@@ -21,7 +21,7 @@ project_model :model do |m|
21
21
  # m.compiler_gem_name = 'sprout-flex4sdk-tool'
22
22
  # m.compiler_gem_version = '>= 4.0.0'
23
23
  # m.source_path << "#{m.lib_dir}/somelib"
24
- # m.libraries << :corelib
24
+ # m.libraries << :corelib
25
25
  end
26
26
 
27
27
  desc 'Compile and run the application for debugging'
@@ -31,13 +31,14 @@ desc 'Compile and run the test harness'
31
31
  unit :test
32
32
 
33
33
  desc 'Compile for deployment'
34
- deploy :deploy => :doc
34
+ deploy :deploy
35
35
 
36
36
  desc 'Generate documentation'
37
37
  document :doc
38
38
 
39
- desc "Generate Flex Builder project files"
40
- flex_builder :project
41
-
42
39
  # set up the default rake task
43
40
  task :default => :debug
41
+
42
+ # Coming Soon....
43
+ #desc "Generate Flex Builder projects"
44
+ #flex_builder :project
@@ -4,12 +4,13 @@ module Sprout # :nodoc:
4
4
 
5
5
  def initialize(args, &block)
6
6
  super
7
+ outer = define_outer_task
8
+
7
9
  asdoc output => input do |t|
8
10
  t.output = 'doc'
9
11
  yield t if block_given?
10
12
  end
11
13
 
12
- outer = define_outer_task
13
14
  outer.prerequisites << output
14
15
  end
15
16
 
@@ -6,6 +6,7 @@ module Sprout
6
6
 
7
7
  def initialize(args, &block)
8
8
  super
9
+ outer_task = task args => [PROJECT, ACTION_SCRIPT_PROPERTIES]
9
10
 
10
11
  t = file PROJECT do |t|
11
12
  File.open(t.name, 'w') do |file|
@@ -20,8 +21,8 @@ module Sprout
20
21
  end
21
22
  end
22
23
  configure_action_script_properties t
23
-
24
- task args => [PROJECT, ACTION_SCRIPT_PROPERTIES]
24
+
25
+ return outer_task
25
26
  end
26
27
 
27
28
  def configure_project_task(project_task)
data/rakefile.rb CHANGED
@@ -63,7 +63,7 @@ spec = Gem::Specification.new do |s|
63
63
  s.rdoc_options << '-i' << '.'
64
64
  s.files = PKG_LIST.to_a
65
65
 
66
- s.add_dependency('sprout', '>= 0.7.180')
66
+ s.add_dependency('sprout', '>= 0.7.182')
67
67
  s.add_dependency('sprout-flashplayer-bundle', '>= 9.124.0')
68
68
  end
69
69
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout-as3-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pattern Park
@@ -9,7 +9,7 @@ autorequire: sprout/as3
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-16 00:00:00 -07:00
12
+ date: 2008-05-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.7.180
22
+ version: 0.7.182
23
23
  version:
24
24
  - !ruby/object:Gem::Dependency
25
25
  name: sprout-flashplayer-bundle