infoblox 0.2.17 → 0.2.18

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: 9291ffbbb04ccd30957ab4595afbb4d40a3202f5
4
- data.tar.gz: c8ff09f09f2f9488673fc22ba8c3e2cf5ae779cd
3
+ metadata.gz: f41953b29600256bd6e3df5bb164888cf4c0318b
4
+ data.tar.gz: 2c5b677294f5c3da0cdf560c1982533694b4d2ef
5
5
  SHA512:
6
- metadata.gz: 1106ab54d860e4ea1b4adeec5e3a7e94394b44c43c3985ace953587ee5ba76e276e26bf32128366c97d0de181fa02b17725cba258eebafd3eec16efac5da8993
7
- data.tar.gz: 1379aa6079e7dacb6c208ca3eaf6bd210b5add9b1690044705d93c845932e261f3c2a28bc80b82b3628b0a166797f4d5c9049efb5694a7af03791e8006d78bca
6
+ metadata.gz: 3f6dc1c7c73a1a6cca82a07e961248e606bf2e0397a9b0e438006a21832dd05c72b60ffb611116f1a2a52dde69d77e2717baccfa4a6be7d277b0935b8d86fb74
7
+ data.tar.gz: bbb0145361e01576f3ab226a4db8a796a95a32dc77ba3f9e7c00ba7ee87b82b0d533d8ec9ec919589eeea8d4688a80d8c94f199e5cb40fe13f6d70aee49841b6
data/lib/infoblox.rb CHANGED
@@ -13,7 +13,7 @@ Dir[File.expand_path('../infoblox/resource/*.rb', __FILE__)].each do |f|
13
13
  end
14
14
 
15
15
  module Infoblox
16
- WAPI_VERSION = '1.0'
16
+ WAPI_VERSION = ENV['WAPI_VERSION'] || '1.0'
17
17
  BASE_PATH = '/wapi/v' + WAPI_VERSION + '/'
18
18
  DEBUG = ENV['DEBUG']
19
- end
19
+ end
@@ -0,0 +1,8 @@
1
+ module Infoblox
2
+ # minimum WAPI version: 1.1
3
+ class Fixedaddress < Resource
4
+ remote_attr_accessor :name, :ipv4addr, :mac, :options
5
+
6
+ wapi_object "fixedaddress"
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Infoblox
2
- VERSION = "0.2.17"
2
+ VERSION = "0.2.18"
3
3
  end
@@ -71,7 +71,7 @@ describe Infoblox::Resource, "#add_ipv4addr" do
71
71
 
72
72
  it 'should map wapi objects to classes' do
73
73
  @expected = {}
74
- ObjectSpace.each_object(Class) do |p|
74
+ ObjectSpace.each_object(Class) do |p|
75
75
  if p < Infoblox::Resource
76
76
  @expected[p.wapi_object] = p
77
77
  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: 0.2.17
4
+ version: 0.2.18
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-12-13 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -114,6 +114,7 @@ files:
114
114
  - lib/infoblox/resource.rb
115
115
  - lib/infoblox/resource/arecord.rb
116
116
  - lib/infoblox/resource/cname.rb
117
+ - lib/infoblox/resource/fixedaddress.rb
117
118
  - lib/infoblox/resource/host.rb
118
119
  - lib/infoblox/resource/host_ipv4addr.rb
119
120
  - lib/infoblox/resource/ipv4address.rb
@@ -151,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
152
  version: '0'
152
153
  requirements: []
153
154
  rubyforge_project:
154
- rubygems_version: 2.2.2
155
+ rubygems_version: 2.4.3
155
156
  signing_key:
156
157
  specification_version: 4
157
158
  summary: This gem is a Ruby interface to the Infoblox WAPI. Using the gem, you can