infoblox 1.0.0 → 1.0.1
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 +4 -4
- data/LICENSE.txt +1 -1
- data/RELEASES.md +8 -1
- data/infoblox.gemspec +1 -1
- data/lib/infoblox/resource/ptr.rb +8 -0
- data/lib/infoblox/resource/zone_auth.rb +2 -1
- data/lib/infoblox/version.rb +1 -1
- data/spec/integration/arecord_spec.rb +2 -0
- data/spec/integration/cname_spec.rb +2 -0
- data/spec/integration/host_ipv4addr_spec.rb +2 -0
- data/spec/integration/host_spec.rb +2 -0
- data/spec/integration/ptr_spec.rb +13 -0
- data/spec/integration/zone_auth_spec.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58900d8b11339ba296f175de86b4160b6bc6300c
|
4
|
+
data.tar.gz: f2b1740ca897c5c07f1d42cf8912ec085eeab45f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eec1b32abae5f6829b9ef27dc29ee09b5c6cfff98251e52191225626439f954ba25a93f84af460d2376ba01b9d5e552e968f1afaa47bb87d35d54af716f4a26
|
7
|
+
data.tar.gz: 14e7bef6cd7c2c5ddb3f1a5c447ed6fa052bbf7b5969ea58a86433f309addcd843c808dcff5a764528f2d23a952f80c8cfbe43537191a04f3908a8ba663cebd1
|
data/LICENSE.txt
CHANGED
data/RELEASES.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
## 1.0.
|
1
|
+
## 1.0.1 - September 2 2016
|
2
|
+
A point release containing a bugfix and new field on a recod.
|
3
|
+
|
4
|
+
* Don't ask for ipv6addr in the return field for Ptr if the WAPI version is 1.0
|
5
|
+
* added 'view' attribute to zone_auth setter
|
6
|
+
* Fix json version for 1.8.7
|
7
|
+
|
8
|
+
## 1.0.0 - August 15 2016
|
2
9
|
As implied, this release is a breaking change that modifies the default
|
3
10
|
behavior for SSL options, specifically by removing the "verify: false" behavior
|
4
11
|
and requireing the user to supply the configuration when creating an
|
data/infoblox.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
if RUBY_VERSION <= '1.8.7'
|
22
|
-
spec.add_runtime_dependency "json"
|
22
|
+
spec.add_runtime_dependency "json", "~>1"
|
23
23
|
end
|
24
24
|
spec.add_runtime_dependency "faraday"
|
25
25
|
spec.add_runtime_dependency "faraday_middleware"
|
@@ -11,6 +11,14 @@ module Infoblox
|
|
11
11
|
:extensible_attributes,
|
12
12
|
:view
|
13
13
|
|
14
|
+
def self._return_fields
|
15
|
+
if Infoblox.wapi_version == '1.0'
|
16
|
+
super.split(",").find_all{|f| f != 'ipv6addr'}.join(",")
|
17
|
+
else
|
18
|
+
super
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
14
22
|
remote_attr_reader :zone
|
15
23
|
|
16
24
|
wapi_object "record:ptr"
|
data/lib/infoblox/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
if ENV['INTEGRATION']
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe 'Infoblox::Ptr' do
|
5
|
+
describe '.find' do
|
6
|
+
it 'should work' do
|
7
|
+
each_version do
|
8
|
+
expect(Infoblox::Ptr.find(connection, "ipv4addr~" => "10.*", "_max_results" => 1)).to_not be_nil
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Billy Reisinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -139,6 +139,7 @@ files:
|
|
139
139
|
- spec/integration/cname_spec.rb
|
140
140
|
- spec/integration/host_ipv4addr_spec.rb
|
141
141
|
- spec/integration/host_spec.rb
|
142
|
+
- spec/integration/ptr_spec.rb
|
142
143
|
- spec/integration/zone_auth_spec.rb
|
143
144
|
- spec/range_spec.rb
|
144
145
|
- spec/resource_spec.rb
|
@@ -177,6 +178,7 @@ test_files:
|
|
177
178
|
- spec/integration/cname_spec.rb
|
178
179
|
- spec/integration/host_ipv4addr_spec.rb
|
179
180
|
- spec/integration/host_spec.rb
|
181
|
+
- spec/integration/ptr_spec.rb
|
180
182
|
- spec/integration/zone_auth_spec.rb
|
181
183
|
- spec/range_spec.rb
|
182
184
|
- spec/resource_spec.rb
|