gator-as3 0.0.6.pre → 0.0.7.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/gator-as3.gemspec +5 -5
- data/lib/gator/as3/generators/test/asunit4/klass.as.tt +25 -4
- data/lib/gator/as3/generators/test/asunit4/klass.rb +4 -0
- metadata +16 -16
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7.pre
|
data/gator-as3.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{gator-as3}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.7.pre"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dominic Graefen"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-16}
|
13
13
|
s.description = %q{gator-as3 - ActionScript3 & MXML generators for gator}
|
14
14
|
s.email = %q{dominic.graefen@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -51,14 +51,14 @@ Gem::Specification.new do |s|
|
|
51
51
|
s.specification_version = 3
|
52
52
|
|
53
53
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
-
s.add_runtime_dependency(%q<gator>, ["~> 0.0.
|
54
|
+
s.add_runtime_dependency(%q<gator>, ["~> 0.0.20.pre"])
|
55
55
|
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
56
56
|
s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
57
57
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
58
58
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
59
59
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
60
60
|
else
|
61
|
-
s.add_dependency(%q<gator>, ["~> 0.0.
|
61
|
+
s.add_dependency(%q<gator>, ["~> 0.0.20.pre"])
|
62
62
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
63
63
|
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
64
64
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
@@ -66,7 +66,7 @@ Gem::Specification.new do |s|
|
|
66
66
|
s.add_dependency(%q<rcov>, [">= 0"])
|
67
67
|
end
|
68
68
|
else
|
69
|
-
s.add_dependency(%q<gator>, ["~> 0.0.
|
69
|
+
s.add_dependency(%q<gator>, ["~> 0.0.20.pre"])
|
70
70
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
71
71
|
s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
|
72
72
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
@@ -1,12 +1,33 @@
|
|
1
1
|
package <%= package_name %>
|
2
2
|
{
|
3
|
+
import asunit.asserts.*;
|
3
4
|
|
4
5
|
public class <%= class_name %>
|
5
6
|
{
|
6
|
-
|
7
|
-
public function testSomething():void
|
8
|
-
{
|
9
|
-
}
|
7
|
+
private var instance:<%= instance_name %>;
|
10
8
|
|
9
|
+
[Before]
|
10
|
+
public function setUp():void
|
11
|
+
{
|
12
|
+
instance=new <%= instance_name %>();
|
13
|
+
}
|
14
|
+
|
15
|
+
[After]
|
16
|
+
public function tearDown():void
|
17
|
+
{
|
18
|
+
instance=null;
|
19
|
+
}
|
20
|
+
|
21
|
+
[Test]
|
22
|
+
public function should_be_instantiated():void
|
23
|
+
{
|
24
|
+
assertTrue(instance is <%= instance_name %>);
|
25
|
+
}
|
26
|
+
|
27
|
+
[Test]
|
28
|
+
public function should_fail():void
|
29
|
+
{
|
30
|
+
assertTrue(false);
|
31
|
+
}
|
11
32
|
}
|
12
33
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gator-as3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7.pre
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,23 +9,23 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-08-
|
12
|
+
date: 2011-08-16 00:00:00.000000000 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gator
|
17
|
-
requirement: &
|
17
|
+
requirement: &2153401480 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.0.
|
22
|
+
version: 0.0.20.pre
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2153401480
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rspec
|
28
|
-
requirement: &
|
28
|
+
requirement: &2153400920 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 2.3.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2153400920
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: ci_reporter
|
39
|
-
requirement: &
|
39
|
+
requirement: &2153400400 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 1.6.5
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2153400400
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: bundler
|
50
|
-
requirement: &
|
50
|
+
requirement: &2153399880 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 1.0.0
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2153399880
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: jeweler
|
61
|
-
requirement: &
|
61
|
+
requirement: &2153399340 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 1.6.2
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2153399340
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rcov
|
72
|
-
requirement: &
|
72
|
+
requirement: &2153398800 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
@@ -77,7 +77,7 @@ dependencies:
|
|
77
77
|
version: '0'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2153398800
|
81
81
|
description: gator-as3 - ActionScript3 & MXML generators for gator
|
82
82
|
email: dominic.graefen@gmail.com
|
83
83
|
executables: []
|
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: 1267334150696199532
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|