abiquo-etk 0.4.24 → 0.4.25

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.24
1
+ 0.4.25
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{abiquo-etk}
8
- s.version = "0.4.24"
8
+ s.version = "0.4.25"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sergio Rubio"]
12
- s.date = %q{2010-10-26}
12
+ s.date = %q{2010-10-27}
13
13
  s.description = %q{Tools to troubleshoot your Abiquo installation}
14
14
  s.email = %q{srubio@abiquo.com}
15
15
  s.executables = ["abiquo-check-16-install", "aetk-setup-rs", "aetk-setup-v2v", "abicli", "aetk-setup-server"]
@@ -163,10 +163,13 @@ if ARGV[0] == 'instant-deploy'
163
163
  puts "Downloading Abiquo ISO..."
164
164
  cdrom = ""
165
165
  begin
166
- downloader.download! iso_url, File.new(target_dir + '/instant-deploy.iso', 'w')
166
+ r = downloader.download! iso_url, File.new(target_dir + '/instant-deploy.iso', 'w')
167
+ if r.class != Net::HTTPOK
168
+ raise Exception
169
+ end
167
170
  cdrom = target_dir + '/instant-deploy.iso'
168
171
  rescue Exception
169
- $stderr.puts "Error downloading Abiquo ISO. Aborting."
172
+ $stderr.puts "\nError downloading Abiquo ISO. Aborting."
170
173
  exit
171
174
  end
172
175
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abiquo-etk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 24
10
- version: 0.4.24
9
+ - 25
10
+ version: 0.4.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-26 00:00:00 +02:00
18
+ date: 2010-10-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency