buildr-as3 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/buildr-as3.gemspec +1 -1
- data/lib/buildr/as3/test/flexunit4.rb +8 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/buildr-as3.gemspec
CHANGED
@@ -61,7 +61,13 @@ module Buildr
|
|
61
61
|
candidates = []
|
62
62
|
task.project.test.compile.sources.each do |source|
|
63
63
|
files = Dir["#{source}/**/*Test.as"] + Dir["#{source}/**/*Test.mxml"]
|
64
|
-
files.each { |item|
|
64
|
+
files.each { |item|
|
65
|
+
if File.dirname(item) == source
|
66
|
+
candidates << File.basename(item, '.*')
|
67
|
+
else
|
68
|
+
candidates << File.dirname(item).gsub!(source+"/", "").gsub!("/", ".")+"."+File.basename(item, '.*')
|
69
|
+
end
|
70
|
+
}
|
65
71
|
end
|
66
72
|
candidates
|
67
73
|
end
|
@@ -80,7 +86,7 @@ module Buildr
|
|
80
86
|
player = "air" if [:airmxmlc, :airompc].include?(task.project.compile.compiler) || options[:player] == "air"
|
81
87
|
player ||= "flash"
|
82
88
|
|
83
|
-
Buildr.ant("
|
89
|
+
Buildr.ant("flexunit4") do |ant|
|
84
90
|
|
85
91
|
ant.property :name => "FLEX_HOME",
|
86
92
|
:location=>task.project.compile.options[:flexsdk].home
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr-as3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dominic Graefen
|