sprout-mxml-bundle 0.1.11 → 0.1.13
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/lib/sprout/generators/project/project_generator.rb +1 -0
- data/lib/sprout/generators/project/templates/README.txt +5 -2
- data/lib/sprout/generators/project/templates/XMLRunner.mxml +26 -0
- data/lib/sprout/generators/project/templates/rakefile.rb +3 -0
- data/lib/sprout/mxml/version.rb +1 -1
- metadata +7 -11
@@ -22,6 +22,7 @@ class ProjectGenerator < Sprout::Generator::NamedBase # :nodoc:
|
|
22
22
|
m.template 'MainStyle.css', File.join(base, 'src', "#{class_name}Skin.css")
|
23
23
|
m.template 'MainClass.mxml', File.join(base, 'src', "#{class_name}.mxml")
|
24
24
|
m.template 'TestRunner.mxml', File.join(base, 'src', "#{class_name}Runner.mxml")
|
25
|
+
m.template 'XMLRunner.mxml', File.join(base, 'src', "#{class_name}XMLRunner.mxml")
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
@@ -1,14 +1,17 @@
|
|
1
1
|
|
2
2
|
########################################
|
3
3
|
This project was generated using Sprouts
|
4
|
-
http://
|
4
|
+
http://projectsprouts.org
|
5
5
|
|
6
6
|
Please report any bugs to:
|
7
|
-
http://
|
7
|
+
http://github.com/lukebayes/project-sprouts/issues
|
8
8
|
|
9
9
|
Please feel free to ask questions at:
|
10
10
|
http://groups.google.com/group/projectsprouts
|
11
11
|
|
12
|
+
Read the RDOCs at:
|
13
|
+
http://projectsprouts.org/rdoc
|
14
|
+
|
12
15
|
########################################
|
13
16
|
Using your favorite terminal, cd to this directory have fun!
|
14
17
|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<FlexRunner
|
3
|
+
xmlns="asunit.textui.*"
|
4
|
+
xmlns:mx="http://www.adobe.com/2006/mxml"
|
5
|
+
creationComplete="runTests()"
|
6
|
+
>
|
7
|
+
<!-- Import Application Styles -->
|
8
|
+
<mx:Style source="<%= project_name %>Skin.css" />
|
9
|
+
<mx:Script>
|
10
|
+
<![CDATA[
|
11
|
+
import asunit.textui.TestRunner;
|
12
|
+
import asunit.textui.XMLResultPrinter;
|
13
|
+
|
14
|
+
private function runTests():void {
|
15
|
+
|
16
|
+
// start(clazz:Class, methodName:String, showTrace:Boolean)
|
17
|
+
// NOTE: sending a particular class and method name will
|
18
|
+
// execute setUp(), the method and NOT tearDown.
|
19
|
+
// This allows you to get visual confirmation while developing
|
20
|
+
// visual entities
|
21
|
+
runner.setPrinter(new XMLResultPrinter());
|
22
|
+
start(AllTests, null, TestRunner.SHOW_TRACE);
|
23
|
+
}
|
24
|
+
]]>
|
25
|
+
</mx:Script>
|
26
|
+
</FlexRunner>
|
data/lib/sprout/mxml/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprout-mxml-bundle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pattern Park
|
@@ -9,7 +9,7 @@ autorequire: sprout/mxml
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-08-22 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -41,15 +41,9 @@ extensions: []
|
|
41
41
|
extra_rdoc_files:
|
42
42
|
- README
|
43
43
|
files:
|
44
|
-
- lib
|
45
44
|
- rakefile.rb
|
46
45
|
- README
|
47
|
-
- test
|
48
|
-
- lib/sprout
|
49
|
-
- lib/sprout/generators
|
50
|
-
- lib/sprout/generators/project
|
51
46
|
- lib/sprout/generators/project/project_generator.rb
|
52
|
-
- lib/sprout/generators/project/templates
|
53
47
|
- lib/sprout/generators/project/templates/generate
|
54
48
|
- lib/sprout/generators/project/templates/MainClass.mxml
|
55
49
|
- lib/sprout/generators/project/templates/MainStyle.css
|
@@ -57,11 +51,13 @@ files:
|
|
57
51
|
- lib/sprout/generators/project/templates/rakefile.rb
|
58
52
|
- lib/sprout/generators/project/templates/README.txt
|
59
53
|
- lib/sprout/generators/project/templates/TestRunner.mxml
|
60
|
-
- lib/sprout/mxml
|
54
|
+
- lib/sprout/generators/project/templates/XMLRunner.mxml
|
61
55
|
- lib/sprout/mxml/version.rb
|
62
56
|
- lib/sprout/mxml.rb
|
63
57
|
has_rdoc: true
|
64
58
|
homepage: http://www.projectsprouts.org
|
59
|
+
licenses: []
|
60
|
+
|
65
61
|
post_install_message:
|
66
62
|
rdoc_options:
|
67
63
|
- --main
|
@@ -91,9 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
87
|
requirements: []
|
92
88
|
|
93
89
|
rubyforge_project: sprout
|
94
|
-
rubygems_version: 1.
|
90
|
+
rubygems_version: 1.3.5
|
95
91
|
signing_key:
|
96
|
-
specification_version:
|
92
|
+
specification_version: 3
|
97
93
|
summary: Project and Code Generators for Flex Development
|
98
94
|
test_files: []
|
99
95
|
|