loopiator 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/loopiator.rb +1 -1
- data/lib/loopiator/domains.rb +7 -1
- data/loopiator.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b5ff599de1f6c262bdebe4a51d85e7707722ce897b5c6f9c716062762db08f23
|
4
|
+
data.tar.gz: 376eebcb9637f22b5ba8338be5d9d936297eecb1e96ead729698b73f737c3c4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd72a6012c709236e026a89f48b840f274d5a32c9f450d6bdf194be16f5a8672b99a950b9fab30c6ea120a6f8b35fbacb5436845138245fc4eeb8fad3c7fcb4
|
7
|
+
data.tar.gz: 420aca94a582a1fd8776bba8d83a202423c536d5fbde66471d29abd223ba1525893c35117d19220319f90839672d8c07df7617d17d62f7890e9c2fd53a369e7b
|
data/lib/loopiator.rb
CHANGED
data/lib/loopiator/domains.rb
CHANGED
@@ -51,7 +51,13 @@ module Loopiator
|
|
51
51
|
return success
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def remove_domain(domain, deactivate: true, customer_number: "")
|
55
|
+
response = parse_status_response(call("removeDomain", customer_number, encode_domain(domain), deactivate))
|
56
|
+
|
57
|
+
return response.eql?(:ok)
|
58
|
+
end
|
59
|
+
|
60
|
+
def update_nameservers(domain, nameservers = ["ns1.loopia.se", "ns2.loopia.se"], customer_number: "")
|
55
61
|
response = parse_status_response(call("updateDNSServers", customer_number, encode_domain(domain), nameservers))
|
56
62
|
|
57
63
|
return response.eql?(:ok)
|
data/loopiator.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'loopiator'
|
6
|
-
s.version = '0.4.
|
6
|
+
s.version = '0.4.1'
|
7
7
|
|
8
8
|
s.homepage = "https://github.com/Agiley/Loopiator"
|
9
9
|
s.email = "sebastian@agiley.se"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loopiator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Johnsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simpleidn
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: 1.3.5
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.4
|
105
|
+
rubygems_version: 2.7.4
|
106
106
|
signing_key:
|
107
107
|
specification_version: 2
|
108
108
|
summary: Interface for communicating with Loopia's API
|