ovh_soapi 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +2 -2
- data/Rakefile +2 -2
- data/lib/ovh_soapi.rb +9 -8
- data/lib/ovh_soapi/domains.rb +30 -29
- data/lib/ovh_soapi/email.rb +11 -10
- data/lib/ovh_soapi/nic.rb +23 -23
- data/lib/ovh_soapi/order.rb +3 -2
- data/lib/ovh_soapi/reseller.rb +31 -30
- data/lib/ovh_soapi/service.rb +3 -2
- data/lib/ovh_soapi/session.rb +5 -5
- data/ovh_soapi.gemspec +12 -13
- metadata +27 -50
- data/pkg/ovh_soapi-0.0.1.alpha.gem +0 -0
data/Manifest
CHANGED
@@ -3,10 +3,10 @@ README.md
|
|
3
3
|
Rakefile
|
4
4
|
lib/ovh_soapi.rb
|
5
5
|
lib/ovh_soapi/domains.rb
|
6
|
+
lib/ovh_soapi/email.rb
|
6
7
|
lib/ovh_soapi/nic.rb
|
7
8
|
lib/ovh_soapi/order.rb
|
8
9
|
lib/ovh_soapi/reseller.rb
|
9
|
-
lib/ovh_soapi/session.rb
|
10
10
|
lib/ovh_soapi/service.rb
|
11
|
+
lib/ovh_soapi/session.rb
|
11
12
|
ovh_soapi.gemspec
|
12
|
-
pkg/ovh_soapi-0.0.1.alpha.gem
|
data/Rakefile
CHANGED
@@ -2,11 +2,11 @@ require "rubygems"
|
|
2
2
|
require "rake"
|
3
3
|
require "echoe"
|
4
4
|
|
5
|
-
Echoe.new("ovh_soapi", "0.0.
|
5
|
+
Echoe.new("ovh_soapi", "0.0.12") do |p|
|
6
6
|
p.description = "Ruby client for OVH Soapi."
|
7
7
|
p.url = "http://www.freshco.it"
|
8
8
|
p.author = "Dumitru Ceban"
|
9
|
-
p.email = "
|
9
|
+
p.email = "dumitru@ceban.it"
|
10
10
|
p.ignore_pattern = ["tmp/*", "script/*"]
|
11
11
|
p.development_dependencies = []
|
12
12
|
end
|
data/lib/ovh_soapi.rb
CHANGED
@@ -9,31 +9,32 @@ require 'ovh_soapi/service'
|
|
9
9
|
|
10
10
|
|
11
11
|
# OVH Soapi sandbox flag
|
12
|
-
OVH_SANDBOX = false
|
12
|
+
OVH_SANDBOX = false
|
13
13
|
|
14
14
|
module OvhSoapi
|
15
15
|
|
16
|
-
|
16
|
+
|
17
17
|
class RpcDriver
|
18
18
|
|
19
19
|
# Create soapi object
|
20
20
|
def self.soapi
|
21
|
-
@soapi ||= SOAP::WSDLDriverFactory.new('https://www.ovh.com/soapi/soapi-re-1.
|
21
|
+
@soapi ||= SOAP::WSDLDriverFactory.new('https://www.ovh.com/soapi/soapi-re-1.55.wsdl').create_rpc_driver
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
25
|
-
|
26
|
-
|
27
|
-
# Get rid of SSL warning
|
25
|
+
|
26
|
+
|
27
|
+
# Get rid of SSL warning
|
28
28
|
# "warning: peer certificate won't be verified in this SSL session"
|
29
29
|
class Net::HTTP
|
30
30
|
alias_method :old_initialize, :initialize
|
31
|
-
|
31
|
+
|
32
32
|
def initialize(*args)
|
33
33
|
old_initialize(*args)
|
34
34
|
@ssl_context = OpenSSL::SSL::SSLContext.new
|
35
35
|
@ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
end
|
39
|
+
|
39
40
|
end
|
data/lib/ovh_soapi/domains.rb
CHANGED
@@ -2,74 +2,75 @@ module OvhSoapi
|
|
2
2
|
class Domains
|
3
3
|
module Methods
|
4
4
|
attr_accessor :domain
|
5
|
-
|
5
|
+
|
6
6
|
# Set object domain.
|
7
7
|
def set_domain(domain)
|
8
8
|
self.domain = domain
|
9
9
|
end
|
10
|
-
|
11
|
-
|
10
|
+
|
11
|
+
|
12
12
|
# Add a dns zone entry.
|
13
13
|
def zone_entry_add(subdomain, fieldtype, target, overwrite)
|
14
14
|
RpcDriver.soapi.zoneEntryAdd(Session.session, self.domain, subdomain, fieldtype, target, overwrite)
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
# Delete a dns zone entry.
|
18
18
|
def zone_entry_del(subdomain, fieldtype, target)
|
19
19
|
RpcDriver.soapi.zoneEntryDel(Session.session, self.domain, subdomain, fieldtype, target)
|
20
20
|
end
|
21
|
-
|
21
|
+
|
22
22
|
# Retrieve dns zone entries list.
|
23
23
|
def zone_entry_list
|
24
24
|
RpcDriver.soapi.zoneEntryList(Session.session, self.domain)
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
# Modify a dns zone entry.
|
28
28
|
def zone_entry_modify(subdomain, fieldtype, target, newTarget)
|
29
29
|
RpcDriver.soapi.zoneEntryModify(Session.session, self.domain, subdomain, fieldtype, target, newTarget)
|
30
30
|
end
|
31
|
-
|
32
|
-
|
31
|
+
|
32
|
+
|
33
33
|
# Check domain availability.
|
34
34
|
def domain_check
|
35
35
|
RpcDriver.soapi.domainCheck(Session.session, self.domain)
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
# Retrieve the list of nameservers for a domain.
|
39
|
-
def domain_dns_list
|
39
|
+
def domain_dns_list
|
40
40
|
RpcDriver.soapi.domainDnsList(Session.session, self.domain)
|
41
41
|
end
|
42
|
-
|
42
|
+
|
43
43
|
# Set DNS for a domain.
|
44
|
-
def domain_dns_update(dns_ip)
|
44
|
+
def domain_dns_update(dns_ip)
|
45
45
|
RpcDriver.soapi.domainDnsUpdate(Session.session, self.domain,
|
46
|
-
|
47
|
-
|
48
|
-
|
46
|
+
dns_ip[:dns1], dns_ip[:ip1], dns_ip[:dns2], dns_ip[:ip2],
|
47
|
+
dns_ip[:dns3], dns_ip[:ip3], dns_ip[:dns3], dns_ip[:ip3],
|
48
|
+
dns_ip[:dns5], dns_ip[:ip5]
|
49
49
|
)
|
50
50
|
end
|
51
|
-
|
52
|
-
|
51
|
+
|
52
|
+
# Add an domain ORT
|
53
53
|
def ort_domain_add(subdomain,target,type,overwrite)
|
54
54
|
RpcDriver.soapi.ortDomainAdd(Session.session, self.domain,subdomain,target,type,overwrite)
|
55
55
|
end
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
56
|
+
|
57
|
+
# Get all informations about a domain name
|
58
|
+
def domain_info
|
59
|
+
RpcDriver.soapi.domainInfo(Session.session, self.domain)
|
60
60
|
end
|
61
|
-
|
62
|
-
# reset zona DNS
|
63
|
-
|
64
|
-
|
61
|
+
|
62
|
+
# reset zona DNS
|
63
|
+
def domain_dns_reset(hosting,minimized)
|
64
|
+
RpcDriver.soapi.dnsReset(Session.session, self.domain,hosting,minimized)
|
65
65
|
end
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
|
67
|
+
# install zona DNS
|
68
|
+
def domain_dns_install(hosting,minimized)
|
69
|
+
RpcDriver.soapi.dnsInstall(Session.session, self.domain,hosting,minimized)
|
70
70
|
end
|
71
71
|
|
72
72
|
end
|
73
|
+
|
73
74
|
include Methods
|
74
75
|
extend Methods
|
75
76
|
end
|
data/lib/ovh_soapi/email.rb
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Email
|
3
3
|
module Methods
|
4
|
-
|
4
|
+
|
5
5
|
# Set domain MX filtering : none, simple (antispam) or full (antispam+antivirus).
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
6
|
+
def set_domain_mx_filtering(domain,subdomain,type,mx)
|
7
|
+
RpcDriver.soapi.emailSetDomainMxFiltering(Session.session, domain, subdomain, type, mx)
|
8
|
+
end
|
9
|
+
|
10
|
+
# Set email master nic.
|
11
|
+
def set_email_master_nic(domain,nic)
|
12
|
+
RpcDriver.soapi.emailSetMasterNic(Session.session, domain, nic)
|
13
|
+
end
|
14
|
+
|
15
15
|
end
|
16
|
+
|
16
17
|
include Methods
|
17
18
|
extend Methods
|
18
19
|
end
|
data/lib/ovh_soapi/nic.rb
CHANGED
@@ -1,59 +1,59 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Nic
|
3
3
|
module Methods
|
4
|
-
|
4
|
+
|
5
5
|
# Create a new contact handle.
|
6
6
|
def create(nic_data)
|
7
7
|
RpcDriver.soapi.nicCreate(
|
8
|
-
Session.session,
|
9
|
-
nic_data[:name], nic_data[:firstname], nic_data[:password], nic_data[:email],
|
10
|
-
nic_data[:phone], nic_data[:fax], nic_data[:address], nic_data[:city],
|
11
|
-
nic_data[:area], nic_data[:zip], nic_data[:country], nic_data[:language],
|
12
|
-
nic_data[:isOwner], nic_data[:legalform], nic_data[:organisation],
|
8
|
+
Session.session,
|
9
|
+
nic_data[:name], nic_data[:firstname], nic_data[:password], nic_data[:email],
|
10
|
+
nic_data[:phone], nic_data[:fax], nic_data[:address], nic_data[:city],
|
11
|
+
nic_data[:area], nic_data[:zip], nic_data[:country], nic_data[:language],
|
12
|
+
nic_data[:isOwner], nic_data[:legalform], nic_data[:organisation],
|
13
13
|
nic_data[:legalName], nic_data[:legalNumber], nic_data[:vat]
|
14
14
|
)
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
# Create a new Italian contact handle.
|
18
18
|
def create_it(nic_data)
|
19
19
|
RpcDriver.soapi.nicCreateIT(
|
20
|
-
Session.session,
|
21
|
-
nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:password], nic_data[:email],
|
22
|
-
nic_data[:phone], nic_data[:fax], nic_data[:address], nic_data[:city],
|
23
|
-
nic_data[:area], nic_data[:zip], nic_data[:country], nic_data[:language],
|
24
|
-
nic_data[:isOwner], nic_data[:legalform], nic_data[:organisation],
|
20
|
+
Session.session,
|
21
|
+
nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:password], nic_data[:email],
|
22
|
+
nic_data[:phone], nic_data[:fax], nic_data[:address], nic_data[:city],
|
23
|
+
nic_data[:area], nic_data[:zip], nic_data[:country], nic_data[:language],
|
24
|
+
nic_data[:isOwner], nic_data[:legalform], nic_data[:organisation],
|
25
25
|
nic_data[:legalName], nic_data[:legalNumber], nic_data[:vat],nic_data[:birthDay],
|
26
26
|
nic_data[:birthCity], nic_data[:nationalIdentificationNumber], nic_data[:companyNationalIdentificationNumber],
|
27
27
|
nic_data[:corporationType]
|
28
28
|
)
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
# Modify a contact handle infos.
|
32
32
|
def update(nic_data)
|
33
33
|
RpcDriver.soapi.nicUpdate(
|
34
|
-
Session.session,
|
35
|
-
nic_data[:nic], nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:legalForm], nic_data[:organisation],
|
34
|
+
Session.session,
|
35
|
+
nic_data[:nic], nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:legalForm], nic_data[:organisation],
|
36
36
|
nic_data[:legalName], nic_data[:legalNumber], nic_data[:vat]
|
37
37
|
)
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
# Retrieve nic infos.
|
41
41
|
def info(nic_handle)
|
42
42
|
RpcDriver.soapi.nicInfo(Session.session,nic_handle)
|
43
|
-
end
|
44
|
-
|
43
|
+
end
|
44
|
+
|
45
45
|
# Modify your nic infos.
|
46
46
|
def modify_infos(nic_data)
|
47
47
|
RpcDriver.soapi.nicModifyInfos(
|
48
|
-
Session.session,
|
49
|
-
nic_data[:name], nic_data[:firstname], nic_data[:legalForm], nic_data[:organisation],
|
50
|
-
nic_data[:address], nic_data[:zip], nic_data[:city], nic_data[:country], nic_data[:phone],
|
48
|
+
Session.session,
|
49
|
+
nic_data[:name], nic_data[:firstname], nic_data[:legalForm], nic_data[:organisation],
|
50
|
+
nic_data[:address], nic_data[:zip], nic_data[:city], nic_data[:country], nic_data[:phone],
|
51
51
|
nic_data[:fax], nic_data[:email], nic_data[:spareEmails], nic_data[:language], nic_data[:vat]
|
52
52
|
)
|
53
53
|
end
|
54
|
-
|
55
|
-
|
54
|
+
|
56
55
|
end
|
56
|
+
|
57
57
|
include Methods
|
58
58
|
extend Methods
|
59
59
|
end
|
data/lib/ovh_soapi/order.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Order
|
3
3
|
module Methods
|
4
|
-
|
4
|
+
|
5
5
|
# Order email MX Plan.
|
6
6
|
def email_mx_plan(domain, type, payWithPoints)
|
7
7
|
RpcDriver.soapi.orderEmailMxPlan(Session.session, domain, type, payWithPoints)
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
10
|
end
|
11
|
+
|
11
12
|
include Methods
|
12
13
|
extend Methods
|
13
14
|
end
|
data/lib/ovh_soapi/reseller.rb
CHANGED
@@ -1,65 +1,66 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Reseller
|
3
3
|
module Methods
|
4
|
-
|
4
|
+
|
5
5
|
# Create a domain using your loyalty/reseller account.
|
6
6
|
def domain_create(domain_data)
|
7
|
-
RpcDriver.soapi.resellerDomainCreate(Session.session,
|
8
|
-
domain_data[:domain], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
9
|
-
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
10
|
-
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
11
|
-
domain_data[:dns4], domain_data[:dns5], domain_data[:method],
|
7
|
+
RpcDriver.soapi.resellerDomainCreate(Session.session,
|
8
|
+
domain_data[:domain], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
9
|
+
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
10
|
+
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
11
|
+
domain_data[:dns4], domain_data[:dns5], domain_data[:method],
|
12
12
|
domain_data[:legalName], domain_data[:legalNumber], domain_data[:afnicIdent],
|
13
|
-
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
13
|
+
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
14
14
|
domain_data[:birthCountry], domain_data[:dryRun]
|
15
15
|
)
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
# Renew a domain using your loyalty/reseller account.
|
19
19
|
def domain_renew(domain,dryrun)
|
20
20
|
RpcDriver.soapi.resellerDomainRenew(Session.session, domain, dryrun)
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
# Transfer a domain using your loyalty/reseller account.
|
24
24
|
def domain_transfer(domain_data)
|
25
25
|
RpcDriver.soapi.resellerDomainTransfer(Session.session,
|
26
|
-
domain_data[:domain], domain_data[:authinfo], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
27
|
-
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
28
|
-
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
29
|
-
domain_data[:dns4], domain_data[:dns5], domain_data[:method],
|
26
|
+
domain_data[:domain], domain_data[:authinfo], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
27
|
+
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
28
|
+
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
29
|
+
domain_data[:dns4], domain_data[:dns5], domain_data[:method],
|
30
30
|
domain_data[:legalName], domain_data[:legalNumber], domain_data[:afnicIdent],
|
31
|
-
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
31
|
+
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
32
32
|
domain_data[:birthCountry], domain_data[:dryRun]
|
33
33
|
)
|
34
34
|
end
|
35
|
-
|
36
|
-
|
35
|
+
|
36
|
+
# Create a .IT domain using your loyalty/reseller account.
|
37
37
|
def domain_create_it(domain_data)
|
38
|
-
RpcDriver.soapi.resellerDomainCreateIT(Session.session,
|
39
|
-
domain_data[:domain], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
40
|
-
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
41
|
-
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
38
|
+
RpcDriver.soapi.resellerDomainCreateIT(Session.session,
|
39
|
+
domain_data[:domain], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
40
|
+
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
41
|
+
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
42
42
|
domain_data[:dns4], domain_data[:dns5], domain_data[:legalRepresentantFirstName],
|
43
|
-
|
44
|
-
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
43
|
+
domain_data[:legalRepresentantLastName], domain_data[:legalNumber], domain_data[:vat],
|
44
|
+
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
45
45
|
domain_data[:birthCountry], domain_data[:nationality], domain_data[:dryRun]
|
46
46
|
)
|
47
47
|
end
|
48
|
-
|
49
|
-
|
48
|
+
|
49
|
+
# Transfer a :IT domain using your loyalty/reseller account.
|
50
50
|
def domain_transfer_it(domain_data)
|
51
51
|
RpcDriver.soapi.resellerDomainTransferIT(Session.session,
|
52
|
-
domain_data[:domain], domain_data[:authinfo], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
53
|
-
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
54
|
-
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
52
|
+
domain_data[:domain], domain_data[:authinfo], domain_data[:hosting], domain_data[:offer], domain_data[:profile],
|
53
|
+
domain_data[:owo], domain_data[:owner], domain_data[:admin], domain_data[:tech],
|
54
|
+
domain_data[:billing], domain_data[:dns1], domain_data[:dns2], domain_data[:dns3],
|
55
55
|
domain_data[:dns4], domain_data[:dns5], domain_data[:legalRepresentantFirstName],
|
56
|
-
|
57
|
-
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
56
|
+
domain_data[:legalRepresentantLastName], domain_data[:legalNumber], domain_data[:vat],
|
57
|
+
domain_data[:birthDate], domain_data[:birthCity], domain_data[:birthDepartement],
|
58
58
|
domain_data[:birthCountry], domain_data[:nationality], domain_data[:dryRun]
|
59
59
|
)
|
60
60
|
end
|
61
|
-
|
61
|
+
|
62
62
|
end
|
63
|
+
|
63
64
|
include Methods
|
64
65
|
extend Methods
|
65
66
|
end
|
data/lib/ovh_soapi/service.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Service
|
3
3
|
module Methods
|
4
|
-
|
4
|
+
|
5
5
|
# Change the contact handle of an OVH service
|
6
6
|
def modify_contact(domain, component, contact, nic)
|
7
7
|
RpcDriver.soapi.serviceModifyContact(Session.session, domain, component, contact, nic)
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
10
|
end
|
11
|
+
|
11
12
|
include Methods
|
12
13
|
extend Methods
|
13
14
|
end
|
data/lib/ovh_soapi/session.rb
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
module OvhSoapi
|
2
2
|
class Session
|
3
3
|
module Methods
|
4
|
-
|
5
|
-
|
4
|
+
|
6
5
|
def session
|
7
6
|
@session
|
8
7
|
end
|
9
|
-
|
8
|
+
|
10
9
|
# Create a session.
|
11
10
|
def login(nic, password, language = "en", multisession = true)
|
12
11
|
@session = RpcDriver.soapi.login(nic, password, language, multisession)
|
13
12
|
end
|
14
|
-
|
13
|
+
|
15
14
|
# Kill a session.
|
16
15
|
def logout
|
17
16
|
RpcDriver.soapi.logout(self.session)
|
18
17
|
end
|
19
|
-
|
18
|
+
|
20
19
|
# Get session nic.
|
21
20
|
def nic
|
22
21
|
RpcDriver.soapi.nic(self.session)
|
23
22
|
end
|
24
23
|
|
25
24
|
end
|
25
|
+
|
26
26
|
include Methods
|
27
27
|
extend Methods
|
28
28
|
end
|
data/ovh_soapi.gemspec
CHANGED
@@ -1,25 +1,24 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "0.0.
|
4
|
+
s.name = "ovh_soapi"
|
5
|
+
s.version = "0.0.12"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Dumitru Ceban"
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
s.email =
|
12
|
-
s.extra_rdoc_files = ["README.md", "lib/ovh_soapi.rb", "lib/ovh_soapi/
|
13
|
-
s.files = ["Manifest", "README.md", "Rakefile", "lib/ovh_soapi.rb",
|
14
|
-
s.homepage =
|
8
|
+
s.authors = ["Dumitru Ceban"]
|
9
|
+
s.date = "2013-02-18"
|
10
|
+
s.description = "Ruby client for OVH Soapi."
|
11
|
+
s.email = "dumitru@ceban.it"
|
12
|
+
s.extra_rdoc_files = ["README.md", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/email.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/service.rb", "lib/ovh_soapi/session.rb"]
|
13
|
+
s.files = ["Manifest", "README.md", "Rakefile", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/email.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/service.rb", "lib/ovh_soapi/session.rb", "ovh_soapi.gemspec"]
|
14
|
+
s.homepage = "http://www.freshco.it"
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ovh_soapi", "--main", "README.md"]
|
16
16
|
s.require_paths = ["lib"]
|
17
|
-
s.rubyforge_project =
|
18
|
-
s.rubygems_version =
|
19
|
-
s.summary =
|
17
|
+
s.rubyforge_project = "ovh_soapi"
|
18
|
+
s.rubygems_version = "1.8.10"
|
19
|
+
s.summary = "Ruby client for OVH Soapi."
|
20
20
|
|
21
21
|
if s.respond_to? :specification_version then
|
22
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
22
|
s.specification_version = 3
|
24
23
|
|
25
24
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,94 +1,71 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovh_soapi
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 11
|
10
|
-
version: 0.0.11
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.12
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Dumitru Ceban
|
14
|
-
- Beniamino Faggian
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2011-03-10 00:00:00 +01:00
|
20
|
-
default_executable:
|
12
|
+
date: 2013-02-18 00:00:00.000000000 Z
|
21
13
|
dependencies: []
|
22
|
-
|
23
14
|
description: Ruby client for OVH Soapi.
|
24
|
-
email:
|
15
|
+
email: dumitru@ceban.it
|
25
16
|
executables: []
|
26
|
-
|
27
17
|
extensions: []
|
28
|
-
|
29
|
-
extra_rdoc_files:
|
18
|
+
extra_rdoc_files:
|
30
19
|
- README.md
|
31
20
|
- lib/ovh_soapi.rb
|
32
|
-
- lib/ovh_soapi/email.rb
|
33
|
-
- lib/ovh_soapi/service.rb
|
34
21
|
- lib/ovh_soapi/domains.rb
|
22
|
+
- lib/ovh_soapi/email.rb
|
35
23
|
- lib/ovh_soapi/nic.rb
|
36
24
|
- lib/ovh_soapi/order.rb
|
37
25
|
- lib/ovh_soapi/reseller.rb
|
26
|
+
- lib/ovh_soapi/service.rb
|
38
27
|
- lib/ovh_soapi/session.rb
|
39
|
-
files:
|
28
|
+
files:
|
40
29
|
- Manifest
|
41
30
|
- README.md
|
42
31
|
- Rakefile
|
43
32
|
- lib/ovh_soapi.rb
|
44
|
-
- lib/ovh_soapi/email.rb
|
45
|
-
- lib/ovh_soapi/service.rb
|
46
33
|
- lib/ovh_soapi/domains.rb
|
34
|
+
- lib/ovh_soapi/email.rb
|
47
35
|
- lib/ovh_soapi/nic.rb
|
48
36
|
- lib/ovh_soapi/order.rb
|
49
37
|
- lib/ovh_soapi/reseller.rb
|
38
|
+
- lib/ovh_soapi/service.rb
|
50
39
|
- lib/ovh_soapi/session.rb
|
51
40
|
- ovh_soapi.gemspec
|
52
|
-
|
53
|
-
has_rdoc: true
|
54
|
-
homepage: http://github.com/awstin/ovh-soapi
|
41
|
+
homepage: http://www.freshco.it
|
55
42
|
licenses: []
|
56
|
-
|
57
43
|
post_install_message:
|
58
|
-
rdoc_options:
|
44
|
+
rdoc_options:
|
59
45
|
- --line-numbers
|
60
46
|
- --inline-source
|
61
47
|
- --title
|
62
48
|
- Ovh_soapi
|
63
49
|
- --main
|
64
50
|
- README.md
|
65
|
-
require_paths:
|
51
|
+
require_paths:
|
66
52
|
- lib
|
67
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
54
|
none: false
|
69
|
-
requirements:
|
70
|
-
- -
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
74
|
-
- 0
|
75
|
-
version: "0"
|
76
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
60
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
segments:
|
83
|
-
- 1
|
84
|
-
- 2
|
85
|
-
version: "1.2"
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '1.2'
|
86
65
|
requirements: []
|
87
|
-
|
88
66
|
rubyforge_project: ovh_soapi
|
89
|
-
rubygems_version: 1.
|
67
|
+
rubygems_version: 1.8.10
|
90
68
|
signing_key:
|
91
69
|
specification_version: 3
|
92
70
|
summary: Ruby client for OVH Soapi.
|
93
71
|
test_files: []
|
94
|
-
|
Binary file
|