gandi 2.1.3 → 3.3.27

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gandi.rb +1 -1
  3. data/lib/gandi/session.rb +118 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4623c324402bf039d3d99445a6572b71014dd7f3
4
- data.tar.gz: c05e624fda6c6bad6748ca2ba75e41279eb35774
3
+ metadata.gz: ff5170e76a55b13b4cbc8ae9e7eabdc87fc39e3d
4
+ data.tar.gz: 0a9559b1eefdc244486fa240670f33a7554c3104
5
5
  SHA512:
6
- metadata.gz: 7d88dcb25add7a03936a54ef6cf6d615ae6ea9816839bd9de5be999daf54c8ff857a9d78e9166e79b95d5350d915bd378ebcbc99b1aa01ac36ba76f027bc23fb
7
- data.tar.gz: f3c2970ec4a54bad7960a44722c995186a5bedfa4f82de4816fb2d20e2c6fd2d22b11be6f60e9ae3f2bbdbb287b820d7c85c2ec57a298901d5f17c12b9b77207
6
+ metadata.gz: 4ee92da758041f9081e1b3427cad71b1cffd5ebb0bdadf49e1d3c2b364797cf696972cb2d18a17d5d01f3b32f3cf7d65218b5f988f2b28be0ae31b1ac5daccaa
7
+ data.tar.gz: be889c14143a2fa52e707c045732688b4fe9cd04099c33f850cfd4581abd12128ca8eab70d013b89ce820bfa051015a3e69aac44a6e2db8fdd9f1f750dad7dab
@@ -8,7 +8,7 @@ require 'gandi/errors'
8
8
  require 'gandi/fault_code'
9
9
 
10
10
  module Gandi
11
- VERSION = '2.1.1'
11
+ VERSION = '3.3.27'
12
12
 
13
13
  ENDPOINT = {
14
14
  test: 'https://rpc.ote.gandi.net/xmlrpc/',
@@ -1,32 +1,62 @@
1
1
  module Gandi
2
+ OLD_METHODS = %w(
3
+ domain.owner.set_dry_run
4
+ hosting.iface.ip_attach
5
+ hosting.iface.ip_detach
6
+ hosting.ip.create
7
+ hosting.ip.delete
8
+ )
2
9
  VALID_METHODS = %w(
3
10
  catalog.list
11
+
12
+ cert.change_dcv
4
13
  cert.count
5
14
  cert.create
6
15
  cert.delete
16
+ cert.get_dcv_params
7
17
  cert.info
8
18
  cert.list
9
19
  cert.package.list
10
20
  cert.renew
21
+ cert.resend_dcv
11
22
  cert.update
23
+
12
24
  contact.balance
13
25
  contact.can_associate
14
26
  contact.can_associate_domain
27
+ contact.count
15
28
  contact.create
16
29
  contact.delete
17
30
  contact.info
18
31
  contact.list
32
+ contact.release
19
33
  contact.update
34
+ contact.reachability.resend
35
+
20
36
  datacenter.list
37
+
21
38
  domain.autorenew.activate
22
39
  domain.autorenew.deactivate
23
40
  domain.available
24
41
  domain.contacts.set
25
42
  domain.count
26
43
  domain.create
44
+ domain.claims.accept
45
+ domain.claims.check
46
+ domain.claims.info
47
+ domain.delete.accept
48
+ domain.delete.available
49
+ domain.delete.decline
50
+ domain.delete.info
51
+ domain.delete.proceed
27
52
  domain.dnssec.create
28
53
  domain.dnssec.delete
29
54
  domain.dnssec.list
55
+ domain.eoi.count
56
+ domain.eoi.create
57
+ domain.eoi.delete
58
+ domain.eoi.info
59
+ domain.eoi.list
30
60
  domain.forward.count
31
61
  domain.forward.create
32
62
  domain.forward.delete
@@ -50,18 +80,25 @@ module Gandi
50
80
  domain.mailbox.responder.activate
51
81
  domain.mailbox.responder.deactivate
52
82
  domain.mailbox.update
83
+ domain.misc.ukrights
53
84
  domain.nameservers.set
54
85
  domain.owner.set
55
- domain.owner.set_dry_run
56
86
  domain.packmail.autorenew
57
87
  domain.packmail.create
58
88
  domain.packmail.delete
59
89
  domain.packmail.info
60
90
  domain.packmail.renew
61
91
  domain.packmail.update
92
+ domain.release
62
93
  domain.renew
63
94
  domain.reseller.set
64
95
  domain.restore
96
+ domain.smd.count
97
+ domain.smd.create
98
+ domain.smd.delete
99
+ domain.smd.extract
100
+ domain.smd.info
101
+ domain.smd.list
65
102
  domain.status.lock
66
103
  domain.status.unlock
67
104
  domain.tld.list
@@ -89,9 +126,12 @@ module Gandi
89
126
  domain.zone.update
90
127
  domain.zone.version.count
91
128
  domain.zone.version.delete
129
+ domain.zone.version.list
92
130
  domain.zone.version.new
93
131
  domain.zone.version.set
94
- domain.zone.version.list
132
+
133
+ hosting.catalog.list
134
+ hosting.catalog.price
95
135
  hosting.datacenter.list
96
136
  hosting.disk.count
97
137
  hosting.disk.create
@@ -107,22 +147,55 @@ module Gandi
107
147
  hosting.iface.create
108
148
  hosting.iface.delete
109
149
  hosting.iface.info
110
- hosting.iface.ip_attach
111
- hosting.iface.ip_detach
112
150
  hosting.iface.list
113
151
  hosting.iface.update
114
152
  hosting.image.info
115
153
  hosting.image.list
116
154
  hosting.ip.count
117
- hosting.ip.create
118
- hosting.ip.delete
119
155
  hosting.ip.info
120
156
  hosting.ip.list
121
157
  hosting.ip.update
158
+ hosting.metric.available
159
+ hosting.metric.query
122
160
  hosting.product.create
123
161
  hosting.product.delete
124
162
  hosting.product.renew
125
163
  hosting.product.update
164
+ hosting.rating.list
165
+ hosting.rproxy.probe.check_server
166
+ hosting.rproxy.probe.disable
167
+ hosting.rproxy.probe.enable
168
+ hosting.rproxy.probe.test
169
+ hosting.rproxy.probe.update
170
+ hosting.rproxy.count
171
+ hosting.rproxy.create
172
+ hosting.rproxy.delete
173
+ hosting.rproxy.info
174
+ hosting.rproxy.list
175
+ hosting.rproxy.update
176
+ hosting.rproxy.server.count
177
+ hosting.rproxy.server.create
178
+ hosting.rproxy.server.delete
179
+ hosting.rproxy.server.disable
180
+ hosting.rproxy.server.enable
181
+ hosting.rproxy.server.list
182
+ hosting.rproxy.vhost.alter_zone
183
+ hosting.rproxy.vhost.count
184
+ hosting.rproxy.vhost.create
185
+ hosting.rproxy.vhost.delete
186
+ hosting.rproxy.vhost.get_dns_entries
187
+ hosting.rproxy.vhost.list
188
+ hosting.ssh.count
189
+ hosting.ssh.create
190
+ hosting.ssh.delete
191
+ hosting.ssh.info
192
+ hosting.ssh.list
193
+ hosting.vlan.count
194
+ hosting.vlan.create
195
+ hosting.vlan.delete
196
+ hosting.vlan.info
197
+ hosting.vlan.list
198
+ hosting.vlan.update
126
199
  hosting.vm.count
127
200
  hosting.vm.create
128
201
  hosting.vm.create_from
@@ -138,6 +211,21 @@ module Gandi
138
211
  hosting.vm.start
139
212
  hosting.vm.stop
140
213
  hosting.vm.update
214
+
215
+ notification.count
216
+ notification.list
217
+ notification.test
218
+ notification.subscription.count
219
+ notification.subscription.create
220
+ notification.subscription.delete
221
+ notification.subscription.list
222
+
223
+ operation.cancel
224
+ operation.count
225
+ operation.info
226
+ operation.list
227
+ operation.relaunch
228
+
141
229
  paas.count
142
230
  paas.create
143
231
  paas.delete
@@ -145,6 +233,11 @@ module Gandi
145
233
  paas.list
146
234
  paas.renew
147
235
  paas.restart
236
+ paas.snapshot.count
237
+ paas.snapshot.info
238
+ paas.snapshot.list
239
+ paas.type.count
240
+ paas.type.list
148
241
  paas.update
149
242
  paas.vhost.count
150
243
  paas.vhost.create
@@ -152,16 +245,25 @@ module Gandi
152
245
  paas.vhost.get_dns_entries
153
246
  paas.vhost.info
154
247
  paas.vhost.list
155
- paas.snapshot.count
156
- paas.snapshot.info
157
- paas.snapshot.list
158
- paas.type.count
159
- paas.type.list
160
- operation.cancel
161
- operation.count
162
- operation.info
163
- operation.list
164
- operation.relaunch
248
+
249
+ security.key.renew
250
+
251
+ site.alter_zone
252
+ site.count
253
+ site.create
254
+ site.delete
255
+ site.edit
256
+ site.get_dns_entries
257
+ site.info
258
+ site.key.create
259
+ site.key.delete
260
+ site.key.list
261
+ site.key.update
262
+ site.list
263
+ site.package.list
264
+ site.renew
265
+ site.update
266
+
165
267
  version.info
166
268
  )
167
269
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gandi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 3.3.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Ruffin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-12 00:00:00.000000000 Z
11
+ date: 2016-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie