xenapi 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/HISTORY +3 -0
  2. data/VERSION +1 -1
  3. data/lib/xenapi/client.rb +1 -1
  4. data/xenapi.gemspec +2 -2
  5. metadata +4 -4
data/HISTORY CHANGED
@@ -1,5 +1,8 @@
1
1
  = XenApi History
2
2
 
3
+ === 0.2.11 - 2011-05-25
4
+ * [BugFix]: Including the Xen XMLRPC API error name with a GenericError did not work
5
+
3
6
  === 0.2.10 - 2011-05-23
4
7
  * Include Xen XMLRPC API error name when raising a XenApi::Errors::GenericError
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
1
+ 0.2.11
@@ -254,7 +254,7 @@ module XenApi #:nodoc:
254
254
 
255
255
  ed = r['ErrorDescription'].shift
256
256
  ex = Errors.exception_class_from_desc(ed)
257
- r['ErrorDescription'].unshift(ed) if ex.is_a? Errors::GenericError
257
+ r['ErrorDescription'].unshift(ed) if ex == Errors::GenericError
258
258
  raise ex, r['ErrorDescription'].inspect
259
259
  end
260
260
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xenapi}
8
- s.version = "0.2.10"
8
+ s.version = "0.2.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Geoff Garside"]
12
- s.date = %q{2011-05-23}
12
+ s.date = %q{2011-05-25}
13
13
  s.description = %q{Xen API XMLRPC Client library for working with XenServers}
14
14
  s.email = %q{geoff+xenapi@geoffgarside.co.uk}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xenapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 10
10
- version: 0.2.10
9
+ - 11
10
+ version: 0.2.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Geoff Garside
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-23 00:00:00 Z
18
+ date: 2011-05-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thoughtbot-shoulda