sprout 0.7.237-x86-darwin-10 → 0.7.239-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.

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
+
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- TINY = 237
6
+ TINY = 239
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
data/rakefile.rb CHANGED
@@ -150,6 +150,7 @@ task :package do
150
150
  fix_x86_mswin
151
151
  end
152
152
 
153
+ desc "Release to GemCutter"
153
154
  task :release_to_gemcutter do
154
155
  files = FileList.new('pkg/*.gem')
155
156
  files.each do |file|
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.237
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 7
8
+ - 239
9
+ version: 0.7.239
5
10
  platform: x86-darwin-10
6
11
  authors:
7
12
  - Luke Bayes
@@ -9,79 +14,105 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-10 00:00:00 -08:00
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
- type: :runtime
18
- version_requirement:
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
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: archive-tar-minitar
27
- type: :runtime
28
- version_requirement:
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
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: rubigen
37
- type: :runtime
38
- version_requirement:
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
- version:
60
+ type: :runtime
61
+ version_requirements: *id003
45
62
  - !ruby/object:Gem::Dependency
46
63
  name: net-sftp
47
- type: :runtime
48
- version_requirement:
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
- version:
74
+ type: :runtime
75
+ version_requirements: *id004
55
76
  - !ruby/object:Gem::Dependency
56
77
  name: net-ssh
57
- type: :runtime
58
- version_requirement:
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
- version:
88
+ type: :runtime
89
+ version_requirements: *id005
65
90
  - !ruby/object:Gem::Dependency
66
91
  name: rake
67
- type: :runtime
68
- version_requirement:
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
- version:
100
+ type: :runtime
101
+ version_requirements: *id006
75
102
  - !ruby/object:Gem::Dependency
76
103
  name: open4
77
- type: :runtime
78
- version_requirement:
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
+ - 9
112
+ - 6
83
113
  version: 0.9.6
84
- version:
114
+ type: :runtime
115
+ version_requirements: *id007
85
116
  description: |
86
117
  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.
87
118
 
@@ -155,18 +186,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
186
  requirements:
156
187
  - - ">="
157
188
  - !ruby/object:Gem::Version
189
+ segments:
190
+ - 0
158
191
  version: "0"
159
- version:
160
192
  required_rubygems_version: !ruby/object:Gem::Requirement
161
193
  requirements:
162
194
  - - ">="
163
195
  - !ruby/object:Gem::Version
196
+ segments:
197
+ - 0
164
198
  version: "0"
165
- version:
166
199
  requirements: []
167
200
 
168
201
  rubyforge_project: sprout
169
- rubygems_version: 1.3.5
202
+ rubygems_version: 1.3.6
170
203
  signing_key:
171
204
  specification_version: 3
172
205
  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.