infoblox 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25ea54e2ba82e66a6233c3dbd4c3e5d7292240be
4
- data.tar.gz: 153b3f1a32c25deaee8d764ae62e40c74fb3ec43
3
+ metadata.gz: 58900d8b11339ba296f175de86b4160b6bc6300c
4
+ data.tar.gz: f2b1740ca897c5c07f1d42cf8912ec085eeab45f
5
5
  SHA512:
6
- metadata.gz: 5c9eb233b1a5b77f31dc9f09f9cf275dc57616b865ec753ee80b8b43bdf9d7af0b2070c45942e01566997a901054411babfad93cead02b34a7caf3dc4e167811
7
- data.tar.gz: b76057e0c51be98a9cb5522feefffbb94c89f97d69d62aa5ed5a59e3c9eeef6cc75bede4f342787450df5f30a0ed11374ad364ef9b0064c9c0e441ee3f7b9ff6
6
+ metadata.gz: 6eec1b32abae5f6829b9ef27dc29ee09b5c6cfff98251e52191225626439f954ba25a93f84af460d2376ba01b9d5e552e968f1afaa47bb87d35d54af716f4a26
7
+ data.tar.gz: 14e7bef6cd7c2c5ddb3f1a5c447ed6fa052bbf7b5969ea58a86433f309addcd843c808dcff5a764528f2d23a952f80c8cfbe43537191a04f3908a8ba663cebd1
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Billy Reisinger
1
+ Copyright (c) 2013 GovDelivery, Inc.
2
2
 
3
3
  MIT License
4
4
 
data/RELEASES.md CHANGED
@@ -1,4 +1,11 @@
1
- ## 1.0.0 - 8/15/2016
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"
@@ -7,7 +7,8 @@ module Infoblox
7
7
  :disable,
8
8
  :extattrs
9
9
 
10
- remote_post_accessor :fqdn
10
+ remote_post_accessor :fqdn,
11
+ :view
11
12
 
12
13
  remote_attr_reader :address,
13
14
  :network_view
@@ -1,3 +1,3 @@
1
1
  module Infoblox
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,4 +1,6 @@
1
1
  if ENV['INTEGRATION']
2
+ require 'spec_helper'
3
+
2
4
  describe 'Infoblox::Arecord' do
3
5
  describe '.find' do
4
6
  it 'should work' do
@@ -1,4 +1,6 @@
1
1
  if ENV['INTEGRATION']
2
+ require 'spec_helper'
3
+
2
4
  describe 'Infoblox::Cname' do
3
5
  describe '.find' do
4
6
  it 'should work' do
@@ -1,4 +1,6 @@
1
1
  if ENV['INTEGRATION']
2
+ require 'spec_helper'
3
+
2
4
  describe 'Infoblox::HostIpv4addr' do
3
5
  describe '.find' do
4
6
  it 'should work' do
@@ -1,4 +1,6 @@
1
1
  if ENV['INTEGRATION']
2
+ require 'spec_helper'
3
+
2
4
  describe 'Infoblox::Host' do
3
5
  describe '.find' do
4
6
  it 'should find' do
@@ -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
@@ -1,4 +1,6 @@
1
1
  if ENV['INTEGRATION']
2
+ require 'spec_helper'
3
+
2
4
  describe 'Infoblox::ZoneAuth' do
3
5
  describe '.find' do
4
6
  it 'should find' do
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.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-08-15 00:00:00.000000000 Z
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