sprout 0.7.237-mswin32 → 0.7.239-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprout/user.rb +32 -0
- data/lib/sprout/version.rb +1 -1
- data/rakefile.rb +1 -0
- metadata +82 -41
data/lib/sprout/user.rb
CHANGED
@@ -223,6 +223,8 @@ module Sprout
|
|
223
223
|
if(error.size > 0)
|
224
224
|
raise ExecutionError.new("[ERROR] #{error}")
|
225
225
|
end
|
226
|
+
|
227
|
+
result || error
|
226
228
|
end
|
227
229
|
|
228
230
|
# Creates and returns the process without
|
@@ -240,7 +242,29 @@ module Sprout
|
|
240
242
|
end
|
241
243
|
end
|
242
244
|
|
245
|
+
# Repair Windows Line endings
|
246
|
+
# found in non-windows executables
|
247
|
+
# (Flex SDK is regularly published
|
248
|
+
# with broken CRLFs)
|
249
|
+
def repair_executable(path)
|
250
|
+
return unless should_repair_executable(path)
|
251
|
+
|
252
|
+
content = File.read(path)
|
253
|
+
if(content.match(/\r\n/))
|
254
|
+
content.gsub!(/\r\n/, "\n")
|
255
|
+
File.open(path, 'w+') do |f|
|
256
|
+
f.write content
|
257
|
+
end
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
def should_repair_executable(path)
|
262
|
+
return (File.exists?(path) && !File.directory?(path) && File.read(path).match(/^\#\!/))
|
263
|
+
end
|
264
|
+
|
243
265
|
def clean_path(path)
|
266
|
+
repair_executable path
|
267
|
+
|
244
268
|
if(path.index(' '))
|
245
269
|
# Changed 2/26/2008 in attempt to support
|
246
270
|
# ToolTask.PathsParam s that have spaces in the values
|
@@ -313,6 +337,13 @@ module Sprout
|
|
313
337
|
end
|
314
338
|
end
|
315
339
|
|
340
|
+
# Override from UnixUser and
|
341
|
+
# block behavior.
|
342
|
+
# I know this is smelly... Fixes?
|
343
|
+
def should_repair_executable(path)
|
344
|
+
false
|
345
|
+
end
|
346
|
+
|
316
347
|
def clean_path(path)
|
317
348
|
path = path.split('/').join("\\")
|
318
349
|
if(path.index(' '))
|
@@ -381,3 +412,4 @@ module Sprout
|
|
381
412
|
end
|
382
413
|
end
|
383
414
|
end
|
415
|
+
|
data/lib/sprout/version.rb
CHANGED
data/rakefile.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 7
|
8
|
+
- 239
|
9
|
+
version: 0.7.239
|
5
10
|
platform: mswin32
|
6
11
|
authors:
|
7
12
|
- Luke Bayes
|
@@ -9,99 +14,133 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-04-01 00:00:00 -07:00
|
13
18
|
default_executable: sprout
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rubyzip
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 9
|
30
|
+
- 1
|
23
31
|
version: 0.9.1
|
24
|
-
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: archive-tar-minitar
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 5
|
44
|
+
- 1
|
33
45
|
version: 0.5.1
|
34
|
-
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
35
48
|
- !ruby/object:Gem::Dependency
|
36
49
|
name: rubigen
|
37
|
-
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
52
|
requirements:
|
41
53
|
- - "="
|
42
54
|
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 1
|
57
|
+
- 5
|
58
|
+
- 4
|
43
59
|
version: 1.5.4
|
44
|
-
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
45
62
|
- !ruby/object:Gem::Dependency
|
46
63
|
name: net-sftp
|
47
|
-
|
48
|
-
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
66
|
requirements:
|
51
67
|
- - ">="
|
52
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 0
|
72
|
+
- 4
|
53
73
|
version: 2.0.4
|
54
|
-
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
55
76
|
- !ruby/object:Gem::Dependency
|
56
77
|
name: net-ssh
|
57
|
-
|
58
|
-
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
60
80
|
requirements:
|
61
81
|
- - ">="
|
62
82
|
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 2
|
85
|
+
- 0
|
86
|
+
- 19
|
63
87
|
version: 2.0.19
|
64
|
-
|
88
|
+
type: :runtime
|
89
|
+
version_requirements: *id005
|
65
90
|
- !ruby/object:Gem::Dependency
|
66
91
|
name: rake
|
67
|
-
|
68
|
-
|
69
|
-
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
70
94
|
requirements:
|
71
95
|
- - ">="
|
72
96
|
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 0
|
73
99
|
version: "0"
|
74
|
-
|
100
|
+
type: :runtime
|
101
|
+
version_requirements: *id006
|
75
102
|
- !ruby/object:Gem::Dependency
|
76
103
|
name: win32-open3
|
77
|
-
|
78
|
-
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
104
|
+
prerelease: false
|
105
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
80
106
|
requirements:
|
81
107
|
- - "="
|
82
108
|
- !ruby/object:Gem::Version
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
- 2
|
112
|
+
- 5
|
83
113
|
version: 0.2.5
|
84
|
-
|
114
|
+
type: :runtime
|
115
|
+
version_requirements: *id007
|
85
116
|
- !ruby/object:Gem::Dependency
|
86
117
|
name: net-sftp
|
87
|
-
|
88
|
-
|
89
|
-
version_requirements: !ruby/object:Gem::Requirement
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
90
120
|
requirements:
|
91
121
|
- - ">="
|
92
122
|
- !ruby/object:Gem::Version
|
123
|
+
segments:
|
124
|
+
- 2
|
125
|
+
- 0
|
126
|
+
- 4
|
93
127
|
version: 2.0.4
|
94
|
-
|
128
|
+
type: :runtime
|
129
|
+
version_requirements: *id008
|
95
130
|
- !ruby/object:Gem::Dependency
|
96
131
|
name: net-ssh
|
97
|
-
|
98
|
-
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
prerelease: false
|
133
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
100
134
|
requirements:
|
101
135
|
- - ">="
|
102
136
|
- !ruby/object:Gem::Version
|
137
|
+
segments:
|
138
|
+
- 2
|
139
|
+
- 0
|
140
|
+
- 19
|
103
141
|
version: 2.0.19
|
104
|
-
|
142
|
+
type: :runtime
|
143
|
+
version_requirements: *id009
|
105
144
|
description: |
|
106
145
|
Sprout is a modular set of tools that take the tedium and frustration out of creating and managing programming projects by automatically installing and configuring external tools, libraries, commands and build tasks. Bundles are currently available to support ActionScript 2, ActionScript 3, Flex and AIR development.
|
107
146
|
|
@@ -175,18 +214,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
214
|
requirements:
|
176
215
|
- - ">="
|
177
216
|
- !ruby/object:Gem::Version
|
217
|
+
segments:
|
218
|
+
- 0
|
178
219
|
version: "0"
|
179
|
-
version:
|
180
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
221
|
requirements:
|
182
222
|
- - ">="
|
183
223
|
- !ruby/object:Gem::Version
|
224
|
+
segments:
|
225
|
+
- 0
|
184
226
|
version: "0"
|
185
|
-
version:
|
186
227
|
requirements: []
|
187
228
|
|
188
229
|
rubyforge_project: sprout
|
189
|
-
rubygems_version: 1.3.
|
230
|
+
rubygems_version: 1.3.6
|
190
231
|
signing_key:
|
191
232
|
specification_version: 3
|
192
233
|
summary: Sprout is an open-source, cross-platform project generation, configuration and build tool, that currently suports ActionScript 2, ActionScript 3, Flex and AIR development.
|