smart_proxy_ipam 0.0.14 → 0.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4017f16c516229f75256a5faef4a29916ffd626784c643e77784a4cbb708ec6
4
- data.tar.gz: c04dd0e4ee1e7402c02086a60b14360787627cc6a336e7d61d063541b494fad2
3
+ metadata.gz: 11231d7dfbe474369e7e309f78e07cab5f8f1659d53bbc9be1dfb47d8ad31483
4
+ data.tar.gz: ab1ff93dccf2f5757244265790ec8d59a43c26f1749121056b5b75bf71456b0e
5
5
  SHA512:
6
- metadata.gz: d8992cd2c717f34846b37b9d8d5e9955835a6e8946c9edfb4d9bb34b793f6e8cdd0ac0a6064479d1b1bbbe78c6345dd8bcf7658046f07e47df2e84458dfd0316
7
- data.tar.gz: 42d32cb87be69dfb8467dd618e1ab539e6cef7081e6914ab461520af3ea83cfcdd6469e596efcc3fd75530843401e045a8297288f47dfa407a68445a5afe8ff3
6
+ metadata.gz: 9a0e228481042a1f2128f8fd0407b27d498503313fbe32d7105606cc92a281026e8ea5760f4e392f3cc961d646c437b6915c6302c4c10496eb72c88506390adc
7
+ data.tar.gz: a247f8664841b1460c9e4cc302828acc07c8219c1eb33a099ef3a16c43f5e641b5c90faf4c98df6b0562692787b6f009c47da70d8baa059bacf935a919db3b01
@@ -3,7 +3,7 @@ module Proxy::Ipam
3
3
  class NotFound < RuntimeError; end
4
4
 
5
5
  class Plugin < ::Proxy::Plugin
6
- plugin 'external_ipam', Proxy::Ipam::VERSION
6
+ plugin 'externalipam', Proxy::Ipam::VERSION
7
7
 
8
8
  http_rackup_path File.expand_path('ipam_http_config.ru', File.expand_path('../', __FILE__))
9
9
  https_rackup_path File.expand_path('ipam_http_config.ru', File.expand_path('../', __FILE__))
@@ -48,9 +48,6 @@ module Proxy::Phpipam
48
48
  response = get('sections/')
49
49
  json_body = JSON.parse(response.body)
50
50
  json_body['data'] = filter_fields(json_body, [:id, :name, :description])
51
- logger.debug("=================")
52
- logger.debug("SECTIONS JSON: " + json_body.to_s)
53
- logger.debug("=================")
54
51
  response.body = json_body.to_json
55
52
  response.header['Content-Length'] = json_body.to_s.length
56
53
  response.body
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Proxy
3
3
  module Ipam
4
- VERSION = '0.0.14'
4
+ VERSION = '0.0.15'
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  :enabled: true
3
3
 
4
- :external_ipam:
4
+ :externalipam:
5
5
  :phpipam:
6
6
  :url: 'http://phpipam.example.com'
7
7
  :user: 'phpipam_api_user'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_ipam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Smart proxy plugin for IPAM integration with various IPAM providers
14
14
  email: chrisjsmith001@gmail.com
@@ -29,7 +29,7 @@ files:
29
29
  - lib/smart_proxy_ipam/phpipam/phpipam_client.rb
30
30
  - lib/smart_proxy_ipam/phpipam/phpipam_helper.rb
31
31
  - lib/smart_proxy_ipam/version.rb
32
- - settings.d/external_ipam.yml.example
32
+ - settings.d/externalipam.yml.example
33
33
  homepage: http://github.com/grizzthedj/smart_proxy_ipam
34
34
  licenses:
35
35
  - GPL-3.0