gandi 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/gandi.rb +15 -1
- metadata +10 -5
data/lib/gandi.rb
CHANGED
|
@@ -9,5 +9,19 @@ require 'gandi/session'
|
|
|
9
9
|
require 'gandi/errors'
|
|
10
10
|
|
|
11
11
|
module Gandi
|
|
12
|
-
VERSION = '2.0.
|
|
12
|
+
VERSION = '2.0.2'
|
|
13
|
+
|
|
14
|
+
def silence_warnings
|
|
15
|
+
old_verbose, $VERBOSE = $VERBOSE, nil
|
|
16
|
+
yield
|
|
17
|
+
ensure
|
|
18
|
+
$VERBOSE = old_verbose
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
silence_warnings do
|
|
22
|
+
# gandi sometimes return <nil/> values so let's accept them to prevent exceptions
|
|
23
|
+
XMLRPC::Config::ENABLE_NIL_PARSER = true
|
|
24
|
+
XMLRPC::Config::ENABLE_NIL_CREATE = true
|
|
25
|
+
end
|
|
26
|
+
|
|
13
27
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gandi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-05-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: hashie
|
|
16
|
-
requirement:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,12 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements:
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0'
|
|
25
30
|
description: Wrapper around gandi xml-rpc API
|
|
26
31
|
email:
|
|
27
32
|
executables: []
|
|
@@ -52,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
52
57
|
version: '0'
|
|
53
58
|
requirements: []
|
|
54
59
|
rubyforge_project:
|
|
55
|
-
rubygems_version: 1.8.
|
|
60
|
+
rubygems_version: 1.8.23
|
|
56
61
|
signing_key:
|
|
57
62
|
specification_version: 3
|
|
58
63
|
summary: Gandi XML RPC API v2.0
|