sprout 0.7.245-x86-darwin-10 → 0.7.246-x86-darwin-10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprout might be problematic. Click here for more details.
@@ -44,7 +44,7 @@ module Sprout
|
|
44
44
|
# not require the user to send in a class name....
|
45
45
|
#usage("Final argument must be a name parameter") if runtime_args.empty?
|
46
46
|
@args = runtime_args.dup
|
47
|
-
assign_names! @args.shift
|
47
|
+
assign_names! @args.shift.dup
|
48
48
|
end
|
49
49
|
|
50
50
|
# Quick access to the source directory identified by your project model
|
@@ -37,7 +37,6 @@ module Sprout
|
|
37
37
|
response = nil
|
38
38
|
name = uri.path.split("/").pop
|
39
39
|
|
40
|
-
raise RemoteFileLoaderError.new("The RemoteFileTask failed for #{name}. We can only handle HTTP requests at this time, it seems you were trying: '#{uri.scheme}'") if uri.scheme != 'http'
|
41
40
|
begin
|
42
41
|
open(uri.to_s, :content_length_proc => lambda {|t|
|
43
42
|
if t && t > 0
|
@@ -18,7 +18,12 @@ module Sprout
|
|
18
18
|
# mxmlc 'bin/SomeProject.swf' => :corelib do |t|
|
19
19
|
# t.input = 'src/SomeProject.as'
|
20
20
|
# t.default_size = '800 600'
|
21
|
+
# t.namespace = "my_namespace://path\ " + File.expand_path("~/Desktop/SomeProject/build/main.xml")
|
21
22
|
# end
|
23
|
+
#
|
24
|
+
# If you don't put a "\ " for the space in the "t.namespace" directive, you'll get this:
|
25
|
+
# rake aborted!
|
26
|
+
# [ERROR] command line: Error: default arguments may not be interspersed with other options
|
22
27
|
#
|
23
28
|
# In general, a tool task will only be executed if it's output file (name) does not exist or
|
24
29
|
# if the output file is older than any file identified as a prerequisite.
|
@@ -307,7 +312,8 @@ module Sprout
|
|
307
312
|
name = name.to_s
|
308
313
|
|
309
314
|
# First ensure the named accessor doesn't yet exist...
|
310
|
-
|
315
|
+
# BUT, namespace is a reserved word, so override that
|
316
|
+
if(!name == "namespace" and param_hash[name])
|
311
317
|
raise ToolTaskError.new("TaskBase.add_param called with existing parameter name: #{name}")
|
312
318
|
end
|
313
319
|
|
data/lib/sprout/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 495
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 246
|
10
|
+
version: 0.7.246
|
11
11
|
platform: x86-darwin-10
|
12
12
|
authors:
|
13
13
|
- Luke Bayes
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-12 00:00:00 -08:00
|
19
19
|
default_executable: sprout
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|