sprout-as3-bundle 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- data/README +48 -0
- data/lib/sprout/as3.rb +5 -0
- data/lib/sprout/as3/version.rb +12 -0
- data/lib/sprout/as3_tasks.rb +7 -0
- data/lib/sprout/generators/class/USAGE +42 -0
- data/lib/sprout/generators/class/class_generator.rb +20 -0
- data/lib/sprout/generators/class/templates/Class.as +8 -0
- data/lib/sprout/generators/class/templates/Component.mxml +8 -0
- data/lib/sprout/generators/class/templates/TestCase.as +30 -0
- data/lib/sprout/generators/class/templates/TestSuite.as +18 -0
- data/lib/sprout/generators/project/project_generator.rb +26 -0
- data/lib/sprout/generators/project/templates/DefaultSkin.as +7 -0
- data/lib/sprout/generators/project/templates/MainClass.as +12 -0
- data/lib/sprout/generators/project/templates/ProjectSprouts.jpg +0 -0
- data/lib/sprout/generators/project/templates/README.txt +56 -0
- data/lib/sprout/generators/project/templates/TestRunner.as +15 -0
- data/lib/sprout/generators/project/templates/generate +21 -0
- data/lib/sprout/generators/project/templates/rakefile.rb +91 -0
- data/lib/sprout/generators/suite/USAGE +0 -0
- data/lib/sprout/generators/suite/suite_generator.rb +17 -0
- data/lib/sprout/generators/suite/templates/TestSuite.as +18 -0
- data/lib/sprout/generators/test/USAGE +37 -0
- data/lib/sprout/generators/test/templates/TestCase.as +30 -0
- data/lib/sprout/generators/test/templates/TestSuite.as +18 -0
- data/lib/sprout/generators/test/test_generator.rb +20 -0
- data/lib/sprout/tasks/asdoc_task.rb +39 -0
- data/lib/sprout/tasks/asunit_task.rb +44 -0
- data/lib/sprout/tasks/compc_doc.rb +508 -0
- data/lib/sprout/tasks/compc_task.rb +100 -0
- data/lib/sprout/tasks/fcsh_task.rb +13 -0
- data/lib/sprout/tasks/fdb_task.rb +0 -0
- data/lib/sprout/tasks/mxmlc_doc.rb +484 -0
- data/lib/sprout/tasks/mxmlc_task.rb +657 -0
- data/rakefile.rb +66 -0
- metadata +128 -0
data/rakefile.rb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'rake/gempackagetask'
|
2
|
+
require 'rake/clean'
|
3
|
+
require 'rake/testtask'
|
4
|
+
require 'lib/sprout/as3/version'
|
5
|
+
|
6
|
+
SPROUT_HOME = ENV['SPROUT_HOME']
|
7
|
+
PROJECT = 'sprout'
|
8
|
+
NAME = 'sprout-as3-bundle'
|
9
|
+
SUMMARY = 'Project and Code Generators for ActionScript 3 Development'
|
10
|
+
GEM_VERSION = Sprout::AS3::VERSION::STRING
|
11
|
+
AUTHOR = 'Pattern Park'
|
12
|
+
EMAIL = 'projectsprouts@googlegroups.com'
|
13
|
+
HOMEPAGE = 'http://www.projectsprouts.org'
|
14
|
+
DESCRIPTION = "Code Generation and Rake Tasks for ActionScript 3.0 Development"
|
15
|
+
HOMEPATH = "http://#{PROJECT}.rubyforge.org"
|
16
|
+
RELEASE_TYPES = ["gem"]
|
17
|
+
|
18
|
+
#########################
|
19
|
+
# This stuff needs to be before the PKG_LIST declaration
|
20
|
+
# so that generated tool_doc.rb files get included in the rubygem
|
21
|
+
require File.join(SPROUT_HOME, 'sprout/script/build_helpers')
|
22
|
+
$:.push(File.dirname(__FILE__) + '/lib')
|
23
|
+
require 'sprout/as3'
|
24
|
+
lib_dir = File.dirname(__FILE__) + '/lib'
|
25
|
+
|
26
|
+
add_tool(lib_dir + '/sprout/tasks/mxmlc_task.rb', Sprout::MXMLCTask)
|
27
|
+
add_tool(lib_dir + '/sprout/tasks/compc_task.rb', Sprout::COMPCTask)
|
28
|
+
#########################
|
29
|
+
|
30
|
+
PKG_LIST = FileList['[a-zA-Z]*',
|
31
|
+
'lib/**/*'
|
32
|
+
]
|
33
|
+
|
34
|
+
PKG_LIST.exclude('.svn')
|
35
|
+
PKG_LIST.exclude('artifacts')
|
36
|
+
PKG_LIST.each do |file|
|
37
|
+
task :package => file
|
38
|
+
end
|
39
|
+
|
40
|
+
spec = Gem::Specification.new do |s|
|
41
|
+
s.platform = Gem::Platform::RUBY
|
42
|
+
s.summary = SUMMARY
|
43
|
+
s.description = DESCRIPTION
|
44
|
+
s.name = NAME
|
45
|
+
s.version = GEM_VERSION
|
46
|
+
s.author = AUTHOR
|
47
|
+
s.email = EMAIL
|
48
|
+
s.homepage = HOMEPAGE
|
49
|
+
s.rubyforge_project = PROJECT
|
50
|
+
s.require_path = 'lib'
|
51
|
+
s.autorequire = 'sprout/as3'
|
52
|
+
s.has_rdoc = true
|
53
|
+
s.extra_rdoc_files = %w( README )
|
54
|
+
s.rdoc_options << '--main' << 'README'
|
55
|
+
s.rdoc_options << '--title' << DESCRIPTION
|
56
|
+
s.rdoc_options << '--line-numbers' << '--inline-source'
|
57
|
+
s.rdoc_options << '--charset' << 'utf-8'
|
58
|
+
s.rdoc_options << '-i' << '.'
|
59
|
+
s.files = PKG_LIST.to_a
|
60
|
+
|
61
|
+
s.add_dependency('sprout', '>= 0.7.1')
|
62
|
+
s.add_dependency('sprout-flashplayer-bundle')
|
63
|
+
end
|
64
|
+
|
65
|
+
Rake::GemPackageTask.new(spec) do |p|
|
66
|
+
end
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sprout-as3-bundle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.27
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pattern Park
|
8
|
+
autorequire: sprout/as3
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-09 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: sprout
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.7.1
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: sprout-flashplayer-bundle
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: "0"
|
32
|
+
version:
|
33
|
+
description: Code Generation and Rake Tasks for ActionScript 3.0 Development
|
34
|
+
email: projectsprouts@googlegroups.com
|
35
|
+
executables: []
|
36
|
+
|
37
|
+
extensions: []
|
38
|
+
|
39
|
+
extra_rdoc_files:
|
40
|
+
- README
|
41
|
+
files:
|
42
|
+
- lib
|
43
|
+
- rakefile.rb
|
44
|
+
- README
|
45
|
+
- samples
|
46
|
+
- test
|
47
|
+
- lib/sprout
|
48
|
+
- lib/sprout/as3
|
49
|
+
- lib/sprout/as3/version.rb
|
50
|
+
- lib/sprout/as3.rb
|
51
|
+
- lib/sprout/as3_tasks.rb
|
52
|
+
- lib/sprout/generators
|
53
|
+
- lib/sprout/generators/class
|
54
|
+
- lib/sprout/generators/class/class_generator.rb
|
55
|
+
- lib/sprout/generators/class/templates
|
56
|
+
- lib/sprout/generators/class/templates/Class.as
|
57
|
+
- lib/sprout/generators/class/templates/Component.mxml
|
58
|
+
- lib/sprout/generators/class/templates/TestCase.as
|
59
|
+
- lib/sprout/generators/class/templates/TestSuite.as
|
60
|
+
- lib/sprout/generators/class/USAGE
|
61
|
+
- lib/sprout/generators/component
|
62
|
+
- lib/sprout/generators/project
|
63
|
+
- lib/sprout/generators/project/project_generator.rb
|
64
|
+
- lib/sprout/generators/project/templates
|
65
|
+
- lib/sprout/generators/project/templates/DefaultSkin.as
|
66
|
+
- lib/sprout/generators/project/templates/generate
|
67
|
+
- lib/sprout/generators/project/templates/MainClass.as
|
68
|
+
- lib/sprout/generators/project/templates/ProjectSprouts.jpg
|
69
|
+
- lib/sprout/generators/project/templates/rakefile.rb
|
70
|
+
- lib/sprout/generators/project/templates/README.txt
|
71
|
+
- lib/sprout/generators/project/templates/TestRunner.as
|
72
|
+
- lib/sprout/generators/suite
|
73
|
+
- lib/sprout/generators/suite/suite_generator.rb
|
74
|
+
- lib/sprout/generators/suite/templates
|
75
|
+
- lib/sprout/generators/suite/templates/TestSuite.as
|
76
|
+
- lib/sprout/generators/suite/USAGE
|
77
|
+
- lib/sprout/generators/test
|
78
|
+
- lib/sprout/generators/test/templates
|
79
|
+
- lib/sprout/generators/test/templates/TestCase.as
|
80
|
+
- lib/sprout/generators/test/templates/TestSuite.as
|
81
|
+
- lib/sprout/generators/test/test_generator.rb
|
82
|
+
- lib/sprout/generators/test/USAGE
|
83
|
+
- lib/sprout/tasks
|
84
|
+
- lib/sprout/tasks/asdoc_task.rb
|
85
|
+
- lib/sprout/tasks/asunit_task.rb
|
86
|
+
- lib/sprout/tasks/compc_doc.rb
|
87
|
+
- lib/sprout/tasks/compc_task.rb
|
88
|
+
- lib/sprout/tasks/fcsh_task.rb
|
89
|
+
- lib/sprout/tasks/fdb_task.rb
|
90
|
+
- lib/sprout/tasks/mxmlc_doc.rb
|
91
|
+
- lib/sprout/tasks/mxmlc_task.rb
|
92
|
+
has_rdoc: true
|
93
|
+
homepage: http://www.projectsprouts.org
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options:
|
96
|
+
- --main
|
97
|
+
- README
|
98
|
+
- --title
|
99
|
+
- Code Generation and Rake Tasks for ActionScript 3.0 Development
|
100
|
+
- --line-numbers
|
101
|
+
- --inline-source
|
102
|
+
- --charset
|
103
|
+
- utf-8
|
104
|
+
- -i
|
105
|
+
- .
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: "0"
|
113
|
+
version:
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: "0"
|
119
|
+
version:
|
120
|
+
requirements: []
|
121
|
+
|
122
|
+
rubyforge_project: sprout
|
123
|
+
rubygems_version: 1.0.1
|
124
|
+
signing_key:
|
125
|
+
specification_version: 2
|
126
|
+
summary: Project and Code Generators for ActionScript 3 Development
|
127
|
+
test_files: []
|
128
|
+
|