gator-as3 0.0.5.pre → 0.0.6.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.14.pre"
6
+ gem "gator", "~> 0.0.17.pre"
7
7
 
8
8
  # Add dependencies to develop your gem here.
9
9
  # Include everything needed to run rake, tests, features, etc.
@@ -16,4 +16,3 @@ Description goes here.
16
16
 
17
17
  Copyright (c) 2011 devboy. See LICENSE.txt for
18
18
  further details.
19
-
data/Rakefile CHANGED
@@ -44,15 +44,7 @@ end
44
44
  task :test => :spec
45
45
  task :default => :spec
46
46
 
47
- #require 'rcov/rcovtask'
48
- #Rcov::RcovTask.new do |test|
49
- # test.libs << 'test'
50
- # test.pattern = 'test/**/test_*.rb'
51
- # test.verbose = true
52
- # test.rcov_opts << '--exclude "gems/*"'
53
- #end
54
-
55
- require 'rake/rdoctask'
47
+ require 'rdoc/task'
56
48
  Rake::RDocTask.new do |rdoc|
57
49
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
58
50
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5.pre
1
+ 0.0.6.pre
@@ -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.5.pre"
8
+ s.version = "0.0.6.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-07-10}
12
+ s.date = %q{2011-08-14}
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 = [
@@ -37,6 +37,8 @@ Gem::Specification.new do |s|
37
37
  "lib/gator/as3/generators/test/flexunit4/collection.rb",
38
38
  "lib/gator/as3/generators/test/flexunit4/klass.as.tt",
39
39
  "lib/gator/as3/generators/test/flexunit4/klass.rb",
40
+ "spec/generators/collection_spec.rb",
41
+ "spec/generators/klass_spec.rb",
40
42
  "spec/spec_helper.rb"
41
43
  ]
42
44
  s.homepage = %q{http://github.com/devboy/gator-as3}
@@ -49,14 +51,14 @@ Gem::Specification.new do |s|
49
51
  s.specification_version = 3
50
52
 
51
53
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
- s.add_runtime_dependency(%q<gator>, ["~> 0.0.14.pre"])
54
+ s.add_runtime_dependency(%q<gator>, ["~> 0.0.17.pre"])
53
55
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
54
56
  s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.5"])
55
57
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
56
58
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
57
59
  s.add_development_dependency(%q<rcov>, [">= 0"])
58
60
  else
59
- s.add_dependency(%q<gator>, ["~> 0.0.14.pre"])
61
+ s.add_dependency(%q<gator>, ["~> 0.0.17.pre"])
60
62
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
61
63
  s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
62
64
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
@@ -64,7 +66,7 @@ Gem::Specification.new do |s|
64
66
  s.add_dependency(%q<rcov>, [">= 0"])
65
67
  end
66
68
  else
67
- s.add_dependency(%q<gator>, ["~> 0.0.14.pre"])
69
+ s.add_dependency(%q<gator>, ["~> 0.0.17.pre"])
68
70
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
69
71
  s.add_dependency(%q<ci_reporter>, ["~> 1.6.5"])
70
72
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
@@ -23,7 +23,8 @@ module Gator
23
23
 
24
24
  def generate_test
25
25
  return unless options[:test]
26
- invoke parent.get_subcommand("test", "klass")
26
+ p resolve_subcommand(["test", "klass"])
27
+ invoke resolve_subcommand(["test", "klass"])
27
28
  end
28
29
 
29
30
  no_tasks {
@@ -26,7 +26,7 @@ module Gator
26
26
 
27
27
  def generate_implementation
28
28
  return unless options[:impl]
29
- invoke parent.parent.get_subcommand("klass")
29
+ invoke resolve_subcommand(["as3","klass"])
30
30
  end
31
31
 
32
32
  no_tasks {
@@ -26,7 +26,7 @@ module Gator
26
26
 
27
27
  def generate_implementation
28
28
  return unless options[:impl]
29
- invoke parent.parent.get_subcommand("klass")
29
+ invoke parent.parent.resolve_subcommand(["as3","klass"])
30
30
  end
31
31
 
32
32
  no_tasks {
@@ -0,0 +1,11 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ describe Gator::AS3::GeneratorCollection do
4
+ it "should have some tests"
5
+ end
6
+
7
+ describe "fakeTest" do
8
+ it "fake" do
9
+ 1.should == 1
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ describe Gator::AS3::ClassGenerator do
4
+ it "should have some tests"
5
+ end
@@ -1,11 +1,13 @@
1
1
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
  $LOAD_PATH.unshift(File.dirname(__FILE__))
3
3
  require 'rspec'
4
- require 'gator-as3'
4
+ require 'thor'
5
+ require 'gator'
6
+ require File.dirname(__FILE__) + '/../lib/gator/as3/generators'
5
7
 
6
8
  # Requires supporting files with custom matchers and macros, etc,
7
9
  # in ./support/ and its subdirectories.
8
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f }
9
11
 
10
12
  RSpec.configure do |config|
11
13
 
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.5.pre
4
+ version: 0.0.6.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-07-10 00:00:00.000000000 +02:00
12
+ date: 2011-08-14 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: &2156217120 !ruby/object:Gem::Requirement
17
+ requirement: &2153227520 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 0.0.14.pre
22
+ version: 0.0.17.pre
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156217120
25
+ version_requirements: *2153227520
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &2156214280 !ruby/object:Gem::Requirement
28
+ requirement: &2153226940 !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: *2156214280
36
+ version_requirements: *2153226940
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: ci_reporter
39
- requirement: &2156212020 !ruby/object:Gem::Requirement
39
+ requirement: &2153226360 !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: *2156212020
47
+ version_requirements: *2153226360
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: bundler
50
- requirement: &2156207740 !ruby/object:Gem::Requirement
50
+ requirement: &2153225780 !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: *2156207740
58
+ version_requirements: *2153225780
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: jeweler
61
- requirement: &2156204400 !ruby/object:Gem::Requirement
61
+ requirement: &2153225240 !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: *2156204400
69
+ version_requirements: *2153225240
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rcov
72
- requirement: &2156202620 !ruby/object:Gem::Requirement
72
+ requirement: &2153224600 !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: *2156202620
80
+ version_requirements: *2153224600
81
81
  description: gator-as3 - ActionScript3 & MXML generators for gator
82
82
  email: dominic.graefen@gmail.com
83
83
  executables: []
@@ -106,6 +106,8 @@ files:
106
106
  - lib/gator/as3/generators/test/flexunit4/collection.rb
107
107
  - lib/gator/as3/generators/test/flexunit4/klass.as.tt
108
108
  - lib/gator/as3/generators/test/flexunit4/klass.rb
109
+ - spec/generators/collection_spec.rb
110
+ - spec/generators/klass_spec.rb
109
111
  - spec/spec_helper.rb
110
112
  has_rdoc: true
111
113
  homepage: http://github.com/devboy/gator-as3
@@ -123,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
125
  version: '0'
124
126
  segments:
125
127
  - 0
126
- hash: -1471554125132173578
128
+ hash: 4158624673365847696
127
129
  required_rubygems_version: !ruby/object:Gem::Requirement
128
130
  none: false
129
131
  requirements: