infoblox 0.0.1 → 0.0.2
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.
- data/README.md +7 -1
- data/infoblox.gemspec +2 -1
- data/lib/infoblox.rb +3 -5
- data/lib/infoblox/version.rb +1 -1
- metadata +3 -2
data/README.md
CHANGED
|
@@ -16,8 +16,14 @@ Or install it yourself as:
|
|
|
16
16
|
|
|
17
17
|
$ gem install infoblox
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Command-line usage
|
|
20
|
+
The infoblox gem installs a command-line script called "infoblox," which supports
|
|
21
|
+
querying, adding, and removing host names from dns records:
|
|
20
22
|
|
|
23
|
+
infoblox --help
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Ruby client usage
|
|
21
27
|
Create a new client:
|
|
22
28
|
|
|
23
29
|
client = Infoblox::Client.new(:username => "foo",
|
data/infoblox.gemspec
CHANGED
|
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Billy Reisinger"]
|
|
10
10
|
spec.email = ["billy.reisinger@govdelivery.com"]
|
|
11
11
|
spec.description = %q{A Ruby wrapper to the Infoblox WAPI}
|
|
12
|
-
spec.summary = %q{This gem is a Ruby interface to the Infoblox WAPI. Only a few operations are supported as of yet.
|
|
12
|
+
spec.summary = %q{This gem is a Ruby interface to the Infoblox WAPI. Only a few operations are supported as of yet.
|
|
13
|
+
The gem comes with a bin script as well as library classes that can be used in application code.}
|
|
13
14
|
spec.homepage = ""
|
|
14
15
|
spec.license = "MIT"
|
|
15
16
|
|
data/lib/infoblox.rb
CHANGED
|
@@ -10,9 +10,7 @@ require 'infoblox/host'
|
|
|
10
10
|
require 'infoblox/client'
|
|
11
11
|
|
|
12
12
|
module Infoblox
|
|
13
|
-
|
|
14
|
-
BASE_PATH = '/wapi/v' +
|
|
13
|
+
WAPI_VERSION = '1.0'
|
|
14
|
+
BASE_PATH = '/wapi/v' + WAPI_VERSION + '/'
|
|
15
15
|
DEBUG = ENV['DEBUG']
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
#OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
|
16
|
+
end
|
data/lib/infoblox/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infoblox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -157,7 +157,8 @@ rubygems_version: 1.8.25
|
|
|
157
157
|
signing_key:
|
|
158
158
|
specification_version: 3
|
|
159
159
|
summary: This gem is a Ruby interface to the Infoblox WAPI. Only a few operations
|
|
160
|
-
are supported as of yet.
|
|
160
|
+
are supported as of yet. The gem comes with a bin script as well as library classes
|
|
161
|
+
that can be used in application code.
|
|
161
162
|
test_files:
|
|
162
163
|
- spec/host_spec.rb
|
|
163
164
|
- spec/resource_spec.rb
|