buildr-as3 0.2.9 → 0.2.10
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/VERSION +1 -1
- data/buildr-as3.gemspec +2 -2
- data/lib/buildr/as3/compiler/base.rb +1 -0
- data/lib/buildr/as3/toolkits/apparat.rb +6 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.10
|
data/buildr-as3.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{buildr-as3}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.10"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Dominic Graefen"]
|
|
12
|
-
s.date = %q{2011-05-
|
|
12
|
+
s.date = %q{2011-05-31}
|
|
13
13
|
s.default_executable = %q{buildr-as3}
|
|
14
14
|
s.description = %q{Build like you code - now supporting ActionScript 3 & Flex}
|
|
15
15
|
s.email = %q{dominic @nospam@ devboy.org}
|
|
@@ -102,14 +102,18 @@ module Buildr
|
|
|
102
102
|
cmd_args << "#{apparat_tk.reducer}"
|
|
103
103
|
cmd_args << "-i #{output}"
|
|
104
104
|
cmd_args << "-o #{output}"
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
reserved = []
|
|
106
|
+
options.to_hash.reject { |key, value| reserved.include?(key) }.
|
|
107
|
+
each do |key, value|
|
|
108
|
+
cmd_args << "-#{key} #{value}"
|
|
109
|
+
end
|
|
107
110
|
call_system(cmd_args)
|
|
108
111
|
end
|
|
109
112
|
|
|
110
113
|
private
|
|
111
114
|
|
|
112
115
|
def call_system(args)
|
|
116
|
+
trace("Calling APPARAT: " + args.join(" "))
|
|
113
117
|
unless system(args.join(" "))
|
|
114
118
|
puts "Failed to execute apparat:\n#{args.join(" ")}"
|
|
115
119
|
end
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: buildr-as3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.10
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Dominic Graefen
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-05-
|
|
13
|
+
date: 2011-05-31 00:00:00 +02:00
|
|
14
14
|
default_executable: buildr-as3
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
129
129
|
requirements:
|
|
130
130
|
- - ">="
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
|
-
hash:
|
|
132
|
+
hash: 2627281418253404299
|
|
133
133
|
segments:
|
|
134
134
|
- 0
|
|
135
135
|
version: "0"
|