infoblox 0.2.3 → 0.2.4
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.
- checksums.yaml +8 -8
- data/lib/infoblox/resource/arecord.rb +3 -5
- data/lib/infoblox/resource/cname.rb +2 -3
- data/lib/infoblox/resource/host.rb +2 -3
- data/lib/infoblox/resource/ptr.rb +2 -3
- data/lib/infoblox/version.rb +1 -1
- data/spec/host_spec.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MWUzYzAzOGIwNGZlM2E2ZmY2N2E4MjRkMWE0MDgwNTE1MmFiZDdjNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NjJjMDM0MDBlOThhMzYzYjMyMDlhNWE2ZDZiODVkMGEyNWQ2MGIxNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
N2VmODA3YWNlMmMwMzFkMTQ5NWZhYTM3Y2ZkNWRhMGEwYjI0ZDc2MDNhMDIx
|
|
10
|
+
MTU5MzNkYjkyYzQxYzdlODBmNDQ1NWNiZTY2NDg2OTE5MjUyMzE0NGMzNjg1
|
|
11
|
+
ZjM3MzIxZWUyMGUzYTlmZmU5ZjY4NzMzYjVlOTE5MGNmNTc3MWM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MmUwYWFiN2Q0YTkxNWZkNzYyZjY5N2RmZjZjNmJjMzE1MjhiM2Y1YWQyNWY3
|
|
14
|
+
YzdlNTg5OTk1MTJjMjYyZjA2ZGExNDg5NzY1N2JjOTI2MDYzOTg5Y2FmZjU5
|
|
15
|
+
ZWNkZTFjODRmYzZjNDEzNjhhZjc1ZjM5MjAwZmRhYjQ3ZWYxNWY=
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
module Infoblox
|
|
2
2
|
class Arecord < Resource
|
|
3
|
-
remote_attr_accessor :name,
|
|
4
|
-
:extensible_attributes
|
|
5
|
-
remote_attr_accessor :ipv4addr
|
|
6
|
-
attr_accessor :view
|
|
3
|
+
remote_attr_accessor :name, :ipv4addr,
|
|
4
|
+
:extensible_attributes, :view
|
|
7
5
|
|
|
8
6
|
wapi_object "record:a"
|
|
9
7
|
end
|
|
10
|
-
end
|
|
8
|
+
end
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
module Infoblox
|
|
2
2
|
class Host < Resource
|
|
3
3
|
remote_attr_accessor :ipv4addrs, :name, :configure_for_dns,
|
|
4
|
-
:extensible_attributes
|
|
5
|
-
attr_accessor :view
|
|
4
|
+
:extensible_attributes, :view
|
|
6
5
|
|
|
7
6
|
wapi_object "record:host"
|
|
8
7
|
|
|
@@ -26,4 +25,4 @@ module Infoblox
|
|
|
26
25
|
end
|
|
27
26
|
end
|
|
28
27
|
end
|
|
29
|
-
end
|
|
28
|
+
end
|
data/lib/infoblox/version.rb
CHANGED
data/spec/host_spec.rb
CHANGED
|
@@ -17,7 +17,8 @@ describe Infoblox::Host, "#add_ipv4addr" do
|
|
|
17
17
|
:ipv4addrs => [{:ipv4addr => "10.10.10.10"}],
|
|
18
18
|
:name => "test-server.test.ing",
|
|
19
19
|
:configure_for_dns => nil,
|
|
20
|
-
:extensible_attributes => nil
|
|
20
|
+
:extensible_attributes => nil,
|
|
21
|
+
:view => nil}).and_return(HostResponse.new("\"hey\""))
|
|
21
22
|
|
|
22
23
|
h = Infoblox::Host.new(:connection => conn)
|
|
23
24
|
h.add_ipv4addr("10.10.10.10")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infoblox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Billy Reisinger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
144
144
|
version: '0'
|
|
145
145
|
requirements: []
|
|
146
146
|
rubyforge_project:
|
|
147
|
-
rubygems_version: 2.2.
|
|
147
|
+
rubygems_version: 2.2.2
|
|
148
148
|
signing_key:
|
|
149
149
|
specification_version: 4
|
|
150
150
|
summary: This gem is a Ruby interface to the Infoblox WAPI. Resources supported for
|