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 CHANGED
@@ -3,7 +3,7 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
 
6
- gem "gator", "~> 0.0.17.pre"
6
+ gem "gator", "~> 0.0.20.pre"
7
7
 
8
8
  # Add dependencies to develop your gem here.
9
9
  # Include everything needed to run rake, tests, features, etc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6.pre
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.6.pre"
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-14}
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.17.pre"])
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.17.pre"])
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.17.pre"])
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
- [Test]
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
  }
@@ -38,6 +38,10 @@ module Gator
38
38
  def class_name
39
39
  @class_name
40
40
  end
41
+
42
+ def instance_name
43
+ @class_name.chomp("Test")
44
+ end
41
45
 
42
46
  }
43
47
 
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.6.pre
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-14 00:00:00.000000000 +02:00
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: &2153227520 !ruby/object:Gem::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.17.pre
22
+ version: 0.0.20.pre
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2153227520
25
+ version_requirements: *2153401480
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &2153226940 !ruby/object:Gem::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: *2153226940
36
+ version_requirements: *2153400920
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: ci_reporter
39
- requirement: &2153226360 !ruby/object:Gem::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: *2153226360
47
+ version_requirements: *2153400400
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: bundler
50
- requirement: &2153225780 !ruby/object:Gem::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: *2153225780
58
+ version_requirements: *2153399880
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: jeweler
61
- requirement: &2153225240 !ruby/object:Gem::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: *2153225240
69
+ version_requirements: *2153399340
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rcov
72
- requirement: &2153224600 !ruby/object:Gem::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: *2153224600
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: 4158624673365847696
128
+ hash: 1267334150696199532
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements: