sprout 0.7.241-x86-darwin-10 → 0.7.244-x86-darwin-10

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,8 @@ module Sprout
36
36
  unpack_zip(file_name, dir)
37
37
  when 'targz'
38
38
  unpack_targz(file_name, dir)
39
+ when 'tbz2'
40
+ unpack_tbz2(file_name, dir)
39
41
  when 'dmg'
40
42
  unpack_dmg(file_name, dir)
41
43
  when 'exe'
@@ -107,8 +109,16 @@ module Sprout
107
109
  path = File.expand_path(dir)
108
110
  return File.join(path, basename)
109
111
  end
110
-
112
+
113
+ def unpack_tbz2(tgz_file, dir)
114
+ unpack_tar_zip tgz_file, dir, 'tar.bz2'
115
+ end
116
+
111
117
  def unpack_targz(tgz_file, dir)
118
+ unpack_tar_zip tgz_file, dir, 'tar.gz'
119
+ end
120
+
121
+ def unpack_tar_zip(tgz_file, dir, ext)
112
122
  if(!File.exists?(dir))
113
123
  FileUtils.makedirs(dir)
114
124
  end
@@ -117,7 +127,7 @@ module Sprout
117
127
 
118
128
  # Recurse and unpack gzipped children (Adobe did this double
119
129
  # gzip with the Linux FlashPlayer for some reason)
120
- Dir.glob("#{dir}/**/*.tar.gz").each do |child|
130
+ Dir.glob("#{dir}/**/*.#{ext}").each do |child|
121
131
  if(child != tgz_file && dir != File.dirname(child))
122
132
  unpack_targz(child, File.dirname(child))
123
133
  end
@@ -125,7 +125,7 @@ module Sprout
125
125
  if(get_confirmation)
126
126
  puts ">> Connecting to Remote Server: #{@username}@#{@host}:#{@remote_path}"
127
127
 
128
- Net::SFTP.start(@host, @username, @password) do |sftp|
128
+ Net::SFTP.start(@host, @username, :password => @password, :keys => []) do |sftp|
129
129
  begin
130
130
  dir = sftp.opendir(@remote_path)
131
131
  rescue Net::SFTP::Operations::StatusException
@@ -335,7 +335,7 @@ module Sprout
335
335
  if(param_hash.has_key? other_param.to_s)
336
336
  param_hash[name.to_s] = param_hash[other_param.to_s]
337
337
  else
338
- raise ToolTaskError.new("TaskBase.add_param_alis called with")
338
+ raise ToolTaskError.new("TaskBase.add_param_alias called with")
339
339
  end
340
340
  end
341
341
 
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- TINY = 241
6
+ TINY = 244
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
data/lib/sprout.rb CHANGED
@@ -34,7 +34,7 @@ require 'sprout/bundle_resolver'
34
34
  require 'rubygems/installer'
35
35
  require 'rubygems/source_info_cache'
36
36
  require 'rubygems/version'
37
- require 'rubygems/digest/md5'
37
+ require 'digest/md5'
38
38
 
39
39
  require 'sprout/tool_task_model'
40
40
  require 'sprout/project_model'
data/rakefile.rb CHANGED
@@ -142,7 +142,7 @@ def fix_x86_mswin
142
142
  files.each do |name|
143
143
  new_name = name.gsub('-x86', '')
144
144
  puts "Renaming x86-mswin gem from #{name} to #{new_name}"
145
- File.move(name, new_name)
145
+ FileUtils.mv(name, new_name)
146
146
  end
147
147
  end
148
148
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 491
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 7
8
- - 241
9
- version: 0.7.241
9
+ - 244
10
+ version: 0.7.244
10
11
  platform: x86-darwin-10
11
12
  authors:
12
13
  - Luke Bayes
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-10 00:00:00 -07:00
18
+ date: 2010-05-28 00:00:00 -07:00
18
19
  default_executable: sprout
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rubyzip
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 57
27
30
  segments:
28
31
  - 0
29
32
  - 9
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: archive-tar-minitar
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 9
41
46
  segments:
42
47
  - 0
43
48
  - 5
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: rubigen
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - "="
54
60
  - !ruby/object:Gem::Version
61
+ hash: 11
55
62
  segments:
56
63
  - 1
57
64
  - 5
@@ -63,9 +70,11 @@ dependencies:
63
70
  name: net-sftp
64
71
  prerelease: false
65
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
66
74
  requirements:
67
75
  - - ">="
68
76
  - !ruby/object:Gem::Version
77
+ hash: 7
69
78
  segments:
70
79
  - 2
71
80
  - 0
@@ -77,9 +86,11 @@ dependencies:
77
86
  name: net-ssh
78
87
  prerelease: false
79
88
  requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
93
+ hash: 41
83
94
  segments:
84
95
  - 2
85
96
  - 0
@@ -91,9 +102,11 @@ dependencies:
91
102
  name: rake
92
103
  prerelease: false
93
104
  requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
94
106
  requirements:
95
107
  - - ">="
96
108
  - !ruby/object:Gem::Version
109
+ hash: 3
97
110
  segments:
98
111
  - 0
99
112
  version: "0"
@@ -103,9 +116,11 @@ dependencies:
103
116
  name: open4
104
117
  prerelease: false
105
118
  requirement: &id007 !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
121
  - - ">="
108
122
  - !ruby/object:Gem::Version
123
+ hash: 55
109
124
  segments:
110
125
  - 0
111
126
  - 9
@@ -183,23 +198,27 @@ rdoc_options:
183
198
  require_paths:
184
199
  - lib
185
200
  required_ruby_version: !ruby/object:Gem::Requirement
201
+ none: false
186
202
  requirements:
187
203
  - - ">="
188
204
  - !ruby/object:Gem::Version
205
+ hash: 3
189
206
  segments:
190
207
  - 0
191
208
  version: "0"
192
209
  required_rubygems_version: !ruby/object:Gem::Requirement
210
+ none: false
193
211
  requirements:
194
212
  - - ">="
195
213
  - !ruby/object:Gem::Version
214
+ hash: 3
196
215
  segments:
197
216
  - 0
198
217
  version: "0"
199
218
  requirements: []
200
219
 
201
220
  rubyforge_project: sprout
202
- rubygems_version: 1.3.6
221
+ rubygems_version: 1.3.7
203
222
  signing_key:
204
223
  specification_version: 3
205
224
  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.